PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / trunk
ShareThis Dashboard for Google Analytics vtrunk
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 / MetricValue.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
MetricValue.php
76 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 * The value of a metric.
13 *
14 * Generated from protobuf message <code>google.analytics.data.v1alpha.MetricValue</code>
15 */
16 class MetricValue extends \Google\Protobuf\Internal\Message
17 {
18 protected $one_value;
19
20 /**
21 * Constructor.
22 *
23 * @param array $data {
24 * Optional. Data for populating the Message object.
25 *
26 * @type string $value
27 * Measurement value. See MetricHeader for type.
28 * }
29 */
30 public function __construct($data = NULL) {
31 \GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce();
32 parent::__construct($data);
33 }
34
35 /**
36 * Measurement value. See MetricHeader for type.
37 *
38 * Generated from protobuf field <code>string value = 4;</code>
39 * @return string
40 */
41 public function getValue()
42 {
43 return $this->readOneof(4);
44 }
45
46 public function hasValue()
47 {
48 return $this->hasOneof(4);
49 }
50
51 /**
52 * Measurement value. See MetricHeader for type.
53 *
54 * Generated from protobuf field <code>string value = 4;</code>
55 * @param string $var
56 * @return $this
57 */
58 public function setValue($var)
59 {
60 GPBUtil::checkString($var, True);
61 $this->writeOneof(4, $var);
62
63 return $this;
64 }
65
66 /**
67 * @return string
68 */
69 public function getOneValue()
70 {
71 return $this->whichOneof("one_value");
72 }
73
74 }
75
76