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
Control.php
74 lines
| 1 | <?php |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: google/api/control.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 | * Selects and configures the service controller used by the service. The |
| 13 | * service controller handles features like abuse, quota, billing, logging, |
| 14 | * monitoring, etc. |
| 15 | * |
| 16 | * Generated from protobuf message <code>google.api.Control</code> |
| 17 | */ |
| 18 | class Control extends \Google\Protobuf\Internal\Message |
| 19 | { |
| 20 | /** |
| 21 | * The service control environment to use. If empty, no control plane |
| 22 | * feature (like quota and billing) will be enabled. |
| 23 | * |
| 24 | * Generated from protobuf field <code>string environment = 1;</code> |
| 25 | */ |
| 26 | private $environment = ''; |
| 27 | |
| 28 | /** |
| 29 | * Constructor. |
| 30 | * |
| 31 | * @param array $data { |
| 32 | * Optional. Data for populating the Message object. |
| 33 | * |
| 34 | * @type string $environment |
| 35 | * The service control environment to use. If empty, no control plane |
| 36 | * feature (like quota and billing) will be enabled. |
| 37 | * } |
| 38 | */ |
| 39 | public function __construct($data = NULL) { |
| 40 | \GPBMetadata\Google\Api\Control::initOnce(); |
| 41 | parent::__construct($data); |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * The service control environment to use. If empty, no control plane |
| 46 | * feature (like quota and billing) will be enabled. |
| 47 | * |
| 48 | * Generated from protobuf field <code>string environment = 1;</code> |
| 49 | * @return string |
| 50 | */ |
| 51 | public function getEnvironment() |
| 52 | { |
| 53 | return $this->environment; |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * The service control environment to use. If empty, no control plane |
| 58 | * feature (like quota and billing) will be enabled. |
| 59 | * |
| 60 | * Generated from protobuf field <code>string environment = 1;</code> |
| 61 | * @param string $var |
| 62 | * @return $this |
| 63 | */ |
| 64 | public function setEnvironment($var) |
| 65 | { |
| 66 | GPBUtil::checkString($var, True); |
| 67 | $this->environment = $var; |
| 68 | |
| 69 | return $this; |
| 70 | } |
| 71 | |
| 72 | } |
| 73 | |
| 74 |