Google Cloud Vm Migration V1 Client - Class Expiration (1.1.0)

Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class Expiration.

Expiration holds information about the expiration of a MigratingVm.

Generated from protobuf message google.cloud.vmmigration.v1.MigratingVm.Expiration

Namespace

Google \ Cloud \ VMMigration \ V1 \ MigratingVm

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ expire_time
Google\Protobuf\Timestamp

Output only. Timestamp of when this resource is considered expired.

↳ extension_count
int

Output only. The number of times expiration was extended.

↳ extendable
bool

Output only. Describes whether the expiration can be extended.

getExpireTime

Output only. Timestamp of when this resource is considered expired.

Returns
Type
Description

hasExpireTime

clearExpireTime

setExpireTime

Output only. Timestamp of when this resource is considered expired.

Parameter
Name
Description
Returns
Type
Description
$this

getExtensionCount

Output only. The number of times expiration was extended.

Returns
Type
Description
int

setExtensionCount

Output only. The number of times expiration was extended.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getExtendable

Output only. Describes whether the expiration can be extended.

Returns
Type
Description
bool

setExtendable

Output only. Describes whether the expiration can be extended.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: