Google Cloud Assured Workloads V1beta1 Client - Class CreateWorkloadOperationMetadata (0.8.3)

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

Operation metadata to give request details of CreateWorkload.

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

Methods

__construct

Constructor.

Parameters
NameDescription
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.

↳ resource_settings array<Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceSettings>

Optional. Resource properties in the input that are used for creating/customizing workload resources.

getCreateTime

Optional. Time when the operation was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Optional. Time when the operation was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getDisplayName

Optional. The display name of the workload.

Returns
TypeDescription
string

setDisplayName

Optional. The display name of the workload.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getParent

Optional. The parent of the workload.

Returns
TypeDescription
string

setParent

Optional. The parent of the workload.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getComplianceRegime

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

Returns
TypeDescription
int

setComplianceRegime

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getResourceSettings

Optional. Resource properties in the input that are used for creating/customizing workload resources.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResourceSettings

Optional. Resource properties in the input that are used for creating/customizing workload resources.

Parameter
NameDescription
var array<Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceSettings>
Returns
TypeDescription
$this