Reference documentation and code samples for the Google Cloud License Manager V1 Client class AggregateUsageRequest.
Message for requesting aggregate of Usage per configuration.
Generated from protobuf message google.cloud.licensemanager.v1.AggregateUsageRequest
Namespace
Google \ Cloud \ LicenseManager \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Parent value for AggregateUsageRequest |
↳ page_size |
int
Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
↳ page_token |
string
Optional. A token identifying a page of results the server should return. |
↳ filter |
string
Optional. Filtering results |
↳ order_by |
string
Optional. Hint for how to order the results |
↳ start_time |
Google\Protobuf\Timestamp
Required. Licenses are purchased per month - so usage track needs start time of a month. |
↳ end_time |
Google\Protobuf\Timestamp
Required. Usage track is always for a month. This parameter is for the end time of the month. |
getName
Required. Parent value for AggregateUsageRequest
Returns | |
---|---|
Type | Description |
string |
setName
Required. Parent value for AggregateUsageRequest
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPageSize
Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
Returns | |
---|---|
Type | Description |
int |
setPageSize
Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPageToken
Optional. A token identifying a page of results the server should return.
Returns | |
---|---|
Type | Description |
string |
setPageToken
Optional. A token identifying a page of results the server should return.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getFilter
Optional. Filtering results
Returns | |
---|---|
Type | Description |
string |
setFilter
Optional. Filtering results
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getOrderBy
Optional. Hint for how to order the results
Returns | |
---|---|
Type | Description |
string |
setOrderBy
Optional. Hint for how to order the results
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getStartTime
Required. Licenses are purchased per month - so usage track needs start time of a month.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasStartTime
clearStartTime
setStartTime
Required. Licenses are purchased per month - so usage track needs start time of a month.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getEndTime
Required. Usage track is always for a month. This parameter is for the end time of the month.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEndTime
clearEndTime
setEndTime
Required. Usage track is always for a month. This parameter is for the end time of the month.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
name |
string
Required. Parent value for AggregateUsageRequest Please see LicenseManagerClient::configurationName() for help formatting this field. |
startTime |
Google\Protobuf\Timestamp
Required. Licenses are purchased per month - so usage track needs start time of a month. |
endTime |
Google\Protobuf\Timestamp
Required. Usage track is always for a month. This parameter is for the end time of the month. |
Returns | |
---|---|
Type | Description |
AggregateUsageRequest |