Compute V1 Client - Class NotificationEndpointGrpcSettings (1.5.0)

Reference documentation and code samples for the Compute V1 Client class NotificationEndpointGrpcSettings.

Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.

Generated from protobuf message google.cloud.compute.v1.NotificationEndpointGrpcSettings

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ authority string

Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3

↳ endpoint string

Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.

↳ payload_name string

Optional. If specified, this field is used to populate the "name" field in gRPC requests.

↳ resend_interval Google\Cloud\Compute\V1\Duration

Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed.

↳ retry_duration_sec int

How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.

getAuthority

Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3

Generated from protobuf field optional string authority = 401868611;

Returns
TypeDescription
string

hasAuthority

clearAuthority

setAuthority

Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3

Generated from protobuf field optional string authority = 401868611;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEndpoint

Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.

Generated from protobuf field optional string endpoint = 130489749;

Returns
TypeDescription
string

hasEndpoint

clearEndpoint

setEndpoint

Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.

Generated from protobuf field optional string endpoint = 130489749;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPayloadName

Optional. If specified, this field is used to populate the "name" field in gRPC requests.

Generated from protobuf field optional string payload_name = 300358300;

Returns
TypeDescription
string

hasPayloadName

clearPayloadName

setPayloadName

Optional. If specified, this field is used to populate the "name" field in gRPC requests.

Generated from protobuf field optional string payload_name = 300358300;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getResendInterval

Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed.

Generated from protobuf field optional .google.cloud.compute.v1.Duration resend_interval = 478288969;

Returns
TypeDescription
Google\Cloud\Compute\V1\Duration|null

hasResendInterval

clearResendInterval

setResendInterval

Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed.

Generated from protobuf field optional .google.cloud.compute.v1.Duration resend_interval = 478288969;

Parameter
NameDescription
var Google\Cloud\Compute\V1\Duration
Returns
TypeDescription
$this

getRetryDurationSec

How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.

Generated from protobuf field optional uint32 retry_duration_sec = 115681117;

Returns
TypeDescription
int

hasRetryDurationSec

clearRetryDurationSec

setRetryDurationSec

How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.

Generated from protobuf field optional uint32 retry_duration_sec = 115681117;

Parameter
NameDescription
var int
Returns
TypeDescription
$this