Class: Google::Apis::CloudidentityV1beta1::MoveOrgMembershipRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MoveOrgMembershipRequest

Returns a new instance of MoveOrgMembershipRequest.



3461
3462
3463
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3461

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#customerString

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

Returns:

  • (String)


3451
3452
3453
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3451

def customer
  @customer
end

#destination_org_unitString

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

Returns:

  • (String)


3459
3460
3461
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3459

def destination_org_unit
  @destination_org_unit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3466
3467
3468
3469
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3466

def update!(**args)
  @customer = args[:customer] if args.key?(:customer)
  @destination_org_unit = args[:destination_org_unit] if args.key?(:destination_org_unit)
end