Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListTransferableSkusRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1ListTransferableSkusRequest

Returns a new instance of GoogleCloudChannelV1ListTransferableSkusRequest.



1443
1444
1445
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1443

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

Instance Attribute Details

#auth_tokenString

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

Returns:

  • (String)


1408
1409
1410
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1408

def auth_token
  @auth_token
end

#cloud_identity_idString

Customer's Cloud Identity ID Corresponds to the JSON property cloudIdentityId

Returns:

  • (String)


1413
1414
1415
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1413

def cloud_identity_id
  @cloud_identity_id
end

#customer_nameString

A reseller is required to create a customer and use the resource name of the created customer here. Customer_name uses the format: accounts/account_id/ customers/customer_id Corresponds to the JSON property customerName

Returns:

  • (String)


1420
1421
1422
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1420

def customer_name
  @customer_name
end

#language_codeString

The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US". Optional. Corresponds to the JSON property languageCode

Returns:

  • (String)


1427
1428
1429
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1427

def language_code
  @language_code
end

#page_sizeFixnum

The requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000. Optional. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


1434
1435
1436
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1434

def page_size
  @page_size
end

#page_tokenString

A token for a page of results other than the first page. Obtained using ListTransferableSkusResponse.next_page_token of the previous CloudChannelService.ListTransferableSkus call. Optional. Corresponds to the JSON property pageToken

Returns:

  • (String)


1441
1442
1443
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1441

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1448
1449
1450
1451
1452
1453
1454
1455
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1448

def update!(**args)
  @auth_token = args[:auth_token] if args.key?(:auth_token)
  @cloud_identity_id = args[:cloud_identity_id] if args.key?(:cloud_identity_id)
  @customer_name = args[:customer_name] if args.key?(:customer_name)
  @language_code = args[:language_code] if args.key?(:language_code)
  @page_size = args[:page_size] if args.key?(:page_size)
  @page_token = args[:page_token] if args.key?(:page_token)
end