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.



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

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)


3513
3514
3515
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3513

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)


3521
3522
3523
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3521

def destination_org_unit
  @destination_org_unit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3528
3529
3530
3531
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3528

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