Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions src/Connectors/ConnectorsResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@

class ConnectorsResource extends \Google\Model
{
protected $internal_gapi_mappings = [
"meta" => "_meta",
];
/**
* Metadata for the resource.
*
* @var array[]
*/
public $meta;
/**
* A description of what this resource represents.
*
Expand Down Expand Up @@ -50,6 +59,22 @@ class ConnectorsResource extends \Google\Model
*/
public $uri;

/**
* Metadata for the resource.
*
* @param array[] $meta
*/
public function setMeta($meta)
{
$this->meta = $meta;
}
/**
* @return array[]
*/
public function getMeta()
{
return $this->meta;
}
/**
* A description of what this resource represents.
*
Expand Down
25 changes: 25 additions & 0 deletions src/Connectors/ExecuteToolResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@

class ExecuteToolResponse extends \Google\Model
{
protected $internal_gapi_mappings = [
"meta" => "_meta",
];
/**
* Metadata for the tool execution result.
*
* @var array[]
*/
public $meta;
/**
* Metadata like service latency, etc.
*
Expand All @@ -32,6 +41,22 @@ class ExecuteToolResponse extends \Google\Model
*/
public $result;

/**
* Metadata for the tool execution result.
*
* @param array[] $meta
*/
public function setMeta($meta)
{
$this->meta = $meta;
}
/**
* @return array[]
*/
public function getMeta()
{
return $this->meta;
}
/**
* Metadata like service latency, etc.
*
Expand Down
25 changes: 25 additions & 0 deletions src/Connectors/GetResourceResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@

class GetResourceResponse extends \Google\Model
{
protected $internal_gapi_mappings = [
"meta" => "_meta",
];
/**
* Metadata for the resource.
*
* @var array[]
*/
public $meta;
/**
* The content of the resource.
*
Expand All @@ -38,6 +47,22 @@ class GetResourceResponse extends \Google\Model
*/
public $mimeType;

/**
* Metadata for the resource.
*
* @param array[] $meta
*/
public function setMeta($meta)
{
$this->meta = $meta;
}
/**
* @return array[]
*/
public function getMeta()
{
return $this->meta;
}
/**
* The content of the resource.
*
Expand Down
222 changes: 222 additions & 0 deletions src/Connectors/JsonSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,18 @@ class JsonSchema extends \Google\Collection
* @var array[]
*/
public $enum;
/**
* Whether the maximum number value is exclusive.
*
* @var bool
*/
public $exclusiveMaximum;
/**
* Whether the minimum number value is exclusive.
*
* @var bool
*/
public $exclusiveMinimum;
/**
* Format of the value as per https://json-schema.org/understanding-json-
* schema/reference/string.html#format
Expand All @@ -251,6 +263,49 @@ class JsonSchema extends \Google\Collection
* @var string
*/
public $jdbcType;
/**
* Maximum number of items in the array field.
*
* @var int
*/
public $maxItems;
/**
* Maximum length of the string field.
*
* @var int
*/
public $maxLength;
/**
* Maximum value of the number field.
*
* @var array
*/
public $maximum;
/**
* Minimum number of items in the array field.
*
* @var int
*/
public $minItems;
/**
* Minimum length of the string field.
*
* @var int
*/
public $minLength;
/**
* Minimum value of the number field.
*
* @var array
*/
public $minimum;
/**
* Regex pattern of the string field. This is a string value that describes
* the regular expression that the string value should match.
*
* @var string
*/
public $pattern;
protected $propertiesType = JsonSchema::class;
protected $propertiesDataType = 'map';
/**
Expand All @@ -265,6 +320,12 @@ class JsonSchema extends \Google\Collection
* @var string[]
*/
public $type;
/**
* Whether the items in the array field are unique.
*
* @var bool
*/
public $uniqueItems;

/**
* Additional details apart from standard json schema fields, this gives
Expand Down Expand Up @@ -332,6 +393,38 @@ public function getEnum()
{
return $this->enum;
}
/**
* Whether the maximum number value is exclusive.
*
* @param bool $exclusiveMaximum
*/
public function setExclusiveMaximum($exclusiveMaximum)
{
$this->exclusiveMaximum = $exclusiveMaximum;
}
/**
* @return bool
*/
public function getExclusiveMaximum()
{
return $this->exclusiveMaximum;
}
/**
* Whether the minimum number value is exclusive.
*
* @param bool $exclusiveMinimum
*/
public function setExclusiveMinimum($exclusiveMinimum)
{
$this->exclusiveMinimum = $exclusiveMinimum;
}
/**
* @return bool
*/
public function getExclusiveMinimum()
{
return $this->exclusiveMinimum;
}
/**
* Format of the value as per https://json-schema.org/understanding-json-
* schema/reference/string.html#format
Expand Down Expand Up @@ -390,6 +483,119 @@ public function getJdbcType()
{
return $this->jdbcType;
}
/**
* Maximum number of items in the array field.
*
* @param int $maxItems
*/
public function setMaxItems($maxItems)
{
$this->maxItems = $maxItems;
}
/**
* @return int
*/
public function getMaxItems()
{
return $this->maxItems;
}
/**
* Maximum length of the string field.
*
* @param int $maxLength
*/
public function setMaxLength($maxLength)
{
$this->maxLength = $maxLength;
}
/**
* @return int
*/
public function getMaxLength()
{
return $this->maxLength;
}
/**
* Maximum value of the number field.
*
* @param array $maximum
*/
public function setMaximum($maximum)
{
$this->maximum = $maximum;
}
/**
* @return array
*/
public function getMaximum()
{
return $this->maximum;
}
/**
* Minimum number of items in the array field.
*
* @param int $minItems
*/
public function setMinItems($minItems)
{
$this->minItems = $minItems;
}
/**
* @return int
*/
public function getMinItems()
{
return $this->minItems;
}
/**
* Minimum length of the string field.
*
* @param int $minLength
*/
public function setMinLength($minLength)
{
$this->minLength = $minLength;
}
/**
* @return int
*/
public function getMinLength()
{
return $this->minLength;
}
/**
* Minimum value of the number field.
*
* @param array $minimum
*/
public function setMinimum($minimum)
{
$this->minimum = $minimum;
}
/**
* @return array
*/
public function getMinimum()
{
return $this->minimum;
}
/**
* Regex pattern of the string field. This is a string value that describes
* the regular expression that the string value should match.
*
* @param string $pattern
*/
public function setPattern($pattern)
{
$this->pattern = $pattern;
}
/**
* @return string
*/
public function getPattern()
{
return $this->pattern;
}
/**
* The child schemas, applicable only if this is of type `object`. The key is
* the name of the property and the value is the json schema that describes
Expand Down Expand Up @@ -440,6 +646,22 @@ public function getType()
{
return $this->type;
}
/**
* Whether the items in the array field are unique.
*
* @param bool $uniqueItems
*/
public function setUniqueItems($uniqueItems)
{
$this->uniqueItems = $uniqueItems;
}
/**
* @return bool
*/
public function getUniqueItems()
{
return $this->uniqueItems;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
Expand Down
Loading
Loading