AccessConfig class

An access configuration attached to an instance's network interface. Only one access config per instance is supported.


AccessConfig.fromJson(Map _json)


hashCode int
The hash code for this object. [...]
read-only, inherited
kind String
Output Only Type of the resource. Always compute#accessConfig for access configs.
read / write
name String
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.
read / write
natIP String
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.
read / write
networkTier String
This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. [...]
read / write
publicPtrDomainName String
The DNS domain name for the public PTR record. You can set this field only if the setPublicPtr field is enabled.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
setPublicPtr bool
Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.
read / write
type String
The type of configuration. The default and only option is ONE_TO_ONE_NAT. Possible string values are: [...]
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]