Show / Hide Table of Contents

Class PropertiesResource.CustomDimensionsResource

The "customDimensions" collection of methods.

Inheritance
object
PropertiesResource.CustomDimensionsResource
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.CustomDimensionsResource

Constructors

CustomDimensionsResource(IClientService)

Constructs a new resource.

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

Methods

Archive(GoogleAnalyticsAdminV1betaArchiveCustomDimensionRequest, string)

Archives a CustomDimension on a property.

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

The body of the request.

string name

Required. The name of the CustomDimension to archive. Example format: properties/1234/customDimensions/5678

Returns
Type Description
PropertiesResource.CustomDimensionsResource.ArchiveRequest

Create(GoogleAnalyticsAdminV1betaCustomDimension, string)

Creates a CustomDimension. Warning: It's not permissible to use this method to collect data on individual users. In particular, sending user IDs in custom dimensions violates the Google Analytics Terms of Service.

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

The body of the request.

string parent

Required. Example format: properties/1234

Returns
Type Description
PropertiesResource.CustomDimensionsResource.CreateRequest

Get(string)

Lookup for a single CustomDimension.

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

Required. The name of the CustomDimension to get. Example format: properties/1234/customDimensions/5678

Returns
Type Description
PropertiesResource.CustomDimensionsResource.GetRequest

List(string)

Lists CustomDimensions on a property.

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

Required. Example format: properties/1234

Returns
Type Description
PropertiesResource.CustomDimensionsResource.ListRequest

Patch(GoogleAnalyticsAdminV1betaCustomDimension, string)

Updates a CustomDimension on a property.

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

The body of the request.

string name

Identifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension}

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