All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.NotificationEndpointGrpcSettings.html Maven / Gradle / Ivy

The newest version!






NotificationEndpointGrpcSettings (Compute Engine API v1-rev20250320-2.0.0)












com.google.api.services.compute.model

Class NotificationEndpointGrpcSettings

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class NotificationEndpointGrpcSettings
    extends com.google.api.client.json.GenericJson
    Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • NotificationEndpointGrpcSettings

        public NotificationEndpointGrpcSettings()
    • Method Detail

      • getAuthority

        public String 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
        Returns:
        value or null for none
      • setAuthority

        public NotificationEndpointGrpcSettings setAuthority(String authority)
        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
        Parameters:
        authority - authority or null for none
      • getEndpoint

        public String getEndpoint()
        Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
        Returns:
        value or null for none
      • setEndpoint

        public NotificationEndpointGrpcSettings setEndpoint(String endpoint)
        Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.
        Parameters:
        endpoint - endpoint or null for none
      • getPayloadName

        public String getPayloadName()
        Optional. If specified, this field is used to populate the "name" field in gRPC requests.
        Returns:
        value or null for none
      • setPayloadName

        public NotificationEndpointGrpcSettings setPayloadName(String payloadName)
        Optional. If specified, this field is used to populate the "name" field in gRPC requests.
        Parameters:
        payloadName - payloadName or null for none
      • getResendInterval

        public Duration 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. Can only be set for regional notification endpoints.
        Returns:
        value or null for none
      • setResendInterval

        public NotificationEndpointGrpcSettings setResendInterval(Duration resendInterval)
        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.
        Parameters:
        resendInterval - resendInterval or null for none
      • getRetryDurationSec

        public Long 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.
        Returns:
        value or null for none
      • setRetryDurationSec

        public NotificationEndpointGrpcSettings setRetryDurationSec(Long retryDurationSec)
        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.
        Parameters:
        retryDurationSec - retryDurationSec or null for none

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy