| Package | Description | 
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.Instances.AddAccessConfig | Compute.Instances. addAccessConfig(String project,
               String zone,
               String instance,
               String networkInterface,
               AccessConfig content)Adds an access config to an instance's network interface. | 
| Compute.Instances.UpdateAccessConfig | Compute.Instances. updateAccessConfig(String project,
                  String zone,
                  String instance,
                  String networkInterface,
                  AccessConfig content)Updates the specified access config from an instance's network interface with the data included
 in the request. | 
| Constructor and Description | 
|---|
| AddAccessConfig(String project,
               String zone,
               String instance,
               String networkInterface,
               AccessConfig content)Adds an access config to an instance's network interface. | 
| UpdateAccessConfig(String project,
                  String zone,
                  String instance,
                  String networkInterface,
                  AccessConfig content)Updates the specified access config from an instance's network interface with the data included
 in the request. | 
| Modifier and Type | Method and Description | 
|---|---|
| AccessConfig | AccessConfig. clone() | 
| AccessConfig | AccessConfig. set(String fieldName,
   Object value) | 
| AccessConfig | AccessConfig. setExternalIpv6(String externalIpv6)[Output Only] The first IPv6 address of the external IPv6 range associated with this instance,
 prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. | 
| AccessConfig | AccessConfig. setExternalIpv6PrefixLength(Integer externalIpv6PrefixLength)[Output Only] The prefix length of the external IPv6 range. | 
| AccessConfig | AccessConfig. setKind(String kind)[Output Only] Type of the resource. | 
| AccessConfig | AccessConfig. setName(String name)The name of this access configuration. | 
| AccessConfig | AccessConfig. setNatIP(String natIP)An external IP address associated with this instance. | 
| AccessConfig | AccessConfig. setNetworkTier(String networkTier)This signifies the networking tier used for configuring this access configuration and can only
 take the following values: PREMIUM, STANDARD. | 
| AccessConfig | AccessConfig. setPublicPtrDomainName(String publicPtrDomainName)The DNS domain name for the public PTR record. | 
| AccessConfig | 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. | 
| AccessConfig | AccessConfig. setType(String type)The type of configuration. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<AccessConfig> | NetworkInterface. getAccessConfigs()An array of configurations for this interface. | 
| List<AccessConfig> | NetworkInterface. getIpv6AccessConfigs()An array of IPv6 access configurations for this interface. | 
| Modifier and Type | Method and Description | 
|---|---|
| NetworkInterface | NetworkInterface. setAccessConfigs(List<AccessConfig> accessConfigs)An array of configurations for this interface. | 
| NetworkInterface | NetworkInterface. setIpv6AccessConfigs(List<AccessConfig> ipv6AccessConfigs)An array of IPv6 access configurations for this interface. | 
Copyright © 2011–2021 Google. All rights reserved.