Google Cloud Sql Admin V1 Client - Class IpMapping (0.18.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class IpMapping.
Database instance IP mapping
Generated from protobuf message google.cloud.sql.v1.IpMapping
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
int
The type of this IP address. A |
↳ ip_address |
string
The IP address assigned. |
↳ time_to_retire |
Google\Protobuf\Timestamp
The due time for this IP to be retired in RFC 3339 format, for example |
getType
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.
| Returns | |
|---|---|
| Type | Description |
int |
|
setType
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.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIpAddress
The IP address assigned.
| Returns | |
|---|---|
| Type | Description |
string |
|
setIpAddress
The IP address assigned.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTimeToRetire
The due time for this IP to be retired in
RFC 3339 format, for example
2012年11月15日T16:19:00.094Z. This field is only available when
the IP is scheduled to be retired.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasTimeToRetire
clearTimeToRetire
setTimeToRetire
The due time for this IP to be retired in
RFC 3339 format, for example
2012年11月15日T16:19:00.094Z. This field is only available when
the IP is scheduled to be retired.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|