Reference documentation and code samples for the Google Cloud Billing V1 Client class ListSkusRequest.
Request message for ListSkus
.
Generated from protobuf message google.cloud.billing.v1.ListSkusRequest
Namespace
Google \ Cloud \ Billing \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The name of the service. Example: "services/DA34-426B-A397" |
↳ start_time |
Google\Protobuf\Timestamp
Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most). |
↳ end_time |
Google\Protobuf\Timestamp
Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed. The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most). |
↳ currency_code |
string
The ISO 4217 currency code for the pricing info in the response proto. Will use the conversion rate as of start_time. Optional. If not specified USD will be used. |
↳ page_size |
int
Requested page size. Defaults to 5000. |
↳ page_token |
string
A token identifying a page of results to return. This should be a |
getParent
Required. The name of the service.
Example: "services/DA34-426B-A397"
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The name of the service.
Example: "services/DA34-426B-A397"
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getStartTime
Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed.
The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasStartTime
clearStartTime
setStartTime
Optional inclusive start time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed.
The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getEndTime
Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed.
The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEndTime
clearEndTime
setEndTime
Optional exclusive end time of the time range for which the pricing versions will be returned. Timestamps in the future are not allowed.
The time range has to be within a single calendar month in America/Los_Angeles timezone. Time range as a whole is optional. If not specified, the latest pricing will be returned (up to 12 hours old at most).
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getCurrencyCode
The ISO 4217 currency code for the pricing info in the response proto.
Will use the conversion rate as of start_time. Optional. If not specified USD will be used.
Returns | |
---|---|
Type | Description |
string |
setCurrencyCode
The ISO 4217 currency code for the pricing info in the response proto.
Will use the conversion rate as of start_time. Optional. If not specified USD will be used.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPageSize
Requested page size. Defaults to 5000.
Returns | |
---|---|
Type | Description |
int |
setPageSize
Requested page size. Defaults to 5000.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPageToken
A token identifying a page of results to return. This should be a
next_page_token
value returned from a previous ListSkus
call. If unspecified, the first page of results is returned.
Returns | |
---|---|
Type | Description |
string |
setPageToken
A token identifying a page of results to return. This should be a
next_page_token
value returned from a previous ListSkus
call. If unspecified, the first page of results is returned.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
parent |
string
Required. The name of the service. Example: "services/DA34-426B-A397" Please see Google\Cloud\Billing\V1\CloudCatalogClient::serviceName() for help formatting this field. |
Returns | |
---|---|
Type | Description |
Google\Cloud\Billing\V1\ListSkusRequest |