google-apis-connectors_v2 0.25.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f346cd07b8f1fdc26015a2c5636d72a9fec6dd16e4cc3b9b310606062f1f95d
4
- data.tar.gz: 37e590f9959dfe0fab7586eab62a94a8cefde4e8ad5cbb95ee61060c22fc3716
3
+ metadata.gz: 7069b0a45d273dba890a199451b944e6d8bc3de18dad17cd71aa04a0942aaeb4
4
+ data.tar.gz: 3f175acf154cf9eb4ff6ac8f65e7da86d1df63a9b5879a3fd2867ba263cc665a
5
5
  SHA512:
6
- metadata.gz: 12148aa172b673527b251e9b21831f32c877a4e9eb63189a910bfe44b029e6f83f0d933755990d9f6dc419e65569eb983fda1c5d4ec99fcbffea1cc0916a2b56
7
- data.tar.gz: b711f8f37aef85c9cf14391c208c3a44ffc43198ce658b472779607b2a6c6457eb8dbb7e0afc5c78933f0538dcea90f0204ecbcbeac2abc82c06da7c040bdd5e
6
+ metadata.gz: 3456dcc9b1fa3208dc0a8fe89ba0f98dfd28cac8866b843d332b9b9b430a043d818dd15da868844480a757e956e00336628f3b293e3d3faab4617ae0446fb55f
7
+ data.tar.gz: 9fdd9be76175d43c24124e838c0a3766e0faf7dba99b2c7baf8492a085dadfa4c9dce86c72a4c88ac4dbed36b08e01becb55b29816f46c29ace7b1ae8dd1d5f1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-connectors_v2
2
2
 
3
+ ### v0.26.0 (2025-08-17)
4
+
5
+ * Regenerated from discovery document revision 20250813
6
+
3
7
  ### v0.25.0 (2025-05-25)
4
8
 
5
9
  * Regenerated from discovery document revision 20250521
@@ -79,6 +79,11 @@ module Google
79
79
  # @return [Array<Google::Apis::ConnectorsV2::InputParameter>]
80
80
  attr_accessor :input_parameters
81
81
 
82
+ # Metadata like service latency, etc.
83
+ # Corresponds to the JSON property `metadata`
84
+ # @return [Hash<String,Hash<String,Object>>]
85
+ attr_accessor :metadata
86
+
82
87
  # Name of the action.
83
88
  # Corresponds to the JSON property `name`
84
89
  # @return [String]
@@ -104,6 +109,7 @@ module Google
104
109
  @display_name = args[:display_name] if args.key?(:display_name)
105
110
  @input_json_schema = args[:input_json_schema] if args.key?(:input_json_schema)
106
111
  @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
112
+ @metadata = args[:metadata] if args.key?(:metadata)
107
113
  @name = args[:name] if args.key?(:name)
108
114
  @result_json_schema = args[:result_json_schema] if args.key?(:result_json_schema)
109
115
  @result_metadata = args[:result_metadata] if args.key?(:result_metadata)
@@ -178,6 +184,11 @@ module Google
178
184
  # @return [String]
179
185
  attr_accessor :description
180
186
 
187
+ # Metadata like service latency, etc.
188
+ # Corresponds to the JSON property `metadata`
189
+ # @return [Hash<String,Hash<String,Object>>]
190
+ attr_accessor :metadata
191
+
181
192
  # State of the connector.
182
193
  # Corresponds to the JSON property `state`
183
194
  # @return [String]
@@ -190,6 +201,7 @@ module Google
190
201
  # Update properties of this object
191
202
  def update!(**args)
192
203
  @description = args[:description] if args.key?(:description)
204
+ @metadata = args[:metadata] if args.key?(:metadata)
193
205
  @state = args[:state] if args.key?(:state)
194
206
  end
195
207
  end
@@ -336,6 +348,11 @@ module Google
336
348
  # @return [Hash<String,Object>]
337
349
  attr_accessor :fields
338
350
 
351
+ # Metadata like service latency, etc.
352
+ # Corresponds to the JSON property `metadata`
353
+ # @return [Hash<String,Hash<String,Object>>]
354
+ attr_accessor :metadata
355
+
339
356
  # Output only. Resource name of the Entity. Format: projects/`project`/locations/
