GetOsPolicyAssignmentResult constructor

const GetOsPolicyAssignmentResult({
  1. required bool baseline,
  2. required bool deleted,
  3. required String description,
  4. required String etag,
  5. required OSPolicyAssignmentInstanceFilterResponse instanceFilter,
  6. required String name,
  7. required List<OSPolicyResponse> osPolicies,
  8. required bool reconciling,
  9. required String revisionCreateTime,
  10. required String revisionId,
  11. required OSPolicyAssignmentRolloutResponse rollout,
  12. required String rolloutState,
  13. 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.

Implementation

const GetOsPolicyAssignmentResult({
  required this.baseline,
  required this.deleted,
  required this.description,
  required this.etag,
  required this.instanceFilter,
  required this.name,
  required this.osPolicies,
  required this.reconciling,
  required this.revisionCreateTime,
  required this.revisionId,
  required this.rollout,
  required this.rolloutState,
  required this.uid,
});