public sealed class NotificationEndpointGrpcSettings : IMessage<NotificationEndpointGrpcSettings>, IEquatable<NotificationEndpointGrpcSettings>, IDeepCloneable<NotificationEndpointGrpcSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class NotificationEndpointGrpcSettings.
Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.
Implements
IMessageNotificationEndpointGrpcSettings, IEquatableNotificationEndpointGrpcSettings, IDeepCloneableNotificationEndpointGrpcSettings, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
NotificationEndpointGrpcSettings()
public NotificationEndpointGrpcSettings()
NotificationEndpointGrpcSettings(NotificationEndpointGrpcSettings)
public NotificationEndpointGrpcSettings(NotificationEndpointGrpcSettings other)
Parameter | |
---|---|
Name | Description |
other |
NotificationEndpointGrpcSettings |
Properties
Authority
public string Authority { get; set; }
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
Property Value | |
---|---|
Type | Description |
string |
Endpoint
public string Endpoint { get; set; }
Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
Property Value | |
---|---|
Type | Description |
string |
HasAuthority
public bool HasAuthority { get; }
Gets whether the "authority" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasEndpoint
public bool HasEndpoint { get; }
Gets whether the "endpoint" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasPayloadName
public bool HasPayloadName { get; }
Gets whether the "payload_name" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasRetryDurationSec
public bool HasRetryDurationSec { get; }
Gets whether the "retry_duration_sec" field is set
Property Value | |
---|---|
Type | Description |
bool |
PayloadName
public string PayloadName { get; set; }
Optional. If specified, this field is used to populate the "name" field in gRPC requests.
Property Value | |
---|---|
Type | Description |
string |
ResendInterval
public Duration ResendInterval { get; set; }
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. Can only be set for regional notification endpoints.
Property Value | |
---|---|
Type | Description |
Duration |
RetryDurationSec
public uint RetryDurationSec { get; set; }
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.
Property Value | |
---|---|
Type | Description |
uint |