class Google::Apis::SqladminV1::IpMapping

Database instance IP Mapping.

Attributes

ip_address[RW]

The IP address assigned. Corresponds to the JSON property `ipAddress` @return [String]

time_to_retire[RW]

The due time for this IP to be retired in [RFC 3339](tools.ietf.org/ html/rfc3339) format, for example 2012-11-15T16:19:00.094Z. This field is only available when the IP is scheduled to be retired. Corresponds to the JSON property `timeToRetire` @return [String]

type[RW]

The type of this IP address. A PRIMARY address is a public address that can accept incoming connections. A PRIVATE address is a private address that can accept incoming connections. An OUTGOING address is the source address of connections originating from the instance, if supported. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sqladmin_v1/classes.rb, line 2022
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1/classes.rb, line 2027
def update!(**args)
  @ip_address = args[:ip_address] if args.key?(:ip_address)
  @time_to_retire = args[:time_to_retire] if args.key?(:time_to_retire)
  @type = args[:type] if args.key?(:type)
end