Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::IpMapping.
Database instance IP mapping
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ip_address
def ip_address() -> ::String
Returns
- (::String) — The IP address assigned.
#ip_address=
def ip_address=(value) -> ::String
Parameter
- value (::String) — The IP address assigned.
Returns
- (::String) — The IP address assigned.
#time_to_retire
def time_to_retire() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — The due time for this IP to be retired in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z. This field is only available when the IP is scheduled to be retired.
#time_to_retire=
def time_to_retire=(value) -> ::Google::Protobuf::Timestamp
Parameter
-
value (::Google::Protobuf::Timestamp) — The due time for this IP to be retired in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z. This field is only available when the IP is scheduled to be retired.
Returns
-
(::Google::Protobuf::Timestamp) — The due time for this IP to be retired in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z. This field is only available when the IP is scheduled to be retired.
#type
def type() -> ::Google::Cloud::Sql::V1::SqlIpAddressType
Returns
-
(::Google::Cloud::Sql::V1::SqlIpAddressType) — The type of this IP address. A
PRIMARYaddress is a public address that can accept incoming connections. APRIVATEaddress is a private address that can accept incoming connections. AnOUTGOINGaddress is the source address of connections originating from the instance, if supported.
#type=
def type=(value) -> ::Google::Cloud::Sql::V1::SqlIpAddressType
Parameter
-
value (::Google::Cloud::Sql::V1::SqlIpAddressType) — The type of this IP address. A
PRIMARYaddress is a public address that can accept incoming connections. APRIVATEaddress is a private address that can accept incoming connections. AnOUTGOINGaddress is the source address of connections originating from the instance, if supported.
Returns
-
(::Google::Cloud::Sql::V1::SqlIpAddressType) — The type of this IP address. A
PRIMARYaddress is a public address that can accept incoming connections. APRIVATEaddress is a private address that can accept incoming connections. AnOUTGOINGaddress is the source address of connections originating from the instance, if supported.