Google Analytics Admin V1alpha Client - Class ArchiveCustomMetricRequest (0.8.2)

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

Request message for ArchiveCustomMetric RPC.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the CustomMetric to archive. Example format: properties/1234/customMetrics/5678

getName

Required. The name of the CustomMetric to archive.

Example format: properties/1234/customMetrics/5678

Returns
TypeDescription
string

setName

Required. The name of the CustomMetric to archive.

Example format: properties/1234/customMetrics/5678

Parameter
NameDescription
var string
Returns
TypeDescription
$this