# Google Analytics Data V1beta API - Class Google::Analytics::Data::V1beta::GetMetadataRequest (v0.4.3)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.4.3 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-GetMetadataRequest)
- [0.4.2](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/0.4.2/Google-Analytics-Data-V1beta-GetMetadataRequest)
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

    def name() -> ::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](https://developers.google.com/analytics/devguides/reporting/data/v1/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=

    def name=(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](https://developers.google.com/analytics/devguides/reporting/data/v1/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](https://developers.google.com/analytics/devguides/reporting/data/v1/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.