google-apis-connectors_v2 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb27cef22f198f78576a8670c446458d08b351e9041abfceb9aa53b6265371d8
4
- data.tar.gz: fec77c5bf0fafd02f77148345963c9a49a07a5852d0aaf5f3e3caa5bd789f07b
3
+ metadata.gz: 3b88665f2505f61ca025e1ad1b4dfe4a805889cca424e088363d8a18726e8958
4
+ data.tar.gz: 595f5f0875f2347840830c11205d3c5313c5919fc2714a6bf0aa34717bf3849d
5
5
  SHA512:
6
- metadata.gz: b40f12ae96a4f6b4cf9fbab02ee60a39febaae67e33c9435f9a0d359a23cc79751d93ade1b1d29ab88a3211e7c543ef37817505dcc1ddd98537cbd1ec1299166
7
- data.tar.gz: 3206dad0c69a03340edc4ef0fcb94f21636feb06de5633c1a2cb501b7748793e97b043a8e9ef71c7f5cd59bf3f635189adbca882d4473dfe7690353a2b64f1a7
6
+ metadata.gz: e524d0229fd9ec35e5e77f4795ca16c45f222da175617653762dfad04965978c364da06f3f07c54df2078df80ba97bbe8c7dc4c188d8e8d79bc8457f6934a96c
7
+ data.tar.gz: d2d04f1ee59263c9adc1262ef3a6456e7d4278e8644b793cedf1926a292e9c9881a491032bcbf2dc66200fedeeba06f2801c398551e6a17c80e2dcc206cc07b0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-connectors_v2
2
2
 
3
+ ### v0.16.0 (2024-06-09)
4
+
5
+ * Regenerated from discovery document revision 20240606
6
+
3
7
  ### v0.15.0 (2024-06-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20240529
@@ -54,27 +54,6 @@ module Google
54
54
  end
55
55
  end
56
56
 
57
- # AclInfo has a list of readers for a resource. This is defined as per the below
58
- # docs https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/
59
- # v1alpha/projects.locations.collections.dataStores.branches.documents#aclinfo
60
- class AclInfo
61
- include Google::Apis::Core::Hashable
62
-
63
- # A list of readers for a resource.
64
- # Corresponds to the JSON property `readers`
65
- # @return [Array<Google::Apis::ConnectorsV2::Readers>]
66
- attr_accessor :readers
67
-
68
- def initialize(**args)
69
- update!(**args)
70
- end
71
-
72
- # Update properties of this object
73
- def update!(**args)
74
- @readers = args[:readers] if args.key?(:readers)
75
- end
76
- end
77
-
78
57
  # Action message contains metadata information about a single action present in
79
58
  # the external system.
80
59
  class Action
@@ -373,39 +352,6 @@ module Google
373
352
  end
374
353
  end
375
354
 
376
- # EntityWithACL refers to a single row of an entity type with ACL information.
377
- class EntityWithAcl
378
- include Google::Apis::Core::Hashable
379
-
380
- # AclInfo has a list of readers for a resource. This is defined as per the below
381
- # docs https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/
382
- # v1alpha/projects.locations.collections.dataStores.branches.documents#aclinfo
383
- # Corresponds to the JSON property `acl_info`
384
- # @return [Google::Apis::ConnectorsV2::AclInfo]
385
- attr_accessor :acl_info
386
-
387
- #
388
- # Corresponds to the JSON property `id`
389
- # @return [String]
390
- attr_accessor :id
391
-
392
- # Entity data in JSON format.
393
- # Corresponds to the JSON property `jsonData`
394
- # @return [String]
395
- attr_accessor :json_data
396
-
397
- def initialize(**args)
398
- update!(**args)
399
- end
400
-
401
- # Update properties of this object
402
- def update!(**args)
403
- @acl_info = args[:acl_info] if args.key?(:acl_info)
404
- @id = args[:id] if args.key?(:id)
405
- @json_data = args[:json_data] if args.key?(:json_data)
406
- end
407
- end
408
-
409
355
  # ExchangeAuthCodeRequest currently includes no fields.
410
356
  class ExchangeAuthCodeRequest
411
357
  include Google::Apis::Core::Hashable
@@ -958,31 +904,6 @@ module Google
958
904
  end
