Google Cloud Dms V1 Client - Class SqlAclEntry (2.0.0)

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
Name Description
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
Type Description
string

setValue

The allowlisted value for the access control list.

Parameter
Name Description
var string
Returns
Type Description
$this

getExpireTime

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

Returns
Type Description
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
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getTtl

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

Returns
Type Description
Google\Protobuf\Duration|null

hasTtl

setTtl

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

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getLabel

A label to identify this entry.

Returns
Type Description
string

setLabel

A label to identify this entry.

Parameter
Name Description
var string
Returns
Type Description
$this

getExpiration

Returns
Type Description
string