Google Cloud OsConfig V1 Client - Class OSPolicyAssignmentOperationMetadata (1.3.3)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class OSPolicyAssignmentOperationMetadata.

OS policy assignment operation metadata provided by OS policy assignment API methods that return long running operations.

Generated from protobuf message google.cloud.osconfig.v1.OSPolicyAssignmentOperationMetadata

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ os_policy_assignment string

Reference to the OSPolicyAssignment API resource. Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}

↳ api_method int

The OS policy assignment API method.

↳ rollout_state int

State of the rollout

↳ rollout_start_time Google\Protobuf\Timestamp

Rollout start time

↳ rollout_update_time Google\Protobuf\Timestamp

Rollout update time

getOsPolicyAssignment

Reference to the OSPolicyAssignment API resource.

Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}

Returns
Type Description
string

setOsPolicyAssignment

Reference to the OSPolicyAssignment API resource.

Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id@revision_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getApiMethod

The OS policy assignment API method.

Returns
Type Description
int

setApiMethod

The OS policy assignment API method.

Parameter
Name Description
var int
Returns
Type Description
$this

getRolloutState

State of the rollout

Returns
Type Description
int

setRolloutState

State of the rollout

Parameter
Name Description
var int
Returns
Type Description
$this

getRolloutStartTime

Rollout start time

Returns
Type Description
Google\Protobuf\Timestamp|null

hasRolloutStartTime

clearRolloutStartTime

setRolloutStartTime

Rollout start time

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

getRolloutUpdateTime

Rollout update time

Returns
Type Description
Google\Protobuf\Timestamp|null

hasRolloutUpdateTime

clearRolloutUpdateTime

setRolloutUpdateTime

Rollout update time

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