959
905
  end
960
906
 
961
- # Response message for EntityService.ListEntitiesWithACLs
962
- class ListEntitiesWithAcLsResponse
963
- include Google::Apis::Core::Hashable
964
-
965
- # List containing entity rows.
966
- # Corresponds to the JSON property `entitiesWithAcl`
967
- # @return [Array<Google::Apis::ConnectorsV2::EntityWithAcl>]
968
- attr_accessor :entities_with_acl
969
-
970
- # Next page token if more records are available.
971
- # Corresponds to the JSON property `nextPageToken`
972
- # @return [String]
973
- attr_accessor :next_page_token
974
-
975
- def initialize(**args)
976
- update!(**args)
977
- end
978
-
979
- # Update properties of this object
980
- def update!(**args)
981
- @entities_with_acl = args[:entities_with_acl] if args.key?(:entities_with_acl)
982
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
983
- end
984
- end
985
-
986
907
  # Response message for EntityService.ListEntityTypes
987
908
  class ListEntityTypesResponse
988
909
  include Google::Apis::Core::Hashable
@@ -1248,6 +1169,68 @@ module Google
1248
1169
  end
1249
1170
  end
1250
1171
 
1172
+ # This resource represents a long-running operation that is the result of a
1173
+ # network API call.
1174
+ class Operation
1175
+ include Google::Apis::Core::Hashable
1176
+
1177
+ # If the value is `false`, it means the operation is still in progress. If `true`
1178
+ # , the operation is completed, and either `error` or `response` is available.
1179
+ # Corresponds to the JSON property `done`
1180
+ # @return [Boolean]
1181
+ attr_accessor :done
1182
+ alias_method :done?, :done
1183
+
1184
+ # The `Status` type defines a logical error model that is suitable for different
1185
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1186
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1187
+ # data: error code, error message, and error details. You can find out more
1188
+ # about this error model and how to work with it in the [API Design Guide](https:
1189
+ # //cloud.google.com/apis/design/errors).
1190
+ # Corresponds to the JSON property `error`
1191
+ # @return [Google::Apis::ConnectorsV2::Status]
1192
+ attr_accessor :error
1193
+
1194
+ # Service-specific metadata associated with the operation. It typically contains
1195
+ # progress information and common metadata such as create time. Some services
1196
+ # might not provide such metadata. Any method that returns a long-running
1197
+ # operation should document the metadata type, if any.
1198
+ # Corresponds to the JSON property `metadata`
1199
+ # @return [Hash<String,Object>]
1200
+ attr_accessor :metadata
1201
+
1202
+ # The server-assigned name, which is only unique within the same service that
1203
+ # originally returns it. If you use the default HTTP mapping, the `name` should
1204
+ # be a resource name ending with `operations/`unique_id``.
1205
+ # Corresponds to the JSON property `name`
1206
+ # @return [String]
1207
+ attr_accessor :name
1208
+
1209
+ # The normal, successful response of the operation. If the original method
1210
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
1211
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1212
+ # response should be the resource. For other methods, the response should have
1213
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1214
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
1215
+ # `TakeSnapshotResponse`.
1216
+ # Corresponds to the JSON property `response`
1217
+ # @return [Hash<String,Object>]
1218
+ attr_accessor :response
1219
+
1220
+ def initialize(**args)
1221
+ update!(**args)
1222
+ end
1223
+
1224
+ # Update properties of this object
1225
+ def update!(**args)
1226
+ @done = args[:done] if args.key?(:done)
1227
+ @error = args[:error] if args.key?(:error)
1228
+ @metadata = args[:metadata] if args.key?(:metadata)
1229
+ @name = args[:name] if args.key?(:name)
1230
+ @response = args[:response] if args.key?(:response)
1231
+ end
1232
+ end
1233
+
1251
1234
  # PerSliSloEligibility is a mapping from an SLI name to eligibility.
1252
1235
  class PerSliSloEligibility
1253
1236
  include Google::Apis::Core::Hashable
@@ -1277,31 +1260,6 @@ module Google
1277
1260
  end
1278
1261
  end
1279
1262
 
