Cloud Channel V1 API - Class Google::Cloud::Channel::V1::ListOffersRequest (v0.18.0)

Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::ListOffersRequest.

Request message for ListOffers.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#filter

def filter() -> ::String
Returns
  • (::String) — Optional. The expression to filter results by name (name of the Offer), sku.name (name of the SKU), or sku.product.name (name of the Product). Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1 Example 2: name=accounts/a1/offers/o1

#filter=

def filter=(value) -> ::String
Parameter
  • value (::String) — Optional. The expression to filter results by name (name of the Offer), sku.name (name of the SKU), or sku.product.name (name of the Product). Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1 Example 2: name=accounts/a1/offers/o1
Returns
  • (::String) — Optional. The expression to filter results by name (name of the Offer), sku.name (name of the SKU), or sku.product.name (name of the Product). Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1 Example 2: name=accounts/a1/offers/o1

#language_code

def language_code() -> ::String
Returns
  • (::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".

#language_code=

def language_code=(value) -> ::String
Parameter
  • value (::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".
Returns
  • (::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".

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer) — Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 500 Offers. The maximum value is 1000; the server will coerce values above 1000.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 500 Offers. The maximum value is 1000; the server will coerce values above 1000.
Returns
  • (::Integer) — Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 500 Offers. The maximum value is 1000; the server will coerce values above 1000.

#page_token

def page_token() -> ::String
Returns
  • (::String) — Optional. A token for a page of results other than the first page.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — Optional. A token for a page of results other than the first page.
Returns
  • (::String) — Optional. A token for a page of results other than the first page.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The resource name of the reseller account from which to list Offers. Parent uses the format: accounts/{account_id}.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the reseller account from which to list Offers. Parent uses the format: accounts/{account_id}.
Returns
  • (::String) — Required. The resource name of the reseller account from which to list Offers. Parent uses the format: accounts/{account_id}.

#show_future_offers

def show_future_offers() -> ::Boolean
Returns
  • (::Boolean) — Optional. A boolean flag that determines if a response returns future offers 30 days from now. If the show_future_offers is true, the response will only contain offers that are scheduled to be available 30 days from now.

#show_future_offers=

def show_future_offers=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. A boolean flag that determines if a response returns future offers 30 days from now. If the show_future_offers is true, the response will only contain offers that are scheduled to be available 30 days from now.
Returns
  • (::Boolean) — Optional. A boolean flag that determines if a response returns future offers 30 days from now. If the show_future_offers is true, the response will only contain offers that are scheduled to be available 30 days from now.