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.



3526
3527
3528
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3526

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)


3516
3517
3518
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3516

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)


3524
3525
3526
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3524

def destination_org_unit
  @destination_org_unit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3531
3532
3533
3534
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3531

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