340
357
  # `location`/connections/`connection`/entityTypes/`type`/entities/`id`
341
358
  # Corresponds to the JSON property `name`
@@ -349,6 +366,7 @@ module Google
349
366
  # Update properties of this object
350
367
  def update!(**args)
351
368
  @fields = args[:fields] if args.key?(:fields)
369
+ @metadata = args[:metadata] if args.key?(:metadata)
352
370
  @name = args[:name] if args.key?(:name)
353
371
  end
354
372
  end
@@ -358,6 +376,11 @@ module Google
358
376
  class EntityType
359
377
  include Google::Apis::Core::Hashable
360
378
 
379
+ #
380
+ # Corresponds to the JSON property `defaultSortBy`
381
+ # @return [String]
382
+ attr_accessor :default_sort_by
383
+
361
384
  # List containing metadata information about each field of the entity type.
362
385
  # Corresponds to the JSON property `fields`
363
386
  # @return [Array<Google::Apis::ConnectorsV2::Field>]
@@ -368,6 +391,11 @@ module Google
368
391
  # @return [Google::Apis::ConnectorsV2::JsonSchema]
369
392
  attr_accessor :json_schema
370
393
 
394
+ # Metadata like service latency, etc.
395
+ # Corresponds to the JSON property `metadata`
396
+ # @return [Hash<String,Hash<String,Object>>]
397
+ attr_accessor :metadata
398
+
371
399
  # The name of the entity type.
372
400
  # Corresponds to the JSON property `name`
373
401
  # @return [String]
@@ -384,8 +412,10 @@ module Google
384
412
 
385
413
  # Update properties of this object
386
414
  def update!(**args)
415
+ @default_sort_by = args[:default_sort_by] if args.key?(:default_sort_by)
387
416
  @fields = args[:fields] if args.key?(:fields)
388
417
  @json_schema = args[:json_schema] if args.key?(:json_schema)
418
+ @metadata = args[:metadata] if args.key?(:metadata)
389
419
  @name = args[:name] if args.key?(:name)
390
420
  @operations = args[:operations] if args.key?(:operations)
391
421
  end
@@ -422,6 +452,11 @@ module Google
422
452
  # @return [Google::Apis::ConnectorsV2::AccessCredentials]
423
453
  attr_accessor :access_credentials
424
454
 
455
+ # Metadata like service latency, etc.
456
+ # Corresponds to the JSON property `metadata`
457
+ # @return [Hash<String,Hash<String,Object>>]
458
+ attr_accessor :metadata
459
+
425
460
  def initialize(**args)
426
461
  update!(**args)
427
462
  end
@@ -429,6 +464,7 @@ module Google
429
464
  # Update properties of this object
430
465
  def update!(**args)
431
466
  @access_credentials = args[:access_credentials] if args.key?(:access_credentials)
467
+ @metadata = args[:metadata] if args.key?(:metadata)
432
468
  end
433
469
  end
434
470
 
@@ -456,6 +492,11 @@ module Google
456
492
  class ExecuteActionResponse
457
493
  include Google::Apis::Core::Hashable
458
494
 
495
+ # Metadata like service latency, etc.
496
+ # Corresponds to the JSON property `metadata`
497
+ # @return [Hash<String,Hash<String,Object>>]
498
+ attr_accessor :metadata
499
+
459
500
  # In the case of successful invocation of the specified action, the results
460
501
  # Struct contains values based on the response of the action invoked. 1. If the
461
502
  # action execution produces any entities as a result, they are returned as an
@@ -471,6 +512,7 @@ module Google
471
512
 
472
513
  # Update properties of this object
473
514
  def update!(**args)
515
+ @metadata = args[:metadata] if args.key?(:metadata)
474
516
  @results = args[:results] if args.key?(:results)
475
517
  end
476
518
  end
@@ -520,6 +562,44 @@ module Google
520
562
  end
521
563
  end
522
564
 
