Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListTransferableOffersRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListTransferableOffersRequest
- 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.ListTransferableOffers
Instance Attribute Summary collapse
-
#cloud_identity_id ⇒ String
Customer's Cloud Identity ID Corresponds to the JSON property
cloudIdentityId
. -
#customer_name ⇒ String
A reseller should create a customer and use the resource name of the created customer here.
-
#language_code ⇒ String
The BCP-47 language code, such as "en-US".
-
#page_size ⇒ Fixnum
Requested page size.
-
#page_token ⇒ String
A token identifying a page of results, if other than the first one.
-
#sku ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1ListTransferableOffersRequest
constructor
A new instance of GoogleCloudChannelV1ListTransferableOffersRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1ListTransferableOffersRequest
Returns a new instance of GoogleCloudChannelV1ListTransferableOffersRequest.
1173 1174 1175 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1173 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_identity_id ⇒ String
Customer's Cloud Identity ID
Corresponds to the JSON property cloudIdentityId
1140 1141 1142 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1140 def cloud_identity_id @cloud_identity_id end |
#customer_name ⇒ String
A reseller should create a customer and use the resource name of the created
customer here.
Corresponds to the JSON property customerName
1146 1147 1148 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1146 def customer_name @customer_name end |
#language_code ⇒ String
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".
Corresponds to the JSON property languageCode
1152 1153 1154 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1152 def language_code @language_code end |
#page_size ⇒ Fixnum
Requested page size. Server might return fewer results than requested. If
unspecified, at most 100 Offers will be returned. The maximum value is 1000;
values above 1000 will be coerced to 1000.
Corresponds to the JSON property pageSize
1159 1160 1161 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1159 def page_size @page_size end |
#page_token ⇒ String
A token identifying a page of results, if other than the first one. Typically
obtained via ListTransferableOffersResponse.next_page_token of the previous
CloudChannelService.ListTransferableOffers call.
Corresponds to the JSON property pageToken
1166 1167 1168 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1166 def page_token @page_token end |
#sku ⇒ String
Required. SKU for which the Offers are being looked up.
Corresponds to the JSON property sku
1171 1172 1173 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1171 def sku @sku end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1178 1179 1180 1181 1182 1183 1184 1185 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1178 def update!(**args) @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) @sku = args[:sku] if args.key?(:sku) end |