1280
- # Principal is a user or group that has access to a resource.
1281
- class Principal
1282
- include Google::Apis::Core::Hashable
1283
-
1284
- # The group that has access to a resource.
1285
- # Corresponds to the JSON property `group_id`
1286
- # @return [String]
1287
- attr_accessor :group_id
1288
-
1289
- # The user that has access to a resource.
1290
- # Corresponds to the JSON property `user_id`
1291
- # @return [String]
1292
- attr_accessor :user_id
1293
-
1294
- def initialize(**args)
1295
- update!(**args)
1296
- end
1297
-
1298
- # Update properties of this object
1299
- def update!(**args)
1300
- @group_id = args[:group_id] if args.key?(:group_id)
1301
- @user_id = args[:user_id] if args.key?(:user_id)
1302
- end
1303
- end
1304
-
1305
1263
  # Describes provisioned dataplane resources.
1306
1264
  class ProvisionedResource
1307
1265
  include Google::Apis::Core::Hashable
@@ -1398,25 +1356,6 @@ module Google
1398
1356
  end
1399
1357
  end
1400
1358
 
1401
- # Readers is a list of principals that have read access to a resource.
1402
- class Readers
1403
- include Google::Apis::Core::Hashable
1404
-
1405
- # A list of principals that have read access to a resource.
1406
- # Corresponds to the JSON property `principals`
1407
- # @return [Array<Google::Apis::ConnectorsV2::Principal>]
1408
- attr_accessor :principals
1409
-
1410
- def initialize(**args)
1411
- update!(**args)
1412
- end
1413
-
1414
- # Update properties of this object
1415
- def update!(**args)
1416
- @principals = args[:principals] if args.key?(:principals)
1417
- end
1418
- end
1419
-
1420
1359
  #
1421
1360
  class Reference
1422
1361
  include Google::Apis::Core::Hashable
@@ -1613,6 +1552,45 @@ module Google
1613
1552
  end
1614
1553
  end
1615
1554
 
1555
+ # The `Status` type defines a logical error model that is suitable for different
1556
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1557
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1558
+ # data: error code, error message, and error details. You can find out more
1559
+ # about this error model and how to work with it in the [API Design Guide](https:
1560
+ # //cloud.google.com/apis/design/errors).
1561
+ class Status
1562
+ include Google::Apis::Core::Hashable
1563
+
1564
+ # The status code, which should be an enum value of google.rpc.Code.
1565
+ # Corresponds to the JSON property `code`
1566
+ # @return [Fixnum]
1567
+ attr_accessor :code
1568
+
1569
+ # A list of messages that carry the error details. There is a common set of
1570
+ # message types for APIs to use.
1571
+ # Corresponds to the JSON property `details`
1572
+ # @return [Array<Hash<String,Object>>]
1573
+ attr_accessor :details
1574
+
1575
+ # A developer-facing error message, which should be in English. Any user-facing
1576
+ # error message should be localized and sent in the google.rpc.Status.details
1577
+ # field, or localized by the client.
1578
+ # Corresponds to the JSON property `message`
1579
+ # @return [String]
1580
+ attr_accessor :message
1581
+
1582
+ def initialize(**args)
1583
+ update!(**args)
1584
+ end
1585
+
1586
+ # Update properties of this object
1587
+ def update!(**args)
1588
+ @code = args[:code] if args.key?(:code)
1589
+ @details = args[:details] if args.key?(:details)
1590
+ @message = args[:message] if args.key?(:message)
1591
+ end
1592
+ end
1593
+
1616
1594
  # Represents a time of day. The date and time zone are either not significant or
1617
1595
  # are specified elsewhere. An API may choose to allow leap seconds. Related
1618
1596
  # types are google.type.Date and `google.protobuf.Timestamp`.
@@ -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.15.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240529"
25
+ REVISION = "20240606"
26
26
  end
27
27
  end
28
28
  end
@@ -28,12 +28,6 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class AclInfo
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
31
  class Action
38
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
33
 
@@ -88,12 +82,6 @@ module Google
88
82
  include Google::Apis::Core::JsonObjectSupport
89
83
  end
90
84
 
91
- class EntityWithAcl
92
- class Representation < Google::Apis::Core::JsonRepresentation; end
93
-
94
- include Google::Apis::Core::JsonObjectSupport
95
- end
96
-
97
85
  class ExchangeAuthCodeRequest
