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
-
#billing_account ⇒ String
Optional.
-
#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 that customer here.
-
#language_code ⇒ String
Optional.
-
#page_size ⇒ Fixnum
Requested page size.
-
#page_token ⇒ String
A token for a page of results other than the first page.
-
#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.
1951 1952 1953 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1951 def initialize(**args) update!(**args) end |
Instance Attribute Details
#billing_account ⇒ String
Optional. The Billing Account to look up Offers for. Format: accounts/
account_id
/billingAccounts/billing_account_id
. This field is only relevant
for multi-currency accounts. It should be left empty for single currency
accounts.
Corresponds to the JSON property billingAccount
1912 1913 1914 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1912 def billing_account @billing_account end |
#cloud_identity_id ⇒ String
Customer's Cloud Identity ID
Corresponds to the JSON property cloudIdentityId
1917 1918 1919 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1917 def cloud_identity_id @cloud_identity_id end |
#customer_name ⇒ String
A reseller should create a customer and use the resource name of that customer
here.
Corresponds to the JSON property customerName
1923 1924 1925 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1923 def customer_name @customer_name end |
#language_code ⇒ String
Optional. 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".
Corresponds to the JSON property languageCode
1930 1931 1932 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1930 def language_code @language_code end |
#page_size ⇒ Fixnum
Requested page size. Server might return fewer results than requested. If
unspecified, returns at most 100 offers. The maximum value is 1000; the server
will coerce values above 1000.
Corresponds to the JSON property pageSize
1937 1938 1939 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1937 def page_size @page_size end |
#page_token ⇒ String
A token for a page of results other than the first page. Obtained using
ListTransferableOffersResponse.next_page_token of the previous
CloudChannelService.ListTransferableOffers call.
Corresponds to the JSON property pageToken
1944 1945 1946 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1944 def page_token @page_token end |
#sku ⇒ String
Required. The SKU to look up Offers for.
Corresponds to the JSON property sku
1949 1950 1951 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1949 def sku @sku end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1956 1957 1958 1959 1960 1961 1962 1963 1964 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1956 def update!(**args) @billing_account = args[:billing_account] if args.key?(:billing_account) @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 |