565
+ # Request message for ConnectorAgentService.ExecuteTool
566
+ class ExecuteToolRequest
567
+ include Google::Apis::Core::Hashable
568
+
569
+ # Input parameters for the tool.
570
+ # Corresponds to the JSON property `parameters`
571
+ # @return [Hash<String,Object>]
572
+ attr_accessor :parameters
573
+
574
+ def initialize(**args)
575
+ update!(**args)
576
+ end
577
+
578
+ # Update properties of this object
579
+ def update!(**args)
580
+ @parameters = args[:parameters] if args.key?(:parameters)
581
+ end
582
+ end
583
+
584
+ # Response message for ConnectorAgentService.ExecuteTool
585
+ class ExecuteToolResponse
586
+ include Google::Apis::Core::Hashable
587
+
588
+ # Output from the tool execution.
589
+ # Corresponds to the JSON property `result`
590
+ # @return [Hash<String,Object>]
591
+ attr_accessor :result
592
+
593
+ def initialize(**args)
594
+ update!(**args)
595
+ end
596
+
597
+ # Update properties of this object
598
+ def update!(**args)
599
+ @result = args[:result] if args.key?(:result)
600
+ end
601
+ end
602
+
523
603
  # Message contains EntityType's Field metadata.
524
604
  class Field
525
605
  include Google::Apis::Core::Hashable
@@ -914,6 +994,11 @@ module Google
914
994
  # @return [Array<Google::Apis::ConnectorsV2::Action>]
915
995
  attr_accessor :actions
916
996
 
997
+ # Metadata like service latency, etc.
998
+ # Corresponds to the JSON property `metadata`
999
+ # @return [Hash<String,Hash<String,Object>>]
1000
+ attr_accessor :metadata
1001
+
917
1002
  # Next page token if more actions available.
918
1003
  # Corresponds to the JSON property `nextPageToken`
919
1004
  # @return [String]
@@ -932,6 +1017,7 @@ module Google
932
1017
  # Update properties of this object
933
1018
  def update!(**args)
934
1019
  @actions = args[:actions] if args.key?(:actions)
1020
+ @metadata = args[:metadata] if args.key?(:metadata)
935
1021
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
936
1022
  @unsupported_action_names = args[:unsupported_action_names] if args.key?(:unsupported_action_names)
937
1023
  end
@@ -946,6 +1032,11 @@ module Google
946
1032
  # @return [Array<Google::Apis::ConnectorsV2::Entity>]
947
1033
  attr_accessor :entities
948
1034
 
1035
+ # Metadata like service latency, etc.
1036
+ # Corresponds to the JSON property `metadata`
1037
+ # @return [Hash<String,Hash<String,Object>>]
1038
+ attr_accessor :metadata
1039
+
949
1040
  # Next page token if more records are available.
950
1041
  # Corresponds to the JSON property `nextPageToken`
951
1042
  # @return [String]
@@ -958,6 +1049,7 @@ module Google
958
1049
  # Update properties of this object
959
1050
  def update!(**args)
960
1051
  @entities = args[:entities] if args.key?(:entities)
1052
+ @metadata = args[:metadata] if args.key?(:metadata)
961
1053
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
962
1054
  end
963
1055
  end
@@ -966,6 +1058,11 @@ module Google
966
1058
  class ListEntityTypesResponse
967
1059
  include Google::Apis::Core::Hashable
968
1060
 
1061
+ # Metadata like service latency, etc.
1062
+ # Corresponds to the JSON property `metadata`
1063
+ # @return [Hash<String,Hash<String,Object>>]
1064
+ attr_accessor :metadata
1065
+
969
1066
  # Next page token if more entity types available.
970
1067
  # Corresponds to the JSON property `nextPageToken`
971
1068
  # @return [String]
@@ -988,12 +1085,38 @@ module Google
988
1085
 
989
1086
  # Update properties of this object
990
1087
  def update!(**args)
1088
+ @metadata = args[:metadata] if args.key?(:metadata)
991
1089
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
992
1090
  @types = args[:types] if args.key?(:types)
993
1091
  @unsupported_type_names = args[:unsupported_type_names] if args.key?(:unsupported_type_names)
994
1092
  end
995
1093
  end
996
1094
 
