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
Http.php
124 lines
| 1 | <?php |
| 2 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 3 | # source: google/api/http.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 | * Defines the HTTP configuration for an API service. It contains a list of |
| 13 | * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method |
| 14 | * to one or more HTTP REST API methods. |
| 15 | * |
| 16 | * Generated from protobuf message <code>google.api.Http</code> |
| 17 | */ |
| 18 | class Http extends \Google\Protobuf\Internal\Message |
| 19 | { |
| 20 | /** |
| 21 | * A list of HTTP configuration rules that apply to individual API methods. |
| 22 | * **NOTE:** All service configuration rules follow "last one wins" order. |
| 23 | * |
| 24 | * Generated from protobuf field <code>repeated .google.api.HttpRule rules = 1;</code> |
| 25 | */ |
| 26 | private $rules; |
| 27 | /** |
| 28 | * When set to true, URL path parmeters will be fully URI-decoded except in |
| 29 | * cases of single segment matches in reserved expansion, where "%2F" will be |
| 30 | * left encoded. |
| 31 | * The default behavior is to not decode RFC 6570 reserved characters in multi |
| 32 | * segment matches. |
| 33 | * |
| 34 | * Generated from protobuf field <code>bool fully_decode_reserved_expansion = 2;</code> |
| 35 | */ |
| 36 | private $fully_decode_reserved_expansion = false; |
| 37 | |
| 38 | /** |
| 39 | * Constructor. |
| 40 | * |
| 41 | * @param array $data { |
| 42 | * Optional. Data for populating the Message object. |
| 43 | * |
| 44 | * @type \Google\Api\HttpRule[]|\Google\Protobuf\Internal\RepeatedField $rules |
| 45 | * A list of HTTP configuration rules that apply to individual API methods. |
| 46 | * **NOTE:** All service configuration rules follow "last one wins" order. |
| 47 | * @type bool $fully_decode_reserved_expansion |
| 48 | * When set to true, URL path parmeters will be fully URI-decoded except in |
| 49 | * cases of single segment matches in reserved expansion, where "%2F" will be |
| 50 | * left encoded. |
| 51 | * The default behavior is to not decode RFC 6570 reserved characters in multi |
| 52 | * segment matches. |
| 53 | * } |
| 54 | */ |
| 55 | public function __construct($data = NULL) { |
| 56 | \GPBMetadata\Google\Api\Http::initOnce(); |
| 57 | parent::__construct($data); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * A list of HTTP configuration rules that apply to individual API methods. |
| 62 | * **NOTE:** All service configuration rules follow "last one wins" order. |
| 63 | * |
| 64 | * Generated from protobuf field <code>repeated .google.api.HttpRule rules = 1;</code> |
| 65 | * @return \Google\Protobuf\Internal\RepeatedField |
| 66 | */ |
| 67 | public function getRules() |
| 68 | { |
| 69 | return $this->rules; |
| 70 | } |
| 71 | |
| 72 | /** |
| 73 | * A list of HTTP configuration rules that apply to individual API methods. |
| 74 | * **NOTE:** All service configuration rules follow "last one wins" order. |
| 75 | * |
| 76 | * Generated from protobuf field <code>repeated .google.api.HttpRule rules = 1;</code> |
| 77 | * @param \Google\Api\HttpRule[]|\Google\Protobuf\Internal\RepeatedField $var |
| 78 | * @return $this |
| 79 | */ |
| 80 | public function setRules($var) |
| 81 | { |
| 82 | $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Api\HttpRule::class); |
| 83 | $this->rules = $arr; |
| 84 | |
| 85 | return $this; |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * When set to true, URL path parmeters will be fully URI-decoded except in |
| 90 | * cases of single segment matches in reserved expansion, where "%2F" will be |
| 91 | * left encoded. |
| 92 | * The default behavior is to not decode RFC 6570 reserved characters in multi |
| 93 | * segment matches. |
| 94 | * |
| 95 | * Generated from protobuf field <code>bool fully_decode_reserved_expansion = 2;</code> |
| 96 | * @return bool |
| 97 | */ |
| 98 | public function getFullyDecodeReservedExpansion() |
| 99 | { |
| 100 | return $this->fully_decode_reserved_expansion; |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * When set to true, URL path parmeters will be fully URI-decoded except in |
| 105 | * cases of single segment matches in reserved expansion, where "%2F" will be |
| 106 | * left encoded. |
| 107 | * The default behavior is to not decode RFC 6570 reserved characters in multi |
| 108 | * segment matches. |
| 109 | * |
| 110 | * Generated from protobuf field <code>bool fully_decode_reserved_expansion = 2;</code> |
| 111 | * @param bool $var |
| 112 | * @return $this |
| 113 | */ |
| 114 | public function setFullyDecodeReservedExpansion($var) |
| 115 | { |
| 116 | GPBUtil::checkBool($var); |
| 117 | $this->fully_decode_reserved_expansion = $var; |
| 118 | |
| 119 | return $this; |
| 120 | } |
| 121 | |
| 122 | } |
| 123 | |
| 124 |