Show / Hide Table of Contents

Class PropertiesResource.CustomMetricsResource

The "customMetrics" collection of methods.

Inheritance
object
PropertiesResource.CustomMetricsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1beta
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1beta.dll
Syntax
public class PropertiesResource.CustomMetricsResource

Constructors

CustomMetricsResource(IClientService)

Constructs a new resource.

Declaration
public CustomMetricsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Archive(GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest, string)

Archives a CustomMetric on a property.

Declaration
public virtual PropertiesResource.CustomMetricsResource.ArchiveRequest Archive(GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest body, string name)
Parameters
Type Name Description
GoogleAnalyticsAdminV1betaArchiveCustomMetricRequest body

The body of the request.

string name

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

Returns
Type Description
PropertiesResource.CustomMetricsResource.ArchiveRequest

Create(GoogleAnalyticsAdminV1betaCustomMetric, string)

Creates a CustomMetric.

Declaration
public virtual PropertiesResource.CustomMetricsResource.CreateRequest Create(GoogleAnalyticsAdminV1betaCustomMetric body, string parent)
Parameters
Type Name Description
GoogleAnalyticsAdminV1betaCustomMetric body

The body of the request.

string parent

Required. Example format: properties/1234

Returns
Type Description
PropertiesResource.CustomMetricsResource.CreateRequest

Get(string)

Lookup for a single CustomMetric.

Declaration
public virtual PropertiesResource.CustomMetricsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

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

Returns
Type Description
PropertiesResource.CustomMetricsResource.GetRequest

List(string)

Lists CustomMetrics on a property.

Declaration
public virtual PropertiesResource.CustomMetricsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Example format: properties/1234

Returns
Type Description
PropertiesResource.CustomMetricsResource.ListRequest

Patch(GoogleAnalyticsAdminV1betaCustomMetric, string)

Updates a CustomMetric on a property.

Declaration
public virtual PropertiesResource.CustomMetricsResource.PatchRequest Patch(GoogleAnalyticsAdminV1betaCustomMetric body, string name)
Parameters
Type Name Description
GoogleAnalyticsAdminV1betaCustomMetric body

The body of the request.

string name

Output only. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric}

Returns
Type Description
PropertiesResource.CustomMetricsResource.PatchRequest
In this article
Back to top Generated by DocFX