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.
baselineIndicates 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 oftruefor this field.deletedIndicates that this revision deletes the OS policy assignment.descriptionOS policy assignment description. Length of the description is limited to 1024 characters.etagThe etag for this OS policy assignment. If this is provided on update, it must match the server's etag.instanceFilterFilter to select VMs.nameResource name. Format:projects/{project_number}/locations/{location}/osPolicyAssignments/{os_policy_assignment_id}This field is ignored when you create an OS policy assignment.osPoliciesList of OS policies to be applied to the VMs.reconcilingIndicates that reconciliation is in progress for the revision. This value istruewhen therollout_stateis one of: * IN_PROGRESS * CANCELLINGrevisionCreateTimeThe timestamp that the revision was created.revisionIdThe assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignmentrolloutRollout 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.rolloutStateOS policy assignment rollout stateuidServer 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
truefor 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
truewhen therollout_stateis one of: * IN_PROGRESS * CANCELLINGfinal - 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