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.
3477 3478 3479 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3477 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
3467 3468 3469 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3467 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
3475 3476 3477 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3475 def destination_org_unit @destination_org_unit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3482 3483 3484 3485 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3482 def update!(**args) @customer = args[:customer] if args.key?(:customer) @destination_org_unit = args[:destination_org_unit] if args.key?(:destination_org_unit) end |