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.



1258
1259
1260
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1258

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

Instance Attribute Details

#auth_tokenString

This token is generated by the Super Admin of the resold customer to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. This token can be omitted once the authorization is generated. See https://support.google.com/a/answer/7643790 for more details. Corresponds to the JSON property authToken

Returns:

  • (String)


1224
1225
1226
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1224

def auth_token
  @auth_token
end

#cloud_identity_idString

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

Returns:

  • (String)


1229
1230
1231
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1229

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. The customer_name takes the format: accounts/ account_id/customers/customer_id Corresponds to the JSON property customerName

Returns:

  • (String)


1236
1237
1238
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1236

def customer_name
  @customer_name
end

#language_codeString

The BCP-47 language code, such as "en-US". If specified, the response will be localized to the corresponding language code. Default is "en-US". Optional. Corresponds to the JSON property languageCode

Returns:

  • (String)


1242
1243
1244
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1242

def language_code
  @language_code
end

#page_sizeFixnum

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

Returns:

  • (Fixnum)


1249
1250
1251
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1249

def page_size
  @page_size
end

#page_tokenString

A token identifying a page of results, if other than the first one. Typically obtained via ListTransferableSkusResponse.next_page_token of the previous CloudChannelService.ListTransferableSkus call. Optional. Corresponds to the JSON property pageToken

Returns:

  • (String)


1256
1257
1258
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1256

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1263
1264
1265
1266
1267
1268
1269
1270
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1263

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