Google Cloud License Manager V1 Client - Class QueryConfigurationLicenseUsageRequest (0.1.0)

Reference documentation and code samples for the Google Cloud License Manager V1 Client class QueryConfigurationLicenseUsageRequest.

Message for requesting license usage per configuration.

Generated from protobuf message google.cloud.licensemanager.v1.QueryConfigurationLicenseUsageRequest

Namespace

Google \ Cloud \ LicenseManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource path of the Configuration.

↳ start_time Google\Protobuf\Timestamp

Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period.

↳ end_time Google\Protobuf\Timestamp

Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period.

getName

Required. The resource path of the Configuration.

Returns
Type Description
string

setName

Required. The resource path of the Configuration.

Parameter
Name Description
var string
Returns
Type Description
$this

getStartTime

Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

static::build

Parameters
Name Description
name string

Required. The resource path of the Configuration. Please see LicenseManagerClient::configurationName() for help formatting this field.

startTime Google\Protobuf\Timestamp

Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period.

endTime Google\Protobuf\Timestamp

Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period.

Returns
Type Description
QueryConfigurationLicenseUsageRequest