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

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







AccessConfig (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute.model

Class AccessConfig

    • Constructor Detail

      • AccessConfig

        public AccessConfig()
    • Method Detail

      • getExternalIpv6

        public String getExternalIpv6()
        The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
        Returns:
        value or null for none
      • setExternalIpv6

        public AccessConfig setExternalIpv6(String externalIpv6)
        The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
        Parameters:
        externalIpv6 - externalIpv6 or null for none
      • getExternalIpv6PrefixLength

        public Integer getExternalIpv6PrefixLength()
        The prefix length of the external IPv6 range.
        Returns:
        value or null for none
      • setExternalIpv6PrefixLength

        public AccessConfig setExternalIpv6PrefixLength(Integer externalIpv6PrefixLength)
        The prefix length of the external IPv6 range.
        Parameters:
        externalIpv6PrefixLength - externalIpv6PrefixLength or null for none
      • getKind

        public String getKind()
        [Output Only] Type of the resource. Always compute#accessConfig for access configs.
        Returns:
        value or null for none
      • setKind

        public AccessConfig setKind(String kind)
        [Output Only] Type of the resource. Always compute#accessConfig for access configs.
        Parameters:
        kind - kind or null for none
      • getName

        public String getName()
        The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access.
        Returns:
        value or null for none
      • setName

        public AccessConfig setName(String name)
        The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access.
        Parameters:
        name - name or null for none
      • getNatIP

        public String getNatIP()
        An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
        Returns:
        value or null for none
      • setNatIP

        public AccessConfig setNatIP(String natIP)
        An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
        Parameters:
        natIP - natIP or null for none
      • getNetworkTier

        public String getNetworkTier()
        This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP.
        Returns:
        value or null for none
      • setNetworkTier

        public AccessConfig setNetworkTier(String networkTier)
        This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP.
        Parameters:
        networkTier - networkTier or null for none
      • getPublicPtrDomainName

        public String getPublicPtrDomainName()
        The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range.
        Returns:
        value or null for none
      • setPublicPtrDomainName

        public AccessConfig setPublicPtrDomainName(String publicPtrDomainName)
        The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range.
        Parameters:
        publicPtrDomainName - publicPtrDomainName or null for none
      • getSetPublicPtr

        public Boolean getSetPublicPtr()
        Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated.
        Returns:
        value or null for none
      • setSetPublicPtr

        public AccessConfig setSetPublicPtr(Boolean setPublicPtr)
        Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated.
        Parameters:
        setPublicPtr - setPublicPtr or null for none
      • getType

        public String getType()
        The type of configuration. The default and only option is ONE_TO_ONE_NAT.
        Returns:
        value or null for none
      • setType

        public AccessConfig setType(String type)
        The type of configuration. The default and only option is ONE_TO_ONE_NAT.
        Parameters:
        type - type or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy