GetOsPolicyAssignmentResult class

Result data returned by getOsPolicyAssignment.

Constructors

GetOsPolicyAssignmentResult({required bool baseline, required bool deleted, required String description, required String etag, required OSPolicyAssignmentInstanceFilterResponse instanceFilter, required String name, required List<OSPolicyResponse> osPolicies, required bool reconciling, required String revisionCreateTime, required String revisionId, required OSPolicyAssignmentRolloutResponse rollout, required String rolloutState, required String uid})
Creates a new GetOsPolicyAssignmentResult. baseline 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. deleted Indicates that this revision deletes the OS policy assignment. description OS policy assignment description. Length of the description is limited to 1024 characters. etag The etag for this OS policy assignment. If this is provided on update, it must match the server's etag. instanceFilter Filter to select VMs. name Resource name. Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id} This field is ignored when you create an OS policy assignment. osPolicies List of OS policies to be applied to the VMs. reconciling Indicates that reconciliation is in progress for the revision. This value is true when the rollout_state is one of: * IN_PROGRESS * CANCELLING revisionCreateTime The timestamp that the revision was created. revisionId The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment rollout 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. rolloutState OS policy assignment rollout state uid Server generated unique id for the OS policy assignment resource.
const
GetOsPolicyAssignmentResult.fromMap(Map<String, dynamic> map)
factory

Properties

baseline → bool
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.
final
deleted → bool
Indicates that this revision deletes the OS policy assignment.
final
description → String
OS policy assignment description. Length of the description is limited to 1024 characters.
final
etag → String
The etag for this OS policy assignment. If this is provided on update, it must match the server's etag.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceFilter → OSPolicyAssignmentInstanceFilterResponse
Filter to select VMs.
final
name → String
Resource name. Format: projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id} This field is ignored when you create an OS policy assignment.
final
osPolicies → List<OSPolicyResponse>
List of OS policies to be applied to the VMs.
final
reconciling → bool
Indicates that reconciliation is in progress for the revision. This value is true when the rollout_state is one of: * IN_PROGRESS * CANCELLING
final
revisionCreateTime → String
The timestamp that the revision was created.
final
revisionId → String
The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
final
rollout → OSPolicyAssignmentRolloutResponse
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.
final
rolloutState → String
OS policy assignment rollout state
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uid → String
Server generated unique id for the OS policy assignment resource.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited