Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<Metadata>
AnalyticsDataBaseServiceRequest<Metadata>
PropertiesResource.GetMetadataRequest
Implements
IClientServiceRequest<Metadata>
IClientServiceRequest
Inherited Members
AnalyticsDataBaseServiceRequest<Metadata>.Xgafv
AnalyticsDataBaseServiceRequest<Metadata>.AccessToken
AnalyticsDataBaseServiceRequest<Metadata>.Alt
AnalyticsDataBaseServiceRequest<Metadata>.Callback
AnalyticsDataBaseServiceRequest<Metadata>.Fields
AnalyticsDataBaseServiceRequest<Metadata>.Key
AnalyticsDataBaseServiceRequest<Metadata>.OauthToken
AnalyticsDataBaseServiceRequest<Metadata>.PrettyPrint
AnalyticsDataBaseServiceRequest<Metadata>.QuotaUser
AnalyticsDataBaseServiceRequest<Metadata>.UploadType
AnalyticsDataBaseServiceRequest<Metadata>.UploadProtocol
ClientServiceRequest<Metadata>.Execute()
ClientServiceRequest<Metadata>.ExecuteAsStream()
ClientServiceRequest<Metadata>.ExecuteAsync()
ClientServiceRequest<Metadata>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Metadata>.ExecuteAsStreamAsync()
ClientServiceRequest<Metadata>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Metadata>.CreateRequest(bool?)
ClientServiceRequest<Metadata>.GenerateRequestUri()
ClientServiceRequest<Metadata>.GetBody()
ClientServiceRequest<Metadata>.GetDefaultETagAction(string)
ClientServiceRequest<Metadata>.ETagAction
ClientServiceRequest<Metadata>.ModifyRequest
ClientServiceRequest<Metadata>.ValidateParameters
ClientServiceRequest<Metadata>.ApiVersion
ClientServiceRequest<Metadata>.RequestParameters
ClientServiceRequest<Metadata>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<Metadata>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Metadata>.MethodName

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
ClientServiceRequest<Metadata>.RestPath

Methods

InitParameters()

Initializes GetMetadata parameter list.

Declaration
protected override void InitParameters()
Overrides
AnalyticsDataBaseServiceRequest<Metadata>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX