Compute V1 Client - Class LogConfigCounterOptions (1.10.1)

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

Namespace

Google \ Cloud \ Compute \ V1

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCustomFields

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

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

getField

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

Returns
TypeDescription
string

hasField

clearField

setField

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMetric

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

Returns
TypeDescription
string

hasMetric

clearMetric

setMetric

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this