feat: Automated regeneration of cloudidentity v1 client (#1728)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2020-12-11 01:55:39,248 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-cloudidentity-v1 nothing to commit, working tree clean 2020-12-11 01:55:39,278 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth cloudidentity v1 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth cloudidentity v1 bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching concurrent-ruby 1.1.7 Installing concurrent-ruby 1.1.7 Fetching i18n 1.8.5 Installing i18n 1.8.5 Fetching minitest 5.14.2 Installing minitest 5.14.2 Fetching thread_safe 0.3.6 Installing thread_safe 0.3.6 Fetching tzinfo 1.2.8 Installing tzinfo 1.2.8 Fetching activesupport 5.0.7.2 Installing activesupport 5.0.7.2 Fetching public_suffix 4.0.6 Installing public_suffix 4.0.6 Fetching addressable 2.7.0 Installing addressable 2.7.0 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.1.4 Fetching byebug 11.1.3 Installing byebug 11.1.3 with native extensions Fetching coderay 1.1.3 Installing coderay 1.1.3 Fetching json 2.3.1 Installing json 2.3.1 with native extensions Fetching docile 1.3.2 Installing docile 1.3.2 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Using sync 0.5.0 Fetching tins 1.26.0 Installing tins 1.26.0 Fetching term-ansicolor 1.7.1 Installing term-ansicolor 1.7.1 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching crack 0.4.4 Installing crack 0.4.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Installing diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching multipart-post 2.1.1 Installing multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing ruby2_keywords 0.0.2 Fetching faraday 1.1.0 Installing faraday 1.1.0 Fetching gems 1.2.0 Installing gems 1.2.0 Fetching github-markup 1.7.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Installing multi_json 1.15.0 Fetching os 0.9.6 Installing os 0.9.6 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching httpclient 2.8.3 Installing httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching rexml 3.2.4 Installing rexml 3.2.4 Using google-api-client 0.51.0 from source at `.` Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.1104 Installing mime-types-data 3.2020.1104 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching multi_xml 0.6.0 Installing multi_xml 0.6.0 Fetching httparty 0.18.1 Installing httparty 0.18.1 Fetching rspec-support 3.10.0 Installing rspec-support 3.10.0 Fetching rspec-core 3.10.0 Installing rspec-core 3.10.0 Fetching rspec-expectations 3.10.0 Installing rspec-expectations 3.10.0 Fetching rspec-mocks 3.10.0 Installing rspec-mocks 3.10.0 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching launchy 2.5.0 Installing launchy 2.5.0 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Installing opencensus 0.5.0 Fetching parallel 1.20.1 Installing parallel 1.20.1 Fetching parser 2.7.2.0 Installing parser 2.7.2.0 Fetching powerpack 0.1.3 Installing powerpack 0.1.3 Fetching pry 0.13.1 Installing pry 0.13.1 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching yard 0.9.25 Installing yard 0.9.25 Fetching pry-doc 0.13.5 Installing pry-doc 0.13.5 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.0 Installing redcarpet 3.5.0 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Installing rmail 1.1.4 Fetching ruby-progressbar 1.10.1 Installing ruby-progressbar 1.10.1 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching rubocop 0.49.1 Installing rubocop 0.49.1 Fetching webmock 2.3.2 Installing webmock 2.3.2 Bundle complete! 31 Gemfile dependencies, 78 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen generated --api=cloudidentity.v1 --names-out=/workspace/api_names_out.yaml Loading cloudidentity, version v1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/cloudidentity.v1.json conflict google/apis/cloudidentity_v1.rb <loudidentity_v1.rb? (enter "h" for help) [Ynaqdhm] a force google/apis/cloudidentity_v1.rb conflict google/apis/cloudidentity_v1/service.rb force google/apis/cloudidentity_v1/service.rb conflict google/apis/cloudidentity_v1/classes.rb force google/apis/cloudidentity_v1/classes.rb conflict google/apis/cloudidentity_v1/representations.rb force google/apis/cloudidentity_v1/representations.rb conflict /workspace/api_names_out.yaml force /workspace/api_names_out.yaml 2020-12-11 01:56:04,542 synthtool [DEBUG] > Wrote metadata to generated/google/apis/cloudidentity_v1/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google/apis/cloudidentity_v1/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/461ec1a9-2841-43d5-b073-8c3cf2cfc89e/targets - [ ] To automatically regenerate this PR, check this box.
This commit is contained in:
parent
800e822b5e
commit
5b7f7e0f53
|
@ -23386,6 +23386,8 @@
|
||||||
"/cloudidentity:v1/CancelWipeDeviceResponse/device": device
|
"/cloudidentity:v1/CancelWipeDeviceResponse/device": device
|
||||||
"/cloudidentity:v1/CancelWipeDeviceUserResponse": cancel_wipe_device_user_response
|
"/cloudidentity:v1/CancelWipeDeviceUserResponse": cancel_wipe_device_user_response
|
||||||
"/cloudidentity:v1/CancelWipeDeviceUserResponse/deviceUser": device_user
|
"/cloudidentity:v1/CancelWipeDeviceUserResponse/deviceUser": device_user
|
||||||
|
"/cloudidentity:v1/CheckTransitiveMembershipResponse": check_transitive_membership_response
|
||||||
|
"/cloudidentity:v1/CheckTransitiveMembershipResponse/hasMembership": has_membership
|
||||||
"/cloudidentity:v1/ClientState": client_state
|
"/cloudidentity:v1/ClientState": client_state
|
||||||
"/cloudidentity:v1/ClientState/assetTags": asset_tags
|
"/cloudidentity:v1/ClientState/assetTags": asset_tags
|
||||||
"/cloudidentity:v1/ClientState/assetTags/asset_tag": asset_tag
|
"/cloudidentity:v1/ClientState/assetTags/asset_tag": asset_tag
|
||||||
|
@ -23450,6 +23452,11 @@
|
||||||
"/cloudidentity:v1/EntityKey": entity_key
|
"/cloudidentity:v1/EntityKey": entity_key
|
||||||
"/cloudidentity:v1/EntityKey/id": id
|
"/cloudidentity:v1/EntityKey/id": id
|
||||||
"/cloudidentity:v1/EntityKey/namespace": namespace
|
"/cloudidentity:v1/EntityKey/namespace": namespace
|
||||||
|
"/cloudidentity:v1/GetMembershipGraphResponse": get_membership_graph_response
|
||||||
|
"/cloudidentity:v1/GetMembershipGraphResponse/adjacencyList": adjacency_list
|
||||||
|
"/cloudidentity:v1/GetMembershipGraphResponse/adjacencyList/adjacency_list": adjacency_list
|
||||||
|
"/cloudidentity:v1/GetMembershipGraphResponse/groups": groups
|
||||||
|
"/cloudidentity:v1/GetMembershipGraphResponse/groups/group": group
|
||||||
"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1AndroidAttributes": google_apps_cloudidentity_devices_v1_android_attributes
|
"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1AndroidAttributes": google_apps_cloudidentity_devices_v1_android_attributes
|
||||||
"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1AndroidAttributes/enabledUnknownSources": enabled_unknown_sources
|
"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1AndroidAttributes/enabledUnknownSources": enabled_unknown_sources
|
||||||
"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1AndroidAttributes/ownerProfileAccount": owner_profile_account
|
"/cloudidentity:v1/GoogleAppsCloudidentityDevicesV1AndroidAttributes/ownerProfileAccount": owner_profile_account
|
||||||
|
@ -23567,6 +23574,15 @@
|
||||||
"/cloudidentity:v1/Group/name": name
|
"/cloudidentity:v1/Group/name": name
|
||||||
"/cloudidentity:v1/Group/parent": parent
|
"/cloudidentity:v1/Group/parent": parent
|
||||||
"/cloudidentity:v1/Group/updateTime": update_time
|
"/cloudidentity:v1/Group/updateTime": update_time
|
||||||
|
"/cloudidentity:v1/GroupRelation": group_relation
|
||||||
|
"/cloudidentity:v1/GroupRelation/displayName": display_name
|
||||||
|
"/cloudidentity:v1/GroupRelation/group": group
|
||||||
|
"/cloudidentity:v1/GroupRelation/groupKey": group_key
|
||||||
|
"/cloudidentity:v1/GroupRelation/labels": labels
|
||||||
|
"/cloudidentity:v1/GroupRelation/labels/label": label
|
||||||
|
"/cloudidentity:v1/GroupRelation/relationType": relation_type
|
||||||
|
"/cloudidentity:v1/GroupRelation/roles": roles
|
||||||
|
"/cloudidentity:v1/GroupRelation/roles/role": role
|
||||||
"/cloudidentity:v1/ListGroupsResponse": list_groups_response
|
"/cloudidentity:v1/ListGroupsResponse": list_groups_response
|
||||||
"/cloudidentity:v1/ListGroupsResponse/groups": groups
|
"/cloudidentity:v1/ListGroupsResponse/groups": groups
|
||||||
"/cloudidentity:v1/ListGroupsResponse/groups/group": group
|
"/cloudidentity:v1/ListGroupsResponse/groups/group": group
|
||||||
|
@ -23579,6 +23595,13 @@
|
||||||
"/cloudidentity:v1/LookupGroupNameResponse/name": name
|
"/cloudidentity:v1/LookupGroupNameResponse/name": name
|
||||||
"/cloudidentity:v1/LookupMembershipNameResponse": lookup_membership_name_response
|
"/cloudidentity:v1/LookupMembershipNameResponse": lookup_membership_name_response
|
||||||
"/cloudidentity:v1/LookupMembershipNameResponse/name": name
|
"/cloudidentity:v1/LookupMembershipNameResponse/name": name
|
||||||
|
"/cloudidentity:v1/MemberRelation": member_relation
|
||||||
|
"/cloudidentity:v1/MemberRelation/member": member
|
||||||
|
"/cloudidentity:v1/MemberRelation/preferredMemberKey": preferred_member_key
|
||||||
|
"/cloudidentity:v1/MemberRelation/preferredMemberKey/preferred_member_key": preferred_member_key
|
||||||
|
"/cloudidentity:v1/MemberRelation/relationType": relation_type
|
||||||
|
"/cloudidentity:v1/MemberRelation/roles": roles
|
||||||
|
"/cloudidentity:v1/MemberRelation/roles/role": role
|
||||||
"/cloudidentity:v1/Membership": membership
|
"/cloudidentity:v1/Membership": membership
|
||||||
"/cloudidentity:v1/Membership/createTime": create_time
|
"/cloudidentity:v1/Membership/createTime": create_time
|
||||||
"/cloudidentity:v1/Membership/name": name
|
"/cloudidentity:v1/Membership/name": name
|
||||||
|
@ -23587,6 +23610,10 @@
|
||||||
"/cloudidentity:v1/Membership/roles/role": role
|
"/cloudidentity:v1/Membership/roles/role": role
|
||||||
"/cloudidentity:v1/Membership/type": type
|
"/cloudidentity:v1/Membership/type": type
|
||||||
"/cloudidentity:v1/Membership/updateTime": update_time
|
"/cloudidentity:v1/Membership/updateTime": update_time
|
||||||
|
"/cloudidentity:v1/MembershipAdjacencyList": membership_adjacency_list
|
||||||
|
"/cloudidentity:v1/MembershipAdjacencyList/edges": edges
|
||||||
|
"/cloudidentity:v1/MembershipAdjacencyList/edges/edge": edge
|
||||||
|
"/cloudidentity:v1/MembershipAdjacencyList/group": group
|
||||||
"/cloudidentity:v1/MembershipRole": membership_role
|
"/cloudidentity:v1/MembershipRole": membership_role
|
||||||
"/cloudidentity:v1/MembershipRole/name": name
|
"/cloudidentity:v1/MembershipRole/name": name
|
||||||
"/cloudidentity:v1/ModifyMembershipRolesRequest": modify_membership_roles_request
|
"/cloudidentity:v1/ModifyMembershipRolesRequest": modify_membership_roles_request
|
||||||
|
@ -23610,12 +23637,22 @@
|
||||||
"/cloudidentity:v1/SearchGroupsResponse/groups": groups
|
"/cloudidentity:v1/SearchGroupsResponse/groups": groups
|
||||||
"/cloudidentity:v1/SearchGroupsResponse/groups/group": group
|
"/cloudidentity:v1/SearchGroupsResponse/groups/group": group
|
||||||
"/cloudidentity:v1/SearchGroupsResponse/nextPageToken": next_page_token
|
"/cloudidentity:v1/SearchGroupsResponse/nextPageToken": next_page_token
|
||||||
|
"/cloudidentity:v1/SearchTransitiveGroupsResponse": search_transitive_groups_response
|
||||||
|
"/cloudidentity:v1/SearchTransitiveGroupsResponse/memberships": memberships
|
||||||
|
"/cloudidentity:v1/SearchTransitiveGroupsResponse/memberships/membership": membership
|
||||||
|
"/cloudidentity:v1/SearchTransitiveGroupsResponse/nextPageToken": next_page_token
|
||||||
|
"/cloudidentity:v1/SearchTransitiveMembershipsResponse": search_transitive_memberships_response
|
||||||
|
"/cloudidentity:v1/SearchTransitiveMembershipsResponse/memberships": memberships
|
||||||
|
"/cloudidentity:v1/SearchTransitiveMembershipsResponse/memberships/membership": membership
|
||||||
|
"/cloudidentity:v1/SearchTransitiveMembershipsResponse/nextPageToken": next_page_token
|
||||||
"/cloudidentity:v1/Status": status
|
"/cloudidentity:v1/Status": status
|
||||||
"/cloudidentity:v1/Status/code": code
|
"/cloudidentity:v1/Status/code": code
|
||||||
"/cloudidentity:v1/Status/details": details
|
"/cloudidentity:v1/Status/details": details
|
||||||
"/cloudidentity:v1/Status/details/detail": detail
|
"/cloudidentity:v1/Status/details/detail": detail
|
||||||
"/cloudidentity:v1/Status/details/detail/detail": detail
|
"/cloudidentity:v1/Status/details/detail/detail": detail
|
||||||
"/cloudidentity:v1/Status/message": message
|
"/cloudidentity:v1/Status/message": message
|
||||||
|
"/cloudidentity:v1/TransitiveMembershipRole": transitive_membership_role
|
||||||
|
"/cloudidentity:v1/TransitiveMembershipRole/role": role
|
||||||
"/cloudidentity:v1/UpdateMembershipRolesParams": update_membership_roles_params
|
"/cloudidentity:v1/UpdateMembershipRolesParams": update_membership_roles_params
|
||||||
"/cloudidentity:v1/UpdateMembershipRolesParams/fieldMask": field_mask
|
"/cloudidentity:v1/UpdateMembershipRolesParams/fieldMask": field_mask
|
||||||
"/cloudidentity:v1/UpdateMembershipRolesParams/membershipRole": membership_role
|
"/cloudidentity:v1/UpdateMembershipRolesParams/membershipRole": membership_role
|
||||||
|
@ -23697,12 +23734,18 @@
|
||||||
"/cloudidentity:v1/cloudidentity.groups.lookup": lookup_group
|
"/cloudidentity:v1/cloudidentity.groups.lookup": lookup_group
|
||||||
"/cloudidentity:v1/cloudidentity.groups.lookup/groupKey.id": group_key_id
|
"/cloudidentity:v1/cloudidentity.groups.lookup/groupKey.id": group_key_id
|
||||||
"/cloudidentity:v1/cloudidentity.groups.lookup/groupKey.namespace": group_key_namespace
|
"/cloudidentity:v1/cloudidentity.groups.lookup/groupKey.namespace": group_key_namespace
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.checkTransitiveMembership": check_group_membership_transitive_membership
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.checkTransitiveMembership/parent": parent
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.checkTransitiveMembership/query": query
|
||||||
"/cloudidentity:v1/cloudidentity.groups.memberships.create": create_group_membership
|
"/cloudidentity:v1/cloudidentity.groups.memberships.create": create_group_membership
|
||||||
"/cloudidentity:v1/cloudidentity.groups.memberships.create/parent": parent
|
"/cloudidentity:v1/cloudidentity.groups.memberships.create/parent": parent
|
||||||
"/cloudidentity:v1/cloudidentity.groups.memberships.delete": delete_group_membership
|
"/cloudidentity:v1/cloudidentity.groups.memberships.delete": delete_group_membership
|
||||||
"/cloudidentity:v1/cloudidentity.groups.memberships.delete/name": name
|
"/cloudidentity:v1/cloudidentity.groups.memberships.delete/name": name
|
||||||
"/cloudidentity:v1/cloudidentity.groups.memberships.get": get_group_membership
|
"/cloudidentity:v1/cloudidentity.groups.memberships.get": get_group_membership
|
||||||
"/cloudidentity:v1/cloudidentity.groups.memberships.get/name": name
|
"/cloudidentity:v1/cloudidentity.groups.memberships.get/name": name
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.getMembershipGraph": get_group_membership_membership_graph
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.getMembershipGraph/parent": parent
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.getMembershipGraph/query": query
|
||||||
"/cloudidentity:v1/cloudidentity.groups.memberships.list": list_group_memberships
|
"/cloudidentity:v1/cloudidentity.groups.memberships.list": list_group_memberships
|
||||||
"/cloudidentity:v1/cloudidentity.groups.memberships.list/pageSize": page_size
|
"/cloudidentity:v1/cloudidentity.groups.memberships.list/pageSize": page_size
|
||||||
"/cloudidentity:v1/cloudidentity.groups.memberships.list/pageToken": page_token
|
"/cloudidentity:v1/cloudidentity.groups.memberships.list/pageToken": page_token
|
||||||
|
@ -23714,6 +23757,15 @@
|
||||||
"/cloudidentity:v1/cloudidentity.groups.memberships.lookup/parent": parent
|
"/cloudidentity:v1/cloudidentity.groups.memberships.lookup/parent": parent
|
||||||
"/cloudidentity:v1/cloudidentity.groups.memberships.modifyMembershipRoles": modify_membership_roles
|
"/cloudidentity:v1/cloudidentity.groups.memberships.modifyMembershipRoles": modify_membership_roles
|
||||||
"/cloudidentity:v1/cloudidentity.groups.memberships.modifyMembershipRoles/name": name
|
"/cloudidentity:v1/cloudidentity.groups.memberships.modifyMembershipRoles/name": name
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.searchTransitiveGroups": search_group_membership_transitive_groups
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.searchTransitiveGroups/pageSize": page_size
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.searchTransitiveGroups/pageToken": page_token
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.searchTransitiveGroups/parent": parent
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.searchTransitiveGroups/query": query
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.searchTransitiveMemberships": search_group_membership_transitive_memberships
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.searchTransitiveMemberships/pageSize": page_size
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.searchTransitiveMemberships/pageToken": page_token
|
||||||
|
"/cloudidentity:v1/cloudidentity.groups.memberships.searchTransitiveMemberships/parent": parent
|
||||||
"/cloudidentity:v1/cloudidentity.groups.patch": patch_group
|
"/cloudidentity:v1/cloudidentity.groups.patch": patch_group
|
||||||
"/cloudidentity:v1/cloudidentity.groups.patch/name": name
|
"/cloudidentity:v1/cloudidentity.groups.patch/name": name
|
||||||
"/cloudidentity:v1/cloudidentity.groups.patch/updateMask": update_mask
|
"/cloudidentity:v1/cloudidentity.groups.patch/updateMask": update_mask
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/identity/
|
# @see https://cloud.google.com/identity/
|
||||||
module CloudidentityV1
|
module CloudidentityV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20201117'
|
REVISION = '20201208'
|
||||||
|
|
||||||
# See your device details
|
# See your device details
|
||||||
AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup'
|
AUTH_CLOUD_IDENTITY_DEVICES_LOOKUP = 'https://www.googleapis.com/auth/cloud-identity.devices.lookup'
|
||||||
|
|
|
@ -22,6 +22,29 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module CloudidentityV1
|
module CloudidentityV1
|
||||||
|
|
||||||
|
# The response message for MembershipsService.CheckTransitiveMembership.
|
||||||
|
class CheckTransitiveMembershipResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Response does not include the possible roles of a member since the behavior of
|
||||||
|
# this rpc is not all-or-nothing unlike the other rpcs. So, it may not be
|
||||||
|
# possible to list all the roles definitively, due to possible lack of
|
||||||
|
# authorization in some of the paths.
|
||||||
|
# Corresponds to the JSON property `hasMembership`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :has_membership
|
||||||
|
alias_method :has_membership?, :has_membership
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@has_membership = args[:has_membership] if args.key?(:has_membership)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A unique identifier for an entity in the Cloud Identity Groups API. An entity
|
# A unique identifier for an entity in the Cloud Identity Groups API. An entity
|
||||||
# can represent either a group with an optional `namespace` or a user without a `
|
# can represent either a group with an optional `namespace` or a user without a `
|
||||||
# namespace`. The combination of `id` and `namespace` must be unique; however,
|
# namespace`. The combination of `id` and `namespace` must be unique; however,
|
||||||
|
@ -57,6 +80,33 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# The response message for MembershipsService.GetMembershipGraph.
|
||||||
|
class GetMembershipGraphResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The membership graph's path information represented as an adjacency list.
|
||||||
|
# Corresponds to the JSON property `adjacencyList`
|
||||||
|
# @return [Array<Google::Apis::CloudidentityV1::MembershipAdjacencyList>]
|
||||||
|
attr_accessor :adjacency_list
|
||||||
|
|
||||||
|
# The resources representing each group in the adjacency list. Each group in
|
||||||
|
# this list can be correlated to a 'group' of the MembershipAdjacencyList using
|
||||||
|
# the 'name' of the Group resource.
|
||||||
|
# Corresponds to the JSON property `groups`
|
||||||
|
# @return [Array<Google::Apis::CloudidentityV1::Group>]
|
||||||
|
attr_accessor :groups
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@adjacency_list = args[:adjacency_list] if args.key?(:adjacency_list)
|
||||||
|
@groups = args[:groups] if args.key?(:groups)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Resource representing the Android specific attributes of a Device.
|
# Resource representing the Android specific attributes of a Device.
|
||||||
class GoogleAppsCloudidentityDevicesV1AndroidAttributes
|
class GoogleAppsCloudidentityDevicesV1AndroidAttributes
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -960,6 +1010,58 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Message representing a transitive group of a user or a group.
|
||||||
|
class GroupRelation
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Display name for this group.
|
||||||
|
# Corresponds to the JSON property `displayName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :display_name
|
||||||
|
|
||||||
|
# Resource name for this group.
|
||||||
|
# Corresponds to the JSON property `group`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :group
|
||||||
|
|
||||||
|
# A unique identifier for an entity in the Cloud Identity Groups API. An entity
|
||||||
|
# can represent either a group with an optional `namespace` or a user without a `
|
||||||
|
# namespace`. The combination of `id` and `namespace` must be unique; however,
|
||||||
|
# the same `id` can be used with different `namespace`s.
|
||||||
|
# Corresponds to the JSON property `groupKey`
|
||||||
|
# @return [Google::Apis::CloudidentityV1::EntityKey]
|
||||||
|
attr_accessor :group_key
|
||||||
|
|
||||||
|
# Labels for Group resource.
|
||||||
|
# Corresponds to the JSON property `labels`
|
||||||
|
# @return [Hash<String,String>]
|
||||||
|
attr_accessor :labels
|
||||||
|
|
||||||
|
# The relation between the member and the transitive group.
|
||||||
|
# Corresponds to the JSON property `relationType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :relation_type
|
||||||
|
|
||||||
|
# Membership roles of the member for the group.
|
||||||
|
# Corresponds to the JSON property `roles`
|
||||||
|
# @return [Array<Google::Apis::CloudidentityV1::TransitiveMembershipRole>]
|
||||||
|
attr_accessor :roles
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@display_name = args[:display_name] if args.key?(:display_name)
|
||||||
|
@group = args[:group] if args.key?(:group)
|
||||||
|
@group_key = args[:group_key] if args.key?(:group_key)
|
||||||
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
|
@relation_type = args[:relation_type] if args.key?(:relation_type)
|
||||||
|
@roles = args[:roles] if args.key?(:roles)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Response message for ListGroups operation.
|
# Response message for ListGroups operation.
|
||||||
class ListGroupsResponse
|
class ListGroupsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1053,6 +1155,44 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Message representing a transitive membership of a group.
|
||||||
|
class MemberRelation
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Resource name for this member if member is a GROUP, otherwise it is empty.
|
||||||
|
# Corresponds to the JSON property `member`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :member
|
||||||
|
|
||||||
|
# Entity key has an id and a namespace. In case of discussion forums, the id
|
||||||
|
# will be an email address without a namespace.
|
||||||
|
# Corresponds to the JSON property `preferredMemberKey`
|
||||||
|
# @return [Array<Google::Apis::CloudidentityV1::EntityKey>]
|
||||||
|
attr_accessor :preferred_member_key
|
||||||
|
|
||||||
|
# The relation between the group and the transitive member.
|
||||||
|
# Corresponds to the JSON property `relationType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :relation_type
|
||||||
|
|
||||||
|
# The membership role details (i.e name of role and expiry time).
|
||||||
|
# Corresponds to the JSON property `roles`
|
||||||
|
# @return [Array<Google::Apis::CloudidentityV1::TransitiveMembershipRole>]
|
||||||
|
attr_accessor :roles
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@member = args[:member] if args.key?(:member)
|
||||||
|
@preferred_member_key = args[:preferred_member_key] if args.key?(:preferred_member_key)
|
||||||
|
@relation_type = args[:relation_type] if args.key?(:relation_type)
|
||||||
|
@roles = args[:roles] if args.key?(:roles)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A membership within the Cloud Identity Groups API. A `Membership` defines a
|
# A membership within the Cloud Identity Groups API. A `Membership` defines a
|
||||||
# relationship between a `Group` and an entity belonging to that `Group`,
|
# relationship between a `Group` and an entity belonging to that `Group`,
|
||||||
# referred to as a "member".
|
# referred to as a "member".
|
||||||
|
@ -1111,6 +1251,34 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Membership graph's path information as an adjacency list.
|
||||||
|
class MembershipAdjacencyList
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Each edge contains information about the member that belongs to this group.
|
||||||
|
# Note: Fields returned here will help identify the specific Membership resource
|
||||||
|
# (e.g name, preferred_member_key and role), but may not be a comprehensive list
|
||||||
|
# of all fields.
|
||||||
|
# Corresponds to the JSON property `edges`
|
||||||
|
# @return [Array<Google::Apis::CloudidentityV1::Membership>]
|
||||||
|
attr_accessor :edges
|
||||||
|
|
||||||
|
# Resource name of the group that the members belong to.
|
||||||
|
# Corresponds to the JSON property `group`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :group
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@edges = args[:edges] if args.key?(:edges)
|
||||||
|
@group = args[:group] if args.key?(:group)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A membership role within the Cloud Identity Groups API. A `MembershipRole`
|
# A membership role within the Cloud Identity Groups API. A `MembershipRole`
|
||||||
# defines the privileges granted to a `Membership`.
|
# defines the privileges granted to a `Membership`.
|
||||||
class MembershipRole
|
class MembershipRole
|
||||||
|
@ -1271,6 +1439,58 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# The response message for MembershipsService.SearchTransitiveGroups.
|
||||||
|
class SearchTransitiveGroupsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# List of transitive groups satisfying the query.
|
||||||
|
# Corresponds to the JSON property `memberships`
|
||||||
|
# @return [Array<Google::Apis::CloudidentityV1::GroupRelation>]
|
||||||
|
attr_accessor :memberships
|
||||||
|
|
||||||
|
# Token to retrieve the next page of results, or empty if there are no more
|
||||||
|
# results available for listing.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@memberships = args[:memberships] if args.key?(:memberships)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# The response message for MembershipsService.SearchTransitiveMemberships.
|
||||||
|
class SearchTransitiveMembershipsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# List of transitive members satisfying the query.
|
||||||
|
# Corresponds to the JSON property `memberships`
|
||||||
|
# @return [Array<Google::Apis::CloudidentityV1::MemberRelation>]
|
||||||
|
attr_accessor :memberships
|
||||||
|
|
||||||
|
# Token to retrieve the next page of results, or empty if there are no more
|
||||||
|
# results.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@memberships = args[:memberships] if args.key?(:memberships)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for different
|
# The `Status` type defines a logical error model that is suitable for different
|
||||||
# programming environments, including REST APIs and RPC APIs. It is used by [
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
||||||
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
||||||
|
@ -1309,6 +1529,26 @@ module Google
|
||||||
@message = args[:message] if args.key?(:message)
|
@message = args[:message] if args.key?(:message)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Message representing the role of a TransitiveMembership.
|
||||||
|
class TransitiveMembershipRole
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# TransitiveMembershipRole in string format. Currently supported
|
||||||
|
# TransitiveMembershipRoles: `"MEMBER"`, `"OWNER"`, and `"MANAGER"`.
|
||||||
|
# Corresponds to the JSON property `role`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :role
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@role = args[:role] if args.key?(:role)
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -22,12 +22,24 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module CloudidentityV1
|
module CloudidentityV1
|
||||||
|
|
||||||
|
class CheckTransitiveMembershipResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class EntityKey
|
class EntityKey
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GetMembershipGraphResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleAppsCloudidentityDevicesV1AndroidAttributes
|
class GoogleAppsCloudidentityDevicesV1AndroidAttributes
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -160,6 +172,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GroupRelation
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListGroupsResponse
|
class ListGroupsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -184,12 +202,24 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class MemberRelation
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Membership
|
class Membership
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class MembershipAdjacencyList
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class MembershipRole
|
class MembershipRole
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -220,12 +250,37 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class SearchTransitiveGroupsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchTransitiveMembershipsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Status
|
class Status
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class TransitiveMembershipRole
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class CheckTransitiveMembershipResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :has_membership, as: 'hasMembership'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class EntityKey
|
class EntityKey
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -234,6 +289,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GetMembershipGraphResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :adjacency_list, as: 'adjacencyList', class: Google::Apis::CloudidentityV1::MembershipAdjacencyList, decorator: Google::Apis::CloudidentityV1::MembershipAdjacencyList::Representation
|
||||||
|
|
||||||
|
collection :groups, as: 'groups', class: Google::Apis::CloudidentityV1::Group, decorator: Google::Apis::CloudidentityV1::Group::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleAppsCloudidentityDevicesV1AndroidAttributes
|
class GoogleAppsCloudidentityDevicesV1AndroidAttributes
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -464,6 +529,20 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GroupRelation
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :display_name, as: 'displayName'
|
||||||
|
property :group, as: 'group'
|
||||||
|
property :group_key, as: 'groupKey', class: Google::Apis::CloudidentityV1::EntityKey, decorator: Google::Apis::CloudidentityV1::EntityKey::Representation
|
||||||
|
|
||||||
|
hash :labels, as: 'labels'
|
||||||
|
property :relation_type, as: 'relationType'
|
||||||
|
collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1::TransitiveMembershipRole, decorator: Google::Apis::CloudidentityV1::TransitiveMembershipRole::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListGroupsResponse
|
class ListGroupsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -496,6 +575,18 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class MemberRelation
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :member, as: 'member'
|
||||||
|
collection :preferred_member_key, as: 'preferredMemberKey', class: Google::Apis::CloudidentityV1::EntityKey, decorator: Google::Apis::CloudidentityV1::EntityKey::Representation
|
||||||
|
|
||||||
|
property :relation_type, as: 'relationType'
|
||||||
|
collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1::TransitiveMembershipRole, decorator: Google::Apis::CloudidentityV1::TransitiveMembershipRole::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Membership
|
class Membership
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -510,6 +601,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class MembershipAdjacencyList
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :edges, as: 'edges', class: Google::Apis::CloudidentityV1::Membership, decorator: Google::Apis::CloudidentityV1::Membership::Representation
|
||||||
|
|
||||||
|
property :group, as: 'group'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class MembershipRole
|
class MembershipRole
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -555,6 +655,24 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class SearchTransitiveGroupsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1::GroupRelation, decorator: Google::Apis::CloudidentityV1::GroupRelation::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class SearchTransitiveMembershipsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :memberships, as: 'memberships', class: Google::Apis::CloudidentityV1::MemberRelation, decorator: Google::Apis::CloudidentityV1::MemberRelation::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Status
|
class Status
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -563,6 +681,13 @@ module Google
|
||||||
property :message, as: 'message'
|
property :message, as: 'message'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class TransitiveMembershipRole
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :role, as: 'role'
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -87,7 +87,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates a device. Only company-owned device may be created.
|
# Creates a device. Only company-owned device may be created. **Note**: This
|
||||||
|
# method is available only to customers who have one of the following SKUs:
|
||||||
|
# Enterprise Standard, Enterprise Plus, Enterprise for Education, and Cloud
|
||||||
|
# Identity Premium
|
||||||
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device] google_apps_cloudidentity_devices_v1_device_object
|
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device] google_apps_cloudidentity_devices_v1_device_object
|
||||||
# @param [String] customer
|
# @param [String] customer
|
||||||
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
||||||
|
@ -757,7 +760,10 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the client state for the device user
|
# Updates the client state for the device user **Note**: This method is
|
||||||
|
# available only to customers who have one of the following SKUs: Enterprise
|
||||||
|
# Standard, Enterprise Plus, Enterprise for Education, and Cloud Identity
|
||||||
|
# Premium
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Output only. [Resource name](https://cloud.google.com/apis/design/
|
# Output only. [Resource name](https://cloud.google.com/apis/design/
|
||||||
# resource_names) of the ClientState in format: `devices/`device_id`/deviceUsers/
|
# resource_names) of the ClientState in format: `devices/`device_id`/deviceUsers/
|
||||||
|
@ -1084,6 +1090,53 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Check a potential member for membership in a group. **Note:** This feature is
|
||||||
|
# only available to Google Workspace Enterprise Standard, Enterprise Plus, and
|
||||||
|
# Enterprise for Education; and Cloud Identity Premium accounts. If the account
|
||||||
|
# of the member is not one of these, a 403 (PERMISSION_DENIED) HTTP status code
|
||||||
|
# will be returned. A member has membership to a group as long as there is a
|
||||||
|
# single viewable transitive membership between the group and the member. The
|
||||||
|
# actor must have view permissions to at least one transitive membership between
|
||||||
|
# the member and group.
|
||||||
|
# @param [String] parent
|
||||||
|
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||||
|
# group to check the transitive membership in. Format: `groups/`group_id``,
|
||||||
|
# where `group_id` is the unique id assigned to the Group to which the
|
||||||
|
# Membership belongs to.
|
||||||
|
# @param [String] query
|
||||||
|
# Required. A CEL expression that MUST include member specification. This is a `
|
||||||
|
# required` field. Certain groups are uniquely identified by both a '
|
||||||
|
# member_key_id' and a 'member_key_namespace', which requires an additional
|
||||||
|
# query input: 'member_key_namespace'. Example query: `member_key_id == '
|
||||||
|
# member_key_id_value'`
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudidentityV1::CheckTransitiveMembershipResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudidentityV1::CheckTransitiveMembershipResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def check_group_membership_transitive_membership(parent, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/{+parent}/memberships:checkTransitiveMembership', options)
|
||||||
|
command.response_representation = Google::Apis::CloudidentityV1::CheckTransitiveMembershipResponse::Representation
|
||||||
|
command.response_class = Google::Apis::CloudidentityV1::CheckTransitiveMembershipResponse
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['query'] = query unless query.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Creates a `Membership`.
|
# Creates a `Membership`.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The parent `Group` resource under which to create the `Membership`.
|
# Required. The parent `Group` resource under which to create the `Membership`.
|
||||||
|
@ -1182,6 +1235,57 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Get a membership graph of just a member or both a member and a group. **Note:**
|
||||||
|
# This feature is only available to Google Workspace Enterprise Standard,
|
||||||
|
# Enterprise Plus, and Enterprise for Education; and Cloud Identity Premium
|
||||||
|
# accounts. If the account of the member is not one of these, a 403 (
|
||||||
|
# PERMISSION_DENIED) HTTP status code will be returned. Given a member, the
|
||||||
|
# response will contain all membership paths from the member. Given both a group
|
||||||
|
# and a member, the response will contain all membership paths between the group
|
||||||
|
# and the member.
|
||||||
|
# @param [String] parent
|
||||||
|
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
||||||
|
# of the group to search transitive memberships in. Format: `groups/`group_id``,
|
||||||
|
# where `group_id` is the unique ID assigned to the Group to which the
|
||||||
|
# Membership belongs to. group_id can be a wildcard collection id "-". When a
|
||||||
|
# group_id is specified, the membership graph will be constrained to paths
|
||||||
|
# between the member (defined in the query) and the parent. If a wildcard
|
||||||
|
# collection is provided, all membership paths connected to the member will be
|
||||||
|
# returned.
|
||||||
|
# @param [String] query
|
||||||
|
# Required. A CEL expression that MUST include member specification AND label(s).
|
||||||
|
# Certain groups are uniquely identified by both a 'member_key_id' and a '
|
||||||
|
# member_key_namespace', which requires an additional query input: '
|
||||||
|
# member_key_namespace'. Example query: `member_key_id == 'member_key_id_value' &
|
||||||
|
# & in labels`
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudidentityV1::Operation]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def get_group_membership_membership_graph(parent, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/{+parent}/memberships:getMembershipGraph', options)
|
||||||
|
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::CloudidentityV1::Operation
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['query'] = query unless query.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Lists the `Membership`s within a `Group`.
|
# Lists the `Membership`s within a `Group`.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The parent `Group` resource under which to lookup the `Membership`
|
# Required. The parent `Group` resource under which to lookup the `Membership`
|
||||||
|
@ -1307,6 +1411,102 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Search transitive groups of a member. **Note:** This feature is only available
|
||||||
|
# to Google Workspace Enterprise Standard, Enterprise Plus, and Enterprise for
|
||||||
|
# Education; and Cloud Identity Premium accounts. If the account of the member
|
||||||
|
# is not one of these, a 403 (PERMISSION_DENIED) HTTP status code will be
|
||||||
|
# returned. A transitive group is any group that has a direct or indirect
|
||||||
|
# membership to the member. Actor must have view permissions all transitive
|
||||||
|
# groups.
|
||||||
|
# @param [String] parent
|
||||||
|
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||||
|
# group to search transitive memberships in. Format: `groups/`group_id``, where `
|
||||||
|
# group_id` is always '-' as this API will search across all groups for a given
|
||||||
|
# member.
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# The default page size is 200 (max 1000).
|
||||||
|
# @param [String] page_token
|
||||||
|
# The next_page_token value returned from a previous list request, if any.
|
||||||
|
# @param [String] query
|
||||||
|
# Required. A CEL expression that MUST include member specification AND label(s).
|
||||||
|
# This is a `required` field. Users can search on label attributes of groups.
|
||||||
|
# CONTAINS match ('in') is supported on labels. Certain groups are uniquely
|
||||||
|
# identified by both a 'member_key_id' and a 'member_key_namespace', which
|
||||||
|
# requires an additional query input: 'member_key_namespace'. Example query: `
|
||||||
|
# member_key_id == 'member_key_id_value' && in labels`
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudidentityV1::SearchTransitiveGroupsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudidentityV1::SearchTransitiveGroupsResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def search_group_membership_transitive_groups(parent, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/{+parent}/memberships:searchTransitiveGroups', options)
|
||||||
|
command.response_representation = Google::Apis::CloudidentityV1::SearchTransitiveGroupsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::CloudidentityV1::SearchTransitiveGroupsResponse
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['query'] = query unless query.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Search transitive memberships of a group. **Note:** This feature is only
|
||||||
|
# available to Google Workspace Enterprise Standard, Enterprise Plus, and
|
||||||
|
# Enterprise for Education; and Cloud Identity Premium accounts. If the account
|
||||||
|
# of the group is not one of these, a 403 (PERMISSION_DENIED) HTTP status code
|
||||||
|
# will be returned. A transitive membership is any direct or indirect membership
|
||||||
|
# of a group. Actor must have view permissions to all transitive memberships.
|
||||||
|
# @param [String] parent
|
||||||
|
# [Resource name](https://cloud.google.com/apis/design/resource_names) of the
|
||||||
|
# group to search transitive memberships in. Format: `groups/`group_id``, where `
|
||||||
|
# group_id` is the unique ID assigned to the Group.
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# The default page size is 200 (max 1000).
|
||||||
|
# @param [String] page_token
|
||||||
|
# The next_page_token value returned from a previous list request, if any.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudidentityV1::SearchTransitiveMembershipsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudidentityV1::SearchTransitiveMembershipsResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def search_group_membership_transitive_memberships(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1/{+parent}/memberships:searchTransitiveMemberships', options)
|
||||||
|
command.response_representation = Google::Apis::CloudidentityV1::SearchTransitiveMembershipsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::CloudidentityV1::SearchTransitiveMembershipsResponse
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
||||||
def apply_command_defaults(command)
|
def apply_command_defaults(command)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"git": {
|
"git": {
|
||||||
"name": ".",
|
"name": ".",
|
||||||
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
|
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
|
||||||
"sha": "38c28923af3813a16e99cc039066af42d71fab48"
|
"sha": "800e822b5eb5ee610179aa0f8646db4870e635f8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue