Skip to content

Commit b08203e

Browse files
1 parent e36b327 commit b08203e

5 files changed

Lines changed: 322 additions & 0 deletions

File tree

src/Connectors/ConnectorsResource.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919

2020
class ConnectorsResource extends \Google\Model
2121
{
22+
protected $internal_gapi_mappings = [
23+
"meta" => "_meta",
24+
];
25+
/**
26+
* Metadata for the resource.
27+
*
28+
* @var array[]
29+
*/
30+
public $meta;
2231
/**
2332
* A description of what this resource represents.
2433
*
@@ -50,6 +59,22 @@ class ConnectorsResource extends \Google\Model
5059
*/
5160
public $uri;
5261

62+
/**
63+
* Metadata for the resource.
64+
*
65+
* @param array[] $meta
66+
*/
67+
public function setMeta($meta)
68+
{
69+
$this->meta = $meta;
70+
}
71+
/**
72+
* @return array[]
73+
*/
74+
public function getMeta()
75+
{
76+
return $this->meta;
77+
}
5378
/**
5479
* A description of what this resource represents.
5580
*

src/Connectors/ExecuteToolResponse.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919

2020
class ExecuteToolResponse extends \Google\Model
2121
{
22+
protected $internal_gapi_mappings = [
23+
"meta" => "_meta",
24+
];
25+
/**
26+
* Metadata for the tool execution result.
27+
*
28+
* @var array[]
29+
*/
30+
public $meta;
2231
/**
2332
* Metadata like service latency, etc.
2433
*
@@ -32,6 +41,22 @@ class ExecuteToolResponse extends \Google\Model
3241
*/
3342
public $result;
3443

44+
/**
45+
* Metadata for the tool execution result.
46+
*
47+
* @param array[] $meta
48+
*/
49+
public function setMeta($meta)
50+
{
51+
$this->meta = $meta;
52+
}
53+
/**
54+
* @return array[]
55+
*/
56+
public function getMeta()
57+
{
58+
return $this->meta;
59+
}
3560
/**
3661
* Metadata like service latency, etc.
3762
*

src/Connectors/GetResourceResponse.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919

2020
class GetResourceResponse extends \Google\Model
2121
{
22+
protected $internal_gapi_mappings = [
23+
"meta" => "_meta",
24+
];
25+
/**
26+
* Metadata for the resource.
27+
*
28+
* @var array[]
29+
*/
30+
public $meta;
2231
/**
2332
* The content of the resource.
2433
*
@@ -38,6 +47,22 @@ class GetResourceResponse extends \Google\Model
3847
*/
3948
public $mimeType;
4049

50+
/**
51+
* Metadata for the resource.
52+
*
53+
* @param array[] $meta
54+
*/
55+
public function setMeta($meta)
56+
{
57+
$this->meta = $meta;
58+
}
59+
/**
60+
* @return array[]
61+
*/
62+
public function getMeta()
63+
{
64+
return $this->meta;
65+
}
4166
/**
4267
* The content of the resource.
4368
*

src/Connectors/JsonSchema.php

Lines changed: 222 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,18 @@ class JsonSchema extends \Google\Collection
236236
* @var array[]
237237
*/
238238
public $enum;
239+
/**
240+
* Whether the maximum number value is exclusive.
241+
*
242+
* @var bool
243+
*/
244+
public $exclusiveMaximum;
245+
/**
246+
* Whether the minimum number value is exclusive.
247+
*
248+
* @var bool
249+
*/
250+
public $exclusiveMinimum;
239251
/**
240252
* Format of the value as per https://json-schema.org/understanding-json-
241253
* schema/reference/string.html#format
@@ -251,6 +263,49 @@ class JsonSchema extends \Google\Collection
251263
* @var string
252264
*/
253265
public $jdbcType;
266+
/**
267+
* Maximum number of items in the array field.
268+
*
269+
* @var int
270+
*/
271+
public $maxItems;
272+
/**
273+
* Maximum length of the string field.
274+
*
275+
* @var int
276+
*/
277+
public $maxLength;
278+
/**
279+
* Maximum value of the number field.
280+
*
281+
* @var array
282+
*/
283+
public $maximum;
284+
/**
285+
* Minimum number of items in the array field.
286+
*
287+
* @var int
288+
*/
289+
public $minItems;
290+
/**
291+
* Minimum length of the string field.
292+
*
293+
* @var int
294+
*/
295+
public $minLength;
296+
/**
297+
* Minimum value of the number field.
298+
*
299+
* @var array
300+
*/
301+
public $minimum;
302+
/**
303+
* Regex pattern of the string field. This is a string value that describes
304+
* the regular expression that the string value should match.
305+
*
306+
* @var string
307+
*/
308+
public $pattern;
254309
protected $propertiesType = JsonSchema::class;
255310
protected $propertiesDataType = 'map';
256311
/**
@@ -265,6 +320,12 @@ class JsonSchema extends \Google\Collection
265320
* @var string[]
266321
*/
267322
public $type;
323+
/**
324+
* Whether the items in the array field are unique.
325+
*
326+
* @var bool
327+
*/
328+
public $uniqueItems;
268329

269330
/**
270331
* Additional details apart from standard json schema fields, this gives
@@ -332,6 +393,38 @@ public function getEnum()
332393
{
333394
return $this->enum;
334395
}
396+
/**
397+
* Whether the maximum number value is exclusive.
398+
*
399+
* @param bool $exclusiveMaximum
400+
*/
401+
public function setExclusiveMaximum($exclusiveMaximum)
402+
{
403+
$this->exclusiveMaximum = $exclusiveMaximum;
404+
}
405+
/**
406+
* @return bool
407+
*/
408+
public function getExclusiveMaximum()
409+
{
410+
return $this->exclusiveMaximum;
411+
}
412+
/**
413+
* Whether the minimum number value is exclusive.
414+
*
415+
* @param bool $exclusiveMinimum
416+
*/
417+
public function setExclusiveMinimum($exclusiveMinimum)
418+
{
419+
$this->exclusiveMinimum = $exclusiveMinimum;
420+
}
421+
/**
422+
* @return bool
423+
*/
424+
public function getExclusiveMinimum()
425+
{
426+
return $this->exclusiveMinimum;
427+
}
335428
/**
336429
* Format of the value as per https://json-schema.org/understanding-json-
337430
* schema/reference/string.html#format
@@ -390,6 +483,119 @@ public function getJdbcType()
390483
{
391484
return $this->jdbcType;
392485
}
486+
/**
487+
* Maximum number of items in the array field.
488+
*
489+
* @param int $maxItems
490+
*/
491+
public function setMaxItems($maxItems)
492+
{
493+
$this->maxItems = $maxItems;
494+
}
495+
/**
496+
* @return int
497+
*/
498+
public function getMaxItems()
499+
{
500+
return $this->maxItems;
501+
}
502+
/**
503+
* Maximum length of the string field.
504+
*
505+
* @param int $maxLength
506+
*/
507+
public function setMaxLength($maxLength)
508+
{
509+
$this->maxLength = $maxLength;
510+
}
511+
/**
512+
* @return int
513+
*/
514+
public function getMaxLength()
515+
{
516+
return $this->maxLength;
517+
}
518+
/**
519+
* Maximum value of the number field.
520+
*
521+
* @param array $maximum
522+
*/
523+
public function setMaximum($maximum)
524+
{
525+
$this->maximum = $maximum;
526+
}
527+
/**
528+
* @return array
529+
*/
530+
public function getMaximum()
531+
{
532+
return $this->maximum;
533+
}
534+
/**
535+
* Minimum number of items in the array field.
536+
*
537+
* @param int $minItems
538+
*/
539+
public function setMinItems($minItems)
540+
{
541+
$this->minItems = $minItems;
542+
}
543+
/**
544+
* @return int
545+
*/
546+
public function getMinItems()
547+
{
548+
return $this->minItems;
549+
}
550+
/**
551+
* Minimum length of the string field.
552+
*
553+
* @param int $minLength
554+
*/
555+
public function setMinLength($minLength)
556+
{
557+
$this->minLength = $minLength;
558+
}
559+
/**
560+
* @return int
561+
*/
562+
public function getMinLength()
563+
{
564+
return $this->minLength;
565+
}
566+
/**
567+
* Minimum value of the number field.
568+
*
569+
* @param array $minimum
570+
*/
571+
public function setMinimum($minimum)
572+
{
573+
$this->minimum = $minimum;
574+
}
575+
/**
576+
* @return array
577+
*/
578+
public function getMinimum()
579+
{
580+
return $this->minimum;
581+
}
582+
/**
583+
* Regex pattern of the string field. This is a string value that describes
584+
* the regular expression that the string value should match.
585+
*
586+
* @param string $pattern
587+
*/
588+
public function setPattern($pattern)
589+
{
590+
$this->pattern = $pattern;
591+
}
592+
/**
593+
* @return string
594+
*/
595+
public function getPattern()
596+
{
597+
return $this->pattern;
598+
}
393599
/**
394600
* The child schemas, applicable only if this is of type `object`. The key is
395601
* the name of the property and the value is the json schema that describes
@@ -440,6 +646,22 @@ public function getType()
440646
{
441647
return $this->type;
442648
}
649+
/**
650+
* Whether the items in the array field are unique.
651+
*
652+
* @param bool $uniqueItems
653+
*/
654+
public function setUniqueItems($uniqueItems)
655+
{
656+
$this->uniqueItems = $uniqueItems;
657+
}
658+
/**
659+
* @return bool
660+
*/
661+
public function getUniqueItems()
662+
{
663+
return $this->uniqueItems;
664+
}
443665
}
444666

445667
// Adding a class alias for backwards compatibility with the previous class name.

0 commit comments

Comments
 (0)