Google Analytics Admin V1alpha Client - Class DeleteCalculatedMetricRequest (0.24.1)

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

Request message for DeleteCalculatedMetric RPC.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01

getName

Required. The name of the CalculatedMetric to delete.

Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01

Returns
Type Description
string

setName

Required. The name of the CalculatedMetric to delete.

Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the CalculatedMetric to delete. Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} Example: properties/1234/calculatedMetrics/Metric01 Please see AnalyticsAdminServiceClient::calculatedMetricName() for help formatting this field.

Returns
Type Description
DeleteCalculatedMetricRequest