Google Cloud Assured Workloads V1 Client - Class CreateWorkloadOperationMetadata (0.11.3)

Reference documentation and code samples for the Google Cloud Assured Workloads V1 Client class CreateWorkloadOperationMetadata.

Operation metadata to give request details of CreateWorkload.

Generated from protobuf message google.cloud.assuredworkloads.v1.CreateWorkloadOperationMetadata

Namespace

Google \ Cloud \ AssuredWorkloads \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ create_time Google\Protobuf\Timestamp

Optional. Time when the operation was created.

↳ display_name string

Optional. The display name of the workload.

↳ parent string

Optional. The parent of the workload.

↳ compliance_regime int

Optional. Compliance controls that should be applied to the resources managed by the workload.

getCreateTime

Optional. Time when the operation was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Optional. Time when the operation was created.

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

getDisplayName

Optional. The display name of the workload.

Returns
Type Description
string

setDisplayName

Optional. The display name of the workload.

Parameter
Name Description
var string
Returns
Type Description
$this

getParent

Optional. The parent of the workload.

Returns
Type Description
string

setParent

Optional. The parent of the workload.

Parameter
Name Description
var string
Returns
Type Description
$this

getComplianceRegime

Optional. Compliance controls that should be applied to the resources managed by the workload.

Returns
Type Description
int

setComplianceRegime

Optional. Compliance controls that should be applied to the resources managed by the workload.

Parameter
Name Description
var int
Returns
Type Description
$this