PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 3.2.0
ShareThis Dashboard for Google Analytics v3.2.0
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / lib / analytics-admin / vendor / google / cloud / AnalyticsData / src / V1alpha / MetricHeader.php
googleanalytics / lib / analytics-admin / vendor / google / cloud / AnalyticsData / src / V1alpha Last commit date
CohortsRange 3 years ago DimensionExpression 3 years ago Filter 3 years ago Gapic 3 years ago OrderBy 3 years ago resources 3 years ago AlphaAnalyticsDataClient.php 3 years ago AlphaAnalyticsDataGrpcClient.php 3 years ago BatchRunPivotReportsRequest.php 3 years ago BatchRunPivotReportsResponse.php 3 years ago BatchRunReportsRequest.php 3 years ago BatchRunReportsResponse.php 3 years ago Cohort.php 3 years ago CohortReportSettings.php 3 years ago CohortSpec.php 3 years ago CohortsRange.php 3 years ago DateRange.php 3 years ago Dimension.php 3 years ago DimensionExpression.php 3 years ago DimensionHeader.php 3 years ago DimensionMetadata.php 3 years ago DimensionValue.php 3 years ago Entity.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 MetricHeader.php 3 years ago MetricMetadata.php 3 years ago MetricType.php 3 years ago MetricValue.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 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
MetricHeader.php
105 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: google/analytics/data/v1alpha/data.proto
4
5 namespace Google\Analytics\Data\V1alpha;
6
7 use Google\Protobuf\Internal\GPBType;
8 use Google\Protobuf\Internal\RepeatedField;
9 use Google\Protobuf\Internal\GPBUtil;
10
11 /**
12 * Describes a metric column in the report. Visible metrics requested in a
13 * report produce column entries within rows and MetricHeaders. However,
14 * metrics used exclusively within filters or expressions do not produce columns
15 * in a report; correspondingly, those metrics do not produce headers.
16 *
17 * Generated from protobuf message <code>google.analytics.data.v1alpha.MetricHeader</code>
18 */
19 class MetricHeader extends \Google\Protobuf\Internal\Message
20 {
21 /**
22 * The metric's name.
23 *
24 * Generated from protobuf field <code>string name = 1;</code>
25 */
26 private $name = '';
27 /**
28 * The metric's data type.
29 *
30 * Generated from protobuf field <code>.google.analytics.data.v1alpha.MetricType type = 2;</code>
31 */
32 private $type = 0;
33
34 /**
35 * Constructor.
36 *
37 * @param array $data {
38 * Optional. Data for populating the Message object.
39 *
40 * @type string $name
41 * The metric's name.
42 * @type int $type
43 * The metric's data type.
44 * }
45 */
46 public function __construct($data = NULL) {
47 \GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce();
48 parent::__construct($data);
49 }
50
51 /**
52 * The metric's name.
53 *
54 * Generated from protobuf field <code>string name = 1;</code>
55 * @return string
56 */
57 public function getName()
58 {
59 return $this->name;
60 }
61
62 /**
63 * The metric's name.
64 *
65 * Generated from protobuf field <code>string name = 1;</code>
66 * @param string $var
67 * @return $this
68 */
69 public function setName($var)
70 {
71 GPBUtil::checkString($var, True);
72 $this->name = $var;
73
74 return $this;
75 }
76
77 /**
78 * The metric's data type.
79 *
80 * Generated from protobuf field <code>.google.analytics.data.v1alpha.MetricType type = 2;</code>
81 * @return int
82 */
83 public function getType()
84 {
85 return $this->type;
86 }
87
88 /**
89 * The metric's data type.
90 *
91 * Generated from protobuf field <code>.google.analytics.data.v1alpha.MetricType type = 2;</code>
92 * @param int $var
93 * @return $this
94 */
95 public function setType($var)
96 {
97 GPBUtil::checkEnum($var, \Google\Analytics\Data\V1alpha\MetricType::class);
98 $this->type = $var;
99
100 return $this;
101 }
102
103 }
104
105