Class: Google::Apis::CloudidentityV1beta1::MoveOrgMembershipRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::MoveOrgMembershipRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
The request message for OrgMembershipsService.MoveOrgMembership.
Instance Attribute Summary collapse
-
#customer ⇒ String
Required.
-
#destination_org_unit ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MoveOrgMembershipRequest
constructor
A new instance of MoveOrgMembershipRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MoveOrgMembershipRequest
Returns a new instance of MoveOrgMembershipRequest.
3639 3640 3641 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3639 def initialize(**args) update!(**args) end |
Instance Attribute Details
#customer ⇒ String
Required. Immutable. Customer on whose membership change is made. All
authorization will happen on the role assignments of this customer. Format:
customers/$customerId where $customerId is the id from the Admin SDK
Customer resource. You may also use customers/my_customer to
specify your own organization.
Corresponds to the JSON property customer
3629 3630 3631 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3629 def customer @customer end |
#destination_org_unit ⇒ String
Required. Immutable. OrgUnit where the membership will be moved to. Format:
orgUnits/$orgUnitId where $orgUnitId is the orgUnitId from the Admin
SDK OrgUnit resource.
Corresponds to the JSON property destinationOrgUnit
3637 3638 3639 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3637 def destination_org_unit @destination_org_unit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3644 3645 3646 3647 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3644 def update!(**args) @customer = args[:customer] if args.key?(:customer) @destination_org_unit = args[:destination_org_unit] if args.key?(:destination_org_unit) end |