Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::NotificationEndpointGrpcSettings (v1.6.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::NotificationEndpointGrpcSettings.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#authority

def authority() -> ::String
Returns
  • (::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

#authority=

def authority=(value) -> ::String
Parameter
  • value (::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
Returns
  • (::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

def endpoint() -> ::String
Returns
  • (::String) — Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.

#endpoint=

def endpoint=(value) -> ::String
Parameter
  • value (::String) — Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
Returns
  • (::String) — Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.

#payload_name

def payload_name() -> ::String
Returns
  • (::String) — Optional. If specified, this field is used to populate the "name" field in gRPC requests.

#payload_name=

def payload_name=(value) -> ::String
Parameter
  • value (::String) — Optional. If specified, this field is used to populate the "name" field in gRPC requests.
Returns
  • (::String) — Optional. If specified, this field is used to populate the "name" field in gRPC requests.

#resend_interval

def resend_interval() -> ::Google::Cloud::Compute::V1::Duration
Returns
  • (::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.

#resend_interval=

def resend_interval=(value) -> ::Google::Cloud::Compute::V1::Duration
Parameter
  • value (::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.
Returns
  • (::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

def retry_duration_sec() -> ::Integer
Returns
  • (::Integer) — 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.

#retry_duration_sec=

def retry_duration_sec=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.