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

target.apidocs.com.google.api.services.dns.model.RRSetRoutingPolicyGeoPolicy.html Maven / Gradle / Ivy

There is a newer version: v2-rev20220505-1.32.1
Show newest version






RRSetRoutingPolicyGeoPolicy (Cloud DNS API v1-rev20240118-2.0.0)












com.google.api.services.dns.model

Class RRSetRoutingPolicyGeoPolicy

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


    public final class RRSetRoutingPolicyGeoPolicy
    extends com.google.api.client.json.GenericJson
    Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.

    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 Cloud DNS API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • RRSetRoutingPolicyGeoPolicy

        public RRSetRoutingPolicyGeoPolicy()
    • Method Detail

      • getEnableFencing

        public Boolean getEnableFencing()
        Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don't failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
        Returns:
        value or null for none
      • setEnableFencing

        public RRSetRoutingPolicyGeoPolicy setEnableFencing(Boolean enableFencing)
        Without fencing, if health check fails for all configured items in the current geo bucket, we failover to the next nearest geo bucket. With fencing, if health checking is enabled, as long as some targets in the current geo bucket are healthy, we return only the healthy targets. However, if all targets are unhealthy, we don't failover to the next nearest bucket; instead, we return all the items in the current bucket even when all targets are unhealthy.
        Parameters:
        enableFencing - enableFencing or null for none
      • getItems

        public List<RRSetRoutingPolicyGeoPolicyGeoPolicyItem> getItems()
        The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.
        Returns:
        value or null for none
      • getKind

        public String getKind()
        Returns:
        value or null for none

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy