update lock clucknut
All checks were successful
All checks were successful
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Generated advice about this change, used for providing more
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Configuration for an authentication provider, including support for
|
||||
@@ -30,7 +30,7 @@ class AuthProvider extends \Google\Protobuf\Internal\Message
|
||||
* https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
|
||||
* Usually a URL or an email address.
|
||||
* Example: https://securetoken.google.com
|
||||
* Example: 1234567-compute@developer.gserviceaccount.com
|
||||
* Example: 1234567-compute\@developer.gserviceaccount.com
|
||||
*
|
||||
* Generated from protobuf field <code>string issuer = 2;</code>
|
||||
*/
|
||||
@@ -114,7 +114,7 @@ class AuthProvider extends \Google\Protobuf\Internal\Message
|
||||
* https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
|
||||
* Usually a URL or an email address.
|
||||
* Example: https://securetoken.google.com
|
||||
* Example: 1234567-compute@developer.gserviceaccount.com
|
||||
* Example: 1234567-compute\@developer.gserviceaccount.com
|
||||
* @type string $jwks_uri
|
||||
* URL of the provider's public key set to validate signature of the JWT. See
|
||||
* [OpenID
|
||||
@@ -146,7 +146,7 @@ class AuthProvider extends \Google\Protobuf\Internal\Message
|
||||
* @type string $authorization_url
|
||||
* Redirect URL if JWT token is required but not present or is expired.
|
||||
* Implement authorizationUrl of securityDefinitions in OpenAPI spec.
|
||||
* @type array<\Google\Api\JwtLocation>|\Google\Protobuf\Internal\RepeatedField $jwt_locations
|
||||
* @type \Google\Api\JwtLocation[] $jwt_locations
|
||||
* Defines the locations to extract the JWT. For now it is only used by the
|
||||
* Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations]
|
||||
* (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations)
|
||||
@@ -204,7 +204,7 @@ public function setId($var)
|
||||
* https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
|
||||
* Usually a URL or an email address.
|
||||
* Example: https://securetoken.google.com
|
||||
* Example: 1234567-compute@developer.gserviceaccount.com
|
||||
* Example: 1234567-compute\@developer.gserviceaccount.com
|
||||
*
|
||||
* Generated from protobuf field <code>string issuer = 2;</code>
|
||||
* @return string
|
||||
@@ -219,7 +219,7 @@ public function getIssuer()
|
||||
* https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
|
||||
* Usually a URL or an email address.
|
||||
* Example: https://securetoken.google.com
|
||||
* Example: 1234567-compute@developer.gserviceaccount.com
|
||||
* Example: 1234567-compute\@developer.gserviceaccount.com
|
||||
*
|
||||
* Generated from protobuf field <code>string issuer = 2;</code>
|
||||
* @param string $var
|
||||
@@ -379,7 +379,7 @@ public function setAuthorizationUrl($var)
|
||||
* - query: access_token
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.JwtLocation jwt_locations = 6;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\JwtLocation>
|
||||
*/
|
||||
public function getJwtLocations()
|
||||
{
|
||||
@@ -404,7 +404,7 @@ public function getJwtLocations()
|
||||
* - query: access_token
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.JwtLocation jwt_locations = 6;</code>
|
||||
* @param array<\Google\Api\JwtLocation>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\JwtLocation[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setJwtLocations($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* User-defined authentication requirements, including support for
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `Authentication` defines the authentication configuration for API methods
|
||||
@@ -50,10 +50,10 @@ class Authentication extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\AuthenticationRule>|\Google\Protobuf\Internal\RepeatedField $rules
|
||||
* @type \Google\Api\AuthenticationRule[] $rules
|
||||
* A list of authentication rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
* @type array<\Google\Api\AuthProvider>|\Google\Protobuf\Internal\RepeatedField $providers
|
||||
* @type \Google\Api\AuthProvider[] $providers
|
||||
* Defines a set of authentication providers that a service supports.
|
||||
* }
|
||||
*/
|
||||
@@ -67,7 +67,7 @@ public function __construct($data = NULL) {
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthenticationRule rules = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\AuthenticationRule>
|
||||
*/
|
||||
public function getRules()
|
||||
{
|
||||
@@ -79,7 +79,7 @@ public function getRules()
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthenticationRule rules = 3;</code>
|
||||
* @param array<\Google\Api\AuthenticationRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\AuthenticationRule[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRules($var)
|
||||
@@ -94,7 +94,7 @@ public function setRules($var)
|
||||
* Defines a set of authentication providers that a service supports.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthProvider providers = 4;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\AuthProvider>
|
||||
*/
|
||||
public function getProviders()
|
||||
{
|
||||
@@ -105,7 +105,7 @@ public function getProviders()
|
||||
* Defines a set of authentication providers that a service supports.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthProvider providers = 4;</code>
|
||||
* @param array<\Google\Api\AuthProvider>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\AuthProvider[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setProviders($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Authentication rules for the service.
|
||||
@@ -64,7 +64,7 @@ class AuthenticationRule extends \Google\Protobuf\Internal\Message
|
||||
* @type bool $allow_without_credential
|
||||
* If true, the service accepts API keys without any other credential.
|
||||
* This flag only applies to HTTP and gRPC requests.
|
||||
* @type array<\Google\Api\AuthRequirement>|\Google\Protobuf\Internal\RepeatedField $requirements
|
||||
* @type \Google\Api\AuthRequirement[] $requirements
|
||||
* Requirements for additional authentication providers.
|
||||
* }
|
||||
*/
|
||||
@@ -171,7 +171,7 @@ public function setAllowWithoutCredential($var)
|
||||
* Requirements for additional authentication providers.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthRequirement requirements = 7;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\AuthRequirement>
|
||||
*/
|
||||
public function getRequirements()
|
||||
{
|
||||
@@ -182,7 +182,7 @@ public function getRequirements()
|
||||
* Requirements for additional authentication providers.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.AuthRequirement requirements = 7;</code>
|
||||
* @param array<\Google\Api\AuthRequirement>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\AuthRequirement[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRequirements($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `Backend` defines the backend configuration for a service.
|
||||
@@ -29,7 +29,7 @@ class Backend extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\BackendRule>|\Google\Protobuf\Internal\RepeatedField $rules
|
||||
* @type \Google\Api\BackendRule[] $rules
|
||||
* A list of API backend rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
* }
|
||||
@@ -44,7 +44,7 @@ public function __construct($data = NULL) {
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.BackendRule rules = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\BackendRule>
|
||||
*/
|
||||
public function getRules()
|
||||
{
|
||||
@@ -56,7 +56,7 @@ public function getRules()
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.BackendRule rules = 1;</code>
|
||||
* @param array<\Google\Api\BackendRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\BackendRule[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRules($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* A backend rule provides configuration for an individual API element.
|
||||
@@ -65,6 +65,11 @@ class BackendRule extends \Google\Protobuf\Internal\Message
|
||||
*/
|
||||
protected $operation_deadline = 0.0;
|
||||
/**
|
||||
* Path translation specifies how to combine the backend address with the
|
||||
* request path in order to produce the appropriate forwarding URL for the
|
||||
* request. See [PathTranslation][google.api.BackendRule.PathTranslation] for
|
||||
* more details.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.BackendRule.PathTranslation path_translation = 6;</code>
|
||||
*/
|
||||
protected $path_translation = 0;
|
||||
@@ -95,6 +100,15 @@ class BackendRule extends \Google\Protobuf\Internal\Message
|
||||
* Generated from protobuf field <code>map<string, .google.api.BackendRule> overrides_by_request_protocol = 10;</code>
|
||||
*/
|
||||
private $overrides_by_request_protocol;
|
||||
/**
|
||||
* The load balancing policy used for connection to the application backend.
|
||||
* Defined as an arbitrary string to accomondate custom load balancing
|
||||
* policies supported by the underlying channel, but suggest most users use
|
||||
* one of the standard policies, such as the default, "RoundRobin".
|
||||
*
|
||||
* Generated from protobuf field <code>string load_balancing_policy = 11;</code>
|
||||
*/
|
||||
protected $load_balancing_policy = '';
|
||||
protected $authentication;
|
||||
|
||||
/**
|
||||
@@ -132,6 +146,10 @@ class BackendRule extends \Google\Protobuf\Internal\Message
|
||||
* The number of seconds to wait for the completion of a long running
|
||||
* operation. The default is no deadline.
|
||||
* @type int $path_translation
|
||||
* Path translation specifies how to combine the backend address with the
|
||||
* request path in order to produce the appropriate forwarding URL for the
|
||||
* request. See [PathTranslation][google.api.BackendRule.PathTranslation] for
|
||||
* more details.
|
||||
* @type string $jwt_audience
|
||||
* The JWT audience is used when generating a JWT ID token for the backend.
|
||||
* This ID token will be added in the HTTP "authorization" header, and sent
|
||||
@@ -160,6 +178,11 @@ class BackendRule extends \Google\Protobuf\Internal\Message
|
||||
* for more details on the supported values.
|
||||
* @type array|\Google\Protobuf\Internal\MapField $overrides_by_request_protocol
|
||||
* The map between request protocol and the backend address.
|
||||
* @type string $load_balancing_policy
|
||||
* The load balancing policy used for connection to the application backend.
|
||||
* Defined as an arbitrary string to accomondate custom load balancing
|
||||
* policies supported by the underlying channel, but suggest most users use
|
||||
* one of the standard policies, such as the default, "RoundRobin".
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
@@ -340,6 +363,11 @@ public function setOperationDeadline($var)
|
||||
}
|
||||
|
||||
/**
|
||||
* Path translation specifies how to combine the backend address with the
|
||||
* request path in order to produce the appropriate forwarding URL for the
|
||||
* request. See [PathTranslation][google.api.BackendRule.PathTranslation] for
|
||||
* more details.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.BackendRule.PathTranslation path_translation = 6;</code>
|
||||
* @return int
|
||||
*/
|
||||
@@ -349,6 +377,11 @@ public function getPathTranslation()
|
||||
}
|
||||
|
||||
/**
|
||||
* Path translation specifies how to combine the backend address with the
|
||||
* request path in order to produce the appropriate forwarding URL for the
|
||||
* request. See [PathTranslation][google.api.BackendRule.PathTranslation] for
|
||||
* more details.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.BackendRule.PathTranslation path_translation = 6;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
@@ -515,6 +548,38 @@ public function setOverridesByRequestProtocol($var)
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The load balancing policy used for connection to the application backend.
|
||||
* Defined as an arbitrary string to accomondate custom load balancing
|
||||
* policies supported by the underlying channel, but suggest most users use
|
||||
* one of the standard policies, such as the default, "RoundRobin".
|
||||
*
|
||||
* Generated from protobuf field <code>string load_balancing_policy = 11;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getLoadBalancingPolicy()
|
||||
{
|
||||
return $this->load_balancing_policy;
|
||||
}
|
||||
|
||||
/**
|
||||
* The load balancing policy used for connection to the application backend.
|
||||
* Defined as an arbitrary string to accomondate custom load balancing
|
||||
* policies supported by the underlying channel, but suggest most users use
|
||||
* one of the standard policies, such as the default, "RoundRobin".
|
||||
*
|
||||
* Generated from protobuf field <code>string load_balancing_policy = 11;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLoadBalancingPolicy($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->load_balancing_policy = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
||||
@@ -90,4 +90,3 @@ public static function value($name)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
121
vendor/google/common-protos/src/Api/BatchingConfigProto.php
vendored
Normal file
121
vendor/google/common-protos/src/Api/BatchingConfigProto.php
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/client.proto
|
||||
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `BatchingConfigProto` defines the batching configuration for an API method.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.BatchingConfigProto</code>
|
||||
*/
|
||||
class BatchingConfigProto extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The thresholds which trigger a batched request to be sent.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.BatchingSettingsProto thresholds = 1;</code>
|
||||
*/
|
||||
protected $thresholds = null;
|
||||
/**
|
||||
* The request and response fields used in batching.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.BatchingDescriptorProto batch_descriptor = 2;</code>
|
||||
*/
|
||||
protected $batch_descriptor = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type \Google\Api\BatchingSettingsProto $thresholds
|
||||
* The thresholds which trigger a batched request to be sent.
|
||||
* @type \Google\Api\BatchingDescriptorProto $batch_descriptor
|
||||
* The request and response fields used in batching.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Google\Api\Client::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* The thresholds which trigger a batched request to be sent.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.BatchingSettingsProto thresholds = 1;</code>
|
||||
* @return \Google\Api\BatchingSettingsProto|null
|
||||
*/
|
||||
public function getThresholds()
|
||||
{
|
||||
return $this->thresholds;
|
||||
}
|
||||
|
||||
public function hasThresholds()
|
||||
{
|
||||
return isset($this->thresholds);
|
||||
}
|
||||
|
||||
public function clearThresholds()
|
||||
{
|
||||
unset($this->thresholds);
|
||||
}
|
||||
|
||||
/**
|
||||
* The thresholds which trigger a batched request to be sent.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.BatchingSettingsProto thresholds = 1;</code>
|
||||
* @param \Google\Api\BatchingSettingsProto $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setThresholds($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Api\BatchingSettingsProto::class);
|
||||
$this->thresholds = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The request and response fields used in batching.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.BatchingDescriptorProto batch_descriptor = 2;</code>
|
||||
* @return \Google\Api\BatchingDescriptorProto|null
|
||||
*/
|
||||
public function getBatchDescriptor()
|
||||
{
|
||||
return $this->batch_descriptor;
|
||||
}
|
||||
|
||||
public function hasBatchDescriptor()
|
||||
{
|
||||
return isset($this->batch_descriptor);
|
||||
}
|
||||
|
||||
public function clearBatchDescriptor()
|
||||
{
|
||||
unset($this->batch_descriptor);
|
||||
}
|
||||
|
||||
/**
|
||||
* The request and response fields used in batching.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.BatchingDescriptorProto batch_descriptor = 2;</code>
|
||||
* @param \Google\Api\BatchingDescriptorProto $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setBatchDescriptor($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Api\BatchingDescriptorProto::class);
|
||||
$this->batch_descriptor = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
157
vendor/google/common-protos/src/Api/BatchingDescriptorProto.php
vendored
Normal file
157
vendor/google/common-protos/src/Api/BatchingDescriptorProto.php
vendored
Normal file
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/client.proto
|
||||
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `BatchingDescriptorProto` specifies the fields of the request message to be
|
||||
* used for batching, and, optionally, the fields of the response message to be
|
||||
* used for demultiplexing.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.BatchingDescriptorProto</code>
|
||||
*/
|
||||
class BatchingDescriptorProto extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The repeated field in the request message to be aggregated by batching.
|
||||
*
|
||||
* Generated from protobuf field <code>string batched_field = 1;</code>
|
||||
*/
|
||||
protected $batched_field = '';
|
||||
/**
|
||||
* A list of the fields in the request message. Two requests will be batched
|
||||
* together only if the values of every field specified in
|
||||
* `request_discriminator_fields` is equal between the two requests.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string discriminator_fields = 2;</code>
|
||||
*/
|
||||
private $discriminator_fields;
|
||||
/**
|
||||
* Optional. When present, indicates the field in the response message to be
|
||||
* used to demultiplex the response into multiple response messages, in
|
||||
* correspondence with the multiple request messages originally batched
|
||||
* together.
|
||||
*
|
||||
* Generated from protobuf field <code>string subresponse_field = 3;</code>
|
||||
*/
|
||||
protected $subresponse_field = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type string $batched_field
|
||||
* The repeated field in the request message to be aggregated by batching.
|
||||
* @type string[] $discriminator_fields
|
||||
* A list of the fields in the request message. Two requests will be batched
|
||||
* together only if the values of every field specified in
|
||||
* `request_discriminator_fields` is equal between the two requests.
|
||||
* @type string $subresponse_field
|
||||
* Optional. When present, indicates the field in the response message to be
|
||||
* used to demultiplex the response into multiple response messages, in
|
||||
* correspondence with the multiple request messages originally batched
|
||||
* together.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Google\Api\Client::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* The repeated field in the request message to be aggregated by batching.
|
||||
*
|
||||
* Generated from protobuf field <code>string batched_field = 1;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getBatchedField()
|
||||
{
|
||||
return $this->batched_field;
|
||||
}
|
||||
|
||||
/**
|
||||
* The repeated field in the request message to be aggregated by batching.
|
||||
*
|
||||
* Generated from protobuf field <code>string batched_field = 1;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setBatchedField($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->batched_field = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* A list of the fields in the request message. Two requests will be batched
|
||||
* together only if the values of every field specified in
|
||||
* `request_discriminator_fields` is equal between the two requests.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string discriminator_fields = 2;</code>
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getDiscriminatorFields()
|
||||
{
|
||||
return $this->discriminator_fields;
|
||||
}
|
||||
|
||||
/**
|
||||
* A list of the fields in the request message. Two requests will be batched
|
||||
* together only if the values of every field specified in
|
||||
* `request_discriminator_fields` is equal between the two requests.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string discriminator_fields = 2;</code>
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDiscriminatorFields($var)
|
||||
{
|
||||
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
|
||||
$this->discriminator_fields = $arr;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Optional. When present, indicates the field in the response message to be
|
||||
* used to demultiplex the response into multiple response messages, in
|
||||
* correspondence with the multiple request messages originally batched
|
||||
* together.
|
||||
*
|
||||
* Generated from protobuf field <code>string subresponse_field = 3;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getSubresponseField()
|
||||
{
|
||||
return $this->subresponse_field;
|
||||
}
|
||||
|
||||
/**
|
||||
* Optional. When present, indicates the field in the response message to be
|
||||
* used to demultiplex the response into multiple response messages, in
|
||||
* correspondence with the multiple request messages originally batched
|
||||
* together.
|
||||
*
|
||||
* Generated from protobuf field <code>string subresponse_field = 3;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSubresponseField($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->subresponse_field = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
337
vendor/google/common-protos/src/Api/BatchingSettingsProto.php
vendored
Normal file
337
vendor/google/common-protos/src/Api/BatchingSettingsProto.php
vendored
Normal file
@@ -0,0 +1,337 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/client.proto
|
||||
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `BatchingSettingsProto` specifies a set of batching thresholds, each of
|
||||
* which acts as a trigger to send a batch of messages as a request. At least
|
||||
* one threshold must be positive nonzero.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.BatchingSettingsProto</code>
|
||||
*/
|
||||
class BatchingSettingsProto extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The number of elements of a field collected into a batch which, if
|
||||
* exceeded, causes the batch to be sent.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 element_count_threshold = 1;</code>
|
||||
*/
|
||||
protected $element_count_threshold = 0;
|
||||
/**
|
||||
* The aggregated size of the batched field which, if exceeded, causes the
|
||||
* batch to be sent. This size is computed by aggregating the sizes of the
|
||||
* request field to be batched, not of the entire request message.
|
||||
*
|
||||
* Generated from protobuf field <code>int64 request_byte_threshold = 2;</code>
|
||||
*/
|
||||
protected $request_byte_threshold = 0;
|
||||
/**
|
||||
* The duration after which a batch should be sent, starting from the addition
|
||||
* of the first message to that batch.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Duration delay_threshold = 3;</code>
|
||||
*/
|
||||
protected $delay_threshold = null;
|
||||
/**
|
||||
* The maximum number of elements collected in a batch that could be accepted
|
||||
* by server.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 element_count_limit = 4;</code>
|
||||
*/
|
||||
protected $element_count_limit = 0;
|
||||
/**
|
||||
* The maximum size of the request that could be accepted by server.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 request_byte_limit = 5;</code>
|
||||
*/
|
||||
protected $request_byte_limit = 0;
|
||||
/**
|
||||
* The maximum number of elements allowed by flow control.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 flow_control_element_limit = 6;</code>
|
||||
*/
|
||||
protected $flow_control_element_limit = 0;
|
||||
/**
|
||||
* The maximum size of data allowed by flow control.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 flow_control_byte_limit = 7;</code>
|
||||
*/
|
||||
protected $flow_control_byte_limit = 0;
|
||||
/**
|
||||
* The behavior to take when the flow control limit is exceeded.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8;</code>
|
||||
*/
|
||||
protected $flow_control_limit_exceeded_behavior = 0;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type int $element_count_threshold
|
||||
* The number of elements of a field collected into a batch which, if
|
||||
* exceeded, causes the batch to be sent.
|
||||
* @type int|string $request_byte_threshold
|
||||
* The aggregated size of the batched field which, if exceeded, causes the
|
||||
* batch to be sent. This size is computed by aggregating the sizes of the
|
||||
* request field to be batched, not of the entire request message.
|
||||
* @type \Google\Protobuf\Duration $delay_threshold
|
||||
* The duration after which a batch should be sent, starting from the addition
|
||||
* of the first message to that batch.
|
||||
* @type int $element_count_limit
|
||||
* The maximum number of elements collected in a batch that could be accepted
|
||||
* by server.
|
||||
* @type int $request_byte_limit
|
||||
* The maximum size of the request that could be accepted by server.
|
||||
* @type int $flow_control_element_limit
|
||||
* The maximum number of elements allowed by flow control.
|
||||
* @type int $flow_control_byte_limit
|
||||
* The maximum size of data allowed by flow control.
|
||||
* @type int $flow_control_limit_exceeded_behavior
|
||||
* The behavior to take when the flow control limit is exceeded.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
\GPBMetadata\Google\Api\Client::initOnce();
|
||||
parent::__construct($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* The number of elements of a field collected into a batch which, if
|
||||
* exceeded, causes the batch to be sent.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 element_count_threshold = 1;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getElementCountThreshold()
|
||||
{
|
||||
return $this->element_count_threshold;
|
||||
}
|
||||
|
||||
/**
|
||||
* The number of elements of a field collected into a batch which, if
|
||||
* exceeded, causes the batch to be sent.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 element_count_threshold = 1;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setElementCountThreshold($var)
|
||||
{
|
||||
GPBUtil::checkInt32($var);
|
||||
$this->element_count_threshold = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The aggregated size of the batched field which, if exceeded, causes the
|
||||
* batch to be sent. This size is computed by aggregating the sizes of the
|
||||
* request field to be batched, not of the entire request message.
|
||||
*
|
||||
* Generated from protobuf field <code>int64 request_byte_threshold = 2;</code>
|
||||
* @return int|string
|
||||
*/
|
||||
public function getRequestByteThreshold()
|
||||
{
|
||||
return $this->request_byte_threshold;
|
||||
}
|
||||
|
||||
/**
|
||||
* The aggregated size of the batched field which, if exceeded, causes the
|
||||
* batch to be sent. This size is computed by aggregating the sizes of the
|
||||
* request field to be batched, not of the entire request message.
|
||||
*
|
||||
* Generated from protobuf field <code>int64 request_byte_threshold = 2;</code>
|
||||
* @param int|string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRequestByteThreshold($var)
|
||||
{
|
||||
GPBUtil::checkInt64($var);
|
||||
$this->request_byte_threshold = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The duration after which a batch should be sent, starting from the addition
|
||||
* of the first message to that batch.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Duration delay_threshold = 3;</code>
|
||||
* @return \Google\Protobuf\Duration|null
|
||||
*/
|
||||
public function getDelayThreshold()
|
||||
{
|
||||
return $this->delay_threshold;
|
||||
}
|
||||
|
||||
public function hasDelayThreshold()
|
||||
{
|
||||
return isset($this->delay_threshold);
|
||||
}
|
||||
|
||||
public function clearDelayThreshold()
|
||||
{
|
||||
unset($this->delay_threshold);
|
||||
}
|
||||
|
||||
/**
|
||||
* The duration after which a batch should be sent, starting from the addition
|
||||
* of the first message to that batch.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.protobuf.Duration delay_threshold = 3;</code>
|
||||
* @param \Google\Protobuf\Duration $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDelayThreshold($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
|
||||
$this->delay_threshold = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The maximum number of elements collected in a batch that could be accepted
|
||||
* by server.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 element_count_limit = 4;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getElementCountLimit()
|
||||
{
|
||||
return $this->element_count_limit;
|
||||
}
|
||||
|
||||
/**
|
||||
* The maximum number of elements collected in a batch that could be accepted
|
||||
* by server.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 element_count_limit = 4;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setElementCountLimit($var)
|
||||
{
|
||||
GPBUtil::checkInt32($var);
|
||||
$this->element_count_limit = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The maximum size of the request that could be accepted by server.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 request_byte_limit = 5;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getRequestByteLimit()
|
||||
{
|
||||
return $this->request_byte_limit;
|
||||
}
|
||||
|
||||
/**
|
||||
* The maximum size of the request that could be accepted by server.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 request_byte_limit = 5;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRequestByteLimit($var)
|
||||
{
|
||||
GPBUtil::checkInt32($var);
|
||||
$this->request_byte_limit = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The maximum number of elements allowed by flow control.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 flow_control_element_limit = 6;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getFlowControlElementLimit()
|
||||
{
|
||||
return $this->flow_control_element_limit;
|
||||
}
|
||||
|
||||
/**
|
||||
* The maximum number of elements allowed by flow control.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 flow_control_element_limit = 6;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setFlowControlElementLimit($var)
|
||||
{
|
||||
GPBUtil::checkInt32($var);
|
||||
$this->flow_control_element_limit = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The maximum size of data allowed by flow control.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 flow_control_byte_limit = 7;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getFlowControlByteLimit()
|
||||
{
|
||||
return $this->flow_control_byte_limit;
|
||||
}
|
||||
|
||||
/**
|
||||
* The maximum size of data allowed by flow control.
|
||||
*
|
||||
* Generated from protobuf field <code>int32 flow_control_byte_limit = 7;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setFlowControlByteLimit($var)
|
||||
{
|
||||
GPBUtil::checkInt32($var);
|
||||
$this->flow_control_byte_limit = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The behavior to take when the flow control limit is exceeded.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8;</code>
|
||||
* @return int
|
||||
*/
|
||||
public function getFlowControlLimitExceededBehavior()
|
||||
{
|
||||
return $this->flow_control_limit_exceeded_behavior;
|
||||
}
|
||||
|
||||
/**
|
||||
* The behavior to take when the flow control limit is exceeded.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8;</code>
|
||||
* @param int $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setFlowControlLimitExceededBehavior($var)
|
||||
{
|
||||
GPBUtil::checkEnum($var, \Google\Api\FlowControlLimitExceededBehaviorProto::class);
|
||||
$this->flow_control_limit_exceeded_behavior = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Billing related configuration of the service.
|
||||
@@ -59,7 +59,7 @@ class Billing extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\Billing\BillingDestination>|\Google\Protobuf\Internal\RepeatedField $consumer_destinations
|
||||
* @type \Google\Api\Billing\BillingDestination[] $consumer_destinations
|
||||
* Billing configurations for sending metrics to the consumer project.
|
||||
* There can be multiple consumer destinations per service, each one must have
|
||||
* a different monitored resource type. A metric can be used in at most
|
||||
@@ -78,7 +78,7 @@ public function __construct($data = NULL) {
|
||||
* one consumer destination.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Billing.BillingDestination consumer_destinations = 8;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\Billing\BillingDestination>
|
||||
*/
|
||||
public function getConsumerDestinations()
|
||||
{
|
||||
@@ -92,7 +92,7 @@ public function getConsumerDestinations()
|
||||
* one consumer destination.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Billing.BillingDestination consumer_destinations = 8;</code>
|
||||
* @param array<\Google\Api\Billing\BillingDestination>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\Billing\BillingDestination[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setConsumerDestinations($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api\Billing;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Configuration of a specific billing destination (Currently only support
|
||||
@@ -43,7 +43,7 @@ class BillingDestination extends \Google\Protobuf\Internal\Message
|
||||
* The monitored resource type. The type must be defined in
|
||||
* [Service.monitored_resources][google.api.Service.monitored_resources]
|
||||
* section.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $metrics
|
||||
* @type string[] $metrics
|
||||
* Names of the metrics to report to this billing destination.
|
||||
* Each name must be defined in
|
||||
* [Service.metrics][google.api.Service.metrics] section.
|
||||
@@ -90,7 +90,7 @@ public function setMonitoredResource($var)
|
||||
* [Service.metrics][google.api.Service.metrics] section.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string metrics = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getMetrics()
|
||||
{
|
||||
@@ -103,7 +103,7 @@ public function getMetrics()
|
||||
* [Service.metrics][google.api.Service.metrics] section.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string metrics = 2;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMetrics($var)
|
||||
@@ -116,4 +116,3 @@ public function setMetrics($var)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Details about how and where to publish client libraries.
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Required information for every language.
|
||||
@@ -31,6 +31,7 @@ class CommonLanguageSettings extends \Google\Protobuf\Internal\Message
|
||||
private $destinations;
|
||||
/**
|
||||
* Configuration for which RPCs should be generated in the GAPIC client.
|
||||
* Note: This field should not be used in most cases.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.SelectiveGapicGeneration selective_gapic_generation = 3;</code>
|
||||
*/
|
||||
@@ -45,10 +46,11 @@ class CommonLanguageSettings extends \Google\Protobuf\Internal\Message
|
||||
* @type string $reference_docs_uri
|
||||
* Link to automatically generated reference documentation. Example:
|
||||
* https://cloud.google.com/nodejs/docs/reference/asset/latest
|
||||
* @type array<int>|\Google\Protobuf\Internal\RepeatedField $destinations
|
||||
* @type int[] $destinations
|
||||
* The destination where API teams want this client library to be published.
|
||||
* @type \Google\Api\SelectiveGapicGeneration $selective_gapic_generation
|
||||
* Configuration for which RPCs should be generated in the GAPIC client.
|
||||
* Note: This field should not be used in most cases.
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
@@ -94,7 +96,7 @@ public function setReferenceDocsUri($var)
|
||||
* The destination where API teams want this client library to be published.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ClientLibraryDestination destinations = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<int>
|
||||
*/
|
||||
public function getDestinations()
|
||||
{
|
||||
@@ -105,7 +107,7 @@ public function getDestinations()
|
||||
* The destination where API teams want this client library to be published.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ClientLibraryDestination destinations = 2;</code>
|
||||
* @param array<int>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param int[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setDestinations($var)
|
||||
@@ -118,6 +120,7 @@ public function setDestinations($var)
|
||||
|
||||
/**
|
||||
* Configuration for which RPCs should be generated in the GAPIC client.
|
||||
* Note: This field should not be used in most cases.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.SelectiveGapicGeneration selective_gapic_generation = 3;</code>
|
||||
* @return \Google\Api\SelectiveGapicGeneration|null
|
||||
@@ -139,6 +142,7 @@ public function clearSelectiveGapicGeneration()
|
||||
|
||||
/**
|
||||
* Configuration for which RPCs should be generated in the GAPIC client.
|
||||
* Note: This field should not be used in most cases.
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.SelectiveGapicGeneration selective_gapic_generation = 3;</code>
|
||||
* @param \Google\Api\SelectiveGapicGeneration $var
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Output generated from semantically comparing two versions of a service
|
||||
@@ -85,7 +85,7 @@ class ConfigChange extends \Google\Protobuf\Internal\Message
|
||||
* in JSON format. This field will not be populated if ChangeType == REMOVED.
|
||||
* @type int $change_type
|
||||
* The type for this change, either ADDED, REMOVED, or MODIFIED.
|
||||
* @type array<\Google\Api\Advice>|\Google\Protobuf\Internal\RepeatedField $advices
|
||||
* @type \Google\Api\Advice[] $advices
|
||||
* Collection of advice provided for this change, useful for determining the
|
||||
* possible impact of this change.
|
||||
* }
|
||||
@@ -224,7 +224,7 @@ public function setChangeType($var)
|
||||
* possible impact of this change.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Advice advices = 5;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\Advice>
|
||||
*/
|
||||
public function getAdvices()
|
||||
{
|
||||
@@ -236,7 +236,7 @@ public function getAdvices()
|
||||
* possible impact of this change.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Advice advices = 5;</code>
|
||||
* @param array<\Google\Api\Advice>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\Advice[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAdvices($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `Context` defines which contexts an API requests.
|
||||
@@ -56,7 +56,7 @@ class Context extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\ContextRule>|\Google\Protobuf\Internal\RepeatedField $rules
|
||||
* @type \Google\Api\ContextRule[] $rules
|
||||
* A list of RPC context rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
* }
|
||||
@@ -71,7 +71,7 @@ public function __construct($data = NULL) {
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ContextRule rules = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\ContextRule>
|
||||
*/
|
||||
public function getRules()
|
||||
{
|
||||
@@ -83,7 +83,7 @@ public function getRules()
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ContextRule rules = 1;</code>
|
||||
* @param array<\Google\Api\ContextRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\ContextRule[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRules($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* A context rule provides information about the context for an individual API
|
||||
@@ -63,16 +63,16 @@ class ContextRule extends \Google\Protobuf\Internal\Message
|
||||
* Selects the methods to which this rule applies.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $requested
|
||||
* @type string[] $requested
|
||||
* A list of full type names of requested contexts, only the requested context
|
||||
* will be made available to the backend.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $provided
|
||||
* @type string[] $provided
|
||||
* A list of full type names of provided contexts. It is used to support
|
||||
* propagating HTTP headers and ETags from the response extension.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $allowed_request_extensions
|
||||
* @type string[] $allowed_request_extensions
|
||||
* A list of full type names or extension IDs of extensions allowed in grpc
|
||||
* side channel from client to backend.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $allowed_response_extensions
|
||||
* @type string[] $allowed_response_extensions
|
||||
* A list of full type names or extension IDs of extensions allowed in grpc
|
||||
* side channel from backend to client.
|
||||
* }
|
||||
@@ -117,7 +117,7 @@ public function setSelector($var)
|
||||
* will be made available to the backend.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string requested = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getRequested()
|
||||
{
|
||||
@@ -129,7 +129,7 @@ public function getRequested()
|
||||
* will be made available to the backend.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string requested = 2;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRequested($var)
|
||||
@@ -145,7 +145,7 @@ public function setRequested($var)
|
||||
* propagating HTTP headers and ETags from the response extension.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string provided = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getProvided()
|
||||
{
|
||||
@@ -157,7 +157,7 @@ public function getProvided()
|
||||
* propagating HTTP headers and ETags from the response extension.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string provided = 3;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setProvided($var)
|
||||
@@ -173,7 +173,7 @@ public function setProvided($var)
|
||||
* side channel from client to backend.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string allowed_request_extensions = 4;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getAllowedRequestExtensions()
|
||||
{
|
||||
@@ -185,7 +185,7 @@ public function getAllowedRequestExtensions()
|
||||
* side channel from client to backend.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string allowed_request_extensions = 4;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAllowedRequestExtensions($var)
|
||||
@@ -201,7 +201,7 @@ public function setAllowedRequestExtensions($var)
|
||||
* side channel from backend to client.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string allowed_response_extensions = 5;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getAllowedResponseExtensions()
|
||||
{
|
||||
@@ -213,7 +213,7 @@ public function getAllowedResponseExtensions()
|
||||
* side channel from backend to client.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string allowed_response_extensions = 5;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAllowedResponseExtensions($var)
|
||||
|
||||
24
vendor/google/common-protos/src/Api/Control.php
vendored
24
vendor/google/common-protos/src/Api/Control.php
vendored
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Selects and configures the service controller used by the service.
|
||||
@@ -20,8 +20,8 @@ class Control extends \Google\Protobuf\Internal\Message
|
||||
{
|
||||
/**
|
||||
* The service controller environment to use. If empty, no control plane
|
||||
* feature (like quota and billing) will be enabled. The recommended value for
|
||||
* most services is servicecontrol.googleapis.com
|
||||
* features (like quota and billing) will be enabled. The recommended value
|
||||
* for most services is servicecontrol.googleapis.com.
|
||||
*
|
||||
* Generated from protobuf field <code>string environment = 1;</code>
|
||||
*/
|
||||
@@ -41,9 +41,9 @@ class Control extends \Google\Protobuf\Internal\Message
|
||||
*
|
||||
* @type string $environment
|
||||
* The service controller environment to use. If empty, no control plane
|
||||
* feature (like quota and billing) will be enabled. The recommended value for
|
||||
* most services is servicecontrol.googleapis.com
|
||||
* @type array<\Google\Api\MethodPolicy>|\Google\Protobuf\Internal\RepeatedField $method_policies
|
||||
* features (like quota and billing) will be enabled. The recommended value
|
||||
* for most services is servicecontrol.googleapis.com.
|
||||
* @type \Google\Api\MethodPolicy[] $method_policies
|
||||
* Defines policies applying to the API methods of the service.
|
||||
* }
|
||||
*/
|
||||
@@ -54,8 +54,8 @@ public function __construct($data = NULL) {
|
||||
|
||||
/**
|
||||
* The service controller environment to use. If empty, no control plane
|
||||
* feature (like quota and billing) will be enabled. The recommended value for
|
||||
* most services is servicecontrol.googleapis.com
|
||||
* features (like quota and billing) will be enabled. The recommended value
|
||||
* for most services is servicecontrol.googleapis.com.
|
||||
*
|
||||
* Generated from protobuf field <code>string environment = 1;</code>
|
||||
* @return string
|
||||
@@ -67,8 +67,8 @@ public function getEnvironment()
|
||||
|
||||
/**
|
||||
* The service controller environment to use. If empty, no control plane
|
||||
* feature (like quota and billing) will be enabled. The recommended value for
|
||||
* most services is servicecontrol.googleapis.com
|
||||
* features (like quota and billing) will be enabled. The recommended value
|
||||
* for most services is servicecontrol.googleapis.com.
|
||||
*
|
||||
* Generated from protobuf field <code>string environment = 1;</code>
|
||||
* @param string $var
|
||||
@@ -86,7 +86,7 @@ public function setEnvironment($var)
|
||||
* Defines policies applying to the API methods of the service.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MethodPolicy method_policies = 4;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\MethodPolicy>
|
||||
*/
|
||||
public function getMethodPolicies()
|
||||
{
|
||||
@@ -97,7 +97,7 @@ public function getMethodPolicies()
|
||||
* Defines policies applying to the API methods of the service.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MethodPolicy method_policies = 4;</code>
|
||||
* @param array<\Google\Api\MethodPolicy>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\MethodPolicy[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMethodPolicies($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Settings for C++ client libraries.
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* A custom pattern is used for defining custom HTTP verb.
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `Distribution` contains summary statistics for a population of values. It
|
||||
@@ -117,7 +117,7 @@ class Distribution extends \Google\Protobuf\Internal\Message
|
||||
* @type \Google\Api\Distribution\BucketOptions $bucket_options
|
||||
* Defines the histogram bucket boundaries. If the distribution does not
|
||||
* contain a histogram, then omit this field.
|
||||
* @type array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $bucket_counts
|
||||
* @type int[]|string[] $bucket_counts
|
||||
* The number of values in each bucket of the histogram, as described in
|
||||
* `bucket_options`. If the distribution does not have a histogram, then omit
|
||||
* this field. If there is a histogram, then the sum of the values in
|
||||
@@ -131,7 +131,7 @@ class Distribution extends \Google\Protobuf\Internal\Message
|
||||
* count for the underflow bucket (number 0). The next N-2 values are the
|
||||
* counts for the finite buckets (number 1 through N-2). The N'th value in
|
||||
* `bucket_counts` is the count for the overflow bucket (number N-1).
|
||||
* @type array<\Google\Api\Distribution\Exemplar>|\Google\Protobuf\Internal\RepeatedField $exemplars
|
||||
* @type \Google\Api\Distribution\Exemplar[] $exemplars
|
||||
* Must be in increasing order of `value` field.
|
||||
* }
|
||||
*/
|
||||
@@ -326,7 +326,7 @@ public function setBucketOptions($var)
|
||||
* `bucket_counts` is the count for the overflow bucket (number N-1).
|
||||
*
|
||||
* Generated from protobuf field <code>repeated int64 bucket_counts = 7;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<int>|RepeatedField<string>
|
||||
*/
|
||||
public function getBucketCounts()
|
||||
{
|
||||
@@ -349,7 +349,7 @@ public function getBucketCounts()
|
||||
* `bucket_counts` is the count for the overflow bucket (number N-1).
|
||||
*
|
||||
* Generated from protobuf field <code>repeated int64 bucket_counts = 7;</code>
|
||||
* @param array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param int[]|string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setBucketCounts($var)
|
||||
@@ -364,7 +364,7 @@ public function setBucketCounts($var)
|
||||
* Must be in increasing order of `value` field.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Distribution.Exemplar exemplars = 10;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\Distribution\Exemplar>
|
||||
*/
|
||||
public function getExemplars()
|
||||
{
|
||||
@@ -375,7 +375,7 @@ public function getExemplars()
|
||||
* Must be in increasing order of `value` field.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Distribution.Exemplar exemplars = 10;</code>
|
||||
* @param array<\Google\Api\Distribution\Exemplar>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\Distribution\Exemplar[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setExemplars($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api\Distribution;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `BucketOptions` describes the bucket boundaries used to create a histogram
|
||||
@@ -152,4 +152,3 @@ public function getOptions()
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api\Distribution\BucketOptions;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Specifies a set of buckets with arbitrary widths.
|
||||
@@ -35,7 +35,7 @@ class Explicit extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<float>|\Google\Protobuf\Internal\RepeatedField $bounds
|
||||
* @type float[] $bounds
|
||||
* The values must be monotonically increasing.
|
||||
* }
|
||||
*/
|
||||
@@ -48,7 +48,7 @@ public function __construct($data = NULL) {
|
||||
* The values must be monotonically increasing.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated double bounds = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<float>
|
||||
*/
|
||||
public function getBounds()
|
||||
{
|
||||
@@ -59,7 +59,7 @@ public function getBounds()
|
||||
* The values must be monotonically increasing.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated double bounds = 1;</code>
|
||||
* @param array<float>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param float[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setBounds($var)
|
||||
@@ -72,4 +72,3 @@ public function setBounds($var)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api\Distribution\BucketOptions;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Specifies an exponential sequence of buckets that have a width that is
|
||||
@@ -139,4 +139,3 @@ public function setScale($var)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api\Distribution\BucketOptions;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Specifies a linear sequence of buckets that all have the same width
|
||||
@@ -139,4 +139,3 @@ public function setOffset($var)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api\Distribution;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Exemplars are example points that may be used to annotate aggregated
|
||||
@@ -56,7 +56,7 @@ class Exemplar extends \Google\Protobuf\Internal\Message
|
||||
* exemplar belongs.
|
||||
* @type \Google\Protobuf\Timestamp $timestamp
|
||||
* The observation (sampling) time of the above value.
|
||||
* @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $attachments
|
||||
* @type \Google\Protobuf\Any[] $attachments
|
||||
* Contextual information about the example value. Examples are:
|
||||
* Trace: type.googleapis.com/google.monitoring.v3.SpanContext
|
||||
* Literal string: type.googleapis.com/google.protobuf.StringValue
|
||||
@@ -145,7 +145,7 @@ public function setTimestamp($var)
|
||||
* single exemplar, and this is enforced by the system.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Any attachments = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Protobuf\Any>
|
||||
*/
|
||||
public function getAttachments()
|
||||
{
|
||||
@@ -162,7 +162,7 @@ public function getAttachments()
|
||||
* single exemplar, and this is enforced by the system.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Any attachments = 3;</code>
|
||||
* @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Protobuf\Any[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAttachments($var)
|
||||
@@ -175,4 +175,3 @@ public function setAttachments($var)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api\Distribution;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* The range of the population values.
|
||||
@@ -99,4 +99,3 @@ public function setMax($var)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `Documentation` provides the information for describing a service.
|
||||
@@ -131,9 +131,9 @@ class Documentation extends \Google\Protobuf\Internal\Message
|
||||
* text. It becomes the overview of the service displayed in Google Cloud
|
||||
* Console.
|
||||
* NOTE: This field is equivalent to the standard field `description`.
|
||||
* @type array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $pages
|
||||
* @type \Google\Api\Page[] $pages
|
||||
* The top level pages for the documentation set.
|
||||
* @type array<\Google\Api\DocumentationRule>|\Google\Protobuf\Internal\RepeatedField $rules
|
||||
* @type \Google\Api\DocumentationRule[] $rules
|
||||
* A list of documentation rules that apply to individual API elements.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
* @type string $documentation_root_url
|
||||
@@ -200,7 +200,7 @@ public function setSummary($var)
|
||||
* The top level pages for the documentation set.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Page pages = 5;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\Page>
|
||||
*/
|
||||
public function getPages()
|
||||
{
|
||||
@@ -211,7 +211,7 @@ public function getPages()
|
||||
* The top level pages for the documentation set.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Page pages = 5;</code>
|
||||
* @param array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\Page[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setPages($var)
|
||||
@@ -227,7 +227,7 @@ public function setPages($var)
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.DocumentationRule rules = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\DocumentationRule>
|
||||
*/
|
||||
public function getRules()
|
||||
{
|
||||
@@ -239,7 +239,7 @@ public function getRules()
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.DocumentationRule rules = 3;</code>
|
||||
* @param array<\Google\Api\DocumentationRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\DocumentationRule[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRules($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* A documentation rule provides information about individual API elements.
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Settings for Dotnet client libraries.
|
||||
@@ -87,16 +87,16 @@ class DotnetSettings extends \Google\Protobuf\Internal\Message
|
||||
* named from different services would cause naming collisions.
|
||||
* Example entry:
|
||||
* "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $ignored_resources
|
||||
* @type string[] $ignored_resources
|
||||
* List of full resource types to ignore during generation.
|
||||
* This is typically used for API-specific Location resources,
|
||||
* which should be handled by the generator as if they were actually
|
||||
* the common Location resources.
|
||||
* Example entry: "documentai.googleapis.com/Location"
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $forced_namespace_aliases
|
||||
* @type string[] $forced_namespace_aliases
|
||||
* Namespaces which must be aliased in snippets due to
|
||||
* a known (but non-generator-predictable) naming collision
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $handwritten_signatures
|
||||
* @type string[] $handwritten_signatures
|
||||
* Method signatures (in the form "service.method(signature)")
|
||||
* which are provided separately, so shouldn't be generated.
|
||||
* Snippets *calling* these methods are still generated, however.
|
||||
@@ -219,7 +219,7 @@ public function setRenamedResources($var)
|
||||
* Example entry: "documentai.googleapis.com/Location"
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string ignored_resources = 4;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getIgnoredResources()
|
||||
{
|
||||
@@ -234,7 +234,7 @@ public function getIgnoredResources()
|
||||
* Example entry: "documentai.googleapis.com/Location"
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string ignored_resources = 4;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setIgnoredResources($var)
|
||||
@@ -250,7 +250,7 @@ public function setIgnoredResources($var)
|
||||
* a known (but non-generator-predictable) naming collision
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getForcedNamespaceAliases()
|
||||
{
|
||||
@@ -262,7 +262,7 @@ public function getForcedNamespaceAliases()
|
||||
* a known (but non-generator-predictable) naming collision
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setForcedNamespaceAliases($var)
|
||||
@@ -279,7 +279,7 @@ public function setForcedNamespaceAliases($var)
|
||||
* Snippets *calling* these methods are still generated, however.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getHandwrittenSignatures()
|
||||
{
|
||||
@@ -292,7 +292,7 @@ public function getHandwrittenSignatures()
|
||||
* Snippets *calling* these methods are still generated, however.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setHandwrittenSignatures($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `Endpoint` describes a network address of a service that serves a set of
|
||||
@@ -77,7 +77,7 @@ class Endpoint extends \Google\Protobuf\Internal\Message
|
||||
*
|
||||
* @type string $name
|
||||
* The canonical name of this endpoint.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $aliases
|
||||
* @type string[] $aliases
|
||||
* Aliases for this endpoint, these will be served by the same UrlMap as the
|
||||
* parent endpoint, and will be provisioned in the GCP stack for the Regional
|
||||
* Endpoints.
|
||||
@@ -133,7 +133,7 @@ public function setName($var)
|
||||
* Endpoints.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string aliases = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getAliases()
|
||||
{
|
||||
@@ -146,7 +146,7 @@ public function getAliases()
|
||||
* Endpoints.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string aliases = 2;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAliases($var)
|
||||
|
||||
207
vendor/google/common-protos/src/Api/ErrorReason.php
vendored
207
vendor/google/common-protos/src/Api/ErrorReason.php
vendored
@@ -375,7 +375,7 @@ class ErrorReason
|
||||
* "metadata": {
|
||||
* "service": "storage.googleapis.com",
|
||||
* "method": "google.storage.v1.Storage.GetObject",
|
||||
* "email": "user@123.iam.gserviceaccount.com"
|
||||
* "email": "user\@123.iam.gserviceaccount.com"
|
||||
* }
|
||||
* }
|
||||
*
|
||||
@@ -630,6 +630,200 @@ class ErrorReason
|
||||
* Generated from protobuf enum <code>OVERLOADED_CREDENTIALS = 34;</code>
|
||||
*/
|
||||
const OVERLOADED_CREDENTIALS = 34;
|
||||
/**
|
||||
* The request whose associated location violates the location org policy
|
||||
* restrictions when creating resources in the restricted region.
|
||||
* Example of an ErrorInfo when creating the Cloud Storage Bucket in the
|
||||
* container "projects/123" under a restricted region
|
||||
* "locations/asia-northeast3":
|
||||
* {
|
||||
* "reason": "LOCATION_ORG_POLICY_VIOLATED",
|
||||
* "domain": "googleapis.com",
|
||||
* "metadata": {
|
||||
* "resource": "projects/123",
|
||||
* "location": "locations/asia-northeast3"
|
||||
* }
|
||||
* }
|
||||
* This response indicates creating the Cloud Storage Bucket in
|
||||
* "locations/asia-northeast3" violates the location org policy restriction.
|
||||
*
|
||||
* Generated from protobuf enum <code>LOCATION_ORG_POLICY_VIOLATED = 35;</code>
|
||||
*/
|
||||
const LOCATION_ORG_POLICY_VIOLATED = 35;
|
||||
/**
|
||||
* The request is denied because it access data of regulated customers using
|
||||
* TLS 1.0 and 1.1.
|
||||
* Example of an ErrorInfo when accessing a GCP resource "projects/123" that
|
||||
* is restricted by TLS Version Restriction for "pubsub.googleapis.com"
|
||||
* service.
|
||||
* {
|
||||
* "reason": "TLS_ORG_POLICY_VIOLATED",
|
||||
* "domain": "googleapis.com",
|
||||
* "metadata": {
|
||||
* "service": "pubsub.googleapis.com"
|
||||
* "resource": "projects/123",
|
||||
* "policyName": "constraints/gcp.restrictTLSVersion",
|
||||
* "tlsVersion": "TLS_VERSION_1"
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* Generated from protobuf enum <code>TLS_ORG_POLICY_VIOLATED = 36;</code>
|
||||
*/
|
||||
const TLS_ORG_POLICY_VIOLATED = 36;
|
||||
/**
|
||||
* The request is denied because the associated project has exceeded the
|
||||
* emulator quota limit.
|
||||
* Example of an ErrorInfo when the associated "projects/123" has exceeded the
|
||||
* emulator quota limit.
|
||||
* {
|
||||
* "reason": "EMULATOR_QUOTA_EXCEEDED",
|
||||
* "domain": "googleapis.com",
|
||||
* "metadata": {
|
||||
* "service": "pubsub.googleapis.com"
|
||||
* "consumer": "projects/123"
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* Generated from protobuf enum <code>EMULATOR_QUOTA_EXCEEDED = 38;</code>
|
||||
*/
|
||||
const EMULATOR_QUOTA_EXCEEDED = 38;
|
||||
/**
|
||||
* The request is denied because the associated application credential header
|
||||
* is invalid for an Android applications.
|
||||
* Example of an ErrorInfo when the request from an Android application to the
|
||||
* "pubsub.googleapis.com" with an invalid application credential header.
|
||||
* {
|
||||
* "reason": "CREDENTIAL_ANDROID_APP_INVALID",
|
||||
* "domain": "googleapis.com",
|
||||
* "metadata": {
|
||||
* "service": "pubsub.googleapis.com"
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* Generated from protobuf enum <code>CREDENTIAL_ANDROID_APP_INVALID = 39;</code>
|
||||
*/
|
||||
const CREDENTIAL_ANDROID_APP_INVALID = 39;
|
||||
/**
|
||||
* The request is denied because IAM permission on resource is denied.
|
||||
* Example of an ErrorInfo when the IAM permission `aiplatform.datasets.list`
|
||||
* is denied on resource `projects/123`.
|
||||
* {
|
||||
* "reason": "IAM_PERMISSION_DENIED",
|
||||
* "domain": "googleapis.com",
|
||||
* "metadata": {
|
||||
* "resource": "projects/123"
|
||||
* "permission": "aiplatform.datasets.list"
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* Generated from protobuf enum <code>IAM_PERMISSION_DENIED = 41;</code>
|
||||
*/
|
||||
const IAM_PERMISSION_DENIED = 41;
|
||||
/**
|
||||
* The request is denied because it contains the invalid JWT token.
|
||||
* Example of an ErrorInfo when the request contains an invalid JWT token for
|
||||
* service `storage.googleapis.com`.
|
||||
* {
|
||||
* "reason": "JWT_TOKEN_INVALID",
|
||||
* "domain": "googleapis.com",
|
||||
* "metadata": {
|
||||
* "service": "storage.googleapis.com"
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* Generated from protobuf enum <code>JWT_TOKEN_INVALID = 42;</code>
|
||||
*/
|
||||
const JWT_TOKEN_INVALID = 42;
|
||||
/**
|
||||
* The request is denied because it contains credential with type that is
|
||||
* unsupported.
|
||||
* Example of an ErrorInfo when the request contains an unsupported credential
|
||||
* type for service `storage.googleapis.com`.
|
||||
* {
|
||||
* "reason": "CREDENTIAL_TYPE_UNSUPPORTED",
|
||||
* "domain": "googleapis.com",
|
||||
* "metadata": {
|
||||
* "service": "storage.googleapis.com"
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* Generated from protobuf enum <code>CREDENTIAL_TYPE_UNSUPPORTED = 43;</code>
|
||||
*/
|
||||
const CREDENTIAL_TYPE_UNSUPPORTED = 43;
|
||||
/**
|
||||
* The request is denied because it contains unsupported account type.
|
||||
* Example of an ErrorInfo when the request contains an unsupported account
|
||||
* type for service `storage.googleapis.com`.
|
||||
* {
|
||||
* "reason": "ACCOUNT_TYPE_UNSUPPORTED",
|
||||
* "domain": "googleapis.com",
|
||||
* "metadata": {
|
||||
* "service": "storage.googleapis.com"
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* Generated from protobuf enum <code>ACCOUNT_TYPE_UNSUPPORTED = 44;</code>
|
||||
*/
|
||||
const ACCOUNT_TYPE_UNSUPPORTED = 44;
|
||||
/**
|
||||
* The request is denied because the API endpoint is restricted by
|
||||
* administrators according to the organization policy constraint.
|
||||
* For more information see
|
||||
* https://cloud.google.com/assured-workloads/docs/restrict-endpoint-usage.
|
||||
* Example of an ErrorInfo when access to Google Cloud Storage service is
|
||||
* restricted by Restrict Endpoint Usage policy:
|
||||
* {
|
||||
* "reason": "ENDPOINT_USAGE_RESTRICTION_VIOLATED",
|
||||
* "domain": "googleapis.com/policies/endpointUsageRestriction",
|
||||
* "metadata": {
|
||||
* "policy_name": "constraints/gcp.restrictEndpointUsage",
|
||||
* "checked_value": "storage.googleapis.com"
|
||||
* "consumer": "organization/123"
|
||||
* "service": "storage.googleapis.com"
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* Generated from protobuf enum <code>ENDPOINT_USAGE_RESTRICTION_VIOLATED = 45;</code>
|
||||
*/
|
||||
const ENDPOINT_USAGE_RESTRICTION_VIOLATED = 45;
|
||||
/**
|
||||
* The request is denied because the TLS Cipher Suite is restricted by
|
||||
* administrators according to the organization policy constraint.
|
||||
* For more information see
|
||||
* https://cloud.google.com/assured-workloads/docs/restrict-tls-cipher-suites
|
||||
* Example of an ErrorInfo when access to Google Cloud BigQuery service is
|
||||
* restricted by Restrict TLS Cipher Suites policy:
|
||||
* {
|
||||
* "reason": "TLS_CIPHER_RESTRICTION_VIOLATED",
|
||||
* "domain": "googleapis.com/policies/tlsCipherRestriction",
|
||||
* "metadata": {
|
||||
* "policy_name": "constraints/gcp.restrictTLSCipherSuites",
|
||||
* "checked_value": "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
|
||||
* "consumer": "organization/123"
|
||||
* "service": "bigquery.googleapis.com"
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* Generated from protobuf enum <code>TLS_CIPHER_RESTRICTION_VIOLATED = 46;</code>
|
||||
*/
|
||||
const TLS_CIPHER_RESTRICTION_VIOLATED = 46;
|
||||
/**
|
||||
* The request is denied because the MCP activation check fails.
|
||||
* Example of an ErrorInfo when the container "projects/123" contacting
|
||||
* "pubsub.googleapis.com" service which is disabled by MCP:
|
||||
* { "reason": "MCP_SERVER_DISABLED",
|
||||
* "domain": "googleapis.com",
|
||||
* "metadata": {
|
||||
* "consumer": "projects/123",
|
||||
* "service": "pubsub.googleapis.com"
|
||||
* }
|
||||
* }
|
||||
* This response indicates the "pubsub.googleapis.com" has been disabled in
|
||||
* "projects/123" for MCP.
|
||||
*
|
||||
* Generated from protobuf enum <code>MCP_SERVER_DISABLED = 47;</code>
|
||||
*/
|
||||
const MCP_SERVER_DISABLED = 47;
|
||||
|
||||
private static $valueToName = [
|
||||
self::ERROR_REASON_UNSPECIFIED => 'ERROR_REASON_UNSPECIFIED',
|
||||
@@ -665,6 +859,17 @@ class ErrorReason
|
||||
self::LOCATION_POLICY_VIOLATED => 'LOCATION_POLICY_VIOLATED',
|
||||
self::MISSING_ORIGIN => 'MISSING_ORIGIN',
|
||||
self::OVERLOADED_CREDENTIALS => 'OVERLOADED_CREDENTIALS',
|
||||
self::LOCATION_ORG_POLICY_VIOLATED => 'LOCATION_ORG_POLICY_VIOLATED',
|
||||
self::TLS_ORG_POLICY_VIOLATED => 'TLS_ORG_POLICY_VIOLATED',
|
||||
self::EMULATOR_QUOTA_EXCEEDED => 'EMULATOR_QUOTA_EXCEEDED',
|
||||
self::CREDENTIAL_ANDROID_APP_INVALID => 'CREDENTIAL_ANDROID_APP_INVALID',
|
||||
self::IAM_PERMISSION_DENIED => 'IAM_PERMISSION_DENIED',
|
||||
self::JWT_TOKEN_INVALID => 'JWT_TOKEN_INVALID',
|
||||
self::CREDENTIAL_TYPE_UNSUPPORTED => 'CREDENTIAL_TYPE_UNSUPPORTED',
|
||||
self::ACCOUNT_TYPE_UNSUPPORTED => 'ACCOUNT_TYPE_UNSUPPORTED',
|
||||
self::ENDPOINT_USAGE_RESTRICTION_VIOLATED => 'ENDPOINT_USAGE_RESTRICTION_VIOLATED',
|
||||
self::TLS_CIPHER_RESTRICTION_VIOLATED => 'TLS_CIPHER_RESTRICTION_VIOLATED',
|
||||
self::MCP_SERVER_DISABLED => 'MCP_SERVER_DISABLED',
|
||||
];
|
||||
|
||||
public static function name($value)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Rich semantic information of an API field beyond basic typing.
|
||||
@@ -42,7 +42,7 @@ class FieldInfo extends \Google\Protobuf\Internal\Message
|
||||
* The standard format of a field value. This does not explicitly configure
|
||||
* any API consumer, just documents the API's format for the field it is
|
||||
* applied to.
|
||||
* @type array<\Google\Api\TypeReference>|\Google\Protobuf\Internal\RepeatedField $referenced_types
|
||||
* @type \Google\Api\TypeReference[] $referenced_types
|
||||
* The type(s) that the annotated, generic field may represent.
|
||||
* Currently, this must only be used on fields of type `google.protobuf.Any`.
|
||||
* Supporting other generic types may be considered in the future.
|
||||
@@ -89,7 +89,7 @@ public function setFormat($var)
|
||||
* Supporting other generic types may be considered in the future.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.TypeReference referenced_types = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\TypeReference>
|
||||
*/
|
||||
public function getReferencedTypes()
|
||||
{
|
||||
@@ -102,7 +102,7 @@ public function getReferencedTypes()
|
||||
* Supporting other generic types may be considered in the future.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.TypeReference referenced_types = 2;</code>
|
||||
* @param array<\Google\Api\TypeReference>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\TypeReference[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setReferencedTypes($var)
|
||||
|
||||
@@ -87,4 +87,3 @@ public static function value($name)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Google API Policy Annotation
|
||||
|
||||
68
vendor/google/common-protos/src/Api/FlowControlLimitExceededBehaviorProto.php
vendored
Normal file
68
vendor/google/common-protos/src/Api/FlowControlLimitExceededBehaviorProto.php
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
# source: google/api/client.proto
|
||||
|
||||
namespace Google\Api;
|
||||
|
||||
use UnexpectedValueException;
|
||||
|
||||
/**
|
||||
* The behavior to take when the flow control limit is exceeded.
|
||||
*
|
||||
* Protobuf type <code>google.api.FlowControlLimitExceededBehaviorProto</code>
|
||||
*/
|
||||
class FlowControlLimitExceededBehaviorProto
|
||||
{
|
||||
/**
|
||||
* Default behavior, system-defined.
|
||||
*
|
||||
* Generated from protobuf enum <code>UNSET_BEHAVIOR = 0;</code>
|
||||
*/
|
||||
const UNSET_BEHAVIOR = 0;
|
||||
/**
|
||||
* Stop operation, raise error.
|
||||
*
|
||||
* Generated from protobuf enum <code>THROW_EXCEPTION = 1;</code>
|
||||
*/
|
||||
const THROW_EXCEPTION = 1;
|
||||
/**
|
||||
* Pause operation until limit clears.
|
||||
*
|
||||
* Generated from protobuf enum <code>BLOCK = 2;</code>
|
||||
*/
|
||||
const BLOCK = 2;
|
||||
/**
|
||||
* Continue operation, disregard limit.
|
||||
*
|
||||
* Generated from protobuf enum <code>IGNORE = 3;</code>
|
||||
*/
|
||||
const IGNORE = 3;
|
||||
|
||||
private static $valueToName = [
|
||||
self::UNSET_BEHAVIOR => 'UNSET_BEHAVIOR',
|
||||
self::THROW_EXCEPTION => 'THROW_EXCEPTION',
|
||||
self::BLOCK => 'BLOCK',
|
||||
self::IGNORE => 'IGNORE',
|
||||
];
|
||||
|
||||
public static function name($value)
|
||||
{
|
||||
if (!isset(self::$valueToName[$value])) {
|
||||
throw new UnexpectedValueException(sprintf(
|
||||
'Enum %s has no name defined for value %s', __CLASS__, $value));
|
||||
}
|
||||
return self::$valueToName[$value];
|
||||
}
|
||||
|
||||
|
||||
public static function value($name)
|
||||
{
|
||||
$const = __CLASS__ . '::' . strtoupper($name);
|
||||
if (!defined($const)) {
|
||||
throw new UnexpectedValueException(sprintf(
|
||||
'Enum %s has no value defined for name %s', __CLASS__, $name));
|
||||
}
|
||||
return constant($const);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Settings for Go client libraries.
|
||||
@@ -25,10 +25,11 @@ class GoSettings extends \Google\Protobuf\Internal\Message
|
||||
* Map of service names to renamed services. Keys are the package relative
|
||||
* service names and values are the name to be used for the service client
|
||||
* and call options.
|
||||
* publishing:
|
||||
* go_settings:
|
||||
* renamed_services:
|
||||
* Publisher: TopicAdmin
|
||||
* Example:
|
||||
* publishing:
|
||||
* go_settings:
|
||||
* renamed_services:
|
||||
* Publisher: TopicAdmin
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> renamed_services = 2;</code>
|
||||
*/
|
||||
@@ -46,10 +47,11 @@ class GoSettings extends \Google\Protobuf\Internal\Message
|
||||
* Map of service names to renamed services. Keys are the package relative
|
||||
* service names and values are the name to be used for the service client
|
||||
* and call options.
|
||||
* publishing:
|
||||
* go_settings:
|
||||
* renamed_services:
|
||||
* Publisher: TopicAdmin
|
||||
* Example:
|
||||
* publishing:
|
||||
* go_settings:
|
||||
* renamed_services:
|
||||
* Publisher: TopicAdmin
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
@@ -97,10 +99,11 @@ public function setCommon($var)
|
||||
* Map of service names to renamed services. Keys are the package relative
|
||||
* service names and values are the name to be used for the service client
|
||||
* and call options.
|
||||
* publishing:
|
||||
* go_settings:
|
||||
* renamed_services:
|
||||
* Publisher: TopicAdmin
|
||||
* Example:
|
||||
* publishing:
|
||||
* go_settings:
|
||||
* renamed_services:
|
||||
* Publisher: TopicAdmin
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> renamed_services = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\MapField
|
||||
@@ -114,10 +117,11 @@ public function getRenamedServices()
|
||||
* Map of service names to renamed services. Keys are the package relative
|
||||
* service names and values are the name to be used for the service client
|
||||
* and call options.
|
||||
* publishing:
|
||||
* go_settings:
|
||||
* renamed_services:
|
||||
* Publisher: TopicAdmin
|
||||
* Example:
|
||||
* publishing:
|
||||
* go_settings:
|
||||
* renamed_services:
|
||||
* Publisher: TopicAdmin
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> renamed_services = 2;</code>
|
||||
* @param array|\Google\Protobuf\Internal\MapField $var
|
||||
|
||||
8
vendor/google/common-protos/src/Api/Http.php
vendored
8
vendor/google/common-protos/src/Api/Http.php
vendored
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Defines the HTTP configuration for an API service. It contains a list of
|
||||
@@ -41,7 +41,7 @@ class Http extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $rules
|
||||
* @type \Google\Api\HttpRule[] $rules
|
||||
* A list of HTTP configuration rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
* @type bool $fully_decode_reserved_expansion
|
||||
@@ -62,7 +62,7 @@ public function __construct($data = NULL) {
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.HttpRule rules = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\HttpRule>
|
||||
*/
|
||||
public function getRules()
|
||||
{
|
||||
@@ -74,7 +74,7 @@ public function getRules()
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.HttpRule rules = 1;</code>
|
||||
* @param array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\HttpRule[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRules($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Message that represents an arbitrary HTTP body. It should only be used for
|
||||
@@ -74,7 +74,7 @@ class HttpBody extends \Google\Protobuf\Internal\Message
|
||||
* The HTTP Content-Type header value specifying the content type of the body.
|
||||
* @type string $data
|
||||
* The HTTP request/response body as raw binary.
|
||||
* @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $extensions
|
||||
* @type \Google\Protobuf\Any[] $extensions
|
||||
* Application specific response metadata. Must be set in the first response
|
||||
* for streaming APIs.
|
||||
* }
|
||||
@@ -141,7 +141,7 @@ public function setData($var)
|
||||
* for streaming APIs.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Any extensions = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Protobuf\Any>
|
||||
*/
|
||||
public function getExtensions()
|
||||
{
|
||||
@@ -153,7 +153,7 @@ public function getExtensions()
|
||||
* for streaming APIs.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Any extensions = 3;</code>
|
||||
* @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Protobuf\Any[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setExtensions($var)
|
||||
|
||||
12
vendor/google/common-protos/src/Api/HttpRule.php
vendored
12
vendor/google/common-protos/src/Api/HttpRule.php
vendored
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* gRPC Transcoding
|
||||
@@ -32,7 +32,7 @@
|
||||
* service Messaging {
|
||||
* rpc GetMessage(GetMessageRequest) returns (Message) {
|
||||
* option (google.api.http) = {
|
||||
* get: "/v1/{name=messages/*}"
|
||||
* get: "/v1/{name=messages/*}"
|
||||
* };
|
||||
* }
|
||||
* }
|
||||
@@ -179,7 +179,7 @@
|
||||
* [Discovery
|
||||
* Document](https://developers.google.com/discovery/v1/reference/apis) as
|
||||
* `{var}`.
|
||||
* If a variable contains multiple path segments, such as `"{var=foo/*}"`
|
||||
* If a variable contains multiple path segments, such as `"{var=foo/*}"`
|
||||
* or `"{var=**}"`, when such a variable is expanded into a URL path on the
|
||||
* client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
|
||||
* The server side does the reverse decoding, except "%2F" and "%2f" are left
|
||||
@@ -306,7 +306,7 @@ class HttpRule extends \Google\Protobuf\Internal\Message
|
||||
* as the HTTP response body.
|
||||
* NOTE: The referred field must be present at the top-level of the response
|
||||
* message type.
|
||||
* @type array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $additional_bindings
|
||||
* @type \Google\Api\HttpRule[] $additional_bindings
|
||||
* Additional HTTP bindings for the selector. Nested bindings must
|
||||
* not contain an `additional_bindings` field themselves (that is,
|
||||
* the nesting may only be one level deep).
|
||||
@@ -615,7 +615,7 @@ public function setResponseBody($var)
|
||||
* the nesting may only be one level deep).
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.HttpRule additional_bindings = 11;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\HttpRule>
|
||||
*/
|
||||
public function getAdditionalBindings()
|
||||
{
|
||||
@@ -628,7 +628,7 @@ public function getAdditionalBindings()
|
||||
* the nesting may only be one level deep).
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.HttpRule additional_bindings = 11;</code>
|
||||
* @param array<\Google\Api\HttpRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\HttpRule[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAdditionalBindings($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Settings for Java client libraries.
|
||||
@@ -22,9 +22,10 @@ class JavaSettings extends \Google\Protobuf\Internal\Message
|
||||
* in gapic.yaml. API teams should use the protobuf java_package option
|
||||
* where possible.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* java_settings:
|
||||
* library_package: com.google.cloud.pubsub.v1
|
||||
* publishing:
|
||||
* library_settings:
|
||||
* java_settings:
|
||||
* library_package: com.google.cloud.pubsub.v1
|
||||
*
|
||||
* Generated from protobuf field <code>string library_package = 1;</code>
|
||||
*/
|
||||
@@ -37,11 +38,11 @@ class JavaSettings extends \Google\Protobuf\Internal\Message
|
||||
* teams should otherwise use the service name as it appears in the
|
||||
* protobuf.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* java_settings:
|
||||
* service_class_names:
|
||||
* - google.pubsub.v1.Publisher: TopicAdmin
|
||||
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
||||
* publishing:
|
||||
* java_settings:
|
||||
* service_class_names:
|
||||
* - google.pubsub.v1.Publisher: TopicAdmin
|
||||
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> service_class_names = 2;</code>
|
||||
*/
|
||||
@@ -66,9 +67,10 @@ class JavaSettings extends \Google\Protobuf\Internal\Message
|
||||
* in gapic.yaml. API teams should use the protobuf java_package option
|
||||
* where possible.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* java_settings:
|
||||
* library_package: com.google.cloud.pubsub.v1
|
||||
* publishing:
|
||||
* library_settings:
|
||||
* java_settings:
|
||||
* library_package: com.google.cloud.pubsub.v1
|
||||
* @type array|\Google\Protobuf\Internal\MapField $service_class_names
|
||||
* Configure the Java class name to use instead of the service's for its
|
||||
* corresponding generated GAPIC client. Keys are fully-qualified
|
||||
@@ -77,11 +79,11 @@ class JavaSettings extends \Google\Protobuf\Internal\Message
|
||||
* teams should otherwise use the service name as it appears in the
|
||||
* protobuf.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* java_settings:
|
||||
* service_class_names:
|
||||
* - google.pubsub.v1.Publisher: TopicAdmin
|
||||
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
||||
* publishing:
|
||||
* java_settings:
|
||||
* service_class_names:
|
||||
* - google.pubsub.v1.Publisher: TopicAdmin
|
||||
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
||||
* @type \Google\Api\CommonLanguageSettings $common
|
||||
* Some settings.
|
||||
* }
|
||||
@@ -98,9 +100,10 @@ public function __construct($data = NULL) {
|
||||
* in gapic.yaml. API teams should use the protobuf java_package option
|
||||
* where possible.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* java_settings:
|
||||
* library_package: com.google.cloud.pubsub.v1
|
||||
* publishing:
|
||||
* library_settings:
|
||||
* java_settings:
|
||||
* library_package: com.google.cloud.pubsub.v1
|
||||
*
|
||||
* Generated from protobuf field <code>string library_package = 1;</code>
|
||||
* @return string
|
||||
@@ -117,9 +120,10 @@ public function getLibraryPackage()
|
||||
* in gapic.yaml. API teams should use the protobuf java_package option
|
||||
* where possible.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* java_settings:
|
||||
* library_package: com.google.cloud.pubsub.v1
|
||||
* publishing:
|
||||
* library_settings:
|
||||
* java_settings:
|
||||
* library_package: com.google.cloud.pubsub.v1
|
||||
*
|
||||
* Generated from protobuf field <code>string library_package = 1;</code>
|
||||
* @param string $var
|
||||
@@ -141,11 +145,11 @@ public function setLibraryPackage($var)
|
||||
* teams should otherwise use the service name as it appears in the
|
||||
* protobuf.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* java_settings:
|
||||
* service_class_names:
|
||||
* - google.pubsub.v1.Publisher: TopicAdmin
|
||||
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
||||
* publishing:
|
||||
* java_settings:
|
||||
* service_class_names:
|
||||
* - google.pubsub.v1.Publisher: TopicAdmin
|
||||
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> service_class_names = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\MapField
|
||||
@@ -163,11 +167,11 @@ public function getServiceClassNames()
|
||||
* teams should otherwise use the service name as it appears in the
|
||||
* protobuf.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* java_settings:
|
||||
* service_class_names:
|
||||
* - google.pubsub.v1.Publisher: TopicAdmin
|
||||
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
||||
* publishing:
|
||||
* java_settings:
|
||||
* service_class_names:
|
||||
* - google.pubsub.v1.Publisher: TopicAdmin
|
||||
* - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
||||
*
|
||||
* Generated from protobuf field <code>map<string, string> service_class_names = 2;</code>
|
||||
* @param array|\Google\Protobuf\Internal\MapField $var
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Specifies a location to extract JWT from an API request.
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* A description of a label.
|
||||
|
||||
@@ -59,4 +59,3 @@ public static function value($name)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* A description of a log type. Example in YAML format:
|
||||
@@ -64,7 +64,7 @@ class LogDescriptor extends \Google\Protobuf\Internal\Message
|
||||
* include the following characters: upper- and lower-case alphanumeric
|
||||
* characters [A-Za-z0-9], and punctuation characters including
|
||||
* slash, underscore, hyphen, period [/_-.].
|
||||
* @type array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $labels
|
||||
* @type \Google\Api\LabelDescriptor[] $labels
|
||||
* The set of labels that are available to describe a specific log entry.
|
||||
* Runtime requests that contain labels not specified here are
|
||||
* considered invalid.
|
||||
@@ -119,7 +119,7 @@ public function setName($var)
|
||||
* considered invalid.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.LabelDescriptor labels = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\LabelDescriptor>
|
||||
*/
|
||||
public function getLabels()
|
||||
{
|
||||
@@ -132,7 +132,7 @@ public function getLabels()
|
||||
* considered invalid.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.LabelDescriptor labels = 2;</code>
|
||||
* @param array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\LabelDescriptor[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLabels($var)
|
||||
|
||||
14
vendor/google/common-protos/src/Api/Logging.php
vendored
14
vendor/google/common-protos/src/Api/Logging.php
vendored
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Logging configuration of the service.
|
||||
@@ -66,12 +66,12 @@ class Logging extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\Logging\LoggingDestination>|\Google\Protobuf\Internal\RepeatedField $producer_destinations
|
||||
* @type \Google\Api\Logging\LoggingDestination[] $producer_destinations
|
||||
* Logging configurations for sending logs to the producer project.
|
||||
* There can be multiple producer destinations, each one must have a
|
||||
* different monitored resource type. A log can be used in at most
|
||||
* one producer destination.
|
||||
* @type array<\Google\Api\Logging\LoggingDestination>|\Google\Protobuf\Internal\RepeatedField $consumer_destinations
|
||||
* @type \Google\Api\Logging\LoggingDestination[] $consumer_destinations
|
||||
* Logging configurations for sending logs to the consumer project.
|
||||
* There can be multiple consumer destinations, each one must have a
|
||||
* different monitored resource type. A log can be used in at most
|
||||
@@ -90,7 +90,7 @@ public function __construct($data = NULL) {
|
||||
* one producer destination.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Logging.LoggingDestination producer_destinations = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\Logging\LoggingDestination>
|
||||
*/
|
||||
public function getProducerDestinations()
|
||||
{
|
||||
@@ -104,7 +104,7 @@ public function getProducerDestinations()
|
||||
* one producer destination.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Logging.LoggingDestination producer_destinations = 1;</code>
|
||||
* @param array<\Google\Api\Logging\LoggingDestination>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\Logging\LoggingDestination[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setProducerDestinations($var)
|
||||
@@ -122,7 +122,7 @@ public function setProducerDestinations($var)
|
||||
* one consumer destination.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\Logging\LoggingDestination>
|
||||
*/
|
||||
public function getConsumerDestinations()
|
||||
{
|
||||
@@ -136,7 +136,7 @@ public function getConsumerDestinations()
|
||||
* one consumer destination.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;</code>
|
||||
* @param array<\Google\Api\Logging\LoggingDestination>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\Logging\LoggingDestination[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setConsumerDestinations($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api\Logging;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Configuration of a specific logging destination (the producer project
|
||||
@@ -44,7 +44,7 @@ class LoggingDestination extends \Google\Protobuf\Internal\Message
|
||||
* The monitored resource type. The type must be defined in the
|
||||
* [Service.monitored_resources][google.api.Service.monitored_resources]
|
||||
* section.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $logs
|
||||
* @type string[] $logs
|
||||
* Names of the logs to be sent to this destination. Each name must
|
||||
* be defined in the [Service.logs][google.api.Service.logs] section. If the
|
||||
* log name is not a domain scoped name, it will be automatically prefixed
|
||||
@@ -93,7 +93,7 @@ public function setMonitoredResource($var)
|
||||
* with the service name followed by "/".
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string logs = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getLogs()
|
||||
{
|
||||
@@ -107,7 +107,7 @@ public function getLogs()
|
||||
* with the service name followed by "/".
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string logs = 1;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLogs($var)
|
||||
@@ -120,4 +120,3 @@ public function setLogs($var)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Defines policies applying to an RPC method.
|
||||
@@ -46,7 +46,7 @@ class MethodPolicy extends \Google\Protobuf\Internal\Message
|
||||
* details.
|
||||
* NOTE: This field must not be set in the proto annotation. It will be
|
||||
* automatically filled by the service config compiler .
|
||||
* @type array<\Google\Api\FieldPolicy>|\Google\Protobuf\Internal\RepeatedField $request_policies
|
||||
* @type \Google\Api\FieldPolicy[] $request_policies
|
||||
* Policies that are applicable to the request message.
|
||||
* }
|
||||
*/
|
||||
@@ -95,7 +95,7 @@ public function setSelector($var)
|
||||
* Policies that are applicable to the request message.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.FieldPolicy request_policies = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\FieldPolicy>
|
||||
*/
|
||||
public function getRequestPolicies()
|
||||
{
|
||||
@@ -106,7 +106,7 @@ public function getRequestPolicies()
|
||||
* Policies that are applicable to the request message.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.FieldPolicy request_policies = 2;</code>
|
||||
* @param array<\Google\Api\FieldPolicy>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\FieldPolicy[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRequestPolicies($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Describes the generator configuration for a method.
|
||||
@@ -19,10 +19,10 @@ class MethodSettings extends \Google\Protobuf\Internal\Message
|
||||
* The fully qualified name of the method, for which the options below apply.
|
||||
* This is used to find the method to apply the options.
|
||||
* Example:
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.storage.control.v2.StorageControl.CreateFolder
|
||||
* # method settings for CreateFolder...
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.storage.control.v2.StorageControl.CreateFolder
|
||||
* # method settings for CreateFolder...
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
*/
|
||||
@@ -32,14 +32,14 @@ class MethodSettings extends \Google\Protobuf\Internal\Message
|
||||
* API methods for RPCs. Complements RPCs that use the annotations in
|
||||
* google/longrunning/operations.proto.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
||||
* long_running:
|
||||
* initial_poll_delay: 60s # 1 minute
|
||||
* poll_delay_multiplier: 1.5
|
||||
* max_poll_delay: 360s # 6 minutes
|
||||
* total_poll_timeout: 54000s # 90 minutes
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
||||
* long_running:
|
||||
* initial_poll_delay: 60s # 1 minute
|
||||
* poll_delay_multiplier: 1.5
|
||||
* max_poll_delay: 360s # 6 minutes
|
||||
* total_poll_timeout: 54000s # 90 minutes
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.MethodSettings.LongRunning long_running = 2;</code>
|
||||
*/
|
||||
@@ -49,15 +49,29 @@ class MethodSettings extends \Google\Protobuf\Internal\Message
|
||||
* automatically populated by the client libraries based on their
|
||||
* (google.api.field_info).format. Currently supported format: UUID4.
|
||||
* Example of a YAML configuration:
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.example.v1.ExampleService.CreateExample
|
||||
* auto_populated_fields:
|
||||
* - request_id
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.example.v1.ExampleService.CreateExample
|
||||
* auto_populated_fields:
|
||||
* - request_id
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string auto_populated_fields = 3;</code>
|
||||
*/
|
||||
private $auto_populated_fields;
|
||||
/**
|
||||
* Batching configuration for an API method in client libraries.
|
||||
* Example of a YAML configuration:
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.example.v1.ExampleService.BatchCreateExample
|
||||
* batching:
|
||||
* element_count_threshold: 1000
|
||||
* request_byte_threshold: 100000000
|
||||
* delay_threshold_millis: 10
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.BatchingConfigProto batching = 4;</code>
|
||||
*/
|
||||
protected $batching = null;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
@@ -69,33 +83,43 @@ class MethodSettings extends \Google\Protobuf\Internal\Message
|
||||
* The fully qualified name of the method, for which the options below apply.
|
||||
* This is used to find the method to apply the options.
|
||||
* Example:
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.storage.control.v2.StorageControl.CreateFolder
|
||||
* # method settings for CreateFolder...
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.storage.control.v2.StorageControl.CreateFolder
|
||||
* # method settings for CreateFolder...
|
||||
* @type \Google\Api\MethodSettings\LongRunning $long_running
|
||||
* Describes settings to use for long-running operations when generating
|
||||
* API methods for RPCs. Complements RPCs that use the annotations in
|
||||
* google/longrunning/operations.proto.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
||||
* long_running:
|
||||
* initial_poll_delay: 60s # 1 minute
|
||||
* poll_delay_multiplier: 1.5
|
||||
* max_poll_delay: 360s # 6 minutes
|
||||
* total_poll_timeout: 54000s # 90 minutes
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $auto_populated_fields
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
||||
* long_running:
|
||||
* initial_poll_delay: 60s # 1 minute
|
||||
* poll_delay_multiplier: 1.5
|
||||
* max_poll_delay: 360s # 6 minutes
|
||||
* total_poll_timeout: 54000s # 90 minutes
|
||||
* @type string[] $auto_populated_fields
|
||||
* List of top-level fields of the request message, that should be
|
||||
* automatically populated by the client libraries based on their
|
||||
* (google.api.field_info).format. Currently supported format: UUID4.
|
||||
* Example of a YAML configuration:
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.example.v1.ExampleService.CreateExample
|
||||
* auto_populated_fields:
|
||||
* - request_id
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.example.v1.ExampleService.CreateExample
|
||||
* auto_populated_fields:
|
||||
* - request_id
|
||||
* @type \Google\Api\BatchingConfigProto $batching
|
||||
* Batching configuration for an API method in client libraries.
|
||||
* Example of a YAML configuration:
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.example.v1.ExampleService.BatchCreateExample
|
||||
* batching:
|
||||
* element_count_threshold: 1000
|
||||
* request_byte_threshold: 100000000
|
||||
* delay_threshold_millis: 10
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
@@ -107,10 +131,10 @@ public function __construct($data = NULL) {
|
||||
* The fully qualified name of the method, for which the options below apply.
|
||||
* This is used to find the method to apply the options.
|
||||
* Example:
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.storage.control.v2.StorageControl.CreateFolder
|
||||
* # method settings for CreateFolder...
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.storage.control.v2.StorageControl.CreateFolder
|
||||
* # method settings for CreateFolder...
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
* @return string
|
||||
@@ -124,10 +148,10 @@ public function getSelector()
|
||||
* The fully qualified name of the method, for which the options below apply.
|
||||
* This is used to find the method to apply the options.
|
||||
* Example:
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.storage.control.v2.StorageControl.CreateFolder
|
||||
* # method settings for CreateFolder...
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.storage.control.v2.StorageControl.CreateFolder
|
||||
* # method settings for CreateFolder...
|
||||
*
|
||||
* Generated from protobuf field <code>string selector = 1;</code>
|
||||
* @param string $var
|
||||
@@ -146,14 +170,14 @@ public function setSelector($var)
|
||||
* API methods for RPCs. Complements RPCs that use the annotations in
|
||||
* google/longrunning/operations.proto.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
||||
* long_running:
|
||||
* initial_poll_delay: 60s # 1 minute
|
||||
* poll_delay_multiplier: 1.5
|
||||
* max_poll_delay: 360s # 6 minutes
|
||||
* total_poll_timeout: 54000s # 90 minutes
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
||||
* long_running:
|
||||
* initial_poll_delay: 60s # 1 minute
|
||||
* poll_delay_multiplier: 1.5
|
||||
* max_poll_delay: 360s # 6 minutes
|
||||
* total_poll_timeout: 54000s # 90 minutes
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.MethodSettings.LongRunning long_running = 2;</code>
|
||||
* @return \Google\Api\MethodSettings\LongRunning|null
|
||||
@@ -178,14 +202,14 @@ public function clearLongRunning()
|
||||
* API methods for RPCs. Complements RPCs that use the annotations in
|
||||
* google/longrunning/operations.proto.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
||||
* long_running:
|
||||
* initial_poll_delay: 60s # 1 minute
|
||||
* poll_delay_multiplier: 1.5
|
||||
* max_poll_delay: 360s # 6 minutes
|
||||
* total_poll_timeout: 54000s # 90 minutes
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
||||
* long_running:
|
||||
* initial_poll_delay: 60s # 1 minute
|
||||
* poll_delay_multiplier: 1.5
|
||||
* max_poll_delay: 360s # 6 minutes
|
||||
* total_poll_timeout: 54000s # 90 minutes
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.MethodSettings.LongRunning long_running = 2;</code>
|
||||
* @param \Google\Api\MethodSettings\LongRunning $var
|
||||
@@ -204,14 +228,14 @@ public function setLongRunning($var)
|
||||
* automatically populated by the client libraries based on their
|
||||
* (google.api.field_info).format. Currently supported format: UUID4.
|
||||
* Example of a YAML configuration:
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.example.v1.ExampleService.CreateExample
|
||||
* auto_populated_fields:
|
||||
* - request_id
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.example.v1.ExampleService.CreateExample
|
||||
* auto_populated_fields:
|
||||
* - request_id
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string auto_populated_fields = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getAutoPopulatedFields()
|
||||
{
|
||||
@@ -223,14 +247,14 @@ public function getAutoPopulatedFields()
|
||||
* automatically populated by the client libraries based on their
|
||||
* (google.api.field_info).format. Currently supported format: UUID4.
|
||||
* Example of a YAML configuration:
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.example.v1.ExampleService.CreateExample
|
||||
* auto_populated_fields:
|
||||
* - request_id
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.example.v1.ExampleService.CreateExample
|
||||
* auto_populated_fields:
|
||||
* - request_id
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string auto_populated_fields = 3;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutoPopulatedFields($var)
|
||||
@@ -241,5 +265,57 @@ public function setAutoPopulatedFields($var)
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Batching configuration for an API method in client libraries.
|
||||
* Example of a YAML configuration:
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.example.v1.ExampleService.BatchCreateExample
|
||||
* batching:
|
||||
* element_count_threshold: 1000
|
||||
* request_byte_threshold: 100000000
|
||||
* delay_threshold_millis: 10
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.BatchingConfigProto batching = 4;</code>
|
||||
* @return \Google\Api\BatchingConfigProto|null
|
||||
*/
|
||||
public function getBatching()
|
||||
{
|
||||
return $this->batching;
|
||||
}
|
||||
|
||||
public function hasBatching()
|
||||
{
|
||||
return isset($this->batching);
|
||||
}
|
||||
|
||||
public function clearBatching()
|
||||
{
|
||||
unset($this->batching);
|
||||
}
|
||||
|
||||
/**
|
||||
* Batching configuration for an API method in client libraries.
|
||||
* Example of a YAML configuration:
|
||||
* publishing:
|
||||
* method_settings:
|
||||
* - selector: google.example.v1.ExampleService.BatchCreateExample
|
||||
* batching:
|
||||
* element_count_threshold: 1000
|
||||
* request_byte_threshold: 100000000
|
||||
* delay_threshold_millis: 10
|
||||
*
|
||||
* Generated from protobuf field <code>.google.api.BatchingConfigProto batching = 4;</code>
|
||||
* @param \Google\Api\BatchingConfigProto $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setBatching($var)
|
||||
{
|
||||
GPBUtil::checkMessage($var, \Google\Api\BatchingConfigProto::class);
|
||||
$this->batching = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api\MethodSettings;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Describes settings to use when generating API methods that use the
|
||||
@@ -221,4 +221,3 @@ public function setTotalPollTimeout($var)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* A specific metric, identified by specifying values for all of the
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Defines a metric type and its schema. Once a metric descriptor is created,
|
||||
@@ -203,7 +203,7 @@ class MetricDescriptor extends \Google\Protobuf\Internal\Message
|
||||
* "custom.googleapis.com/invoice/paid/amount"
|
||||
* "external.googleapis.com/prometheus/up"
|
||||
* "appengine.googleapis.com/http/server/response_latencies"
|
||||
* @type array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $labels
|
||||
* @type \Google\Api\LabelDescriptor[] $labels
|
||||
* The set of labels that can be used to describe a specific
|
||||
* instance of this metric type. For example, the
|
||||
* `appengine.googleapis.com/http/server/response_latencies` metric
|
||||
@@ -311,7 +311,7 @@ class MetricDescriptor extends \Google\Protobuf\Internal\Message
|
||||
* Optional. Metadata which can be used to guide usage of the metric.
|
||||
* @type int $launch_stage
|
||||
* Optional. The launch stage of the metric definition.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $monitored_resource_types
|
||||
* @type string[] $monitored_resource_types
|
||||
* Read-only. If present, then a [time
|
||||
* series][google.monitoring.v3.TimeSeries], which is identified partially by
|
||||
* a metric type and a
|
||||
@@ -398,7 +398,7 @@ public function setType($var)
|
||||
* for responses that failed.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.LabelDescriptor labels = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\LabelDescriptor>
|
||||
*/
|
||||
public function getLabels()
|
||||
{
|
||||
@@ -414,7 +414,7 @@ public function getLabels()
|
||||
* for responses that failed.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.LabelDescriptor labels = 2;</code>
|
||||
* @param array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\LabelDescriptor[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLabels($var)
|
||||
@@ -800,7 +800,7 @@ public function setLaunchStage($var)
|
||||
* monitored resource types listed here.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string monitored_resource_types = 13;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getMonitoredResourceTypes()
|
||||
{
|
||||
@@ -816,7 +816,7 @@ public function getMonitoredResourceTypes()
|
||||
* monitored resource types listed here.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string monitored_resource_types = 13;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMonitoredResourceTypes($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api\MetricDescriptor;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Additional annotations that can be used to guide the usage of a metric.
|
||||
@@ -67,7 +67,7 @@ class MetricDescriptorMetadata extends \Google\Protobuf\Internal\Message
|
||||
* The delay of data points caused by ingestion. Data points older than this
|
||||
* age are guaranteed to be ingested and available to be read, excluding
|
||||
* data loss due to errors.
|
||||
* @type array<int>|\Google\Protobuf\Internal\RepeatedField $time_series_resource_hierarchy_level
|
||||
* @type int[] $time_series_resource_hierarchy_level
|
||||
* The scope of the timeseries data of the metric.
|
||||
* }
|
||||
*/
|
||||
@@ -198,7 +198,7 @@ public function setIngestDelay($var)
|
||||
* The scope of the timeseries data of the metric.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<int>
|
||||
*/
|
||||
public function getTimeSeriesResourceHierarchyLevel()
|
||||
{
|
||||
@@ -209,7 +209,7 @@ public function getTimeSeriesResourceHierarchyLevel()
|
||||
* The scope of the timeseries data of the metric.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MetricDescriptor.MetricDescriptorMetadata.TimeSeriesResourceHierarchyLevel time_series_resource_hierarchy_level = 4;</code>
|
||||
* @param array<int>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param int[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTimeSeriesResourceHierarchyLevel($var)
|
||||
@@ -222,4 +222,3 @@ public function setTimeSeriesResourceHierarchyLevel($var)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -66,4 +66,3 @@ public static function value($name)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -72,4 +72,3 @@ public static function value($name)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -89,4 +89,3 @@ public static function value($name)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Bind API methods to metrics. Binding a method to a metric causes that
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* An object representing a resource that can be used for monitoring, logging,
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* An object that describes the schema of a
|
||||
@@ -104,7 +104,7 @@ class MonitoredResourceDescriptor extends \Google\Protobuf\Internal\Message
|
||||
* @type string $description
|
||||
* Optional. A detailed description of the monitored resource type that might
|
||||
* be used in documentation.
|
||||
* @type array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $labels
|
||||
* @type \Google\Api\LabelDescriptor[] $labels
|
||||
* Required. A set of labels used to describe instances of this monitored
|
||||
* resource type. For example, an individual Google Cloud SQL database is
|
||||
* identified by values for the labels `"database_id"` and `"zone"`.
|
||||
@@ -255,7 +255,7 @@ public function setDescription($var)
|
||||
* identified by values for the labels `"database_id"` and `"zone"`.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.LabelDescriptor labels = 4;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\LabelDescriptor>
|
||||
*/
|
||||
public function getLabels()
|
||||
{
|
||||
@@ -268,7 +268,7 @@ public function getLabels()
|
||||
* identified by values for the labels `"database_id"` and `"zone"`.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.LabelDescriptor labels = 4;</code>
|
||||
* @param array<\Google\Api\LabelDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\LabelDescriptor[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLabels($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource]
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Monitoring configuration of the service.
|
||||
@@ -93,14 +93,14 @@ class Monitoring extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\Monitoring\MonitoringDestination>|\Google\Protobuf\Internal\RepeatedField $producer_destinations
|
||||
* @type \Google\Api\Monitoring\MonitoringDestination[] $producer_destinations
|
||||
* Monitoring configurations for sending metrics to the producer project.
|
||||
* There can be multiple producer destinations. A monitored resource type may
|
||||
* appear in multiple monitoring destinations if different aggregations are
|
||||
* needed for different sets of metrics associated with that monitored
|
||||
* resource type. A monitored resource and metric pair may only be used once
|
||||
* in the Monitoring configuration.
|
||||
* @type array<\Google\Api\Monitoring\MonitoringDestination>|\Google\Protobuf\Internal\RepeatedField $consumer_destinations
|
||||
* @type \Google\Api\Monitoring\MonitoringDestination[] $consumer_destinations
|
||||
* Monitoring configurations for sending metrics to the consumer project.
|
||||
* There can be multiple consumer destinations. A monitored resource type may
|
||||
* appear in multiple monitoring destinations if different aggregations are
|
||||
@@ -123,7 +123,7 @@ public function __construct($data = NULL) {
|
||||
* in the Monitoring configuration.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\Monitoring\MonitoringDestination>
|
||||
*/
|
||||
public function getProducerDestinations()
|
||||
{
|
||||
@@ -139,7 +139,7 @@ public function getProducerDestinations()
|
||||
* in the Monitoring configuration.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;</code>
|
||||
* @param array<\Google\Api\Monitoring\MonitoringDestination>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\Monitoring\MonitoringDestination[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setProducerDestinations($var)
|
||||
@@ -159,7 +159,7 @@ public function setProducerDestinations($var)
|
||||
* in the Monitoring configuration.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\Monitoring\MonitoringDestination>
|
||||
*/
|
||||
public function getConsumerDestinations()
|
||||
{
|
||||
@@ -175,7 +175,7 @@ public function getConsumerDestinations()
|
||||
* in the Monitoring configuration.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;</code>
|
||||
* @param array<\Google\Api\Monitoring\MonitoringDestination>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\Monitoring\MonitoringDestination[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setConsumerDestinations($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api\Monitoring;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Configuration of a specific monitoring destination (the producer project
|
||||
@@ -43,7 +43,7 @@ class MonitoringDestination extends \Google\Protobuf\Internal\Message
|
||||
* The monitored resource type. The type must be defined in
|
||||
* [Service.monitored_resources][google.api.Service.monitored_resources]
|
||||
* section.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $metrics
|
||||
* @type string[] $metrics
|
||||
* Types of the metrics to report to this monitoring destination.
|
||||
* Each type must be defined in
|
||||
* [Service.metrics][google.api.Service.metrics] section.
|
||||
@@ -90,7 +90,7 @@ public function setMonitoredResource($var)
|
||||
* [Service.metrics][google.api.Service.metrics] section.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string metrics = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getMetrics()
|
||||
{
|
||||
@@ -103,7 +103,7 @@ public function getMetrics()
|
||||
* [Service.metrics][google.api.Service.metrics] section.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string metrics = 2;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMetrics($var)
|
||||
@@ -116,4 +116,3 @@ public function setMetrics($var)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Settings for Node client libraries.
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* OAuth scopes are a way to define data and permissions on data. For example,
|
||||
|
||||
8
vendor/google/common-protos/src/Api/Page.php
vendored
8
vendor/google/common-protos/src/Api/Page.php
vendored
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Represents a documentation page. A page can contain subpages to represent
|
||||
@@ -76,7 +76,7 @@ class Page extends \Google\Protobuf\Internal\Message
|
||||
* The Markdown content of the page. You can use ```(== include {path}
|
||||
* ==)``` to include content from a Markdown file. The content can be used
|
||||
* to produce the documentation page such as HTML format page.
|
||||
* @type array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $subpages
|
||||
* @type \Google\Api\Page[] $subpages
|
||||
* Subpages of this page. The order of subpages specified here will be
|
||||
* honored in the generated docset.
|
||||
* }
|
||||
@@ -173,7 +173,7 @@ public function setContent($var)
|
||||
* honored in the generated docset.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Page subpages = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\Page>
|
||||
*/
|
||||
public function getSubpages()
|
||||
{
|
||||
@@ -185,7 +185,7 @@ public function getSubpages()
|
||||
* honored in the generated docset.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Page subpages = 3;</code>
|
||||
* @param array<\Google\Api\Page>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\Page[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSubpages($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Settings for Php client libraries.
|
||||
@@ -21,6 +21,21 @@ class PhpSettings extends \Google\Protobuf\Internal\Message
|
||||
* Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
|
||||
*/
|
||||
protected $common = null;
|
||||
/**
|
||||
* The package name to use in Php. Clobbers the php_namespace option
|
||||
* set in the protobuf. This should be used **only** by APIs
|
||||
* who have already set the language_settings.php.package_name" field
|
||||
* in gapic.yaml. API teams should use the protobuf php_namespace option
|
||||
* where possible.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* library_settings:
|
||||
* php_settings:
|
||||
* library_package: Google\Cloud\PubSub\V1
|
||||
*
|
||||
* Generated from protobuf field <code>string library_package = 2;</code>
|
||||
*/
|
||||
protected $library_package = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
@@ -30,6 +45,17 @@ class PhpSettings extends \Google\Protobuf\Internal\Message
|
||||
*
|
||||
* @type \Google\Api\CommonLanguageSettings $common
|
||||
* Some settings.
|
||||
* @type string $library_package
|
||||
* The package name to use in Php. Clobbers the php_namespace option
|
||||
* set in the protobuf. This should be used **only** by APIs
|
||||
* who have already set the language_settings.php.package_name" field
|
||||
* in gapic.yaml. API teams should use the protobuf php_namespace option
|
||||
* where possible.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* library_settings:
|
||||
* php_settings:
|
||||
* library_package: Google\Cloud\PubSub\V1
|
||||
* }
|
||||
*/
|
||||
public function __construct($data = NULL) {
|
||||
@@ -73,5 +99,49 @@ public function setCommon($var)
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* The package name to use in Php. Clobbers the php_namespace option
|
||||
* set in the protobuf. This should be used **only** by APIs
|
||||
* who have already set the language_settings.php.package_name" field
|
||||
* in gapic.yaml. API teams should use the protobuf php_namespace option
|
||||
* where possible.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* library_settings:
|
||||
* php_settings:
|
||||
* library_package: Google\Cloud\PubSub\V1
|
||||
*
|
||||
* Generated from protobuf field <code>string library_package = 2;</code>
|
||||
* @return string
|
||||
*/
|
||||
public function getLibraryPackage()
|
||||
{
|
||||
return $this->library_package;
|
||||
}
|
||||
|
||||
/**
|
||||
* The package name to use in Php. Clobbers the php_namespace option
|
||||
* set in the protobuf. This should be used **only** by APIs
|
||||
* who have already set the language_settings.php.package_name" field
|
||||
* in gapic.yaml. API teams should use the protobuf php_namespace option
|
||||
* where possible.
|
||||
* Example of a YAML configuration::
|
||||
* publishing:
|
||||
* library_settings:
|
||||
* php_settings:
|
||||
* library_package: Google\Cloud\PubSub\V1
|
||||
*
|
||||
* Generated from protobuf field <code>string library_package = 2;</code>
|
||||
* @param string $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLibraryPackage($var)
|
||||
{
|
||||
GPBUtil::checkString($var, True);
|
||||
$this->library_package = $var;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* A descriptor for defining project properties for a service. One service may
|
||||
@@ -41,7 +41,7 @@ class ProjectProperties extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\Property>|\Google\Protobuf\Internal\RepeatedField $properties
|
||||
* @type \Google\Api\Property[] $properties
|
||||
* List of per consumer project-specific properties.
|
||||
* }
|
||||
*/
|
||||
@@ -54,7 +54,7 @@ public function __construct($data = NULL) {
|
||||
* List of per consumer project-specific properties.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Property properties = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\Property>
|
||||
*/
|
||||
public function getProperties()
|
||||
{
|
||||
@@ -65,7 +65,7 @@ public function getProperties()
|
||||
* List of per consumer project-specific properties.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Property properties = 1;</code>
|
||||
* @param array<\Google\Api\Property>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\Property[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setProperties($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Defines project properties.
|
||||
|
||||
@@ -73,4 +73,3 @@ public static function value($name)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* This message configures the settings for publishing [Google Cloud Client
|
||||
@@ -101,7 +101,7 @@ class Publishing extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\MethodSettings>|\Google\Protobuf\Internal\RepeatedField $method_settings
|
||||
* @type \Google\Api\MethodSettings[] $method_settings
|
||||
* A list of API method settings, e.g. the behavior for methods that use the
|
||||
* long-running operation pattern.
|
||||
* @type string $new_issue_uri
|
||||
@@ -116,7 +116,7 @@ class Publishing extends \Google\Protobuf\Internal\Message
|
||||
* etc. Example: "speech".
|
||||
* @type string $github_label
|
||||
* GitHub label to apply to issues and pull requests opened for this API.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $codeowner_github_teams
|
||||
* @type string[] $codeowner_github_teams
|
||||
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
|
||||
* containing source code for the client libraries for this API.
|
||||
* @type string $doc_tag_prefix
|
||||
@@ -124,7 +124,7 @@ class Publishing extends \Google\Protobuf\Internal\Message
|
||||
* documentation.
|
||||
* @type int $organization
|
||||
* For whom the client library is being published.
|
||||
* @type array<\Google\Api\ClientLibrarySettings>|\Google\Protobuf\Internal\RepeatedField $library_settings
|
||||
* @type \Google\Api\ClientLibrarySettings[] $library_settings
|
||||
* Client library settings. If the same version string appears multiple
|
||||
* times in this list, then the last one wins. Settings from earlier
|
||||
* settings with the same version string are discarded.
|
||||
@@ -146,7 +146,7 @@ public function __construct($data = NULL) {
|
||||
* long-running operation pattern.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MethodSettings method_settings = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\MethodSettings>
|
||||
*/
|
||||
public function getMethodSettings()
|
||||
{
|
||||
@@ -158,7 +158,7 @@ public function getMethodSettings()
|
||||
* long-running operation pattern.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MethodSettings method_settings = 2;</code>
|
||||
* @param array<\Google\Api\MethodSettings>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\MethodSettings[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMethodSettings($var)
|
||||
@@ -286,7 +286,7 @@ public function setGithubLabel($var)
|
||||
* containing source code for the client libraries for this API.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string codeowner_github_teams = 105;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getCodeownerGithubTeams()
|
||||
{
|
||||
@@ -298,7 +298,7 @@ public function getCodeownerGithubTeams()
|
||||
* containing source code for the client libraries for this API.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string codeowner_github_teams = 105;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setCodeownerGithubTeams($var)
|
||||
@@ -369,7 +369,7 @@ public function setOrganization($var)
|
||||
* settings with the same version string are discarded.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ClientLibrarySettings library_settings = 109;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\ClientLibrarySettings>
|
||||
*/
|
||||
public function getLibrarySettings()
|
||||
{
|
||||
@@ -382,7 +382,7 @@ public function getLibrarySettings()
|
||||
* settings with the same version string are discarded.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ClientLibrarySettings library_settings = 109;</code>
|
||||
* @param array<\Google\Api\ClientLibrarySettings>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\ClientLibrarySettings[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLibrarySettings($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Settings for Python client libraries.
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api\PythonSettings;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Experimental features to be included during client library generation.
|
||||
@@ -171,4 +171,3 @@ public function setUnversionedPackageDisabled($var)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
14
vendor/google/common-protos/src/Api/Quota.php
vendored
14
vendor/google/common-protos/src/Api/Quota.php
vendored
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Quota configuration helps to achieve fairness and budgeting in service
|
||||
@@ -74,9 +74,9 @@ class Quota extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\QuotaLimit>|\Google\Protobuf\Internal\RepeatedField $limits
|
||||
* @type \Google\Api\QuotaLimit[] $limits
|
||||
* List of QuotaLimit definitions for the service.
|
||||
* @type array<\Google\Api\MetricRule>|\Google\Protobuf\Internal\RepeatedField $metric_rules
|
||||
* @type \Google\Api\MetricRule[] $metric_rules
|
||||
* List of MetricRule definitions, each one mapping a selected method to one
|
||||
* or more metrics.
|
||||
* }
|
||||
@@ -90,7 +90,7 @@ public function __construct($data = NULL) {
|
||||
* List of QuotaLimit definitions for the service.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.QuotaLimit limits = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\QuotaLimit>
|
||||
*/
|
||||
public function getLimits()
|
||||
{
|
||||
@@ -101,7 +101,7 @@ public function getLimits()
|
||||
* List of QuotaLimit definitions for the service.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.QuotaLimit limits = 3;</code>
|
||||
* @param array<\Google\Api\QuotaLimit>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\QuotaLimit[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLimits($var)
|
||||
@@ -117,7 +117,7 @@ public function setLimits($var)
|
||||
* or more metrics.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MetricRule metric_rules = 4;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\MetricRule>
|
||||
*/
|
||||
public function getMetricRules()
|
||||
{
|
||||
@@ -129,7 +129,7 @@ public function getMetricRules()
|
||||
* or more metrics.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MetricRule metric_rules = 4;</code>
|
||||
* @param array<\Google\Api\MetricRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\MetricRule[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMetricRules($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `QuotaLimit` defines a specific limit that applies over a specified duration
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* A simple descriptor of a resource type.
|
||||
@@ -156,7 +156,7 @@ class ResourceDescriptor extends \Google\Protobuf\Internal\Message
|
||||
* /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
|
||||
* should use PascalCase (UpperCamelCase). The maximum number of
|
||||
* characters allowed for the `resource_type_kind` is 100.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $pattern
|
||||
* @type string[] $pattern
|
||||
* Optional. The relative resource name pattern associated with this resource
|
||||
* type. The DNS prefix of the full resource name shouldn't be specified here.
|
||||
* The path pattern must follow the syntax, which aligns with HTTP binding
|
||||
@@ -204,7 +204,7 @@ class ResourceDescriptor extends \Google\Protobuf\Internal\Message
|
||||
* The same concept of the `singular` field in k8s CRD spec
|
||||
* https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
||||
* Such as "project" for the `resourcemanager.googleapis.com/Project` type.
|
||||
* @type array<int>|\Google\Protobuf\Internal\RepeatedField $style
|
||||
* @type int[] $style
|
||||
* Style flag(s) for this resource.
|
||||
* These indicate that a resource is expected to conform to a given
|
||||
* style. See the specific style flags for additional information.
|
||||
@@ -272,7 +272,7 @@ public function setType($var)
|
||||
* type of resource.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string pattern = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getPattern()
|
||||
{
|
||||
@@ -296,7 +296,7 @@ public function getPattern()
|
||||
* type of resource.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string pattern = 2;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setPattern($var)
|
||||
@@ -467,7 +467,7 @@ public function setSingular($var)
|
||||
* style. See the specific style flags for additional information.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ResourceDescriptor.Style style = 10;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<int>
|
||||
*/
|
||||
public function getStyle()
|
||||
{
|
||||
@@ -480,7 +480,7 @@ public function getStyle()
|
||||
* style. See the specific style flags for additional information.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.ResourceDescriptor.Style style = 10;</code>
|
||||
* @param array<int>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param int[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setStyle($var)
|
||||
|
||||
@@ -63,4 +63,3 @@ public static function value($name)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -57,4 +57,3 @@ public static function value($name)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Defines a proto annotation that describes a string field that refers to
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* A projection from an input message to the GRPC or REST header.
|
||||
@@ -39,7 +39,7 @@ class RoutingParameter extends \Google\Protobuf\Internal\Message
|
||||
* | | routing header.
|
||||
* V |
|
||||
* field: "table_name" v
|
||||
* path_template: "projects/*/{table_location=instances/*}/tables/*"
|
||||
* path_template: "projects/{@*}{table_location=instances/*}/tables/*"
|
||||
* ^ ^
|
||||
* | |
|
||||
* In the {} brackets is the pattern that -- |
|
||||
@@ -50,11 +50,11 @@ class RoutingParameter extends \Google\Protobuf\Internal\Message
|
||||
* before brackets, inside brackets, after brackets.
|
||||
* When looking at this specific example, we can see that:
|
||||
* - A key-value pair with the key `table_location`
|
||||
* and the value matching `instances/*` should be added
|
||||
* and the value matching `instances/*` should be added
|
||||
* to the x-goog-request-params routing header.
|
||||
* - The value is extracted from the request message's `table_name` field
|
||||
* if it matches the full pattern specified:
|
||||
* `projects/*/instances/*/tables/*`.
|
||||
* `projects/{@*}instances/{@*}tables/*`.
|
||||
* **NB:** If the `path_template` field is not provided, the key name is
|
||||
* equal to the field name, and the whole field should be sent as a value.
|
||||
* This makes the pattern for the field and the value functionally equivalent
|
||||
@@ -99,7 +99,7 @@ class RoutingParameter extends \Google\Protobuf\Internal\Message
|
||||
* | | routing header.
|
||||
* V |
|
||||
* field: "table_name" v
|
||||
* path_template: "projects/*/{table_location=instances/*}/tables/*"
|
||||
* path_template: "projects/{@*}{table_location=instances/*}/tables/*"
|
||||
* ^ ^
|
||||
* | |
|
||||
* In the {} brackets is the pattern that -- |
|
||||
@@ -110,11 +110,11 @@ class RoutingParameter extends \Google\Protobuf\Internal\Message
|
||||
* before brackets, inside brackets, after brackets.
|
||||
* When looking at this specific example, we can see that:
|
||||
* - A key-value pair with the key `table_location`
|
||||
* and the value matching `instances/*` should be added
|
||||
* and the value matching `instances/*` should be added
|
||||
* to the x-goog-request-params routing header.
|
||||
* - The value is extracted from the request message's `table_name` field
|
||||
* if it matches the full pattern specified:
|
||||
* `projects/*/instances/*/tables/*`.
|
||||
* `projects/{@*}instances/{@*}tables/*`.
|
||||
* **NB:** If the `path_template` field is not provided, the key name is
|
||||
* equal to the field name, and the whole field should be sent as a value.
|
||||
* This makes the pattern for the field and the value functionally equivalent
|
||||
@@ -179,7 +179,7 @@ public function setField($var)
|
||||
* | | routing header.
|
||||
* V |
|
||||
* field: "table_name" v
|
||||
* path_template: "projects/*/{table_location=instances/*}/tables/*"
|
||||
* path_template: "projects/{@*}{table_location=instances/*}/tables/*"
|
||||
* ^ ^
|
||||
* | |
|
||||
* In the {} brackets is the pattern that -- |
|
||||
@@ -190,11 +190,11 @@ public function setField($var)
|
||||
* before brackets, inside brackets, after brackets.
|
||||
* When looking at this specific example, we can see that:
|
||||
* - A key-value pair with the key `table_location`
|
||||
* and the value matching `instances/*` should be added
|
||||
* and the value matching `instances/*` should be added
|
||||
* to the x-goog-request-params routing header.
|
||||
* - The value is extracted from the request message's `table_name` field
|
||||
* if it matches the full pattern specified:
|
||||
* `projects/*/instances/*/tables/*`.
|
||||
* `projects/{@*}instances/{@*}tables/*`.
|
||||
* **NB:** If the `path_template` field is not provided, the key name is
|
||||
* equal to the field name, and the whole field should be sent as a value.
|
||||
* This makes the pattern for the field and the value functionally equivalent
|
||||
@@ -235,7 +235,7 @@ public function getPathTemplate()
|
||||
* | | routing header.
|
||||
* V |
|
||||
* field: "table_name" v
|
||||
* path_template: "projects/*/{table_location=instances/*}/tables/*"
|
||||
* path_template: "projects/{@*}{table_location=instances/*}/tables/*"
|
||||
* ^ ^
|
||||
* | |
|
||||
* In the {} brackets is the pattern that -- |
|
||||
@@ -246,11 +246,11 @@ public function getPathTemplate()
|
||||
* before brackets, inside brackets, after brackets.
|
||||
* When looking at this specific example, we can see that:
|
||||
* - A key-value pair with the key `table_location`
|
||||
* and the value matching `instances/*` should be added
|
||||
* and the value matching `instances/*` should be added
|
||||
* to the x-goog-request-params routing header.
|
||||
* - The value is extracted from the request message's `table_name` field
|
||||
* if it matches the full pattern specified:
|
||||
* `projects/*/instances/*/tables/*`.
|
||||
* `projects/{@*}instances/{@*}tables/*`.
|
||||
* **NB:** If the `path_template` field is not provided, the key name is
|
||||
* equal to the field name, and the whole field should be sent as a value.
|
||||
* This makes the pattern for the field and the value functionally equivalent
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Specifies the routing information that should be sent along with the request
|
||||
@@ -32,9 +32,12 @@
|
||||
* table_name: projects/proj_foo/instances/instance_bar/table/table_baz,
|
||||
* app_profile_id: profiles/prof_qux
|
||||
* }
|
||||
* The routing header consists of one or multiple key-value pairs. Every key
|
||||
* and value must be percent-encoded, and joined together in the format of
|
||||
* `key1=value1&key2=value2`.
|
||||
* The routing header consists of one or multiple key-value pairs. The order of
|
||||
* the key-value pairs is undefined, the order of the `routing_parameters` in
|
||||
* the `RoutingRule` only matters for the evaluation order of the path
|
||||
* templates when `field` is the same. See the examples below for more details.
|
||||
* Every key and value in the routing header must be percent-encoded,
|
||||
* and joined together in the following format: `key1=value1&key2=value2`.
|
||||
* The examples below skip the percent-encoding for readability.
|
||||
* Example 1
|
||||
* Extracting a field from the request to put into the routing header
|
||||
@@ -74,7 +77,7 @@
|
||||
* // syntax).
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{table_name=projects/*/instances/*/**}"
|
||||
* path_template: "{table_name=projects/{@*}instances/{@*}**}"
|
||||
* }
|
||||
* };
|
||||
* result:
|
||||
@@ -88,7 +91,7 @@
|
||||
* // syntax).
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{table_name=regions/*/zones/*/**}"
|
||||
* path_template: "{table_name=regions/{@*}zones/{@*}**}"
|
||||
* }
|
||||
* };
|
||||
* result:
|
||||
@@ -102,11 +105,11 @@
|
||||
* // using the region- or projects-based syntax.
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{table_name=regions/*/zones/*/**}"
|
||||
* path_template: "{table_name=regions/{@*}zones/{@*}**}"
|
||||
* }
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{table_name=projects/*/instances/*/**}"
|
||||
* path_template: "{table_name=projects/{@*}instances/{@*}**}"
|
||||
* }
|
||||
* };
|
||||
* result:
|
||||
@@ -120,7 +123,7 @@
|
||||
* // Take just the project id from the `table_name` field.
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{routing_id=projects/*}/**"
|
||||
* path_template: "{routing_id=projects/*}/**"
|
||||
* }
|
||||
* };
|
||||
* result:
|
||||
@@ -136,11 +139,11 @@
|
||||
* // Otherwise take project + instance.
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{routing_id=projects/*}/**"
|
||||
* path_template: "{routing_id=projects/*}/**"
|
||||
* }
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{routing_id=projects/*/instances/*}/**"
|
||||
* path_template: "{routing_id=projects/{@*}instances/*}/**"
|
||||
* }
|
||||
* };
|
||||
* result:
|
||||
@@ -159,11 +162,11 @@
|
||||
* // syntax.
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{project_id=projects/*}/instances/*/**"
|
||||
* path_template: "{project_id=projects/*}/instances/{@*}**"
|
||||
* }
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "projects/*/{instance_id=instances/*}/**"
|
||||
* path_template: "projects/{@*}{instance_id=instances/*}/**"
|
||||
* }
|
||||
* };
|
||||
* result:
|
||||
@@ -179,11 +182,11 @@
|
||||
* // an instance in the `table_name`.
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{project_id=projects/*}/**"
|
||||
* path_template: "{project_id=projects/*}/**"
|
||||
* }
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "projects/*/{instance_id=instances/*}/**"
|
||||
* path_template: "projects/{@*}{instance_id=instances/*}/**"
|
||||
* }
|
||||
* };
|
||||
* result (is the same as 6a for our example message because it has the instance
|
||||
@@ -204,7 +207,7 @@
|
||||
* // (from the `app_profile_id` field) for routing.
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{project_id=projects/*}/**"
|
||||
* path_template: "{project_id=projects/*}/**"
|
||||
* }
|
||||
* routing_parameters {
|
||||
* field: "app_profile_id"
|
||||
@@ -225,11 +228,11 @@
|
||||
* // If `app_profile_id` is set it should be used instead.
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{routing_id=projects/*}/**"
|
||||
* path_template: "{routing_id=projects/*}/**"
|
||||
* }
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{routing_id=regions/*}/**"
|
||||
* path_template: "{routing_id=regions/*}/**"
|
||||
* }
|
||||
* routing_parameters {
|
||||
* field: "app_profile_id"
|
||||
@@ -254,15 +257,15 @@
|
||||
* // the project_id, send that instead.
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "projects/*/{table_location=instances/*}/tables/*"
|
||||
* path_template: "projects/{@*}{table_location=instances/*}/tables/*"
|
||||
* }
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{table_location=regions/*/zones/*}/tables/*"
|
||||
* path_template: "{table_location=regions/{@*}zones/*}/tables/*"
|
||||
* }
|
||||
* routing_parameters {
|
||||
* field: "table_name"
|
||||
* path_template: "{routing_id=projects/*}/**"
|
||||
* path_template: "{routing_id=projects/*}/**"
|
||||
* }
|
||||
* routing_parameters {
|
||||
* field: "app_profile_id"
|
||||
@@ -299,7 +302,7 @@ class RoutingRule extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\RoutingParameter>|\Google\Protobuf\Internal\RepeatedField $routing_parameters
|
||||
* @type \Google\Api\RoutingParameter[] $routing_parameters
|
||||
* A collection of Routing Parameter specifications.
|
||||
* **NOTE:** If multiple Routing Parameters describe the same key
|
||||
* (via the `path_template` field or via the `field` field when
|
||||
@@ -322,7 +325,7 @@ public function __construct($data = NULL) {
|
||||
* See the examples for more details.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.RoutingParameter routing_parameters = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\RoutingParameter>
|
||||
*/
|
||||
public function getRoutingParameters()
|
||||
{
|
||||
@@ -338,7 +341,7 @@ public function getRoutingParameters()
|
||||
* See the examples for more details.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.RoutingParameter routing_parameters = 2;</code>
|
||||
* @param array<\Google\Api\RoutingParameter>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\RoutingParameter[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRoutingParameters($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Settings for Ruby client libraries.
|
||||
|
||||
@@ -5,12 +5,13 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* This message is used to configure the generation of a subset of the RPCs in
|
||||
* a service for client libraries.
|
||||
* Note: This feature should not be used in most cases.
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.SelectiveGapicGeneration</code>
|
||||
*/
|
||||
@@ -41,7 +42,7 @@ class SelectiveGapicGeneration extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $methods
|
||||
* @type string[] $methods
|
||||
* An allowlist of the fully qualified names of RPCs that should be included
|
||||
* on public client surfaces.
|
||||
* @type bool $generate_omitted_as_internal
|
||||
@@ -63,7 +64,7 @@ public function __construct($data = NULL) {
|
||||
* on public client surfaces.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string methods = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getMethods()
|
||||
{
|
||||
@@ -75,7 +76,7 @@ public function getMethods()
|
||||
* on public client surfaces.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string methods = 1;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMethods($var)
|
||||
|
||||
56
vendor/google/common-protos/src/Api/Service.php
vendored
56
vendor/google/common-protos/src/Api/Service.php
vendored
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `Service` is the root object of Google API service configuration (service
|
||||
@@ -177,8 +177,7 @@ class Service extends \Google\Protobuf\Internal\Message
|
||||
private $metrics;
|
||||
/**
|
||||
* Defines the monitored resources used by this service. This is required
|
||||
* by the [Service.monitoring][google.api.Service.monitoring] and
|
||||
* [Service.logging][google.api.Service.logging] configurations.
|
||||
* by the `Service.monitoring` and `Service.logging` configurations.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;</code>
|
||||
*/
|
||||
@@ -251,13 +250,13 @@ class Service extends \Google\Protobuf\Internal\Message
|
||||
* by the client for tracking purpose. Must be no longer than 63 characters
|
||||
* and only lower case letters, digits, '.', '_' and '-' are allowed. If
|
||||
* empty, the server may choose to generate one instead.
|
||||
* @type array<\Google\Protobuf\Api>|\Google\Protobuf\Internal\RepeatedField $apis
|
||||
* @type \Google\Protobuf\Api[] $apis
|
||||
* A list of API interfaces exported by this service. Only the `name` field
|
||||
* of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
|
||||
* the configuration author, as the remaining fields will be derived from the
|
||||
* IDL during the normalization process. It is an error to specify an API
|
||||
* interface here which cannot be resolved against the associated IDL files.
|
||||
* @type array<\Google\Protobuf\Type>|\Google\Protobuf\Internal\RepeatedField $types
|
||||
* @type \Google\Protobuf\Type[] $types
|
||||
* A list of all proto message types included in this API service.
|
||||
* Types referenced directly or indirectly by the `apis` are automatically
|
||||
* included. Messages which are not referenced but shall be included, such as
|
||||
@@ -265,7 +264,7 @@ class Service extends \Google\Protobuf\Internal\Message
|
||||
* name by the configuration author. Example:
|
||||
* types:
|
||||
* - name: google.protobuf.Int32
|
||||
* @type array<\Google\Protobuf\Enum>|\Google\Protobuf\Internal\RepeatedField $enums
|
||||
* @type \Google\Protobuf\Enum[] $enums
|
||||
* A list of all enum types included in this API service. Enums referenced
|
||||
* directly or indirectly by the `apis` are automatically included. Enums
|
||||
* which are not referenced but shall be included should be listed here by
|
||||
@@ -286,20 +285,19 @@ class Service extends \Google\Protobuf\Internal\Message
|
||||
* Context configuration.
|
||||
* @type \Google\Api\Usage $usage
|
||||
* Configuration controlling usage of this service.
|
||||
* @type array<\Google\Api\Endpoint>|\Google\Protobuf\Internal\RepeatedField $endpoints
|
||||
* @type \Google\Api\Endpoint[] $endpoints
|
||||
* Configuration for network endpoints. If this is empty, then an endpoint
|
||||
* with the same name as the service is automatically generated to service all
|
||||
* defined APIs.
|
||||
* @type \Google\Api\Control $control
|
||||
* Configuration for the service control plane.
|
||||
* @type array<\Google\Api\LogDescriptor>|\Google\Protobuf\Internal\RepeatedField $logs
|
||||
* @type \Google\Api\LogDescriptor[] $logs
|
||||
* Defines the logs used by this service.
|
||||
* @type array<\Google\Api\MetricDescriptor>|\Google\Protobuf\Internal\RepeatedField $metrics
|
||||
* @type \Google\Api\MetricDescriptor[] $metrics
|
||||
* Defines the metrics used by this service.
|
||||
* @type array<\Google\Api\MonitoredResourceDescriptor>|\Google\Protobuf\Internal\RepeatedField $monitored_resources
|
||||
* @type \Google\Api\MonitoredResourceDescriptor[] $monitored_resources
|
||||
* Defines the monitored resources used by this service. This is required
|
||||
* by the [Service.monitoring][google.api.Service.monitoring] and
|
||||
* [Service.logging][google.api.Service.logging] configurations.
|
||||
* by the `Service.monitoring` and `Service.logging` configurations.
|
||||
* @type \Google\Api\Billing $billing
|
||||
* Billing configuration.
|
||||
* @type \Google\Api\Logging $logging
|
||||
@@ -451,7 +449,7 @@ public function setId($var)
|
||||
* interface here which cannot be resolved against the associated IDL files.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Api apis = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Protobuf\Api>
|
||||
*/
|
||||
public function getApis()
|
||||
{
|
||||
@@ -466,7 +464,7 @@ public function getApis()
|
||||
* interface here which cannot be resolved against the associated IDL files.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Api apis = 3;</code>
|
||||
* @param array<\Google\Protobuf\Api>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Protobuf\Api[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setApis($var)
|
||||
@@ -487,7 +485,7 @@ public function setApis($var)
|
||||
* - name: google.protobuf.Int32
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Type types = 4;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Protobuf\Type>
|
||||
*/
|
||||
public function getTypes()
|
||||
{
|
||||
@@ -504,7 +502,7 @@ public function getTypes()
|
||||
* - name: google.protobuf.Int32
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Type types = 4;</code>
|
||||
* @param array<\Google\Protobuf\Type>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Protobuf\Type[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setTypes($var)
|
||||
@@ -524,7 +522,7 @@ public function setTypes($var)
|
||||
* - name: google.someapi.v1.SomeEnum
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Enum enums = 5;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Protobuf\Enum>
|
||||
*/
|
||||
public function getEnums()
|
||||
{
|
||||
@@ -540,7 +538,7 @@ public function getEnums()
|
||||
* - name: google.someapi.v1.SomeEnum
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Enum enums = 5;</code>
|
||||
* @param array<\Google\Protobuf\Enum>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Protobuf\Enum[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setEnums($var)
|
||||
@@ -809,7 +807,7 @@ public function setUsage($var)
|
||||
* defined APIs.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Endpoint endpoints = 18;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\Endpoint>
|
||||
*/
|
||||
public function getEndpoints()
|
||||
{
|
||||
@@ -822,7 +820,7 @@ public function getEndpoints()
|
||||
* defined APIs.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.Endpoint endpoints = 18;</code>
|
||||
* @param array<\Google\Api\Endpoint>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\Endpoint[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setEndpoints($var)
|
||||
@@ -873,7 +871,7 @@ public function setControl($var)
|
||||
* Defines the logs used by this service.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.LogDescriptor logs = 23;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\LogDescriptor>
|
||||
*/
|
||||
public function getLogs()
|
||||
{
|
||||
@@ -884,7 +882,7 @@ public function getLogs()
|
||||
* Defines the logs used by this service.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.LogDescriptor logs = 23;</code>
|
||||
* @param array<\Google\Api\LogDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\LogDescriptor[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setLogs($var)
|
||||
@@ -899,7 +897,7 @@ public function setLogs($var)
|
||||
* Defines the metrics used by this service.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MetricDescriptor metrics = 24;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\MetricDescriptor>
|
||||
*/
|
||||
public function getMetrics()
|
||||
{
|
||||
@@ -910,7 +908,7 @@ public function getMetrics()
|
||||
* Defines the metrics used by this service.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MetricDescriptor metrics = 24;</code>
|
||||
* @param array<\Google\Api\MetricDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\MetricDescriptor[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMetrics($var)
|
||||
@@ -923,11 +921,10 @@ public function setMetrics($var)
|
||||
|
||||
/**
|
||||
* Defines the monitored resources used by this service. This is required
|
||||
* by the [Service.monitoring][google.api.Service.monitoring] and
|
||||
* [Service.logging][google.api.Service.logging] configurations.
|
||||
* by the `Service.monitoring` and `Service.logging` configurations.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\MonitoredResourceDescriptor>
|
||||
*/
|
||||
public function getMonitoredResources()
|
||||
{
|
||||
@@ -936,11 +933,10 @@ public function getMonitoredResources()
|
||||
|
||||
/**
|
||||
* Defines the monitored resources used by this service. This is required
|
||||
* by the [Service.monitoring][google.api.Service.monitoring] and
|
||||
* [Service.logging][google.api.Service.logging] configurations.
|
||||
* by the `Service.monitoring` and `Service.logging` configurations.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.MonitoredResourceDescriptor monitored_resources = 25;</code>
|
||||
* @param array<\Google\Api\MonitoredResourceDescriptor>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\MonitoredResourceDescriptor[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMonitoredResources($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Source information used to create a Service Config
|
||||
@@ -28,7 +28,7 @@ class SourceInfo extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $source_files
|
||||
* @type \Google\Protobuf\Any[] $source_files
|
||||
* All files used during config generation.
|
||||
* }
|
||||
*/
|
||||
@@ -41,7 +41,7 @@ public function __construct($data = NULL) {
|
||||
* All files used during config generation.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Any source_files = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Protobuf\Any>
|
||||
*/
|
||||
public function getSourceFiles()
|
||||
{
|
||||
@@ -52,7 +52,7 @@ public function getSourceFiles()
|
||||
* All files used during config generation.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.protobuf.Any source_files = 1;</code>
|
||||
* @param array<\Google\Protobuf\Any>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Protobuf\Any[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setSourceFiles($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Define a parameter's name and location. The parameter may be passed as either
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Define a system parameter rule mapping system parameter definitions to
|
||||
@@ -47,7 +47,7 @@ class SystemParameterRule extends \Google\Protobuf\Internal\Message
|
||||
* methods in all APIs.
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
* @type array<\Google\Api\SystemParameter>|\Google\Protobuf\Internal\RepeatedField $parameters
|
||||
* @type \Google\Api\SystemParameter[] $parameters
|
||||
* Define parameters. Multiple names may be defined for a parameter.
|
||||
* For a given method call, only one of them should be used. If multiple
|
||||
* names are used the behavior is implementation-dependent.
|
||||
@@ -100,7 +100,7 @@ public function setSelector($var)
|
||||
* parameter-dependent.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.SystemParameter parameters = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\SystemParameter>
|
||||
*/
|
||||
public function getParameters()
|
||||
{
|
||||
@@ -115,7 +115,7 @@ public function getParameters()
|
||||
* parameter-dependent.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.SystemParameter parameters = 2;</code>
|
||||
* @param array<\Google\Api\SystemParameter>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\SystemParameter[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setParameters($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* ### System parameter configuration
|
||||
@@ -53,7 +53,7 @@ class SystemParameters extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\SystemParameterRule>|\Google\Protobuf\Internal\RepeatedField $rules
|
||||
* @type \Google\Api\SystemParameterRule[] $rules
|
||||
* Define system parameters.
|
||||
* The parameters defined here will override the default parameters
|
||||
* implemented by the system. If this field is missing from the service
|
||||
@@ -108,7 +108,7 @@ public function __construct($data = NULL) {
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.SystemParameterRule rules = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\SystemParameterRule>
|
||||
*/
|
||||
public function getRules()
|
||||
{
|
||||
@@ -140,7 +140,7 @@ public function getRules()
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.SystemParameterRule rules = 1;</code>
|
||||
* @param array<\Google\Api\SystemParameterRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\SystemParameterRule[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRules($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* A reference to a message type, for use in [FieldInfo][google.api.FieldInfo].
|
||||
|
||||
14
vendor/google/common-protos/src/Api/Usage.php
vendored
14
vendor/google/common-protos/src/Api/Usage.php
vendored
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Configuration controlling usage of a service.
|
||||
@@ -54,7 +54,7 @@ class Usage extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $requirements
|
||||
* @type string[] $requirements
|
||||
* Requirements that must be satisfied before a consumer project can use the
|
||||
* service. Each requirement is of the form <service.name>/<requirement-id>;
|
||||
* for example 'serviceusage.googleapis.com/billing-enabled'.
|
||||
@@ -63,7 +63,7 @@ class Usage extends \Google\Protobuf\Internal\Message
|
||||
* Other Google APIs should include
|
||||
* "serviceusage.googleapis.com/tos/universal". Additional ToS can be
|
||||
* included based on the business needs.
|
||||
* @type array<\Google\Api\UsageRule>|\Google\Protobuf\Internal\RepeatedField $rules
|
||||
* @type \Google\Api\UsageRule[] $rules
|
||||
* A list of usage rules that apply to individual API methods.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
* @type string $producer_notification_channel
|
||||
@@ -92,7 +92,7 @@ public function __construct($data = NULL) {
|
||||
* included based on the business needs.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string requirements = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getRequirements()
|
||||
{
|
||||
@@ -110,7 +110,7 @@ public function getRequirements()
|
||||
* included based on the business needs.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string requirements = 1;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRequirements($var)
|
||||
@@ -126,7 +126,7 @@ public function setRequirements($var)
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.UsageRule rules = 6;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\UsageRule>
|
||||
*/
|
||||
public function getRules()
|
||||
{
|
||||
@@ -138,7 +138,7 @@ public function getRules()
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.UsageRule rules = 6;</code>
|
||||
* @param array<\Google\Api\UsageRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\UsageRule[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRules($var)
|
||||
|
||||
@@ -5,28 +5,11 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Usage configuration rules for the service.
|
||||
* NOTE: Under development.
|
||||
* Use this rule to configure unregistered calls for the service. Unregistered
|
||||
* calls are calls that do not contain consumer project identity.
|
||||
* (Example: calls that do not contain an API key).
|
||||
* By default, API methods do not allow unregistered calls, and each method call
|
||||
* must be identified by a consumer project identity. Use this rule to
|
||||
* allow/disallow unregistered calls.
|
||||
* Example of an API that wants to allow unregistered calls for entire service.
|
||||
* usage:
|
||||
* rules:
|
||||
* - selector: "*"
|
||||
* allow_unregistered_calls: true
|
||||
* Example of a method that wants to allow unregistered calls.
|
||||
* usage:
|
||||
* rules:
|
||||
* - selector: "google.example.library.v1.LibraryService.CreateBook"
|
||||
* allow_unregistered_calls: true
|
||||
*
|
||||
* Generated from protobuf message <code>google.api.UsageRule</code>
|
||||
*/
|
||||
@@ -42,8 +25,11 @@ class UsageRule extends \Google\Protobuf\Internal\Message
|
||||
*/
|
||||
protected $selector = '';
|
||||
/**
|
||||
* If true, the selected method allows unregistered calls, e.g. calls
|
||||
* that don't identify any user or application.
|
||||
* Use this rule to configure unregistered calls for the service. Unregistered
|
||||
* calls are calls that do not contain consumer project identity.
|
||||
* (Example: calls that do not contain an API key).
|
||||
* WARNING: By default, API methods do not allow unregistered calls, and each
|
||||
* method call must be identified by a consumer project identity.
|
||||
*
|
||||
* Generated from protobuf field <code>bool allow_unregistered_calls = 2;</code>
|
||||
*/
|
||||
@@ -70,8 +56,11 @@ class UsageRule extends \Google\Protobuf\Internal\Message
|
||||
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
|
||||
* details.
|
||||
* @type bool $allow_unregistered_calls
|
||||
* If true, the selected method allows unregistered calls, e.g. calls
|
||||
* that don't identify any user or application.
|
||||
* Use this rule to configure unregistered calls for the service. Unregistered
|
||||
* calls are calls that do not contain consumer project identity.
|
||||
* (Example: calls that do not contain an API key).
|
||||
* WARNING: By default, API methods do not allow unregistered calls, and each
|
||||
* method call must be identified by a consumer project identity.
|
||||
* @type bool $skip_service_control
|
||||
* If true, the selected method should skip service control and the control
|
||||
* plane features, such as quota and billing, will not be available.
|
||||
@@ -117,8 +106,11 @@ public function setSelector($var)
|
||||
}
|
||||
|
||||
/**
|
||||
* If true, the selected method allows unregistered calls, e.g. calls
|
||||
* that don't identify any user or application.
|
||||
* Use this rule to configure unregistered calls for the service. Unregistered
|
||||
* calls are calls that do not contain consumer project identity.
|
||||
* (Example: calls that do not contain an API key).
|
||||
* WARNING: By default, API methods do not allow unregistered calls, and each
|
||||
* method call must be identified by a consumer project identity.
|
||||
*
|
||||
* Generated from protobuf field <code>bool allow_unregistered_calls = 2;</code>
|
||||
* @return bool
|
||||
@@ -129,8 +121,11 @@ public function getAllowUnregisteredCalls()
|
||||
}
|
||||
|
||||
/**
|
||||
* If true, the selected method allows unregistered calls, e.g. calls
|
||||
* that don't identify any user or application.
|
||||
* Use this rule to configure unregistered calls for the service. Unregistered
|
||||
* calls are calls that do not contain consumer project identity.
|
||||
* (Example: calls that do not contain an API key).
|
||||
* WARNING: By default, API methods do not allow unregistered calls, and each
|
||||
* method call must be identified by a consumer project identity.
|
||||
*
|
||||
* Generated from protobuf field <code>bool allow_unregistered_calls = 2;</code>
|
||||
* @param bool $var
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* `Visibility` restricts service consumer's access to service elements,
|
||||
@@ -46,7 +46,7 @@ class Visibility extends \Google\Protobuf\Internal\Message
|
||||
* @param array $data {
|
||||
* Optional. Data for populating the Message object.
|
||||
*
|
||||
* @type array<\Google\Api\VisibilityRule>|\Google\Protobuf\Internal\RepeatedField $rules
|
||||
* @type \Google\Api\VisibilityRule[] $rules
|
||||
* A list of visibility rules that apply to individual API elements.
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
* }
|
||||
@@ -61,7 +61,7 @@ public function __construct($data = NULL) {
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.VisibilityRule rules = 1;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Api\VisibilityRule>
|
||||
*/
|
||||
public function getRules()
|
||||
{
|
||||
@@ -73,7 +73,7 @@ public function getRules()
|
||||
* **NOTE:** All service configuration rules follow "last one wins" order.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.api.VisibilityRule rules = 1;</code>
|
||||
* @param array<\Google\Api\VisibilityRule>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Api\VisibilityRule[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setRules($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Api;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* A visibility rule provides visibility configuration for an individual API
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Cloud\Iam\V1;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Specifies the audit configuration for a service.
|
||||
@@ -26,7 +26,7 @@
|
||||
* {
|
||||
* "log_type": "DATA_READ",
|
||||
* "exempted_members": [
|
||||
* "user:jose@example.com"
|
||||
* "user:jose\@example.com"
|
||||
* ]
|
||||
* },
|
||||
* {
|
||||
@@ -46,7 +46,7 @@
|
||||
* {
|
||||
* "log_type": "DATA_WRITE",
|
||||
* "exempted_members": [
|
||||
* "user:aliya@example.com"
|
||||
* "user:aliya\@example.com"
|
||||
* ]
|
||||
* }
|
||||
* ]
|
||||
@@ -54,8 +54,8 @@
|
||||
* ]
|
||||
* }
|
||||
* For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
||||
* logging. It also exempts `jose@example.com` from DATA_READ logging, and
|
||||
* `aliya@example.com` from DATA_WRITE logging.
|
||||
* logging. It also exempts `jose\@example.com` from DATA_READ logging, and
|
||||
* `aliya\@example.com` from DATA_WRITE logging.
|
||||
*
|
||||
* Generated from protobuf message <code>google.iam.v1.AuditConfig</code>
|
||||
*/
|
||||
@@ -86,7 +86,7 @@ class AuditConfig extends \Google\Protobuf\Internal\Message
|
||||
* Specifies a service that will be enabled for audit logging.
|
||||
* For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
||||
* `allServices` is a special value that covers all services.
|
||||
* @type array<\Google\Cloud\Iam\V1\AuditLogConfig>|\Google\Protobuf\Internal\RepeatedField $audit_log_configs
|
||||
* @type \Google\Cloud\Iam\V1\AuditLogConfig[] $audit_log_configs
|
||||
* The configuration for logging of each type of permission.
|
||||
* }
|
||||
*/
|
||||
@@ -129,7 +129,7 @@ public function setService($var)
|
||||
* The configuration for logging of each type of permission.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<\Google\Cloud\Iam\V1\AuditLogConfig>
|
||||
*/
|
||||
public function getAuditLogConfigs()
|
||||
{
|
||||
@@ -140,7 +140,7 @@ public function getAuditLogConfigs()
|
||||
* The configuration for logging of each type of permission.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated .google.iam.v1.AuditLogConfig audit_log_configs = 3;</code>
|
||||
* @param array<\Google\Cloud\Iam\V1\AuditLogConfig>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param \Google\Cloud\Iam\V1\AuditLogConfig[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setAuditLogConfigs($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Cloud\Iam\V1;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* One delta entry for AuditConfig. Each individual change (only one
|
||||
|
||||
@@ -59,4 +59,3 @@ public static function value($name)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Cloud\Iam\V1;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Provides the configuration for logging a type of permissions.
|
||||
@@ -16,7 +16,7 @@
|
||||
* {
|
||||
* "log_type": "DATA_READ",
|
||||
* "exempted_members": [
|
||||
* "user:jose@example.com"
|
||||
* "user:jose\@example.com"
|
||||
* ]
|
||||
* },
|
||||
* {
|
||||
@@ -25,7 +25,7 @@
|
||||
* ]
|
||||
* }
|
||||
* This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
||||
* jose@example.com from DATA_READ logging.
|
||||
* jose\@example.com from DATA_READ logging.
|
||||
*
|
||||
* Generated from protobuf message <code>google.iam.v1.AuditLogConfig</code>
|
||||
*/
|
||||
@@ -55,7 +55,7 @@ class AuditLogConfig extends \Google\Protobuf\Internal\Message
|
||||
*
|
||||
* @type int $log_type
|
||||
* The log type that this config enables.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $exempted_members
|
||||
* @type string[] $exempted_members
|
||||
* Specifies the identities that do not cause logging for this type of
|
||||
* permission.
|
||||
* Follows the same format of
|
||||
@@ -100,7 +100,7 @@ public function setLogType($var)
|
||||
* [Binding.members][google.iam.v1.Binding.members].
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string exempted_members = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getExemptedMembers()
|
||||
{
|
||||
@@ -114,7 +114,7 @@ public function getExemptedMembers()
|
||||
* [Binding.members][google.iam.v1.Binding.members].
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string exempted_members = 2;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setExemptedMembers($var)
|
||||
|
||||
@@ -67,4 +67,3 @@ public static function value($name)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Cloud\Iam\V1;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* Associates `members`, or principals, with a `role`.
|
||||
@@ -30,26 +30,26 @@ class Binding extends \Google\Protobuf\Internal\Message
|
||||
* * `allAuthenticatedUsers`: A special identifier that represents anyone
|
||||
* who is authenticated with a Google account or a service account.
|
||||
* * `user:{emailid}`: An email address that represents a specific Google
|
||||
* account. For example, `alice@example.com` .
|
||||
* account. For example, `alice\@example.com` .
|
||||
* * `serviceAccount:{emailid}`: An email address that represents a service
|
||||
* account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
* account. For example, `my-other-app\@appspot.gserviceaccount.com`.
|
||||
* * `group:{emailid}`: An email address that represents a Google group.
|
||||
* For example, `admins@example.com`.
|
||||
* For example, `admins\@example.com`.
|
||||
* * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
||||
* identifier) representing a user that has been recently deleted. For
|
||||
* example, `alice@example.com?uid=123456789012345678901`. If the user is
|
||||
* example, `alice\@example.com?uid=123456789012345678901`. If the user is
|
||||
* recovered, this value reverts to `user:{emailid}` and the recovered user
|
||||
* retains the role in the binding.
|
||||
* * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
|
||||
* unique identifier) representing a service account that has been recently
|
||||
* deleted. For example,
|
||||
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||
* `my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||
* If the service account is undeleted, this value reverts to
|
||||
* `serviceAccount:{emailid}` and the undeleted service account retains the
|
||||
* role in the binding.
|
||||
* * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
||||
* identifier) representing a Google group that has been recently
|
||||
* deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
||||
* deleted. For example, `admins\@example.com?uid=123456789012345678901`. If
|
||||
* the group is recovered, this value reverts to `group:{emailid}` and the
|
||||
* recovered group retains the role in the binding.
|
||||
* * `domain:{domain}`: The G Suite domain (primary) that represents all the
|
||||
@@ -82,7 +82,7 @@ class Binding extends \Google\Protobuf\Internal\Message
|
||||
* @type string $role
|
||||
* Role that is assigned to the list of `members`, or principals.
|
||||
* For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
||||
* @type array<string>|\Google\Protobuf\Internal\RepeatedField $members
|
||||
* @type string[] $members
|
||||
* Specifies the principals requesting access for a Google Cloud resource.
|
||||
* `members` can have the following values:
|
||||
* * `allUsers`: A special identifier that represents anyone who is
|
||||
@@ -90,26 +90,26 @@ class Binding extends \Google\Protobuf\Internal\Message
|
||||
* * `allAuthenticatedUsers`: A special identifier that represents anyone
|
||||
* who is authenticated with a Google account or a service account.
|
||||
* * `user:{emailid}`: An email address that represents a specific Google
|
||||
* account. For example, `alice@example.com` .
|
||||
* account. For example, `alice\@example.com` .
|
||||
* * `serviceAccount:{emailid}`: An email address that represents a service
|
||||
* account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
* account. For example, `my-other-app\@appspot.gserviceaccount.com`.
|
||||
* * `group:{emailid}`: An email address that represents a Google group.
|
||||
* For example, `admins@example.com`.
|
||||
* For example, `admins\@example.com`.
|
||||
* * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
||||
* identifier) representing a user that has been recently deleted. For
|
||||
* example, `alice@example.com?uid=123456789012345678901`. If the user is
|
||||
* example, `alice\@example.com?uid=123456789012345678901`. If the user is
|
||||
* recovered, this value reverts to `user:{emailid}` and the recovered user
|
||||
* retains the role in the binding.
|
||||
* * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
|
||||
* unique identifier) representing a service account that has been recently
|
||||
* deleted. For example,
|
||||
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||
* `my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||
* If the service account is undeleted, this value reverts to
|
||||
* `serviceAccount:{emailid}` and the undeleted service account retains the
|
||||
* role in the binding.
|
||||
* * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
||||
* identifier) representing a Google group that has been recently
|
||||
* deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
||||
* deleted. For example, `admins\@example.com?uid=123456789012345678901`. If
|
||||
* the group is recovered, this value reverts to `group:{emailid}` and the
|
||||
* recovered group retains the role in the binding.
|
||||
* * `domain:{domain}`: The G Suite domain (primary) that represents all the
|
||||
@@ -167,33 +167,33 @@ public function setRole($var)
|
||||
* * `allAuthenticatedUsers`: A special identifier that represents anyone
|
||||
* who is authenticated with a Google account or a service account.
|
||||
* * `user:{emailid}`: An email address that represents a specific Google
|
||||
* account. For example, `alice@example.com` .
|
||||
* account. For example, `alice\@example.com` .
|
||||
* * `serviceAccount:{emailid}`: An email address that represents a service
|
||||
* account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
* account. For example, `my-other-app\@appspot.gserviceaccount.com`.
|
||||
* * `group:{emailid}`: An email address that represents a Google group.
|
||||
* For example, `admins@example.com`.
|
||||
* For example, `admins\@example.com`.
|
||||
* * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
||||
* identifier) representing a user that has been recently deleted. For
|
||||
* example, `alice@example.com?uid=123456789012345678901`. If the user is
|
||||
* example, `alice\@example.com?uid=123456789012345678901`. If the user is
|
||||
* recovered, this value reverts to `user:{emailid}` and the recovered user
|
||||
* retains the role in the binding.
|
||||
* * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
|
||||
* unique identifier) representing a service account that has been recently
|
||||
* deleted. For example,
|
||||
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||
* `my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||
* If the service account is undeleted, this value reverts to
|
||||
* `serviceAccount:{emailid}` and the undeleted service account retains the
|
||||
* role in the binding.
|
||||
* * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
||||
* identifier) representing a Google group that has been recently
|
||||
* deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
||||
* deleted. For example, `admins\@example.com?uid=123456789012345678901`. If
|
||||
* the group is recovered, this value reverts to `group:{emailid}` and the
|
||||
* recovered group retains the role in the binding.
|
||||
* * `domain:{domain}`: The G Suite domain (primary) that represents all the
|
||||
* users of that domain. For example, `google.com` or `example.com`.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string members = 2;</code>
|
||||
* @return \Google\Protobuf\Internal\RepeatedField
|
||||
* @return RepeatedField<string>
|
||||
*/
|
||||
public function getMembers()
|
||||
{
|
||||
@@ -208,33 +208,33 @@ public function getMembers()
|
||||
* * `allAuthenticatedUsers`: A special identifier that represents anyone
|
||||
* who is authenticated with a Google account or a service account.
|
||||
* * `user:{emailid}`: An email address that represents a specific Google
|
||||
* account. For example, `alice@example.com` .
|
||||
* account. For example, `alice\@example.com` .
|
||||
* * `serviceAccount:{emailid}`: An email address that represents a service
|
||||
* account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||
* account. For example, `my-other-app\@appspot.gserviceaccount.com`.
|
||||
* * `group:{emailid}`: An email address that represents a Google group.
|
||||
* For example, `admins@example.com`.
|
||||
* For example, `admins\@example.com`.
|
||||
* * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
||||
* identifier) representing a user that has been recently deleted. For
|
||||
* example, `alice@example.com?uid=123456789012345678901`. If the user is
|
||||
* example, `alice\@example.com?uid=123456789012345678901`. If the user is
|
||||
* recovered, this value reverts to `user:{emailid}` and the recovered user
|
||||
* retains the role in the binding.
|
||||
* * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
|
||||
* unique identifier) representing a service account that has been recently
|
||||
* deleted. For example,
|
||||
* `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||
* `my-other-app\@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||
* If the service account is undeleted, this value reverts to
|
||||
* `serviceAccount:{emailid}` and the undeleted service account retains the
|
||||
* role in the binding.
|
||||
* * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
||||
* identifier) representing a Google group that has been recently
|
||||
* deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
||||
* deleted. For example, `admins\@example.com?uid=123456789012345678901`. If
|
||||
* the group is recovered, this value reverts to `group:{emailid}` and the
|
||||
* recovered group retains the role in the binding.
|
||||
* * `domain:{domain}`: The G Suite domain (primary) that represents all the
|
||||
* users of that domain. For example, `google.com` or `example.com`.
|
||||
*
|
||||
* Generated from protobuf field <code>repeated string members = 2;</code>
|
||||
* @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
|
||||
* @param string[] $var
|
||||
* @return $this
|
||||
*/
|
||||
public function setMembers($var)
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
namespace Google\Cloud\Iam\V1;
|
||||
|
||||
use Google\Protobuf\Internal\GPBType;
|
||||
use Google\Protobuf\Internal\RepeatedField;
|
||||
use Google\Protobuf\Internal\GPBUtil;
|
||||
use Google\Protobuf\RepeatedField;
|
||||
|
||||
/**
|
||||
* One delta entry for Binding. Each individual change (only one member in each
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user