Google Cloud Channel V1 Client - Class ListSkusRequest (1.0.1)

Reference documentation and code samples for the Google Cloud Channel V1 Client class ListSkusRequest.

Request message for ListSkus.

Generated from protobuf message google.cloud.channel.v1.ListSkusRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the Product to list SKUs for. Parent uses the format: products/{product_id}. Supports products/- to retrieve SKUs for all products.

↳ account string

Required. Resource name of the reseller. Format: accounts/{account_id}.

↳ page_size int

Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000.

↳ page_token string

Optional. A token for a page of results other than the first page. Optional.

↳ 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".

getParent

Required. The resource name of the Product to list SKUs for.

Parent uses the format: products/{product_id}. Supports products/- to retrieve SKUs for all products.

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setParent

Required. The resource name of the Product to list SKUs for.

Parent uses the format: products/{product_id}. Supports products/- to retrieve SKUs for all products.

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAccount

Required. Resource name of the reseller.

Format: accounts/{account_id}.

Generated from protobuf field string account = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setAccount

Required. Resource name of the reseller.

Format: accounts/{account_id}.

Generated from protobuf field string account = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Optional. Requested page size. Server might return fewer results than requested.

If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000.

Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

setPageSize

Optional. Requested page size. Server might return fewer results than requested.

If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000.

Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

Optional. A token for a page of results other than the first page.

Optional.

Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setPageToken

Optional. A token for a page of results other than the first page.

Optional.

Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLanguageCode

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

Generated from protobuf field string language_code = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setLanguageCode

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

Generated from protobuf field string language_code = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this