googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
cloud
/
AnalyticsData
/
src
/
V1alpha
/
Entity.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
Entity.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 unique identifier of the property whose events are tracked. |
| 13 | * |
| 14 | * Generated from protobuf message <code>google.analytics.data.v1alpha.Entity</code> |
| 15 | */ |
| 16 | class Entity extends \Google\Protobuf\Internal\Message |
| 17 | { |
| 18 | /** |
| 19 | * A Google Analytics GA4 property id. To learn more, see [where to find your |
| 20 | * Property |
| 21 | * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). |
| 22 | * |
| 23 | * Generated from protobuf field <code>string property_id = 1;</code> |
| 24 | */ |
| 25 | private $property_id = ''; |
| 26 | |
| 27 | /** |
| 28 | * Constructor. |
| 29 | * |
| 30 | * @param array $data { |
| 31 | * Optional. Data for populating the Message object. |
| 32 | * |
| 33 | * @type string $property_id |
| 34 | * A Google Analytics GA4 property id. To learn more, see [where to find your |
| 35 | * Property |
| 36 | * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). |
| 37 | * } |
| 38 | */ |
| 39 | public function __construct($data = NULL) { |
| 40 | \GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce(); |
| 41 | parent::__construct($data); |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * A Google Analytics GA4 property id. To learn more, see [where to find your |
| 46 | * Property |
| 47 | * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). |
| 48 | * |
| 49 | * Generated from protobuf field <code>string property_id = 1;</code> |
| 50 | * @return string |
| 51 | */ |
| 52 | public function getPropertyId() |
| 53 | { |
| 54 | return $this->property_id; |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * A Google Analytics GA4 property id. To learn more, see [where to find your |
| 59 | * Property |
| 60 | * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). |
| 61 | * |
| 62 | * Generated from protobuf field <code>string property_id = 1;</code> |
| 63 | * @param string $var |
| 64 | * @return $this |
| 65 | */ |
| 66 | public function setPropertyId($var) |
| 67 | { |
| 68 | GPBUtil::checkString($var, True); |
| 69 | $this->property_id = $var; |
| 70 | |
| 71 | return $this; |
| 72 | } |
| 73 | |
| 74 | } |
| 75 | |
| 76 |