class Billing_BillingDestination extends Message

Configuration of a specific billing destination (Currently only support bill against consumer project).

Generated from protobuf message google.api.Billing.BillingDestination

Methods

__construct()

No description

string
getMonitoredResource()

The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.

$this
setMonitoredResource(string $var)

The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.

RepeatedField
getMetrics()

Names of the metrics to report to this billing destination.

$this
setMetrics(string[]|RepeatedField $var)

Names of the metrics to report to this billing destination.

Details

at line 34
__construct()

at line 46
string getMonitoredResource()

The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.

Generated from protobuf field string monitored_resource = 1;

Return Value

string

at line 59
$this setMonitoredResource(string $var)

The monitored resource type. The type must be defined in [Service.monitored_resources][google.api.Service.monitored_resources] section.

Generated from protobuf field string monitored_resource = 1;

Parameters

string $var

Return Value

$this

at line 74
RepeatedField getMetrics()

Names of the metrics to report to this billing destination.

Each name must be defined in [Service.metrics][google.api.Service.metrics] section.

Generated from protobuf field repeated string metrics = 2;

Return Value

RepeatedField

at line 87
$this setMetrics(string[]|RepeatedField $var)

Names of the metrics to report to this billing destination.

Each name must be defined in [Service.metrics][google.api.Service.metrics] section.

Generated from protobuf field repeated string metrics = 2;

Parameters

string[]|RepeatedField $var

Return Value

$this