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;
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user