class Google::Apis::ManagerV1beta2::AccessConfig
A Compute Engine network accessConfig. Identical to the accessConfig on corresponding Compute Engine resource.
Attributes
name[RW]
Name of this access configuration. Corresponds to the JSON property `name` @return [String]
nat_ip[RW]
An external IP address associated with this instance. Corresponds to the JSON property `natIp` @return [String]
type[RW]
Type of this access configuration file. (Currently only ONE_TO_ONE_NAT is legal.) Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/manager_v1beta2/classes.rb, line 46 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/manager_v1beta2/classes.rb, line 51 def update!(**args) @name = args[:name] if args.key?(:name) @nat_ip = args[:nat_ip] if args.key?(:nat_ip) @type = args[:type] if args.key?(:type) end