Google Analytics Admin V1alpha Client - Class UpdateCalculatedMetricRequest (0.28.1)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class UpdateCalculatedMetricRequest.

Request message for UpdateCalculatedMetric RPC.

Generated from protobuf message google.analytics.admin.v1alpha.UpdateCalculatedMetricRequest

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ calculated_metricCalculatedMetric

Required. The CalculatedMetric to update

↳ update_maskGoogle\Protobuf\FieldMask

Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

getCalculatedMetric

Required. The CalculatedMetric to update

Returns
TypeDescription
CalculatedMetric|null

hasCalculatedMetric

clearCalculatedMetric

setCalculatedMetric

Required. The CalculatedMetric to update

Parameter
NameDescription
varCalculatedMetric
Returns
TypeDescription
$this

getUpdateMask

Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

Parameter
NameDescription
varGoogle\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
calculatedMetricCalculatedMetric

Required. The CalculatedMetric to update

updateMaskGoogle\Protobuf\FieldMask

Required. The list of fields to be updated. Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields.

Returns
TypeDescription
UpdateCalculatedMetricRequest