Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ListTransferableOffersRequest

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.ListTransferableOffers

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1ListTransferableOffersRequest

Returns a new instance of GoogleCloudChannelV1ListTransferableOffersRequest.



1812
1813
1814
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1812

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

Instance Attribute Details

#billing_accountString

Optional. The Billing Account to look up Offers for. Format: accounts/ account_id/billing_accounts/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

Returns:

  • (String)


1773
1774
1775
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1773

def 
  @billing_account
end

#cloud_identity_idString

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

Returns:

  • (String)


1778
1779
1780
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1778

def cloud_identity_id
  @cloud_identity_id
end

#customer_nameString

A reseller should create a customer and use the resource name of that customer here. Corresponds to the JSON property customerName

Returns:

  • (String)


1784
1785
1786
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1784

def customer_name
  @customer_name
end

#language_codeString

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

Returns:

  • (String)


1791
1792
1793
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1791

def language_code
  @language_code
end

#page_sizeFixnum

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

Returns:

  • (Fixnum)


1798
1799
1800
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1798

def page_size
  @page_size
end

#page_tokenString

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

Returns:

  • (String)


1805
1806
1807
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1805

def page_token
  @page_token
end

#skuString

Required. The SKU to look up Offers for. Corresponds to the JSON property sku

Returns:

  • (String)


1810
1811
1812
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1810

def sku
  @sku
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1817
1818
1819
1820
1821
1822
1823
1824
1825
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1817

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