Class ManagementResource.CustomDimensionsResource
The "customDimensions" collection of methods.
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.CustomDimensionsResource
Constructors
CustomDimensionsResource(IClientService)
Constructs a new resource.
Declaration
public CustomDimensionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
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 |
---|---|---|
string | accountId | Account ID for the custom dimension to retrieve. |
string | webPropertyId | Web property ID for the custom dimension to retrieve. |
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. |
string | accountId | Account ID for the custom dimension to create. |
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 |
---|---|---|
string | accountId | Account ID for the custom dimensions to retrieve. |
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. |
string | accountId | Account ID for the custom dimension to update. |
string | webPropertyId | Web property ID for the custom dimension to update. |
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. |
string | accountId | Account ID for the custom dimension to update. |
string | webPropertyId | Web property ID for the custom dimension to update. |
string | customDimensionId | Custom dimension ID for the custom dimension to update. |
Returns
Type | Description |
---|---|
ManagementResource.CustomDimensionsResource.UpdateRequest |