1095
+ # Response message for ConnectorAgentService.ListTools
1096
+ class ListToolsResponse
1097
+ include Google::Apis::Core::Hashable
1098
+
1099
+ # Next page token.
1100
+ # Corresponds to the JSON property `nextPageToken`
1101
+ # @return [String]
1102
+ attr_accessor :next_page_token
1103
+
1104
+ # List of available tools.
1105
+ # Corresponds to the JSON property `tools`
1106
+ # @return [Array<Google::Apis::ConnectorsV2::Tool>]
1107
+ attr_accessor :tools
1108
+
1109
+ def initialize(**args)
1110
+ update!(**args)
1111
+ end
1112
+
1113
+ # Update properties of this object
1114
+ def update!(**args)
1115
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1116
+ @tools = args[:tools] if args.key?(:tools)
1117
+ end
1118
+ end
1119
+
997
1120
  # Defines policies to service maintenance events.
998
1121
  class MaintenancePolicy
999
1122
  include Google::Apis::Core::Hashable
@@ -1408,6 +1531,11 @@ module Google
1408
1531
  # @return [Google::Apis::ConnectorsV2::AccessCredentials]
1409
1532
  attr_accessor :access_credentials
1410
1533
 
1534
+ # Metadata like service latency, etc.
1535
+ # Corresponds to the JSON property `metadata`
1536
+ # @return [Hash<String,Hash<String,Object>>]
1537
+ attr_accessor :metadata
1538
+
1411
1539
  def initialize(**args)
1412
1540
  update!(**args)
1413
1541
  end
@@ -1415,6 +1543,7 @@ module Google
1415
1543
  # Update properties of this object
1416
1544
  def update!(**args)
1417
1545
  @access_credentials = args[:access_credentials] if args.key?(:access_credentials)
1546
+ @metadata = args[:metadata] if args.key?(:metadata)
1418
1547
  end
1419
1548
  end
1420
1549
 
@@ -1614,10 +1743,52 @@ module Google
1614
1743
  end
1615
1744
  end
1616
1745
 
1746
+ # Message representing a single tool.
1747
+ class Tool
1748
+ include Google::Apis::Core::Hashable
1749
+
1750
+ # Description of the tool.
1751
+ # Corresponds to the JSON property `description`
1752
+ # @return [String]
1753
+ attr_accessor :description
1754
+
1755
+ # JsonSchema representation of schema metadata
1756
+ # Corresponds to the JSON property `inputSchema`
1757
+ # @return [Google::Apis::ConnectorsV2::JsonSchema]
1758
+ attr_accessor :input_schema
1759
+
1760
+ # Name of the tool.
1761
+ # Corresponds to the JSON property `name`
1762
+ # @return [String]
1763
+ attr_accessor :name
1764
+
1765
+ # JsonSchema representation of schema metadata
1766
+ # Corresponds to the JSON property `outputSchema`
1767
+ # @return [Google::Apis::ConnectorsV2::JsonSchema]
1768
+ attr_accessor :output_schema
1769
+
1770
+ def initialize(**args)
1771
+ update!(**args)
1772
+ end
1773
+
1774
+ # Update properties of this object
1775
+ def update!(**args)
1776
+ @description = args[:description] if args.key?(:description)
1777
+ @input_schema = args[:input_schema] if args.key?(:input_schema)
1778
+ @name = args[:name] if args.key?(:name)
1779
+ @output_schema = args[:output_schema] if args.key?(:output_schema)
1780
+ end
1781
+ end
1782
+
1617
1783
  # Response message for EntityService.UpdateEntitiesWithConditions
1618
1784
  class UpdateEntitiesWithConditionsResponse
1619
1785
  include Google::Apis::Core::Hashable
1620
1786
 
1787
+ # Metadata like service latency, etc.
1788
+ # Corresponds to the JSON property `metadata`
1789
+ # @return [Hash<String,Hash<String,Object>>]
1790
+ attr_accessor :metadata
1791
+
1621
1792
  # Response returned by the external system.
1622
1793
  # Corresponds to the JSON property `response`
1623
1794
  # @return [Hash<String,Object>]
