GetOsPolicyAssignmentResult

data class GetOsPolicyAssignmentResult(val baseline: Boolean, val deleted: Boolean, val description: String, val etag: String, val instanceFilter: OSPolicyAssignmentInstanceFilterResponse, val name: String, val osPolicies: List<OSPolicyResponse>, val reconciling: Boolean, val revisionCreateTime: String, val revisionId: String, val rollout: OSPolicyAssignmentRolloutResponse, val rolloutState: String, val uid: String)

Constructors

Link copied to clipboard
fun GetOsPolicyAssignmentResult(baseline: Boolean, deleted: Boolean, description: String, etag: String, instanceFilter: OSPolicyAssignmentInstanceFilterResponse, name: String, osPolicies: List<OSPolicyResponse>, reconciling: Boolean, revisionCreateTime: String, revisionId: String, rollout: OSPolicyAssignmentRolloutResponse, rolloutState: String, uid: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Indicates that this revision has been successfully rolled out in this zone and new VMs will be assigned OS policies from this revision. For a given OS policy assignment, there is only one revision with a value of true for this field.

Link copied to clipboard

Indicates that this revision deletes the OS policy assignment.

Link copied to clipboard

OS policy assignment description. Length of the description is limited to 1024 characters.

Link copied to clipboard

The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.

Link copied to clipboard
Link copied to clipboard

Resource name. Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id} This field is ignored when you create an OS policy assignment.

Link copied to clipboard

List of OS policies to be applied to the VMs.

Link copied to clipboard

Indicates that reconciliation is in progress for the revision. This value is true when the rollout_state is one of: * IN_PROGRESS * CANCELLING

Link copied to clipboard

The timestamp that the revision was created.

Link copied to clipboard

The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment

Link copied to clipboard

Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created. 2) OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted.

Link copied to clipboard

OS policy assignment rollout state

Link copied to clipboard
val uid: String

Server generated unique id for the OS policy assignment resource.