Class ManagementResource.CustomMetricsResource.GetRequest
Get a custom metric to which the user has access.
Inheritance
ManagementResource.CustomMetricsResource.GetRequest
Inherited Members
Namespace: Google.Apis.Analytics.v3
Assembly: Google.Apis.Analytics.v3.dll
Syntax
public class ManagementResource.CustomMetricsResource.GetRequest : AnalyticsBaseServiceRequest<CustomMetric>, IClientServiceRequest<CustomMetric>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string accountId, string webPropertyId, string customMetricId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | accountId | |
string | webPropertyId | |
string | customMetricId |
Properties
AccountId
Account ID for the custom metric to retrieve.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type | Description |
---|---|
string |
CustomMetricId
The ID of the custom metric to retrieve.
Declaration
[RequestParameter("customMetricId", RequestParameterType.Path)]
public virtual string CustomMetricId { 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.CustomMetric>.HttpMethod
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.CustomMetric>.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.CustomMetric>.RestPath
WebPropertyId
Web property ID for the custom metric to retrieve.
Declaration
[RequestParameter("webPropertyId", RequestParameterType.Path)]
public virtual string WebPropertyId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()