@@ -1629,6 +1800,7 @@ module Google
1629
1800
 
1630
1801
  # Update properties of this object
1631
1802
  def update!(**args)
1803
+ @metadata = args[:metadata] if args.key?(:metadata)
1632
1804
  @response = args[:response] if args.key?(:response)
1633
1805
  end
1634
1806
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ConnectorsV2
18
18
  # Version of the google-apis-connectors_v2 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250521"
25
+ REVISION = "20250813"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,18 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class ExecuteToolRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ExecuteToolResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class Field
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -166,6 +178,12 @@ module Google
166
178
  include Google::Apis::Core::JsonObjectSupport
167
179
  end
168
180
 
181
+ class ListToolsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
169
187
  class MaintenancePolicy
170
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
189
 
@@ -274,6 +292,12 @@ module Google
274
292
  include Google::Apis::Core::JsonObjectSupport
275
293
  end
276
294
 
295
+ class Tool
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
277
301
  class UpdateEntitiesWithConditionsResponse
278
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
303
 
@@ -310,6 +334,7 @@ module Google
310
334
 
311
335
  collection :input_parameters, as: 'inputParameters', class: Google::Apis::ConnectorsV2::InputParameter, decorator: Google::Apis::ConnectorsV2::InputParameter::Representation
312
336
 
337
+ hash :metadata, as: 'metadata'
313
338
  property :name, as: 'name'
314
339
  property :result_json_schema, as: 'resultJsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
315
340
 
@@ -339,6 +364,7 @@ module Google
339
364
  # @private
340
365
  class Representation < Google::Apis::Core::JsonRepresentation
341
366
  property :description, as: 'description'
367
+ hash :metadata, as: 'metadata'
342
368
  property :state, as: 'state'
343
369
  end
344
370
  end
@@ -383,6 +409,7 @@ module Google
383
409
  # @private
384
410
  class Representation < Google::Apis::Core::JsonRepresentation
385
411
  hash :fields, as: 'fields'
412
+ hash :metadata, as: 'metadata'
386
413
  property :name, as: 'name'
387
414
  end
388
415
  end
@@ -390,10 +417,12 @@ module Google
390
417
  class EntityType
391
418
  # @private
392
419
  class Representation < Google::Apis::Core::JsonRepresentation
420
+ property :default_sort_by, as: 'defaultSortBy'
393
421
  collection :fields, as: 'fields', class: Google::Apis::ConnectorsV2::Field, decorator: Google::Apis::ConnectorsV2::Field::Representation
394
422
 
395
423
  property :json_schema, as: 'jsonSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
396
424
 
425
+ hash :metadata, as: 'metadata'
397
426
  property :name, as: 'name'
398
427
  collection :operations, as: 'operations'
399
428
  end
@@ -412,6 +441,7 @@ module Google
412
441
  class Representation < Google::Apis::Core::JsonRepresentation
413
442
  property :access_credentials, as: 'accessCredentials', class: Google::Apis::ConnectorsV2::AccessCredentials, decorator: Google::Apis::ConnectorsV2::AccessCredentials::Representation
414
443
 
444
+ hash :metadata, as: 'metadata'
415
445
  end
416
446
  end
417
447
 
@@ -425,6 +455,7 @@ module Google
425
455
  class ExecuteActionResponse
426
456
  # @private
427
457
  class Representation < Google::Apis::Core::JsonRepresentation
458
+ hash :metadata, as: 'metadata'
428
459
  collection :results, as: 'results'
429
460
  end
430
461
  end
@@ -444,6 +475,20 @@ module Google
444
475
  end
445
476
  end
446
477
 
478
+ class ExecuteToolRequest
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ hash :parameters, as: 'parameters'
482
+ end
483
+ end
484
+
485
+ class ExecuteToolResponse
486
+ # @private
487
+ class Representation < Google::Apis::Core::JsonRepresentation
488
+ hash :result, as: 'result'
489
+ end
490
+ end
491
+
447
492
  class Field
448
493
  # @private
449
494
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -527,6 +572,7 @@ module Google
527
572
  class Representation < Google::Apis::Core::JsonRepresentation