98
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
87
 
@@ -166,12 +154,6 @@ module Google
166
154
  include Google::Apis::Core::JsonObjectSupport
167
155
  end
168
156
 
169
- class ListEntitiesWithAcLsResponse
170
- class Representation < Google::Apis::Core::JsonRepresentation; end
171
-
172
- include Google::Apis::Core::JsonObjectSupport
173
- end
174
-
175
157
  class ListEntityTypesResponse
176
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
159
 
@@ -214,13 +196,13 @@ module Google
214
196
  include Google::Apis::Core::JsonObjectSupport
215
197
  end
216
198
 
217
- class PerSliSloEligibility
199
+ class Operation
218
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
201
 
220
202
  include Google::Apis::Core::JsonObjectSupport
221
203
  end
222
204
 
223
- class Principal
205
+ class PerSliSloEligibility
224
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
207
 
226
208
  include Google::Apis::Core::JsonObjectSupport
@@ -244,12 +226,6 @@ module Google
244
226
  include Google::Apis::Core::JsonObjectSupport
245
227
  end
246
228
 
247
- class Readers
248
- class Representation < Google::Apis::Core::JsonRepresentation; end
249
-
250
- include Google::Apis::Core::JsonObjectSupport
251
- end
252
-
253
229
  class Reference
254
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
231
 
@@ -292,6 +268,12 @@ module Google
292
268
  include Google::Apis::Core::JsonObjectSupport
293
269
  end
294
270
 
271
+ class Status
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
295
277
  class TimeOfDay
296
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
279
 
@@ -325,14 +307,6 @@ module Google
325
307
  end
326
308
  end
327
309
 
328
- class AclInfo
329
- # @private
330
- class Representation < Google::Apis::Core::JsonRepresentation
331
- collection :readers, as: 'readers', class: Google::Apis::ConnectorsV2::Readers, decorator: Google::Apis::ConnectorsV2::Readers::Representation
332
-
333
- end
334
- end
335
-
336
310
  class Action
337
311
  # @private
338
312
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -421,16 +395,6 @@ module Google
421
395
  end
422
396
  end
423
397
 
424
- class EntityWithAcl
425
- # @private
426
- class Representation < Google::Apis::Core::JsonRepresentation
427
- property :acl_info, as: 'acl_info', class: Google::Apis::ConnectorsV2::AclInfo, decorator: Google::Apis::ConnectorsV2::AclInfo::Representation
428
-
429
- property :id, as: 'id'
430
- property :json_data, as: 'jsonData'
431
- end
432
- end
433
-
434
398
  class ExchangeAuthCodeRequest
435
399
  # @private
436
400
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -570,15 +534,6 @@ module Google
570
534
  end
571
535
  end
572
536
 
573
- class ListEntitiesWithAcLsResponse
574
- # @private
575
- class Representation < Google::Apis::Core::JsonRepresentation
576
- collection :entities_with_acl, as: 'entitiesWithAcl', class: Google::Apis::ConnectorsV2::EntityWithAcl, decorator: Google::Apis::ConnectorsV2::EntityWithAcl::Representation
577
-
578
- property :next_page_token, as: 'nextPageToken'
579
- end
580
- end
581
-
582
537
  class ListEntityTypesResponse
583
538
  # @private
584
539
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -651,19 +606,23 @@ module Google
651
606
  end
652
607
  end
653
608
 
654
- class PerSliSloEligibility
609
+ class Operation
655
610
  # @private
656
611
  class Representation < Google::Apis::Core::JsonRepresentation
657
- hash :eligibilities, as: 'eligibilities', class: Google::Apis::ConnectorsV2::SloEligibility, decorator: Google::Apis::ConnectorsV2::SloEligibility::Representation
612
+ property :done, as: 'done'
613
+ property :error, as: 'error', class: Google::Apis::ConnectorsV2::Status, decorator: Google::Apis::ConnectorsV2::Status::Representation
658
614
 
615
+ hash :metadata, as: 'metadata'
616
+ property :name, as: 'name'
617
+ hash :response, as: 'response'
659
618
  end
660
619
  end
661
620
 
662
- class Principal
621
+ class PerSliSloEligibility
663
622
  # @private
664
623
  class Representation < Google::Apis::Core::JsonRepresentation
