Reference documentation and code samples for the Google Analytics Admin V1beta Client class GetCustomMetricRequest.
Request message for GetCustomMetric RPC.
Generated from protobuf message google.analytics.admin.v1beta.GetCustomMetricRequest
Methods
build
Parameter | |
---|---|
Name | Description |
name |
string
Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678 Please see {@see \Google\Analytics\Admin\V1beta\AnalyticsAdminServiceClient::customMetricName()} for help formatting this field. |
Returns | |
---|---|
Type | Description |
Google\Analytics\Admin\V1beta\GetCustomMetricRequest |
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the CustomMetric to get. Example format: properties/1234/customMetrics/5678 |
getName
Required. The name of the CustomMetric to get.
Example format: properties/1234/customMetrics/5678
Returns | |
---|---|
Type | Description |
string |
setName
Required. The name of the CustomMetric to get.
Example format: properties/1234/customMetrics/5678
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |