Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ImportCustomerRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1ImportCustomerRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb
Overview
Request message for CloudChannelService.ImportCustomer
Instance Attribute Summary collapse
-
#auth_token ⇒ String
Optional.
-
#channel_partner_id ⇒ String
Optional.
-
#cloud_identity_id ⇒ String
Required.
-
#customer ⇒ String
Optional.
-
#domain ⇒ String
Required.
-
#overwrite_if_exists ⇒ Boolean
(also: #overwrite_if_exists?)
Required.
-
#primary_admin_email ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1ImportCustomerRequest
constructor
A new instance of GoogleCloudChannelV1ImportCustomerRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1ImportCustomerRequest
Returns a new instance of GoogleCloudChannelV1ImportCustomerRequest.
1476 1477 1478 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1476 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_token ⇒ String
Optional. The super admin of the resold customer generates this token to
authorize a reseller to access their Cloud Identity and purchase entitlements
on their behalf. You can omit this token after authorization. See https://
support.google.com/a/answer/7643790 for more details.
Corresponds to the JSON property authToken
1438 1439 1440 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1438 def auth_token @auth_token end |
#channel_partner_id ⇒ String
Optional. Cloud Identity ID of a channel partner who will be the direct
reseller for the customer's order. This field is required for 2-tier transfer
scenarios and can be provided via the request Parent binding as well.
Corresponds to the JSON property channelPartnerId
1445 1446 1447 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1445 def channel_partner_id @channel_partner_id end |
#cloud_identity_id ⇒ String
Required. Customer's Cloud Identity ID
Corresponds to the JSON property cloudIdentityId
1450 1451 1452 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1450 def cloud_identity_id @cloud_identity_id end |
#customer ⇒ String
Optional. Specifies the customer that will receive imported Cloud Identity
information. Format: accounts/account_id
/customers/customer_id
Corresponds to the JSON property customer
1456 1457 1458 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1456 def customer @customer end |
#domain ⇒ String
Required. Customer domain.
Corresponds to the JSON property domain
1461 1462 1463 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1461 def domain @domain end |
#overwrite_if_exists ⇒ Boolean Also known as: overwrite_if_exists?
Required. Choose to overwrite an existing customer if found. This must be set
to true if there is an existing customer with a conflicting region code or
domain.
Corresponds to the JSON property overwriteIfExists
1468 1469 1470 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1468 def overwrite_if_exists @overwrite_if_exists end |
#primary_admin_email ⇒ String
Required. Customer's primary admin email.
Corresponds to the JSON property primaryAdminEmail
1474 1475 1476 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1474 def primary_admin_email @primary_admin_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1481 1482 1483 1484 1485 1486 1487 1488 1489 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1481 def update!(**args) @auth_token = args[:auth_token] if args.key?(:auth_token) @channel_partner_id = args[:channel_partner_id] if args.key?(:channel_partner_id) @cloud_identity_id = args[:cloud_identity_id] if args.key?(:cloud_identity_id) @customer = args[:customer] if args.key?(:customer) @domain = args[:domain] if args.key?(:domain) @overwrite_if_exists = args[:overwrite_if_exists] if args.key?(:overwrite_if_exists) @primary_admin_email = args[:primary_admin_email] if args.key?(:primary_admin_email) end |