googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
common-protos
/
src
/
Api
/
ProjectProperties.php
googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
common-protos
/
src
/
Api
Last commit date
BackendRule
3 years ago
Billing
3 years ago
Distribution
3 years ago
Expr
3 years ago
LabelDescriptor
3 years ago
Logging
3 years ago
MetricDescriptor
3 years ago
Monitoring
3 years ago
Property
3 years ago
ResourceDescriptor
3 years ago
Advice.php
3 years ago
AuthProvider.php
3 years ago
AuthRequirement.php
3 years ago
Authentication.php
3 years ago
AuthenticationRule.php
3 years ago
Backend.php
3 years ago
BackendRule.php
3 years ago
BackendRule_PathTranslation.php
3 years ago
Billing.php
3 years ago
Billing_BillingDestination.php
3 years ago
ChangeType.php
3 years ago
ConfigChange.php
3 years ago
Context.php
3 years ago
ContextRule.php
3 years ago
Control.php
3 years ago
CustomHttpPattern.php
3 years ago
Distribution.php
3 years ago
Distribution_BucketOptions.php
3 years ago
Distribution_BucketOptions_Explicit.php
3 years ago
Distribution_BucketOptions_Exponential.php
3 years ago
Distribution_BucketOptions_Linear.php
3 years ago
Distribution_Exemplar.php
3 years ago
Distribution_Range.php
3 years ago
Documentation.php
3 years ago
DocumentationRule.php
3 years ago
Endpoint.php
3 years ago
FieldBehavior.php
3 years ago
Http.php
3 years ago
HttpBody.php
3 years ago
HttpRule.php
3 years ago
LabelDescriptor.php
3 years ago
LabelDescriptor_ValueType.php
3 years ago
LaunchStage.php
3 years ago
LogDescriptor.php
3 years ago
Logging.php
3 years ago
Logging_LoggingDestination.php
3 years ago
Metric.php
3 years ago
MetricDescriptor.php
3 years ago
MetricDescriptor_MetricDescriptorMetadata.php
3 years ago
MetricDescriptor_MetricKind.php
3 years ago
MetricDescriptor_ValueType.php
3 years ago
MetricRule.php
3 years ago
MonitoredResource.php
3 years ago
MonitoredResourceDescriptor.php
3 years ago
MonitoredResourceMetadata.php
3 years ago
Monitoring.php
3 years ago
Monitoring_MonitoringDestination.php
3 years ago
OAuthRequirements.php
3 years ago
Page.php
3 years ago
ProjectProperties.php
3 years ago
Property.php
3 years ago
Property_PropertyType.php
3 years ago
Quota.php
3 years ago
QuotaLimit.php
3 years ago
ResourceDescriptor.php
3 years ago
ResourceDescriptor_History.php
3 years ago
ResourceReference.php
3 years ago
RoutingParameter.php
3 years ago
RoutingRule.php
3 years ago
Service.php
3 years ago
SourceInfo.php
3 years ago
SystemParameter.php
3 years ago
SystemParameterRule.php
3 years ago
SystemParameters.php
3 years ago
Usage.php
3 years ago
UsageRule.php
3 years ago
ProjectProperties.php
81 lines
| 1 | <?php |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: google/api/consumer.proto |
| 4 | |
| 5 | namespace Google\Api; |
| 6 | |
| 7 | use Google\Protobuf\Internal\GPBType; |
| 8 | use Google\Protobuf\Internal\RepeatedField; |
| 9 | use Google\Protobuf\Internal\GPBUtil; |
| 10 | |
| 11 | /** |
| 12 | * A descriptor for defining project properties for a service. One service may |
| 13 | * have many consumer projects, and the service may want to behave differently |
| 14 | * depending on some properties on the project. For example, a project may be |
| 15 | * associated with a school, or a business, or a government agency, a business |
| 16 | * type property on the project may affect how a service responds to the client. |
| 17 | * This descriptor defines which properties are allowed to be set on a project. |
| 18 | * Example: |
| 19 | * project_properties: |
| 20 | * properties: |
| 21 | * - name: NO_WATERMARK |
| 22 | * type: BOOL |
| 23 | * description: Allows usage of the API without watermarks. |
| 24 | * - name: EXTENDED_TILE_CACHE_PERIOD |
| 25 | * type: INT64 |
| 26 | * |
| 27 | * Generated from protobuf message <code>google.api.ProjectProperties</code> |
| 28 | */ |
| 29 | class ProjectProperties extends \Google\Protobuf\Internal\Message |
| 30 | { |
| 31 | /** |
| 32 | * List of per consumer project-specific properties. |
| 33 | * |
| 34 | * Generated from protobuf field <code>repeated .google.api.Property properties = 1;</code> |
| 35 | */ |
| 36 | private $properties; |
| 37 | |
| 38 | /** |
| 39 | * Constructor. |
| 40 | * |
| 41 | * @param array $data { |
| 42 | * Optional. Data for populating the Message object. |
| 43 | * |
| 44 | * @type \Google\Api\Property[]|\Google\Protobuf\Internal\RepeatedField $properties |
| 45 | * List of per consumer project-specific properties. |
| 46 | * } |
| 47 | */ |
| 48 | public function __construct($data = NULL) { |
| 49 | \GPBMetadata\Google\Api\Consumer::initOnce(); |
| 50 | parent::__construct($data); |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * List of per consumer project-specific properties. |
| 55 | * |
| 56 | * Generated from protobuf field <code>repeated .google.api.Property properties = 1;</code> |
| 57 | * @return \Google\Protobuf\Internal\RepeatedField |
| 58 | */ |
| 59 | public function getProperties() |
| 60 | { |
| 61 | return $this->properties; |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | * List of per consumer project-specific properties. |
| 66 | * |
| 67 | * Generated from protobuf field <code>repeated .google.api.Property properties = 1;</code> |
| 68 | * @param \Google\Api\Property[]|\Google\Protobuf\Internal\RepeatedField $var |
| 69 | * @return $this |
| 70 | */ |
| 71 | public function setProperties($var) |
| 72 | { |
| 73 | $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\Property::class); |
| 74 | $this->properties = $arr; |
| 75 | |
| 76 | return $this; |
| 77 | } |
| 78 | |
| 79 | } |
| 80 | |
| 81 |