googleanalytics
/
lib
/
analytics-admin
/
vendor
/
google
/
common-protos
/
src
/
Api
/
SystemParameter.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
SystemParameter.php
146 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 parameter's name and location. The parameter may be passed as either |
| 13 | * an HTTP header or a URL query parameter, and if both are passed the behavior |
| 14 | * is implementation-dependent. |
| 15 | * |
| 16 | * Generated from protobuf message <code>google.api.SystemParameter</code> |
| 17 | */ |
| 18 | class SystemParameter extends \Google\Protobuf\Internal\Message |
| 19 | { |
| 20 | /** |
| 21 | * Define the name of the parameter, such as "api_key" . It is case sensitive. |
| 22 | * |
| 23 | * Generated from protobuf field <code>string name = 1;</code> |
| 24 | */ |
| 25 | private $name = ''; |
| 26 | /** |
| 27 | * Define the HTTP header name to use for the parameter. It is case |
| 28 | * insensitive. |
| 29 | * |
| 30 | * Generated from protobuf field <code>string http_header = 2;</code> |
| 31 | */ |
| 32 | private $http_header = ''; |
| 33 | /** |
| 34 | * Define the URL query parameter name to use for the parameter. It is case |
| 35 | * sensitive. |
| 36 | * |
| 37 | * Generated from protobuf field <code>string url_query_parameter = 3;</code> |
| 38 | */ |
| 39 | private $url_query_parameter = ''; |
| 40 | |
| 41 | /** |
| 42 | * Constructor. |
| 43 | * |
| 44 | * @param array $data { |
| 45 | * Optional. Data for populating the Message object. |
| 46 | * |
| 47 | * @type string $name |
| 48 | * Define the name of the parameter, such as "api_key" . It is case sensitive. |
| 49 | * @type string $http_header |
| 50 | * Define the HTTP header name to use for the parameter. It is case |
| 51 | * insensitive. |
| 52 | * @type string $url_query_parameter |
| 53 | * Define the URL query parameter name to use for the parameter. It is case |
| 54 | * sensitive. |
| 55 | * } |
| 56 | */ |
| 57 | public function __construct($data = NULL) { |
| 58 | \GPBMetadata\Google\Api\SystemParameter::initOnce(); |
| 59 | parent::__construct($data); |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * Define the name of the parameter, such as "api_key" . It is case sensitive. |
| 64 | * |
| 65 | * Generated from protobuf field <code>string name = 1;</code> |
| 66 | * @return string |
| 67 | */ |
| 68 | public function getName() |
| 69 | { |
| 70 | return $this->name; |
| 71 | } |
| 72 | |
| 73 | /** |
| 74 | * Define the name of the parameter, such as "api_key" . It is case sensitive. |
| 75 | * |
| 76 | * Generated from protobuf field <code>string name = 1;</code> |
| 77 | * @param string $var |
| 78 | * @return $this |
| 79 | */ |
| 80 | public function setName($var) |
| 81 | { |
| 82 | GPBUtil::checkString($var, True); |
| 83 | $this->name = $var; |
| 84 | |
| 85 | return $this; |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Define the HTTP header name to use for the parameter. It is case |
| 90 | * insensitive. |
| 91 | * |
| 92 | * Generated from protobuf field <code>string http_header = 2;</code> |
| 93 | * @return string |
| 94 | */ |
| 95 | public function getHttpHeader() |
| 96 | { |
| 97 | return $this->http_header; |
| 98 | } |
| 99 | |
| 100 | /** |
| 101 | * Define the HTTP header name to use for the parameter. It is case |
| 102 | * insensitive. |
| 103 | * |
| 104 | * Generated from protobuf field <code>string http_header = 2;</code> |
| 105 | * @param string $var |
| 106 | * @return $this |
| 107 | */ |
| 108 | public function setHttpHeader($var) |
| 109 | { |
| 110 | GPBUtil::checkString($var, True); |
| 111 | $this->http_header = $var; |
| 112 | |
| 113 | return $this; |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * Define the URL query parameter name to use for the parameter. It is case |
| 118 | * sensitive. |
| 119 | * |
| 120 | * Generated from protobuf field <code>string url_query_parameter = 3;</code> |
| 121 | * @return string |
| 122 | */ |
| 123 | public function getUrlQueryParameter() |
| 124 | { |
| 125 | return $this->url_query_parameter; |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * Define the URL query parameter name to use for the parameter. It is case |
| 130 | * sensitive. |
| 131 | * |
| 132 | * Generated from protobuf field <code>string url_query_parameter = 3;</code> |
| 133 | * @param string $var |
| 134 | * @return $this |
| 135 | */ |
| 136 | public function setUrlQueryParameter($var) |
| 137 | { |
| 138 | GPBUtil::checkString($var, True); |
| 139 | $this->url_query_parameter = $var; |
| 140 | |
| 141 | return $this; |
| 142 | } |
| 143 | |
| 144 | } |
| 145 | |
| 146 |