PropertiesCustomMetrics
class PropertiesCustomMetrics extends Resource (View source)
The "customMetrics" collection of methods.
Typical usage is:
$analyticsadminService = new Google\Service\GoogleAnalyticsAdmin(...);
$customMetrics = $analyticsadminService->properties_customMetrics;
Methods
archive(string $name, GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest $postBody, array $optParams = [])
Archives a CustomMetric on a property. (customMetrics.archive)
create(string $parent, GoogleAnalyticsAdminV1betaCustomMetric $postBody, array $optParams = [])
Creates a CustomMetric. (customMetrics.create)
get(string $name, array $optParams = [])
Lookup for a single CustomMetric. (customMetrics.get)
listPropertiesCustomMetrics(string $parent, array $optParams = [])
Lists CustomMetrics on a property.
patch(string $name, GoogleAnalyticsAdminV1betaCustomMetric $postBody, array $optParams = [])
Updates a CustomMetric on a property. (customMetrics.patch)
Details
GoogleProtobufEmpty
archive(string $name, GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest $postBody, array $optParams = [])
Archives a CustomMetric on a property. (customMetrics.archive)
GoogleAnalyticsAdminV1betaCustomMetric
create(string $parent, GoogleAnalyticsAdminV1betaCustomMetric $postBody, array $optParams = [])
Creates a CustomMetric. (customMetrics.create)
GoogleAnalyticsAdminV1betaCustomMetric
get(string $name, array $optParams = [])
Lookup for a single CustomMetric. (customMetrics.get)
GoogleAnalyticsAdminV1betaListCustomMetricsResponse
listPropertiesCustomMetrics(string $parent, array $optParams = [])
Lists CustomMetrics on a property.
(customMetrics.listPropertiesCustomMetrics)
GoogleAnalyticsAdminV1betaCustomMetric
patch(string $name, GoogleAnalyticsAdminV1betaCustomMetric $postBody, array $optParams = [])
Updates a CustomMetric on a property. (customMetrics.patch)