googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
cloud
/
AnalyticsData
/
src
/
V1beta
/
GetMetadataRequest.php
googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
cloud
/
AnalyticsData
/
src
/
V1beta
Last commit date
CohortsRange
3 years ago
DimensionExpression
3 years ago
Filter
3 years ago
Gapic
3 years ago
MetricMetadata
3 years ago
OrderBy
3 years ago
ResponseMetaData
3 years ago
resources
3 years ago
BatchRunPivotReportsRequest.php
3 years ago
BatchRunPivotReportsResponse.php
3 years ago
BatchRunReportsRequest.php
3 years ago
BatchRunReportsResponse.php
3 years ago
BetaAnalyticsDataClient.php
3 years ago
BetaAnalyticsDataGrpcClient.php
3 years ago
CheckCompatibilityRequest.php
3 years ago
CheckCompatibilityResponse.php
3 years ago
Cohort.php
3 years ago
CohortReportSettings.php
3 years ago
CohortSpec.php
3 years ago
CohortsRange.php
3 years ago
Compatibility.php
3 years ago
DateRange.php
3 years ago
Dimension.php
3 years ago
DimensionCompatibility.php
3 years ago
DimensionExpression.php
3 years ago
DimensionHeader.php
3 years ago
DimensionMetadata.php
3 years ago
DimensionValue.php
3 years ago
Filter.php
3 years ago
FilterExpression.php
3 years ago
FilterExpressionList.php
3 years ago
GetMetadataRequest.php
3 years ago
Metadata.php
3 years ago
Metric.php
3 years ago
MetricAggregation.php
3 years ago
MetricCompatibility.php
3 years ago
MetricHeader.php
3 years ago
MetricMetadata.php
3 years ago
MetricType.php
3 years ago
MetricValue.php
3 years ago
MinuteRange.php
3 years ago
NumericValue.php
3 years ago
OrderBy.php
3 years ago
Pivot.php
3 years ago
PivotDimensionHeader.php
3 years ago
PivotHeader.php
3 years ago
PropertyQuota.php
3 years ago
QuotaStatus.php
3 years ago
ResponseMetaData.php
3 years ago
RestrictedMetricType.php
3 years ago
Row.php
3 years ago
RunPivotReportRequest.php
3 years ago
RunPivotReportResponse.php
3 years ago
RunRealtimeReportRequest.php
3 years ago
RunRealtimeReportResponse.php
3 years ago
RunReportRequest.php
3 years ago
RunReportResponse.php
3 years ago
gapic_metadata.json
3 years ago
GetMetadataRequest.php
100 lines
| 1 | <?php |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: google/analytics/data/v1beta/analytics_data_api.proto |
| 4 | |
| 5 | namespace Google\Analytics\Data\V1beta; |
| 6 | |
| 7 | use Google\Protobuf\Internal\GPBType; |
| 8 | use Google\Protobuf\Internal\RepeatedField; |
| 9 | use Google\Protobuf\Internal\GPBUtil; |
| 10 | |
| 11 | /** |
| 12 | * Request for a property's dimension and metric metadata. |
| 13 | * |
| 14 | * Generated from protobuf message <code>google.analytics.data.v1beta.GetMetadataRequest</code> |
| 15 | */ |
| 16 | class GetMetadataRequest extends \Google\Protobuf\Internal\Message |
| 17 | { |
| 18 | /** |
| 19 | * Required. The resource name of the metadata to retrieve. This name field is |
| 20 | * specified in the URL path and not URL parameters. Property is a numeric |
| 21 | * Google Analytics GA4 Property identifier. To learn more, see [where to find |
| 22 | * your Property |
| 23 | * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). |
| 24 | * Example: properties/1234/metadata |
| 25 | * Set the Property ID to 0 for dimensions and metrics common to all |
| 26 | * properties. In this special mode, this method will not return custom |
| 27 | * dimensions and metrics. |
| 28 | * |
| 29 | * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> |
| 30 | */ |
| 31 | private $name = ''; |
| 32 | |
| 33 | /** |
| 34 | * Constructor. |
| 35 | * |
| 36 | * @param array $data { |
| 37 | * Optional. Data for populating the Message object. |
| 38 | * |
| 39 | * @type string $name |
| 40 | * Required. The resource name of the metadata to retrieve. This name field is |
| 41 | * specified in the URL path and not URL parameters. Property is a numeric |
| 42 | * Google Analytics GA4 Property identifier. To learn more, see [where to find |
| 43 | * your Property |
| 44 | * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). |
| 45 | * Example: properties/1234/metadata |
| 46 | * Set the Property ID to 0 for dimensions and metrics common to all |
| 47 | * properties. In this special mode, this method will not return custom |
| 48 | * dimensions and metrics. |
| 49 | * } |
| 50 | */ |
| 51 | public function __construct($data = NULL) { |
| 52 | \GPBMetadata\Google\Analytics\Data\V1Beta\AnalyticsDataApi::initOnce(); |
| 53 | parent::__construct($data); |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * Required. The resource name of the metadata to retrieve. This name field is |
| 58 | * specified in the URL path and not URL parameters. Property is a numeric |
| 59 | * Google Analytics GA4 Property identifier. To learn more, see [where to find |
| 60 | * your Property |
| 61 | * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). |
| 62 | * Example: properties/1234/metadata |
| 63 | * Set the Property ID to 0 for dimensions and metrics common to all |
| 64 | * properties. In this special mode, this method will not return custom |
| 65 | * dimensions and metrics. |
| 66 | * |
| 67 | * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> |
| 68 | * @return string |
| 69 | */ |
| 70 | public function getName() |
| 71 | { |
| 72 | return $this->name; |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | * Required. The resource name of the metadata to retrieve. This name field is |
| 77 | * specified in the URL path and not URL parameters. Property is a numeric |
| 78 | * Google Analytics GA4 Property identifier. To learn more, see [where to find |
| 79 | * your Property |
| 80 | * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). |
| 81 | * Example: properties/1234/metadata |
| 82 | * Set the Property ID to 0 for dimensions and metrics common to all |
| 83 | * properties. In this special mode, this method will not return custom |
| 84 | * dimensions and metrics. |
| 85 | * |
| 86 | * Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> |
| 87 | * @param string $var |
| 88 | * @return $this |
| 89 | */ |
| 90 | public function setName($var) |
| 91 | { |
| 92 | GPBUtil::checkString($var, True); |
| 93 | $this->name = $var; |
| 94 | |
| 95 | return $this; |
| 96 | } |
| 97 | |
| 98 | } |
| 99 | |
| 100 |