665
- property :group_id, as: 'group_id'
666
- property :user_id, as: 'user_id'
624
+ hash :eligibilities, as: 'eligibilities', class: Google::Apis::ConnectorsV2::SloEligibility, decorator: Google::Apis::ConnectorsV2::SloEligibility::Representation
625
+
667
626
  end
668
627
  end
669
628
 
@@ -694,14 +653,6 @@ module Google
694
653
  end
695
654
  end
696
655
 
697
- class Readers
698
- # @private
699
- class Representation < Google::Apis::Core::JsonRepresentation
700
- collection :principals, as: 'principals', class: Google::Apis::ConnectorsV2::Principal, decorator: Google::Apis::ConnectorsV2::Principal::Representation
701
-
702
- end
703
- end
704
-
705
656
  class Reference
706
657
  # @private
707
658
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -764,6 +715,15 @@ module Google
764
715
  end
765
716
  end
766
717
 
718
+ class Status
719
+ # @private
720
+ class Representation < Google::Apis::Core::JsonRepresentation
721
+ property :code, as: 'code'
722
+ collection :details, as: 'details'
723
+ property :message, as: 'message'
724
+ end
725
+ end
726
+
767
727
  class TimeOfDay
768
728
  # @private
769
729
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -696,12 +696,6 @@ module Google
696
696
  # are supported.
697
697
  # @param [String] gsutil_uri
698
698
  # Format: gs://object_path
699
- # @param [Fixnum] page_size
700
- # Number of entity rows to return. Defaults page size = 25. Max page size = 200.
701
- # @param [String] page_token
702
- # Page token value if available from a previous request.
703
- # @param [Array<String>, String] sort_by
704
- # List of 'sort_by' columns to use when returning the results.
705
699
  # @param [String] fields
706
700
  # Selector specifying which fields to include in a partial response.
707
701
  # @param [String] quota_user
@@ -711,24 +705,21 @@ module Google
711
705
  # Request-specific options
712
706
  #
713
707
  # @yield [result, err] Result & error if block supplied
714
- # @yieldparam result [Google::Apis::ConnectorsV2::ListEntitiesWithAcLsResponse] parsed result object
708
+ # @yieldparam result [Google::Apis::ConnectorsV2::Operation] parsed result object
715
709
  # @yieldparam err [StandardError] error object if request failed
716
710
  #
717
- # @return [Google::Apis::ConnectorsV2::ListEntitiesWithAcLsResponse]
711
+ # @return [Google::Apis::ConnectorsV2::Operation]
718
712
  #
719
713
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
720
714
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
721
715
  # @raise [Google::Apis::AuthorizationError] Authorization is required
722
- def list_project_location_connection_entity_type_entitieswithacls(parent, conditions: nil, gsutil_uri: nil, page_size: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, options: nil, &block)
716
+ def list_project_location_connection_entity_type_entitieswithacls(parent, conditions: nil, gsutil_uri: nil, fields: nil, quota_user: nil, options: nil, &block)
723
717
  command = make_simple_command(:get, 'v2/{+parent}/entitieswithacls', options)
724
- command.response_representation = Google::Apis::ConnectorsV2::ListEntitiesWithAcLsResponse::Representation
725
- command.response_class = Google::Apis::ConnectorsV2::ListEntitiesWithAcLsResponse
718
+ command.response_representation = Google::Apis::ConnectorsV2::Operation::Representation
719
+ command.response_class = Google::Apis::ConnectorsV2::Operation
726
720
  command.params['parent'] = parent unless parent.nil?
727
721
  command.query['conditions'] = conditions unless conditions.nil?
728
722
  command.query['gsutilUri'] = gsutil_uri unless gsutil_uri.nil?
729
- command.query['pageSize'] = page_size unless page_size.nil?
730
- command.query['pageToken'] = page_token unless page_token.nil?
731
- command.query['sortBy'] = sort_by unless sort_by.nil?
732
723
  command.query['fields'] = fields unless fields.nil?
733
724
  command.query['quotaUser'] = quota_user unless quota_user.nil?
734
725
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-connectors_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-02 00:00:00.000000000 Z
11
+ date: 2024-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v2
63
63
  post_install_message:
64
64
  rdoc_options: []