googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
common-protos
/
src
/
Api
/
SystemParameterRule.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
SystemParameterRule.php
127 lines
| 1 | <?php |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: google/api/system_parameter.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 | * Define a system parameter rule mapping system parameter definitions to |
| 13 | * methods. |
| 14 | * |
| 15 | * Generated from protobuf message <code>google.api.SystemParameterRule</code> |
| 16 | */ |
| 17 | class SystemParameterRule extends \Google\Protobuf\Internal\Message |
| 18 | { |
| 19 | /** |
| 20 | * Selects the methods to which this rule applies. Use '*' to indicate all |
| 21 | * methods in all APIs. |
| 22 | * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. |
| 23 | * |
| 24 | * Generated from protobuf field <code>string selector = 1;</code> |
| 25 | */ |
| 26 | private $selector = ''; |
| 27 | /** |
| 28 | * Define parameters. Multiple names may be defined for a parameter. |
| 29 | * For a given method call, only one of them should be used. If multiple |
| 30 | * names are used the behavior is implementation-dependent. |
| 31 | * If none of the specified names are present the behavior is |
| 32 | * parameter-dependent. |
| 33 | * |
| 34 | * Generated from protobuf field <code>repeated .google.api.SystemParameter parameters = 2;</code> |
| 35 | */ |
| 36 | private $parameters; |
| 37 | |
| 38 | /** |
| 39 | * Constructor. |
| 40 | * |
| 41 | * @param array $data { |
| 42 | * Optional. Data for populating the Message object. |
| 43 | * |
| 44 | * @type string $selector |
| 45 | * Selects the methods to which this rule applies. Use '*' to indicate all |
| 46 | * methods in all APIs. |
| 47 | * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. |
| 48 | * @type \Google\Api\SystemParameter[]|\Google\Protobuf\Internal\RepeatedField $parameters |
| 49 | * Define parameters. Multiple names may be defined for a parameter. |
| 50 | * For a given method call, only one of them should be used. If multiple |
| 51 | * names are used the behavior is implementation-dependent. |
| 52 | * If none of the specified names are present the behavior is |
| 53 | * parameter-dependent. |
| 54 | * } |
| 55 | */ |
| 56 | public function __construct($data = NULL) { |
| 57 | \GPBMetadata\Google\Api\SystemParameter::initOnce(); |
| 58 | parent::__construct($data); |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Selects the methods to which this rule applies. Use '*' to indicate all |
| 63 | * methods in all APIs. |
| 64 | * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. |
| 65 | * |
| 66 | * Generated from protobuf field <code>string selector = 1;</code> |
| 67 | * @return string |
| 68 | */ |
| 69 | public function getSelector() |
| 70 | { |
| 71 | return $this->selector; |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Selects the methods to which this rule applies. Use '*' to indicate all |
| 76 | * methods in all APIs. |
| 77 | * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. |
| 78 | * |
| 79 | * Generated from protobuf field <code>string selector = 1;</code> |
| 80 | * @param string $var |
| 81 | * @return $this |
| 82 | */ |
| 83 | public function setSelector($var) |
| 84 | { |
| 85 | GPBUtil::checkString($var, True); |
| 86 | $this->selector = $var; |
| 87 | |
| 88 | return $this; |
| 89 | } |
| 90 | |
| 91 | /** |
| 92 | * Define parameters. Multiple names may be defined for a parameter. |
| 93 | * For a given method call, only one of them should be used. If multiple |
| 94 | * names are used the behavior is implementation-dependent. |
| 95 | * If none of the specified names are present the behavior is |
| 96 | * parameter-dependent. |
| 97 | * |
| 98 | * Generated from protobuf field <code>repeated .google.api.SystemParameter parameters = 2;</code> |
| 99 | * @return \Google\Protobuf\Internal\RepeatedField |
| 100 | */ |
| 101 | public function getParameters() |
| 102 | { |
| 103 | return $this->parameters; |
| 104 | } |
| 105 | |
| 106 | /** |
| 107 | * Define parameters. Multiple names may be defined for a parameter. |
| 108 | * For a given method call, only one of them should be used. If multiple |
| 109 | * names are used the behavior is implementation-dependent. |
| 110 | * If none of the specified names are present the behavior is |
| 111 | * parameter-dependent. |
| 112 | * |
| 113 | * Generated from protobuf field <code>repeated .google.api.SystemParameter parameters = 2;</code> |
| 114 | * @param \Google\Api\SystemParameter[]|\Google\Protobuf\Internal\RepeatedField $var |
| 115 | * @return $this |
| 116 | */ |
| 117 | public function setParameters($var) |
| 118 | { |
| 119 | $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\SystemParameter::class); |
| 120 | $this->parameters = $arr; |
| 121 | |
| 122 | return $this; |
| 123 | } |
| 124 | |
| 125 | } |
| 126 | |
| 127 |