Class ManagementResource.CustomDimensionsResource
The "customDimensions" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class CustomDimensionsResource
Constructors
CustomDimensionsResource(IClientService)
Constructs a new resource.
Declaration
public CustomDimensionsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| Google.Apis.Services.IClientService | service |
Methods
Get(String, String, String)
Get a custom dimension to which the user has access.
Declaration
public virtual ManagementResource.CustomDimensionsResource.GetRequest Get(string accountId, string webPropertyId, string customDimensionId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | accountId | Account ID for the custom dimension to retrieve. |
| System.String | webPropertyId | Web property ID for the custom dimension to retrieve. |
| System.String | customDimensionId | The ID of the custom dimension to retrieve. |
Returns
| Type | Description |
|---|---|
| ManagementResource.CustomDimensionsResource.GetRequest |
Insert(CustomDimension, String, String)
Create a new custom dimension.
Declaration
public virtual ManagementResource.CustomDimensionsResource.InsertRequest Insert(CustomDimension body, string accountId, string webPropertyId)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomDimension | body | The body of the request. |
| System.String | accountId | Account ID for the custom dimension to create. |
| System.String | webPropertyId | Web property ID for the custom dimension to create. |
Returns
| Type | Description |
|---|---|
| ManagementResource.CustomDimensionsResource.InsertRequest |
List(String, String)
Lists custom dimensions to which the user has access.
Declaration
public virtual ManagementResource.CustomDimensionsResource.ListRequest List(string accountId, string webPropertyId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | accountId | Account ID for the custom dimensions to retrieve. |
| System.String | webPropertyId | Web property ID for the custom dimensions to retrieve. |
Returns
| Type | Description |
|---|---|
| ManagementResource.CustomDimensionsResource.ListRequest |
Patch(CustomDimension, String, String, String)
Updates an existing custom dimension. This method supports patch semantics.
Declaration
public virtual ManagementResource.CustomDimensionsResource.PatchRequest Patch(CustomDimension body, string accountId, string webPropertyId, string customDimensionId)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomDimension | body | The body of the request. |
| System.String | accountId | Account ID for the custom dimension to update. |
| System.String | webPropertyId | Web property ID for the custom dimension to update. |
| System.String | customDimensionId | Custom dimension ID for the custom dimension to update. |
Returns
| Type | Description |
|---|---|
| ManagementResource.CustomDimensionsResource.PatchRequest |
Update(CustomDimension, String, String, String)
Updates an existing custom dimension.
Declaration
public virtual ManagementResource.CustomDimensionsResource.UpdateRequest Update(CustomDimension body, string accountId, string webPropertyId, string customDimensionId)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomDimension | body | The body of the request. |
| System.String | accountId | Account ID for the custom dimension to update. |
| System.String | webPropertyId | Web property ID for the custom dimension to update. |
| System.String | customDimensionId | Custom dimension ID for the custom dimension to update. |
Returns
| Type | Description |
|---|---|
| ManagementResource.CustomDimensionsResource.UpdateRequest |