Interface IPAllocationPolicyOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    IPAllocationPolicy, IPAllocationPolicy.Builder

    public interface IPAllocationPolicyOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getUseIpAliases

        boolean getUseIpAliases()
         Optional. Whether or not to enable Alias IPs in the GKE cluster.
         If `true`, a VPC-native cluster is created.
        
         This field is only supported for Cloud Composer environments in versions
         composer-1.*.*-airflow-*.*.*. Environments in newer versions always use
         VPC-native GKE clusters.
         
        bool use_ip_aliases = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The useIpAliases.
      • getClusterSecondaryRangeName

        String getClusterSecondaryRangeName()
         Optional. The name of the cluster's secondary range used to allocate
         IP addresses to pods. Specify either `cluster_secondary_range_name`
         or `cluster_ipv4_cidr_block` but not both.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The clusterSecondaryRangeName.
      • getClusterSecondaryRangeNameBytes

        com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes()
         Optional. The name of the cluster's secondary range used to allocate
         IP addresses to pods. Specify either `cluster_secondary_range_name`
         or `cluster_ipv4_cidr_block` but not both.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string cluster_secondary_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for clusterSecondaryRangeName.
      • getServicesSecondaryRangeName

        String getServicesSecondaryRangeName()
         Optional. The name of the services' secondary range used to allocate
         IP addresses to the cluster. Specify either `services_secondary_range_name`
         or `services_ipv4_cidr_block` but not both.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The servicesSecondaryRangeName.
      • getServicesSecondaryRangeNameBytes

        com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes()
         Optional. The name of the services' secondary range used to allocate
         IP addresses to the cluster. Specify either `services_secondary_range_name`
         or `services_ipv4_cidr_block` but not both.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
         
        string services_secondary_range_name = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for servicesSecondaryRangeName.
      • getClusterIpv4CidrBlock

        String getClusterIpv4CidrBlock()
         Optional. The IP address range used to allocate IP addresses to pods in
         the cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         Specify `cluster_secondary_range_name` or `cluster_ipv4_cidr_block`
         but not both.
         
        string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The clusterIpv4CidrBlock.
      • getClusterIpv4CidrBlockBytes

        com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes()
         Optional. The IP address range used to allocate IP addresses to pods in
         the cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         Specify `cluster_secondary_range_name` or `cluster_ipv4_cidr_block`
         but not both.
         
        string cluster_ipv4_cidr_block = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for clusterIpv4CidrBlock.
      • getServicesIpv4CidrBlock

        String getServicesIpv4CidrBlock()
         Optional. The IP address range of the services IP addresses in this
         cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         Specify `services_secondary_range_name` or `services_ipv4_cidr_block`
         but not both.
         
        string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The servicesIpv4CidrBlock.
      • getServicesIpv4CidrBlockBytes

        com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes()
         Optional. The IP address range of the services IP addresses in this
         cluster.
        
         For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*,
         this field is applicable only when `use_ip_aliases` is true.
        
         Set to blank to have GKE choose a range with the default size.
        
         Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
         netmask.
        
         Set to a
         [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
         notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
         `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
         to use.
         Specify `services_secondary_range_name` or `services_ipv4_cidr_block`
         but not both.
         
        string services_ipv4_cidr_block = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for servicesIpv4CidrBlock.