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 \ MigratingVmMethods
__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 |
Google\Protobuf\Timestamp|null |
hasExpireTime
clearExpireTime
setExpireTime
Output only. Timestamp of when this resource is considered expired.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
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 |