Compute V1 Client - Class LogConfigCounterOptions (1.5.0)

Reference documentation and code samples for the Compute V1 Client class LogConfigCounterOptions.

This is deprecated and has no effect. Do not use.

Generated from protobuf message google.cloud.compute.v1.LogConfigCounterOptions

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ custom_fields array<Google\Cloud\Compute\V1\LogConfigCounterOptionsCustomField>

This is deprecated and has no effect. Do not use.

↳ field string

This is deprecated and has no effect. Do not use.

↳ metric string

This is deprecated and has no effect. Do not use.

getCustomFields

This is deprecated and has no effect. Do not use.

Generated from protobuf field repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCustomFields

This is deprecated and has no effect. Do not use.

Generated from protobuf field repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\LogConfigCounterOptionsCustomField>
Returns
TypeDescription
$this

getField

This is deprecated and has no effect. Do not use.

Generated from protobuf field optional string field = 97427706;

Returns
TypeDescription
string

hasField

clearField

setField

This is deprecated and has no effect. Do not use.

Generated from protobuf field optional string field = 97427706;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMetric

This is deprecated and has no effect. Do not use.

Generated from protobuf field optional string metric = 533067184;

Returns
TypeDescription
string

hasMetric

clearMetric

setMetric

This is deprecated and has no effect. Do not use.

Generated from protobuf field optional string metric = 533067184;

Parameter
NameDescription
var string
Returns
TypeDescription
$this