google-api-client 0.51.0 → 0.52.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +23 -45
- data/CHANGELOG.md +100 -0
- data/README.md +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
- data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
- data/generated/google/apis/admin_directory_v1.rb +2 -2
- data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
- data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
- data/generated/google/apis/admin_directory_v1/service.rb +323 -183
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
- data/generated/google/apis/admin_reports_v1/service.rb +198 -179
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +5 -12
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +3 -9
- data/generated/google/apis/apigateway_v1beta/representations.rb +0 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +71 -0
- data/generated/google/apis/apigee_v1/representations.rb +42 -0
- data/generated/google/apis/apigee_v1/service.rb +206 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +2 -2
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +2 -2
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1071 -341
- data/generated/google/apis/compute_alpha/representations.rb +248 -19
- data/generated/google/apis/compute_alpha/service.rb +291 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +926 -283
- data/generated/google/apis/compute_beta/representations.rb +221 -18
- data/generated/google/apis/compute_beta/service.rb +24 -15
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +419 -158
- data/generated/google/apis/compute_v1/representations.rb +55 -0
- data/generated/google/apis/compute_v1/service.rb +9 -7
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +48 -9
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1/service.rb +4 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +24 -13
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +6 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +16 -7
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/datamigration_v1beta1.rb +1 -1
- data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
- data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +692 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +326 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +692 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +326 -0
- data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
- data/generated/google/apis/dialogflow_v3/classes.rb +8943 -0
- data/generated/google/apis/dialogflow_v3/representations.rb +3773 -0
- data/generated/google/apis/dialogflow_v3/service.rb +3006 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +784 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +360 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +173 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/service.rb +294 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +65 -0
- data/generated/google/apis/dns_v1/representations.rb +32 -0
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +220 -102
- data/generated/google/apis/documentai_v1beta2/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +241 -117
- data/generated/google/apis/documentai_v1beta3/representations.rb +105 -9
- data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
- data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +61 -0
- data/generated/google/apis/file_v1/representations.rb +19 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +0 -6
- data/generated/google/apis/healthcare_v1/representations.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +13 -12
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +0 -6
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
- data/generated/google/apis/metastore_v1beta.rb +35 -0
- data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
- data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
- data/generated/google/apis/metastore_v1beta/service.rb +800 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +51 -18
- data/generated/google/apis/ml_v1/representations.rb +16 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -4
- data/generated/google/apis/privateca_v1beta1.rb +1 -1
- data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +37 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
- data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
- data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v2.rb +3 -3
- data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
- data/generated/google/apis/servicedirectory_v1.rb +35 -0
- data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
- data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
- data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/trafficdirector_v2.rb +2 -2
- data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
- data/generated/google/apis/transcoder_v1beta1.rb +1 -1
- data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
- data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
- data/generated/google/apis/workflows_v1beta.rb +1 -1
- data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -7
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
@@ -22,12 +22,24 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudidentityV1
|
24
24
|
|
25
|
+
class CheckTransitiveMembershipResponse
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class EntityKey
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
28
34
|
include Google::Apis::Core::JsonObjectSupport
|
29
35
|
end
|
30
36
|
|
37
|
+
class GetMembershipGraphResponse
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
31
43
|
class GoogleAppsCloudidentityDevicesV1AndroidAttributes
|
32
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
45
|
|
@@ -160,6 +172,12 @@ module Google
|
|
160
172
|
include Google::Apis::Core::JsonObjectSupport
|
161
173
|
end
|
162
174
|
|
175
|
+
class GroupRelation
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
163
181
|
class ListGroupsResponse
|
164
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
183
|
|
@@ -184,12 +202,24 @@ module Google
|
|
184
202
|
include Google::Apis::Core::JsonObjectSupport
|
185
203
|
end
|
186
204
|
|
205
|
+
class MemberRelation
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
187
211
|
class Membership
|
188
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
213
|
|
190
214
|
include Google::Apis::Core::JsonObjectSupport
|
191
215
|
end
|
192
216
|
|
217
|
+
class MembershipAdjacencyList
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
193
223
|
class MembershipRole
|
194
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
225
|
|
@@ -220,12 +250,37 @@ module Google
|
|
220
250
|
include Google::Apis::Core::JsonObjectSupport
|
221
251
|
end
|
222
252
|
|
253
|
+
class SearchTransitiveGroupsResponse
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class SearchTransitiveMembershipsResponse
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
223
265
|
class Status
|
224
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
267
|
|
226
268
|
include Google::Apis::Core::JsonObjectSupport
|
227
269
|
end
|
228
270
|
|
271
|
+
class TransitiveMembershipRole
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class CheckTransitiveMembershipResponse
|
278
|
+
# @private
|
279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
280
|
+
property :has_membership, as: 'hasMembership'
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
229
284
|
class EntityKey
|
230
285
|
# @private
|
231
286
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -234,6 +289,16 @@ module Google
|
|
234
289
|
end
|
235
290
|
end
|
236
291
|
|
292
|
+
class GetMembershipGraphResponse
|
293
|
+
# @private
|
294
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
295
|
+
collection :adjacency_list, as: 'adjacencyList', class: Google::Apis::CloudidentityV1::MembershipAdjacencyList, decorator: Google::Apis::CloudidentityV1::MembershipAdjacencyList::Representation
|
296
|
+
|
297
|
+
collection :groups, as: 'groups', class: Google::Apis::CloudidentityV1::Group, decorator: Google::Apis::CloudidentityV1::Group::Representation
|
298
|
+
|
299
|
+
end
|
300
|
+
end
|
301
|
+
|
237
302
|
class GoogleAppsCloudidentityDevicesV1AndroidAttributes
|
238
303
|
# @private
|
239
304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -464,6 +529,20 @@ module Google
|
|
464
529
|
end
|
465
530
|
end
|
466
531
|
|
532
|
+
class GroupRelation
|
533
|
+
# @private
|
534
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
535
|
+
property :display_name, as: 'displayName'
|
536
|
+
property :group, as: 'group'
|
537
|
+
property :group_key, as: 'groupKey', class: Google::Apis::CloudidentityV1::EntityKey, decorator: Google::Apis::CloudidentityV1::EntityKey::Representation
|
538
|
+
|
539
|
+
hash :labels, as: 'labels'
|
540
|
+
property :relation_type, as: 'relationType'
|
541
|
+
collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1::TransitiveMembershipRole, decorator: Google::Apis::CloudidentityV1::TransitiveMembershipRole::Representation
|
542
|
+
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
467
546
|
class ListGroupsResponse
|
468
547
|
# @private
|
469
548
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -496,6 +575,18 @@ module Google
|
|
496
575
|
end
|
497
576
|
end
|
498
577
|
|
578
|
+
class MemberRelation
|
579
|
+
# @private
|
580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
581
|
+
property :member, as: 'member'
|
582
|
+
collection :preferred_member_key, as: 'preferredMemberKey', class: Google::Apis::CloudidentityV1::EntityKey, decorator: Google::Apis::CloudidentityV1::EntityKey::Representation
|
583
|
+
|
584
|
+
property :relation_type, as: 'relationType'
|
585
|
+
collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1::TransitiveMembershipRole, decorator: Google::Apis::CloudidentityV1::TransitiveMembershipRole::Representation
|
586
|
+
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
499
590
|
class Membership
|
500
591
|
# @private
|
501
592
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -510,6 +601,15 @@ module Google
|
|
510
601
|
end
|
511
602
|
end
|
512
603
|
|
604
|
+
class MembershipAdjacencyList
|
605
|
+
# @private
|
606
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
607
|
+
collection :edges, as: 'edges', class: Google::Apis::CloudidentityV1::Membership, decorator: Google::Apis::CloudidentityV1::Membership::Representation
|
608
|
+
|
609
|
+
property :group, as: 'group'
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
513
613
|
class MembershipRole
|
514
614
|
# @private
|
515
615
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -555,6 +655,24 @@ module Google
|
|
555
655
|
end
|
556
656
|
end
|
557
657
|
|
658
|
+
class SearchTransitiveGroupsResponse
|
659
|
+
# @private
|
660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
661
|
+
collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1::GroupRelation, decorator: Google::Apis::CloudidentityV1::GroupRelation::Representation
|
662
|
+
|
663
|
+
property :next_page_token, as: 'nextPageToken'
|
664
|
+
end
|
665
|
+
end
|
666
|
+
|
667
|
+
class SearchTransitiveMembershipsResponse
|
668
|
+
# @private
|
669
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
670
|
+
collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1::MemberRelation, decorator: Google::Apis::CloudidentityV1::MemberRelation::Representation
|
671
|
+
|
672
|
+
property :next_page_token, as: 'nextPageToken'
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
558
676
|
class Status
|
559
677
|
# @private
|
560
678
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -563,6 +681,13 @@ module Google
|
|
563
681
|
property :message, as: 'message'
|
564
682
|
end
|
565
683
|
end
|
684
|
+
|
685
|
+
class TransitiveMembershipRole
|
686
|
+
# @private
|
687
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
688
|
+
property :role, as: 'role'
|
689
|
+
end
|
690
|
+
end
|
566
691
|
end
|
567
692
|
end
|
568
693
|
end
|
@@ -87,7 +87,10 @@ module Google
|
|
87
87
|
execute_or_queue_command(command, &block)
|
88
88
|
end
|
89
89
|
|
90
|
-
# Creates a device. Only company-owned device may be created.
|
90
|
+
# Creates a device. Only company-owned device may be created. **Note**: This
|
91
|
+
# method is available only to customers who have one of the following SKUs:
|
92
|
+
# Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud
|
93
|
+
# Identity Premium
|
91
94
|
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device] google_apps_cloudidentity_devices_v1_device_object
|
92
95
|
# @param [String] customer
|
93
96
|
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
@@ -757,7 +760,10 @@ module Google
|
|
757
760
|
execute_or_queue_command(command, &block)
|
758
761
|
end
|
759
762
|
|
760
|
-
# Updates the client state for the device user
|
763
|
+
# Updates the client state for the device user **Note**: This method is
|
764
|
+
# available only to customers who have one of the following SKUs: Enterprise
|
765
|
+
# Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity
|
766
|
+
# Premium
|
761
767
|
# @param [String] name
|
762
768
|
# Output only. [Resource name](https://cloud.google.com/apis/design/
|
763
769
|
# resource_names) of the ClientState in format: `devices/`device_id`/deviceUsers/
|
@@ -1084,6 +1090,53 @@ module Google
|
|
1084
1090
|
execute_or_queue_command(command, &block)
|
1085
1091
|
end
|
1086
1092
|
|
1093
|
+
# Check a potential member for membership in a group. **Note:** This feature is
|
1094
|
+
# only available to Google Workspace Enterprise Standard, Enterprise Plus, and
|
1095
|
+
# Enterprise for Education; and Cloud Identity Premium accounts. If the account
|
1096
|
+
# of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code
|
1097
|
+
# will be returned. A member has membership to a group as long as there is a
|
1098
|
+
# single viewable transitive membership between the group and the member. The
|
1099
|
+
# actor must have view permissions to at least one transitive membership between
|
1100
|
+
# the member and group.
|
1101
|
+
# @param [String] parent
|
1102
|
+
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
1103
|
+
# group to check the transitive membership in. Format: `groups/`group_id``,
|
1104
|
+
# where `group_id` is the unique id assigned to the Group to which the
|
1105
|
+
# Membership belongs to.
|
1106
|
+
# @param [String] query
|
1107
|
+
# Required. A CEL expression that MUST include member specification. This is a `
|
1108
|
+
# required` field. Certain groups are uniquely identified by both a '
|
1109
|
+
# member_key_id' and a 'member_key_namespace', which requires an additional
|
1110
|
+
# query input: 'member_key_namespace'. Example query: `member_key_id == '
|
1111
|
+
# member_key_id_value'`
|
1112
|
+
# @param [String] fields
|
1113
|
+
# Selector specifying which fields to include in a partial response.
|
1114
|
+
# @param [String] quota_user
|
1115
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1116
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1117
|
+
# @param [Google::Apis::RequestOptions] options
|
1118
|
+
# Request-specific options
|
1119
|
+
#
|
1120
|
+
# @yield [result, err] Result & error if block supplied
|
1121
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::CheckTransitiveMembershipResponse] parsed result object
|
1122
|
+
# @yieldparam err [StandardError] error object if request failed
|
1123
|
+
#
|
1124
|
+
# @return [Google::Apis::CloudidentityV1::CheckTransitiveMembershipResponse]
|
1125
|
+
#
|
1126
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1127
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1128
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1129
|
+
def check_group_membership_transitive_membership(parent, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1130
|
+
command = make_simple_command(:get, 'v1/{+parent}/memberships:checkTransitiveMembership', options)
|
1131
|
+
command.response_representation = Google::Apis::CloudidentityV1::CheckTransitiveMembershipResponse::Representation
|
1132
|
+
command.response_class = Google::Apis::CloudidentityV1::CheckTransitiveMembershipResponse
|
1133
|
+
command.params['parent'] = parent unless parent.nil?
|
1134
|
+
command.query['query'] = query unless query.nil?
|
1135
|
+
command.query['fields'] = fields unless fields.nil?
|
1136
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1137
|
+
execute_or_queue_command(command, &block)
|
1138
|
+
end
|
1139
|
+
|
1087
1140
|
# Creates a `Membership`.
|
1088
1141
|
# @param [String] parent
|
1089
1142
|
# Required. The parent `Group` resource under which to create the `Membership`.
|
@@ -1182,6 +1235,57 @@ module Google
|
|
1182
1235
|
execute_or_queue_command(command, &block)
|
1183
1236
|
end
|
1184
1237
|
|
1238
|
+
# Get a membership graph of just a member or both a member and a group. **Note:**
|
1239
|
+
# This feature is only available to Google Workspace Enterprise Standard,
|
1240
|
+
# Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium
|
1241
|
+
# accounts. If the account of the member is not one of these, a 403 (
|
1242
|
+
# PERMISSION_DENIED) HTTP status code will be returned. Given a member, the
|
1243
|
+
# response will contain all membership paths from the member. Given both a group
|
1244
|
+
# and a member, the response will contain all membership paths between the group
|
1245
|
+
# and the member.
|
1246
|
+
# @param [String] parent
|
1247
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
1248
|
+
# of the group to search transitive memberships in. Format: `groups/`group_id``,
|
1249
|
+
# where `group_id` is the unique ID assigned to the Group to which the
|
1250
|
+
# Membership belongs to. group_id can be a wildcard collection id "-". When a
|
1251
|
+
# group_id is specified, the membership graph will be constrained to paths
|
1252
|
+
# between the member (defined in the query) and the parent. If a wildcard
|
1253
|
+
# collection is provided, all membership paths connected to the member will be
|
1254
|
+
# returned.
|
1255
|
+
# @param [String] query
|
1256
|
+
# Required. A CEL expression that MUST include member specification AND label(s).
|
1257
|
+
# Certain groups are uniquely identified by both a 'member_key_id' and a '
|
1258
|
+
# member_key_namespace', which requires an additional query input: '
|
1259
|
+
# member_key_namespace'. Example query: `member_key_id == 'member_key_id_value' &
|
1260
|
+
# & in labels`
|
1261
|
+
# @param [String] fields
|
1262
|
+
# Selector specifying which fields to include in a partial response.
|
1263
|
+
# @param [String] quota_user
|
1264
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1265
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1266
|
+
# @param [Google::Apis::RequestOptions] options
|
1267
|
+
# Request-specific options
|
1268
|
+
#
|
1269
|
+
# @yield [result, err] Result & error if block supplied
|
1270
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
1271
|
+
# @yieldparam err [StandardError] error object if request failed
|
1272
|
+
#
|
1273
|
+
# @return [Google::Apis::CloudidentityV1::Operation]
|
1274
|
+
#
|
1275
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1276
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1277
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1278
|
+
def get_group_membership_membership_graph(parent, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1279
|
+
command = make_simple_command(:get, 'v1/{+parent}/memberships:getMembershipGraph', options)
|
1280
|
+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
1281
|
+
command.response_class = Google::Apis::CloudidentityV1::Operation
|
1282
|
+
command.params['parent'] = parent unless parent.nil?
|
1283
|
+
command.query['query'] = query unless query.nil?
|
1284
|
+
command.query['fields'] = fields unless fields.nil?
|
1285
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1286
|
+
execute_or_queue_command(command, &block)
|
1287
|
+
end
|
1288
|
+
|
1185
1289
|
# Lists the `Membership`s within a `Group`.
|
1186
1290
|
# @param [String] parent
|
1187
1291
|
# Required. The parent `Group` resource under which to lookup the `Membership`
|
@@ -1306,6 +1410,102 @@ module Google
|
|
1306
1410
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1307
1411
|
execute_or_queue_command(command, &block)
|
1308
1412
|
end
|
1413
|
+
|
1414
|
+
# Search transitive groups of a member. **Note:** This feature is only available
|
1415
|
+
# to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for
|
1416
|
+
# Education; and Cloud Identity Premium accounts. If the account of the member
|
1417
|
+
# is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be
|
1418
|
+
# returned. A transitive group is any group that has a direct or indirect
|
1419
|
+
# membership to the member. Actor must have view permissions all transitive
|
1420
|
+
# groups.
|
1421
|
+
# @param [String] parent
|
1422
|
+
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
1423
|
+
# group to search transitive memberships in. Format: `groups/`group_id``, where `
|
1424
|
+
# group_id` is always '-' as this API will search across all groups for a given
|
1425
|
+
# member.
|
1426
|
+
# @param [Fixnum] page_size
|
1427
|
+
# The default page size is 200 (max 1000).
|
1428
|
+
# @param [String] page_token
|
1429
|
+
# The next_page_token value returned from a previous list request, if any.
|
1430
|
+
# @param [String] query
|
1431
|
+
# Required. A CEL expression that MUST include member specification AND label(s).
|
1432
|
+
# This is a `required` field. Users can search on label attributes of groups.
|
1433
|
+
# CONTAINS match ('in') is supported on labels. Certain groups are uniquely
|
1434
|
+
# identified by both a 'member_key_id' and a 'member_key_namespace', which
|
1435
|
+
# requires an additional query input: 'member_key_namespace'. Example query: `
|
1436
|
+
# member_key_id == 'member_key_id_value' && in labels`
|
1437
|
+
# @param [String] fields
|
1438
|
+
# Selector specifying which fields to include in a partial response.
|
1439
|
+
# @param [String] quota_user
|
1440
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1441
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1442
|
+
# @param [Google::Apis::RequestOptions] options
|
1443
|
+
# Request-specific options
|
1444
|
+
#
|
1445
|
+
# @yield [result, err] Result & error if block supplied
|
1446
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::SearchTransitiveGroupsResponse] parsed result object
|
1447
|
+
# @yieldparam err [StandardError] error object if request failed
|
1448
|
+
#
|
1449
|
+
# @return [Google::Apis::CloudidentityV1::SearchTransitiveGroupsResponse]
|
1450
|
+
#
|
1451
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1452
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1453
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1454
|
+
def search_group_membership_transitive_groups(parent, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1455
|
+
command = make_simple_command(:get, 'v1/{+parent}/memberships:searchTransitiveGroups', options)
|
1456
|
+
command.response_representation = Google::Apis::CloudidentityV1::SearchTransitiveGroupsResponse::Representation
|
1457
|
+
command.response_class = Google::Apis::CloudidentityV1::SearchTransitiveGroupsResponse
|
1458
|
+
command.params['parent'] = parent unless parent.nil?
|
1459
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1460
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1461
|
+
command.query['query'] = query unless query.nil?
|
1462
|
+
command.query['fields'] = fields unless fields.nil?
|
1463
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1464
|
+
execute_or_queue_command(command, &block)
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
# Search transitive memberships of a group. **Note:** This feature is only
|
1468
|
+
# available to Google Workspace Enterprise Standard, Enterprise Plus, and
|
1469
|
+
# Enterprise for Education; and Cloud Identity Premium accounts. If the account
|
1470
|
+
# of the group is not one of these, a 403 (PERMISSION_DENIED) HTTP status code
|
1471
|
+
# will be returned. A transitive membership is any direct or indirect membership
|
1472
|
+
# of a group. Actor must have view permissions to all transitive memberships.
|
1473
|
+
# @param [String] parent
|
1474
|
+
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
1475
|
+
# group to search transitive memberships in. Format: `groups/`group_id``, where `
|
1476
|
+
# group_id` is the unique ID assigned to the Group.
|
1477
|
+
# @param [Fixnum] page_size
|
1478
|
+
# The default page size is 200 (max 1000).
|
1479
|
+
# @param [String] page_token
|
1480
|
+
# The next_page_token value returned from a previous list request, if any.
|
1481
|
+
# @param [String] fields
|
1482
|
+
# Selector specifying which fields to include in a partial response.
|
1483
|
+
# @param [String] quota_user
|
1484
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1485
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1486
|
+
# @param [Google::Apis::RequestOptions] options
|
1487
|
+
# Request-specific options
|
1488
|
+
#
|
1489
|
+
# @yield [result, err] Result & error if block supplied
|
1490
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::SearchTransitiveMembershipsResponse] parsed result object
|
1491
|
+
# @yieldparam err [StandardError] error object if request failed
|
1492
|
+
#
|
1493
|
+
# @return [Google::Apis::CloudidentityV1::SearchTransitiveMembershipsResponse]
|
1494
|
+
#
|
1495
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1496
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1497
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1498
|
+
def search_group_membership_transitive_memberships(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1499
|
+
command = make_simple_command(:get, 'v1/{+parent}/memberships:searchTransitiveMemberships', options)
|
1500
|
+
command.response_representation = Google::Apis::CloudidentityV1::SearchTransitiveMembershipsResponse::Representation
|
1501
|
+
command.response_class = Google::Apis::CloudidentityV1::SearchTransitiveMembershipsResponse
|
1502
|
+
command.params['parent'] = parent unless parent.nil?
|
1503
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1504
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1505
|
+
command.query['fields'] = fields unless fields.nil?
|
1506
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1507
|
+
execute_or_queue_command(command, &block)
|
1508
|
+
end
|
1309
1509
|
|
1310
1510
|
protected
|
1311
1511
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/identity/
|
26
26
|
module CloudidentityV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201208'
|
29
29
|
|
30
30
|
# See your device details
|
31
31
|
AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup'
|