googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
cloud
/
AnalyticsData
/
src
/
V1alpha
/
PivotDimensionHeader.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
PivotDimensionHeader.php
68 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 | * Summarizes dimension values from a row for this pivot. |
| 13 | * |
| 14 | * Generated from protobuf message <code>google.analytics.data.v1alpha.PivotDimensionHeader</code> |
| 15 | */ |
| 16 | class PivotDimensionHeader extends \Google\Protobuf\Internal\Message |
| 17 | { |
| 18 | /** |
| 19 | * Values of multiple dimensions in a pivot. |
| 20 | * |
| 21 | * Generated from protobuf field <code>repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1;</code> |
| 22 | */ |
| 23 | private $dimension_values; |
| 24 | |
| 25 | /** |
| 26 | * Constructor. |
| 27 | * |
| 28 | * @param array $data { |
| 29 | * Optional. Data for populating the Message object. |
| 30 | * |
| 31 | * @type \Google\Analytics\Data\V1alpha\DimensionValue[]|\Google\Protobuf\Internal\RepeatedField $dimension_values |
| 32 | * Values of multiple dimensions in a pivot. |
| 33 | * } |
| 34 | */ |
| 35 | public function __construct($data = NULL) { |
| 36 | \GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); |
| 37 | parent::__construct($data); |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Values of multiple dimensions in a pivot. |
| 42 | * |
| 43 | * Generated from protobuf field <code>repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1;</code> |
| 44 | * @return \Google\Protobuf\Internal\RepeatedField |
| 45 | */ |
| 46 | public function getDimensionValues() |
| 47 | { |
| 48 | return $this->dimension_values; |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * Values of multiple dimensions in a pivot. |
| 53 | * |
| 54 | * Generated from protobuf field <code>repeated .google.analytics.data.v1alpha.DimensionValue dimension_values = 1;</code> |
| 55 | * @param \Google\Analytics\Data\V1alpha\DimensionValue[]|\Google\Protobuf\Internal\RepeatedField $var |
| 56 | * @return $this |
| 57 | */ |
| 58 | public function setDimensionValues($var) |
| 59 | { |
| 60 | $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Data\V1alpha\DimensionValue::class); |
| 61 | $this->dimension_values = $arr; |
| 62 | |
| 63 | return $this; |
| 64 | } |
| 65 | |
| 66 | } |
| 67 | |
| 68 |