Reference documentation and code samples for the Compute V1 Client class PreviewFeature.
Represents a single Google Compute Engine preview feature.
Generated from protobuf message google.cloud.compute.v1.PreviewFeature
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ activation_status
string
Specifies whether the feature is enabled or disabled. Check the ActivationStatus enum for the list of possible values.
↳ creation_timestamp
string
Output only. [Output Only] Creation timestamp inRFC3339 text format.
↳ description
string
Output only. [Output Only] Description of the feature.
↳ id
int|string
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
↳ kind
string
Output only. [Output only] The type of the feature. Always "compute#previewFeature" for preview features.
↳ name
string
Name of the feature.
↳ rollout_operation
↳ self_link
string
Output only. [Output Only] Server-defined URL for the resource.
↳ status
getActivationStatus
Specifies whether the feature is enabled or disabled.
Check the ActivationStatus enum for the list of possible values.
string
hasActivationStatus
clearActivationStatus
setActivationStatus
Specifies whether the feature is enabled or disabled.
Check the ActivationStatus enum for the list of possible values.
var
string
$this
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
string
hasCreationTimestamp
clearCreationTimestamp
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
var
string
$this
getDescription
Output only. [Output Only] Description of the feature.
string
hasDescription
clearDescription
setDescription
Output only. [Output Only] Description of the feature.
var
string
$this
getId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
int|string
hasId
clearId
setId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
var
int|string
$this
getKind
Output only. [Output only] The type of the feature. Always "compute#previewFeature" for preview features.
string
hasKind
clearKind
setKind
Output only. [Output only] The type of the feature. Always "compute#previewFeature" for preview features.
var
string
$this
getName
Name of the feature.
string
hasName
clearName
setName
Name of the feature.
var
string
$this
getRolloutOperation
Rollout operation of the feature.
hasRolloutOperation
clearRolloutOperation
setRolloutOperation
Rollout operation of the feature.
$this
getSelfLink
Output only. [Output Only] Server-defined URL for the resource.
string
hasSelfLink
clearSelfLink
setSelfLink
Output only. [Output Only] Server-defined URL for the resource.
var
string
$this
getStatus
Output only. [Output only] Status of the feature.
hasStatus
clearStatus
setStatus
Output only. [Output only] Status of the feature.
$this

