Class ManagementResource.CustomDimensionsResource.PatchRequest
Updates an existing custom dimension. This method supports patch semantics.
Inheritance
ManagementResource.CustomDimensionsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.CustomDimensionsResource.PatchRequest : AnalyticsBaseServiceRequest<CustomDimension>, IClientServiceRequest<CustomDimension>, IClientServiceRequest
Constructors
PatchRequest(IClientService, CustomDimension, string, string, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, CustomDimension body, string accountId, string webPropertyId, string customDimensionId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CustomDimension | body | |
string | accountId | |
string | webPropertyId | |
string | customDimensionId |
Properties
AccountId
Account ID for the custom dimension to update.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type | Description |
---|---|
string |
CustomDimensionId
Custom dimension ID for the custom dimension to update.
Declaration
[RequestParameter("customDimensionId", RequestParameterType.Path)]
public virtual string CustomDimensionId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.CustomDimension>.HttpMethod
IgnoreCustomDataSourceLinks
Force the update and ignore any warnings related to the custom dimension being linked to a custom data source / data set.
Declaration
[RequestParameter("ignoreCustomDataSourceLinks", RequestParameterType.Query)]
public virtual bool? IgnoreCustomDataSourceLinks { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.CustomDimension>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.CustomDimension>.RestPath
WebPropertyId
Web property ID for the custom dimension to update.
Declaration
[RequestParameter("webPropertyId", RequestParameterType.Path)]
public virtual string WebPropertyId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Analytics.v3.Data.CustomDimension>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()