Reference documentation and code samples for the Google Analytics Data V1beta API class Google::Analytics::Data::V1beta::GetMetadataRequest.
Request for a property's dimension and metric metadata.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#name
defname()->::String
Returns
(::String) — 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 GA4 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.
#name=
defname=(value)->::String
Parameter
value (::String) — 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 GA4 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.
Returns
(::String) — 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 GA4 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Analytics Data V1beta API - Class Google::Analytics::Data::V1beta::GetMetadataRequest (v0.4.3)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.3 (latest)](/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-GetMetadataRequest)\n- [0.4.2](/ruby/docs/reference/google-analytics-data-v1beta/0.4.2/Google-Analytics-Data-V1beta-GetMetadataRequest) \nReference documentation and code samples for the Google Analytics Data V1beta API class Google::Analytics::Data::V1beta::GetMetadataRequest.\n\nRequest for a property's dimension and metric metadata. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- 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 GA4 Property identifier. To learn more, see [where to find\n your Property\n ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).\n\n\n Example: properties/1234/metadata\n\n Set the Property ID to 0 for dimensions and metrics common to all\n properties. In this special mode, this method will not return custom\n dimensions and metrics.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- 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 GA4 Property identifier. To learn more, see [where to find\n your Property\n ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).\n\n\n Example: properties/1234/metadata\n\n Set the Property ID to 0 for dimensions and metrics common to all\n properties. In this special mode, this method will not return custom\ndimensions and metrics. \n**Returns**\n\n- (::String) --- 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 GA4 Property identifier. To learn more, see [where to find\n your Property\n ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).\n\n\n Example: properties/1234/metadata\n\n Set the Property ID to 0 for dimensions and metrics common to all\n properties. In this special mode, this method will not return custom\n dimensions and metrics."]]