Google Cloud Dms V1 Client - Class SqlAclEntry (1.4.2)

Reference documentation and code samples for the Google Cloud Dms V1 Client class SqlAclEntry.

An entry for an Access Control list.

Generated from protobuf message google.cloud.clouddms.v1.SqlAclEntry

Namespace

Google \ Cloud \ CloudDms \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ value string

The allowlisted value for the access control list.

↳ expire_time Google\Protobuf\Timestamp

The time when this access control entry expires in RFC 3339 format, for example: 2012-11-15T16:19:00.094Z.

↳ ttl Google\Protobuf\Duration

Input only. The time-to-leave of this access control entry.

↳ label string

A label to identify this entry.

getValue

The allowlisted value for the access control list.

Returns
TypeDescription
string

setValue

The allowlisted value for the access control list.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExpireTime

The time when this access control entry expires in RFC 3339 format, for example: 2012-11-15T16:19:00.094Z.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasExpireTime

setExpireTime

The time when this access control entry expires in RFC 3339 format, for example: 2012-11-15T16:19:00.094Z.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getTtl

Input only. The time-to-leave of this access control entry.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasTtl

setTtl

Input only. The time-to-leave of this access control entry.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getLabel

A label to identify this entry.

Returns
TypeDescription
string

setLabel

A label to identify this entry.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExpiration

Returns
TypeDescription
string