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
Name Description
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
Type Description
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
Name Description
var array<Google\Cloud\Compute\V1\LogConfigCounterOptionsCustomField>
Returns
Type Description
$this

getField

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

Generated from protobuf field optional string field = 97427706;

Returns
Type Description
string

hasField

clearField

setField

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

Generated from protobuf field optional string field = 97427706;

Parameter
Name Description
var string
Returns
Type Description
$this

getMetric

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

Generated from protobuf field optional string metric = 533067184;

Returns
Type Description
string

hasMetric

clearMetric

setMetric

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

Generated from protobuf field optional string metric = 533067184;

Parameter
Name Description
var string
Returns
Type Description
$this