google-apis-cloudidentity_v1beta1 0.18.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/cloudidentity_v1beta1/classes.rb +120 -7
- data/lib/google/apis/cloudidentity_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/cloudidentity_v1beta1/representations.rb +48 -3
- data/lib/google/apis/cloudidentity_v1beta1/service.rb +107 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 491f2e80de483e654c20ad586ed1875cd00a5ab7757354e7665514ec0c5dc2c8
|
4
|
+
data.tar.gz: 5e62adaf52defd5c94bd9e9b43045b18a082b577a6590d22b7fd2d20951b6cd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc4b963b1e48cc805545dbd6e19a202e1169300fee4bc36c9895b2a159daacb266e61072e9fcc6b74b6d6617bbb43d26e7a697a48af83a3e34350dca1c9377d4
|
7
|
+
data.tar.gz: c4905791a7ebd74231330e8591f671d7c01e0e187a69495931b790f37df46b0489ceecee6e308ce41474169172953ab1f0afdc82e34d13409d8f1a45a263fad3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-cloudidentity_v1beta1
|
2
2
|
|
3
|
+
### v0.22.0 (2022-02-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220207
|
6
|
+
|
7
|
+
### v0.21.0 (2022-01-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220125
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.20.0 (2021-12-16)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.19.0 (2021-12-08)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211207
|
19
|
+
|
3
20
|
### v0.18.0 (2021-11-17)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211116
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/cloudidentity_v1beta1"
|
|
51
51
|
client = Google::Apis::CloudidentityV1beta1::CloudIdentityService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -213,7 +213,7 @@ module Google
|
|
213
213
|
end
|
214
214
|
|
215
215
|
# Stores information about a certificate.
|
216
|
-
class
|
216
|
+
class CertificateAttributes
|
217
217
|
include Google::Apis::Core::Hashable
|
218
218
|
|
219
219
|
# CertificateTemplate (v3 Extension in X.509).
|
@@ -550,7 +550,7 @@ module Google
|
|
550
550
|
attr_accessor :encryption_state
|
551
551
|
|
552
552
|
# Resource representing the Endpoint Verification-specific attributes of a
|
553
|
-
# Device.
|
553
|
+
# Device. https://cloud.google.com/endpoint-verification/docs/overview
|
554
554
|
# Corresponds to the JSON property `endpointVerificationSpecificAttributes`
|
555
555
|
# @return [Google::Apis::CloudidentityV1beta1::EndpointVerificationSpecificAttributes]
|
556
556
|
attr_accessor :endpoint_verification_specific_attributes
|
@@ -843,14 +843,14 @@ module Google
|
|
843
843
|
end
|
844
844
|
|
845
845
|
# Resource representing the Endpoint Verification-specific attributes of a
|
846
|
-
# Device.
|
846
|
+
# Device. https://cloud.google.com/endpoint-verification/docs/overview
|
847
847
|
class EndpointVerificationSpecificAttributes
|
848
848
|
include Google::Apis::Core::Hashable
|
849
849
|
|
850
850
|
# Details of certificates.
|
851
|
-
# Corresponds to the JSON property `
|
852
|
-
# @return [Array<Google::Apis::CloudidentityV1beta1::
|
853
|
-
attr_accessor :
|
851
|
+
# Corresponds to the JSON property `certificateAttributes`
|
852
|
+
# @return [Array<Google::Apis::CloudidentityV1beta1::CertificateAttributes>]
|
853
|
+
attr_accessor :certificate_attributes
|
854
854
|
|
855
855
|
def initialize(**args)
|
856
856
|
update!(**args)
|
@@ -858,7 +858,7 @@ module Google
|
|
858
858
|
|
859
859
|
# Update properties of this object
|
860
860
|
def update!(**args)
|
861
|
-
@
|
861
|
+
@certificate_attributes = args[:certificate_attributes] if args.key?(:certificate_attributes)
|
862
862
|
end
|
863
863
|
end
|
864
864
|
|
@@ -2008,6 +2008,32 @@ module Google
|
|
2008
2008
|
end
|
2009
2009
|
end
|
2010
2010
|
|
2011
|
+
# The response message for OrgMembershipsService.ListOrgMemberships.
|
2012
|
+
class ListOrgMembershipsResponse
|
2013
|
+
include Google::Apis::Core::Hashable
|
2014
|
+
|
2015
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
2016
|
+
# field is empty, there are no subsequent pages.
|
2017
|
+
# Corresponds to the JSON property `nextPageToken`
|
2018
|
+
# @return [String]
|
2019
|
+
attr_accessor :next_page_token
|
2020
|
+
|
2021
|
+
# The non-vacuous membership in an orgUnit.
|
2022
|
+
# Corresponds to the JSON property `orgMemberships`
|
2023
|
+
# @return [Array<Google::Apis::CloudidentityV1beta1::OrgMembership>]
|
2024
|
+
attr_accessor :org_memberships
|
2025
|
+
|
2026
|
+
def initialize(**args)
|
2027
|
+
update!(**args)
|
2028
|
+
end
|
2029
|
+
|
2030
|
+
# Update properties of this object
|
2031
|
+
def update!(**args)
|
2032
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2033
|
+
@org_memberships = args[:org_memberships] if args.key?(:org_memberships)
|
2034
|
+
end
|
2035
|
+
end
|
2036
|
+
|
2011
2037
|
# Response message for UserInvitation listing request.
|
2012
2038
|
class ListUserInvitationsResponse
|
2013
2039
|
include Google::Apis::Core::Hashable
|
@@ -2390,6 +2416,39 @@ module Google
|
|
2390
2416
|
end
|
2391
2417
|
end
|
2392
2418
|
|
2419
|
+
# The request message for OrgMembershipsService.MoveOrgMembership.
|
2420
|
+
class MoveOrgMembershipRequest
|
2421
|
+
include Google::Apis::Core::Hashable
|
2422
|
+
|
2423
|
+
# Required. Immutable. Customer on whose membership change is made. All
|
2424
|
+
# authorization will happen on the role assignments of this customer. Format:
|
2425
|
+
# customers/`$customerId` where `$customerId` is the `id` from the [Admin SDK `
|
2426
|
+
# Customer` resource](https://developers.google.com/admin-sdk/directory/
|
2427
|
+
# reference/rest/v1/customers). You may also use `customers/my_customer` to
|
2428
|
+
# specify your own organization.
|
2429
|
+
# Corresponds to the JSON property `customer`
|
2430
|
+
# @return [String]
|
2431
|
+
attr_accessor :customer
|
2432
|
+
|
2433
|
+
# Required. Immutable. OrgUnit where the membership will be moved to. Format:
|
2434
|
+
# orgUnits/`$orgUnitId` where `$orgUnitId` is the `orgUnitId` from the [Admin
|
2435
|
+
# SDK `OrgUnit` resource](https://developers.google.com/admin-sdk/directory/
|
2436
|
+
# reference/rest/v1/orgunits).
|
2437
|
+
# Corresponds to the JSON property `destinationOrgUnit`
|
2438
|
+
# @return [String]
|
2439
|
+
attr_accessor :destination_org_unit
|
2440
|
+
|
2441
|
+
def initialize(**args)
|
2442
|
+
update!(**args)
|
2443
|
+
end
|
2444
|
+
|
2445
|
+
# Update properties of this object
|
2446
|
+
def update!(**args)
|
2447
|
+
@customer = args[:customer] if args.key?(:customer)
|
2448
|
+
@destination_org_unit = args[:destination_org_unit] if args.key?(:destination_org_unit)
|
2449
|
+
end
|
2450
|
+
end
|
2451
|
+
|
2393
2452
|
# This resource represents a long-running operation that is the result of a
|
2394
2453
|
# network API call.
|
2395
2454
|
class Operation
|
@@ -2452,6 +2511,60 @@ module Google
|
|
2452
2511
|
end
|
2453
2512
|
end
|
2454
2513
|
|
2514
|
+
# A membership in an OrgUnit. An `OrgMembership` defines a relationship between
|
2515
|
+
# an `OrgUnit` and an entity belonging to that `OrgUnit`, referred to as a "
|
2516
|
+
# member".
|
2517
|
+
class OrgMembership
|
2518
|
+
include Google::Apis::Core::Hashable
|
2519
|
+
|
2520
|
+
# Immutable. Org member id as full resource name. Format for shared drive
|
2521
|
+
# resource: //drive.googleapis.com/drives/`$memberId` where `$memberId` is the `
|
2522
|
+
# id` from [Drive API (V3) `Drive` resource](https://developers.google.com/drive/
|
2523
|
+
# api/v3/reference/drives#resource).
|
2524
|
+
# Corresponds to the JSON property `member`
|
2525
|
+
# @return [String]
|
2526
|
+
attr_accessor :member
|
2527
|
+
|
2528
|
+
# Uri with which you can read the member. This follows https://aip.dev/122
|
2529
|
+
# Format for shared drive resource: https://drive.googleapis.com/drive/v3/drives/
|
2530
|
+
# `$memberId` where `$memberId` is the `id` from [Drive API (V3) `Drive`
|
2531
|
+
# resource](https://developers.google.com/drive/api/v3/reference/drives#resource)
|
2532
|
+
# .
|
2533
|
+
# Corresponds to the JSON property `memberUri`
|
2534
|
+
# @return [String]
|
2535
|
+
attr_accessor :member_uri
|
2536
|
+
|
2537
|
+
# Required. Immutable. The [resource name](https://cloud.google.com/apis/design/
|
2538
|
+
# resource_names) of the OrgMembership. Format: orgUnits/`$orgUnitId`/
|
2539
|
+
# memberships/`$membership` The `$orgUnitId` is the `orgUnitId` from the [Admin
|
2540
|
+
# SDK `OrgUnit` resource](https://developers.google.com/admin-sdk/directory/
|
2541
|
+
# reference/rest/v1/orgunits). The `$membership` shall be of the form ``$
|
2542
|
+
# entityType`;`$memberId``, where `$entityType` is the enum value of [
|
2543
|
+
# OrgMembership.EntityType], and `memberId` is the `id` from [Drive API (V3) `
|
2544
|
+
# Drive` resource](https://developers.google.com/drive/api/v3/reference/drives#
|
2545
|
+
# resource) for OrgMembership.EntityType.SHARED_DRIVE.
|
2546
|
+
# Corresponds to the JSON property `name`
|
2547
|
+
# @return [String]
|
2548
|
+
attr_accessor :name
|
2549
|
+
|
2550
|
+
# Immutable. Entity type for the org member.
|
2551
|
+
# Corresponds to the JSON property `type`
|
2552
|
+
# @return [String]
|
2553
|
+
attr_accessor :type
|
2554
|
+
|
2555
|
+
def initialize(**args)
|
2556
|
+
update!(**args)
|
2557
|
+
end
|
2558
|
+
|
2559
|
+
# Update properties of this object
|
2560
|
+
def update!(**args)
|
2561
|
+
@member = args[:member] if args.key?(:member)
|
2562
|
+
@member_uri = args[:member_uri] if args.key?(:member_uri)
|
2563
|
+
@name = args[:name] if args.key?(:name)
|
2564
|
+
@type = args[:type] if args.key?(:type)
|
2565
|
+
end
|
2566
|
+
end
|
2567
|
+
|
2455
2568
|
# POSIX Group definition to represent a group in a POSIX compliant system.
|
2456
2569
|
class PosixGroup
|
2457
2570
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudidentityV1beta1
|
18
18
|
# Version of the google-apis-cloudidentity_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.22.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220207"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,7 +82,7 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
-
class
|
85
|
+
class CertificateAttributes
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
87
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -370,6 +370,12 @@ module Google
|
|
370
370
|
include Google::Apis::Core::JsonObjectSupport
|
371
371
|
end
|
372
372
|
|
373
|
+
class ListOrgMembershipsResponse
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
373
379
|
class ListUserInvitationsResponse
|
374
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
381
|
|
@@ -442,12 +448,24 @@ module Google
|
|
442
448
|
include Google::Apis::Core::JsonObjectSupport
|
443
449
|
end
|
444
450
|
|
451
|
+
class MoveOrgMembershipRequest
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
445
457
|
class Operation
|
446
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
459
|
|
448
460
|
include Google::Apis::Core::JsonObjectSupport
|
449
461
|
end
|
450
462
|
|
463
|
+
class OrgMembership
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
451
469
|
class PosixGroup
|
452
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
471
|
|
@@ -616,7 +634,7 @@ module Google
|
|
616
634
|
end
|
617
635
|
end
|
618
636
|
|
619
|
-
class
|
637
|
+
class CertificateAttributes
|
620
638
|
# @private
|
621
639
|
class Representation < Google::Apis::Core::JsonRepresentation
|
622
640
|
property :certificate_template, as: 'certificateTemplate', class: Google::Apis::CloudidentityV1beta1::CertificateTemplate, decorator: Google::Apis::CloudidentityV1beta1::CertificateTemplate::Representation
|
@@ -766,7 +784,7 @@ module Google
|
|
766
784
|
class EndpointVerificationSpecificAttributes
|
767
785
|
# @private
|
768
786
|
class Representation < Google::Apis::Core::JsonRepresentation
|
769
|
-
collection :
|
787
|
+
collection :certificate_attributes, as: 'certificateAttributes', class: Google::Apis::CloudidentityV1beta1::CertificateAttributes, decorator: Google::Apis::CloudidentityV1beta1::CertificateAttributes::Representation
|
770
788
|
|
771
789
|
end
|
772
790
|
end
|
@@ -1106,6 +1124,15 @@ module Google
|
|
1106
1124
|
end
|
1107
1125
|
end
|
1108
1126
|
|
1127
|
+
class ListOrgMembershipsResponse
|
1128
|
+
# @private
|
1129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1130
|
+
property :next_page_token, as: 'nextPageToken'
|
1131
|
+
collection :org_memberships, as: 'orgMemberships', class: Google::Apis::CloudidentityV1beta1::OrgMembership, decorator: Google::Apis::CloudidentityV1beta1::OrgMembership::Representation
|
1132
|
+
|
1133
|
+
end
|
1134
|
+
end
|
1135
|
+
|
1109
1136
|
class ListUserInvitationsResponse
|
1110
1137
|
# @private
|
1111
1138
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1221,6 +1248,14 @@ module Google
|
|
1221
1248
|
end
|
1222
1249
|
end
|
1223
1250
|
|
1251
|
+
class MoveOrgMembershipRequest
|
1252
|
+
# @private
|
1253
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1254
|
+
property :customer, as: 'customer'
|
1255
|
+
property :destination_org_unit, as: 'destinationOrgUnit'
|
1256
|
+
end
|
1257
|
+
end
|
1258
|
+
|
1224
1259
|
class Operation
|
1225
1260
|
# @private
|
1226
1261
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1233,6 +1268,16 @@ module Google
|
|
1233
1268
|
end
|
1234
1269
|
end
|
1235
1270
|
|
1271
|
+
class OrgMembership
|
1272
|
+
# @private
|
1273
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1274
|
+
property :member, as: 'member'
|
1275
|
+
property :member_uri, as: 'memberUri'
|
1276
|
+
property :name, as: 'name'
|
1277
|
+
property :type, as: 'type'
|
1278
|
+
end
|
1279
|
+
end
|
1280
|
+
|
1236
1281
|
class PosixGroup
|
1237
1282
|
# @private
|
1238
1283
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1658,6 +1658,113 @@ module Google
|
|
1658
1658
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1659
1659
|
execute_or_queue_command(command, &block)
|
1660
1660
|
end
|
1661
|
+
|
1662
|
+
# List OrgMembership resources in an OrgUnit treated as 'parent'. Parent format:
|
1663
|
+
# orgUnits/`$orgUnitId` where `$orgUnitId` is the `orgUnitId` from the [Admin
|
1664
|
+
# SDK `OrgUnit` resource](https://developers.google.com/admin-sdk/directory/
|
1665
|
+
# reference/rest/v1/orgunits)
|
1666
|
+
# @param [String] parent
|
1667
|
+
# Required. Immutable. OrgUnit which is queried for a list of memberships.
|
1668
|
+
# Format: orgUnits/`$orgUnitId` where `$orgUnitId` is the `orgUnitId` from the [
|
1669
|
+
# Admin SDK `OrgUnit` resource](https://developers.google.com/admin-sdk/
|
1670
|
+
# directory/reference/rest/v1/orgunits).
|
1671
|
+
# @param [String] customer
|
1672
|
+
# Required. Immutable. Customer that this OrgMembership belongs to. All
|
1673
|
+
# authorization will happen on the role assignments of this customer. Format:
|
1674
|
+
# customers/`$customerId` where `$customerId` is the `id` from the [Admin SDK `
|
1675
|
+
# Customer` resource](https://developers.google.com/admin-sdk/directory/
|
1676
|
+
# reference/rest/v1/customers). You may also use `customers/my_customer` to
|
1677
|
+
# specify your own organization.
|
1678
|
+
# @param [String] filter
|
1679
|
+
# The search query. Must be specified in [Common Expression Language](https://
|
1680
|
+
# opensource.google/projects/cel). May only contain equality operators on the `
|
1681
|
+
# type` (e.g., `type == 'shared_drive'`).
|
1682
|
+
# @param [Fixnum] page_size
|
1683
|
+
# The maximum number of results to return. The service may return fewer than
|
1684
|
+
# this value. If omitted (or defaulted to zero) the server will default to 50.
|
1685
|
+
# The maximum allowed value is 100, though requests with page_size greater than
|
1686
|
+
# that will be silently interpreted as 100.
|
1687
|
+
# @param [String] page_token
|
1688
|
+
# A page token, received from a previous `OrgMembershipsService.
|
1689
|
+
# ListOrgMemberships` call. Provide this to retrieve the subsequent page. When
|
1690
|
+
# paginating, all other parameters provided to `ListOrgMembershipsRequest` must
|
1691
|
+
# match the call that provided the page token.
|
1692
|
+
# @param [String] fields
|
1693
|
+
# Selector specifying which fields to include in a partial response.
|
1694
|
+
# @param [String] quota_user
|
1695
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1696
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1697
|
+
# @param [Google::Apis::RequestOptions] options
|
1698
|
+
# Request-specific options
|
1699
|
+
#
|
1700
|
+
# @yield [result, err] Result & error if block supplied
|
1701
|
+
# @yieldparam result [Google::Apis::CloudidentityV1beta1::ListOrgMembershipsResponse] parsed result object
|
1702
|
+
# @yieldparam err [StandardError] error object if request failed
|
1703
|
+
#
|
1704
|
+
# @return [Google::Apis::CloudidentityV1beta1::ListOrgMembershipsResponse]
|
1705
|
+
#
|
1706
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1707
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1708
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1709
|
+
def list_org_unit_memberships(parent, customer: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1710
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/memberships', options)
|
1711
|
+
command.response_representation = Google::Apis::CloudidentityV1beta1::ListOrgMembershipsResponse::Representation
|
1712
|
+
command.response_class = Google::Apis::CloudidentityV1beta1::ListOrgMembershipsResponse
|
1713
|
+
command.params['parent'] = parent unless parent.nil?
|
1714
|
+
command.query['customer'] = customer unless customer.nil?
|
1715
|
+
command.query['filter'] = filter unless filter.nil?
|
1716
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1717
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1718
|
+
command.query['fields'] = fields unless fields.nil?
|
1719
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1720
|
+
execute_or_queue_command(command, &block)
|
1721
|
+
end
|
1722
|
+
|
1723
|
+
# Move an OrgMembership to a new OrgUnit. NOTE: This is an atomic copy-and-
|
1724
|
+
# delete. The resource will have a new copy under the destination OrgUnit and be
|
1725
|
+
# deleted from the source OrgUnit. The resource can only be searched under the
|
1726
|
+
# destination OrgUnit afterwards.
|
1727
|
+
# @param [String] name
|
1728
|
+
# Required. Immutable. The [resource name](https://cloud.google.com/apis/design/
|
1729
|
+
# resource_names) of the OrgMembership. Format: orgUnits/`$orgUnitId`/
|
1730
|
+
# memberships/`$membership` The `$orgUnitId` is the `orgUnitId` from the [Admin
|
1731
|
+
# SDK `OrgUnit` resource](https://developers.google.com/admin-sdk/directory/
|
1732
|
+
# reference/rest/v1/orgunits). To manage a Membership without specifying source `
|
1733
|
+
# orgUnitId`, this API also supports the wildcard character '-' for `$orgUnitId`
|
1734
|
+
# per https://google.aip.dev/159. The `$membership` shall be of the form ``$
|
1735
|
+
# entityType`;`$memberId``, where `$entityType` is the enum value of
|
1736
|
+
# OrgMembership.EntityType, and `memberId` is the `id` from [Drive API (V3) `
|
1737
|
+
# Drive` resource](https://developers.google.com/drive/api/v3/reference/drives#
|
1738
|
+
# resource) for OrgMembership.EntityType.SHARED_DRIVE.
|
1739
|
+
# @param [Google::Apis::CloudidentityV1beta1::MoveOrgMembershipRequest] move_org_membership_request_object
|
1740
|
+
# @param [String] fields
|
1741
|
+
# Selector specifying which fields to include in a partial response.
|
1742
|
+
# @param [String] quota_user
|
1743
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1744
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1745
|
+
# @param [Google::Apis::RequestOptions] options
|
1746
|
+
# Request-specific options
|
1747
|
+
#
|
1748
|
+
# @yield [result, err] Result & error if block supplied
|
1749
|
+
# @yieldparam result [Google::Apis::CloudidentityV1beta1::Operation] parsed result object
|
1750
|
+
# @yieldparam err [StandardError] error object if request failed
|
1751
|
+
#
|
1752
|
+
# @return [Google::Apis::CloudidentityV1beta1::Operation]
|
1753
|
+
#
|
1754
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1755
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1756
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1757
|
+
def move_org_membership(name, move_org_membership_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1758
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:move', options)
|
1759
|
+
command.request_representation = Google::Apis::CloudidentityV1beta1::MoveOrgMembershipRequest::Representation
|
1760
|
+
command.request_object = move_org_membership_request_object
|
1761
|
+
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
|
1762
|
+
command.response_class = Google::Apis::CloudidentityV1beta1::Operation
|
1763
|
+
command.params['name'] = name unless name.nil?
|
1764
|
+
command.query['fields'] = fields unless fields.nil?
|
1765
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1766
|
+
execute_or_queue_command(command, &block)
|
1767
|
+
end
|
1661
1768
|
|
1662
1769
|
protected
|
1663
1770
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudidentity_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudidentity_v1beta1/v0.22.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudidentity_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Identity API V1beta1
|