528
573
  collection :actions, as: 'actions', class: Google::Apis::ConnectorsV2::Action, decorator: Google::Apis::ConnectorsV2::Action::Representation
529
574
 
575
+ hash :metadata, as: 'metadata'
530
576
  property :next_page_token, as: 'nextPageToken'
531
577
  collection :unsupported_action_names, as: 'unsupportedActionNames'
532
578
  end
@@ -537,6 +583,7 @@ module Google
537
583
  class Representation < Google::Apis::Core::JsonRepresentation
538
584
  collection :entities, as: 'entities', class: Google::Apis::ConnectorsV2::Entity, decorator: Google::Apis::ConnectorsV2::Entity::Representation
539
585
 
586
+ hash :metadata, as: 'metadata'
540
587
  property :next_page_token, as: 'nextPageToken'
541
588
  end
542
589
  end
@@ -544,6 +591,7 @@ module Google
544
591
  class ListEntityTypesResponse
545
592
  # @private
546
593
  class Representation < Google::Apis::Core::JsonRepresentation
594
+ hash :metadata, as: 'metadata'
547
595
  property :next_page_token, as: 'nextPageToken'
548
596
  collection :types, as: 'types', class: Google::Apis::ConnectorsV2::EntityType, decorator: Google::Apis::ConnectorsV2::EntityType::Representation
549
597
 
@@ -551,6 +599,15 @@ module Google
551
599
  end
552
600
  end
553
601
 
602
+ class ListToolsResponse
603
+ # @private
604
+ class Representation < Google::Apis::Core::JsonRepresentation
605
+ property :next_page_token, as: 'nextPageToken'
606
+ collection :tools, as: 'tools', class: Google::Apis::ConnectorsV2::Tool, decorator: Google::Apis::ConnectorsV2::Tool::Representation
607
+
608
+ end
609
+ end
610
+
554
611
  class MaintenancePolicy
555
612
  # @private
556
613
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -668,6 +725,7 @@ module Google
668
725
  class Representation < Google::Apis::Core::JsonRepresentation
669
726
  property :access_credentials, as: 'accessCredentials', class: Google::Apis::ConnectorsV2::AccessCredentials, decorator: Google::Apis::ConnectorsV2::AccessCredentials::Representation
670
727
 
728
+ hash :metadata, as: 'metadata'
671
729
  end
672
730
  end
673
731
 
@@ -723,9 +781,22 @@ module Google
723
781
  end
724
782
  end
725
783
 
784
+ class Tool
785
+ # @private
786
+ class Representation < Google::Apis::Core::JsonRepresentation
787
+ property :description, as: 'description'
788
+ property :input_schema, as: 'inputSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
789
+
790
+ property :name, as: 'name'
791
+ property :output_schema, as: 'outputSchema', class: Google::Apis::ConnectorsV2::JsonSchema, decorator: Google::Apis::ConnectorsV2::JsonSchema::Representation
792
+
793
+ end
794
+ end
795
+
726
796
  class UpdateEntitiesWithConditionsResponse
727
797
  # @private
728
798
  class Representation < Google::Apis::Core::JsonRepresentation
799
+ hash :metadata, as: 'metadata'
729
800
  hash :response, as: 'response'
730
801
  end
731
802
  end
@@ -333,6 +333,9 @@ module Google
333
333
  # @param [String] name
334
334
  # Required. Resource name of the Entity Type. Format: projects/`project`/
335
335
  # locations/`location`/connections/`connection`/entityTypes/`entityType`
336
+ # @param [String] context_metadata
337
+ # Context metadata for request could be used to fetch customization of entity
338
+ # type schema.
336
339
  # @param [String] view
337
340
  # Specifies view for entity type schema.
338
341
  # @param [String] fields
@@ -352,11 +355,12 @@ module Google
352
355
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
353
356
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
354
357
  # @raise [Google::Apis::AuthorizationError] Authorization is required
355
- def get_project_location_connection_entity_type(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
358
+ def get_project_location_connection_entity_type(name, context_metadata: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
356
359
  command = make_simple_command(:get, 'v2/{+name}', options)
357
360
  command.response_representation = Google::Apis::ConnectorsV2::EntityType::Representation
358
361
  command.response_class = Google::Apis::ConnectorsV2::EntityType
359
362
  command.params['name'] = name unless name.nil?
363
+ command.query['contextMetadata'] = context_metadata unless context_metadata.nil?
360
364
  command.query['view'] = view unless view.nil?
361
365
  command.query['fields'] = fields unless fields.nil?
362
366
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -685,6 +689,77 @@ module Google
685
689
  command.query['quotaUser'] = quota_user unless quota_user.nil?
686
690
  execute_or_queue_command(command, &block)
687
691
  end
692
+
693
+ # Executes a specific tool.
694
+ # @param [String] name
695
+ # Required. Resource name of the Tool. Format: projects/`project`/locations/`
696
+ # location`/connections/`connection`/tools/`tool`
697
+ # @param [Google::Apis::ConnectorsV2::ExecuteToolRequest] execute_tool_request_object
698
+ # @param [String] fields
699
+ # Selector specifying which fields to include in a partial response.
700
+ # @param [String] quota_user
701
+ # Available to use for quota purposes for server-side applications. Can be any
702
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
703
+ # @param [Google::Apis::RequestOptions] options
704
+ # Request-specific options
705
+ #
706
+ # @yield [result, err] Result & error if block supplied
707
+ # @yieldparam result [Google::Apis::ConnectorsV2::ExecuteToolResponse] parsed result object
708
+ # @yieldparam err [StandardError] error object if request failed
709
+ #
710
+ # @return [Google::Apis::ConnectorsV2::ExecuteToolResponse]
711
+ #
712
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
713
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
714
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
715
+ def execute_tool(name, execute_tool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
716
+ command = make_simple_command(:post, 'v2/{+name}:execute', options)
717
+ command.request_representation = Google::Apis::ConnectorsV2::ExecuteToolRequest::Representation
718
+ command.request_object = execute_tool_request_object
719
+ command.response_representation = Google::Apis::ConnectorsV2::ExecuteToolResponse::Representation
720
+ command.response_class = Google::Apis::ConnectorsV2::ExecuteToolResponse
721
+ command.params['name'] = name unless name.nil?
722
+ command.query['fields'] = fields unless fields.nil?
723
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
724
+ execute_or_queue_command(command, &block)
725
+ end
726
+
727
+ # Lists all available tools.
728
+ # @param [String] parent
729
+ # Required. Resource name of the Connection. Format: projects/`project`/
730
+ # locations/`location`/connections/`connection`
731
+ # @param [Fixnum] page_size
732
+ # Page size.
733
+ # @param [String] page_token
734
+ # Page token.
735
+ # @param [String] fields
736
+ # Selector specifying which fields to include in a partial response.
737
+ # @param [String] quota_user
738
+ # Available to use for quota purposes for server-side applications. Can be any
739
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
740
+ # @param [Google::Apis::RequestOptions] options
741
+ # Request-specific options
742
+ #
743
+ # @yield [result, err] Result & error if block supplied
744
+ # @yieldparam result [Google::Apis::ConnectorsV2::ListToolsResponse] parsed result object
745
+ # @yieldparam err [StandardError] error object if request failed
746
+ #
747
+ # @return [Google::Apis::ConnectorsV2::ListToolsResponse]
748
+ #
749
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
750
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
751
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
752
+ def list_project_location_connection_tools(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
753
+ command = make_simple_command(:get, 'v2/{+parent}/tools', options)
754
+ command.response_representation = Google::Apis::ConnectorsV2::ListToolsResponse::Representation
755
+ command.response_class = Google::Apis::ConnectorsV2::ListToolsResponse
756
+ command.params['parent'] = parent unless parent.nil?
757
+ command.query['pageSize'] = page_size unless page_size.nil?
758
+ command.query['pageToken'] = page_token unless page_token.nil?
759
+ command.query['fields'] = fields unless fields.nil?
760
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
761
+ execute_or_queue_command(command, &block)
762
+ end
688
763
 
689
764
  protected
690
765
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-connectors_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.25.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.26.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v2
62
62
  rdoc_options: []
63
63
  require_paths: