Class PropertiesResource.CustomDimensionsResource
The "customDimensions" collection of methods.
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.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(GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest, string)
Archives a CustomDimension on a property.
Declaration
public virtual PropertiesResource.CustomDimensionsResource.ArchiveRequest Archive(GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleAnalyticsAdminV1alphaArchiveCustomDimensionRequest | 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(GoogleAnalyticsAdminV1alphaCustomDimension, 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(GoogleAnalyticsAdminV1alphaCustomDimension body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleAnalyticsAdminV1alphaCustomDimension | 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(GoogleAnalyticsAdminV1alphaCustomDimension, string)
Updates a CustomDimension on a property.
Declaration
public virtual PropertiesResource.CustomDimensionsResource.PatchRequest Patch(GoogleAnalyticsAdminV1alphaCustomDimension body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleAnalyticsAdminV1alphaCustomDimension | 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 |