Class PropertiesResource.GetMetadataRequest
Returns metadata for dimensions and metrics available in reporting methods. Used to explore the dimensions
and metrics. In this method, a Google Analytics property identifier is specified in the request, and the
metadata response includes Custom dimensions and metrics as well as Universal metadata. For example if a
custom metric with parameter name levels_unlocked
is registered to a property, the Metadata response will
contain customEvent:levels_unlocked
. Universal metadata are dimensions and metrics applicable to any
property such as country
and totalUsers
.
Inheritance
Inherited Members
Namespace: Google.Apis.AnalyticsData.v1beta
Assembly: Google.Apis.AnalyticsData.v1beta.dll
Syntax
public class PropertiesResource.GetMetadataRequest : AnalyticsDataBaseServiceRequest<Metadata>, IClientServiceRequest<Metadata>, IClientServiceRequest
Constructors
GetMetadataRequest(IClientService, string)
Constructs a new GetMetadata request.
Declaration
public GetMetadataRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The resource name of the metadata to retrieve. This name field is specified in the URL path and not URL parameters. Property is a numeric Google Analytics property identifier. To learn more, see where to find your Property ID. Example: properties/1234/metadata Set the Property ID to 0 for dimensions and metrics common to all properties. In this special mode, this method will not return custom dimensions and metrics.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GetMetadata parameter list.
Declaration
protected override void InitParameters()