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

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

Billing Information.

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

Namespace

Google \ Cloud \ LicenseManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ user_count_billing UserCountBillingInfo

Required. This type of billing uses user count for computing total charge.

↳ start_time Google\Protobuf\Timestamp

Output only. When the billing starts.

↳ end_time Google\Protobuf\Timestamp

Output only. When the billing ends.

getUserCountBilling

Required. This type of billing uses user count for computing total charge.

Returns
Type Description
UserCountBillingInfo|null

hasUserCountBilling

setUserCountBilling

Required. This type of billing uses user count for computing total charge.

Parameter
Name Description
var UserCountBillingInfo
Returns
Type Description
$this

getStartTime

Output only. When the billing starts.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Output only. When the billing starts.

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

getEndTime

Output only. When the billing ends.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. When the billing ends.

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

getCurrentBillingInfo

Returns
Type Description
string