google-apis-connectors_v2 0.15.0 → 0.17.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db20589e6c18a278c62d8f605d0a4efb94de641b329e97d101f1ec17199e3f3d
|
4
|
+
data.tar.gz: cb497f87f65f627eff87252f2a0b57fef62b0e8f47e6b74b7409563e0204e09c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c3e8c78feefd2021bce2c27824861defaa331bf9e86a3deb29bf7787becdacca7f482e9f674b78b73a0d29c3547f9f22fa3503662b4c63f86d4d8f59da17515
|
7
|
+
data.tar.gz: 559177a1c0347e63bbd7cd966fd5725772ca717ddfc12a3a5a78b8a9847e7ef95fd1248497ea9891e1666ffd6880db4873c653732fda18fdb1638ab5f415295a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-connectors_v2
|
2
2
|
|
3
|
+
### v0.17.0 (2024-06-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240612
|
6
|
+
|
7
|
+
### v0.16.0 (2024-06-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240606
|
10
|
+
|
3
11
|
### v0.15.0 (2024-06-02)
|
4
12
|
|
5
13
|
* 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
|
@@ -1277,31 +1198,6 @@ module Google
|
|
1277
1198
|
end
|
1278
1199
|
end
|
1279
1200
|
|
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
1201
|
# Describes provisioned dataplane resources.
|
1306
1202
|
class ProvisionedResource
|
1307
1203
|
include Google::Apis::Core::Hashable
|
@@ -1398,25 +1294,6 @@ module Google
|
|
1398
1294
|
end
|
1399
1295
|
end
|
1400
1296
|
|
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
1297
|
#
|
1421
1298
|
class Reference
|
1422
1299
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.17.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 = "
|
25
|
+
REVISION = "20240612"
|
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
|
|
@@ -220,12 +202,6 @@ module Google
|
|
220
202
|
include Google::Apis::Core::JsonObjectSupport
|
221
203
|
end
|
222
204
|
|
223
|
-
class Principal
|
224
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
-
|
226
|
-
include Google::Apis::Core::JsonObjectSupport
|
227
|
-
end
|
228
|
-
|
229
205
|
class ProvisionedResource
|
230
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
207
|
|
@@ -244,12 +220,6 @@ module Google
|
|
244
220
|
include Google::Apis::Core::JsonObjectSupport
|
245
221
|
end
|
246
222
|
|
247
|
-
class Readers
|
248
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
-
|
250
|
-
include Google::Apis::Core::JsonObjectSupport
|
251
|
-
end
|
252
|
-
|
253
223
|
class Reference
|
254
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
225
|
|
@@ -325,14 +295,6 @@ module Google
|
|
325
295
|
end
|
326
296
|
end
|
327
297
|
|
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
298
|
class Action
|
337
299
|
# @private
|
338
300
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -421,16 +383,6 @@ module Google
|
|
421
383
|
end
|
422
384
|
end
|
423
385
|
|
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
386
|
class ExchangeAuthCodeRequest
|
435
387
|
# @private
|
436
388
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -570,15 +522,6 @@ module Google
|
|
570
522
|
end
|
571
523
|
end
|
572
524
|
|
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
525
|
class ListEntityTypesResponse
|
583
526
|
# @private
|
584
527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -659,14 +602,6 @@ module Google
|
|
659
602
|
end
|
660
603
|
end
|
661
604
|
|
662
|
-
class Principal
|
663
|
-
# @private
|
664
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
665
|
-
property :group_id, as: 'group_id'
|
666
|
-
property :user_id, as: 'user_id'
|
667
|
-
end
|
668
|
-
end
|
669
|
-
|
670
605
|
class ProvisionedResource
|
671
606
|
# @private
|
672
607
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -694,14 +629,6 @@ module Google
|
|
694
629
|
end
|
695
630
|
end
|
696
631
|
|
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
632
|
class Reference
|
706
633
|
# @private
|
707
634
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -676,63 +676,6 @@ module Google
|
|
676
676
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
677
677
|
execute_or_queue_command(command, &block)
|
678
678
|
end
|
679
|
-
|
680
|
-
# Lists entity rows with ACLs of a particular entity type contained in the
|
681
|
-
# request. Note: 1. Currently, only max of one 'sort_by' column is supported. 2.
|
682
|
-
# If no 'sort_by' column is provided, the primary key of the table is used. If
|
683
|
-
# zero or more than one primary key is available, we default to the unpaginated
|
684
|
-
# list entities logic which only returns the first page. 3. The values of the '
|
685
|
-
# sort_by' columns must uniquely identify an entity row, otherwise undefined
|
686
|
-
# behaviors may be observed during pagination. 4. Since transactions are not
|
687
|
-
# supported, any updates, inserts or deletes during pagination can lead to stale
|
688
|
-
# data being returned or other unexpected behaviors.
|
689
|
-
# @param [String] parent
|
690
|
-
# Required. Resource name of the Entity Type. Format: projects/`project`/
|
691
|
-
# locations/`location`/connections/`connection`/entityTypes/`type`
|
692
|
-
# @param [String] conditions
|
693
|
-
# Conditions to be used when listing entities. From a proto standpoint, There
|
694
|
-
# are no restrictions on what can be passed using this field. The connector
|
695
|
-
# documentation should have information about what format of filters/conditions
|
696
|
-
# are supported.
|
697
|
-
# @param [String] gsutil_uri
|
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
|
-
# @param [String] fields
|
706
|
-
# Selector specifying which fields to include in a partial response.
|
707
|
-
# @param [String] quota_user
|
708
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
709
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
710
|
-
# @param [Google::Apis::RequestOptions] options
|
711
|
-
# Request-specific options
|
712
|
-
#
|
713
|
-
# @yield [result, err] Result & error if block supplied
|
714
|
-
# @yieldparam result [Google::Apis::ConnectorsV2::ListEntitiesWithAcLsResponse] parsed result object
|
715
|
-
# @yieldparam err [StandardError] error object if request failed
|
716
|
-
#
|
717
|
-
# @return [Google::Apis::ConnectorsV2::ListEntitiesWithAcLsResponse]
|
718
|
-
#
|
719
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
720
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
721
|
-
# @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)
|
723
|
-
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
|
726
|
-
command.params['parent'] = parent unless parent.nil?
|
727
|
-
command.query['conditions'] = conditions unless conditions.nil?
|
728
|
-
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
|
-
command.query['fields'] = fields unless fields.nil?
|
733
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
734
|
-
execute_or_queue_command(command, &block)
|
735
|
-
end
|
736
679
|
|
737
680
|
protected
|
738
681
|
|
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.
|
4
|
+
version: 0.17.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-
|
11
|
+
date: 2024-06-16 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v2/v0.17.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: []
|