OSPolicyAssignment class

OS policy assignment is an API resource that is used to apply a set of OS policies to a dynamically targeted group of Compute Engine VM instances.

An OS policy is used to define the desired state configuration for a Compute Engine VM instance through a set of configuration resources that provide capabilities such as installing or removing software packages, or executing a script. For more information about the OS policy resource definitions and examples, see OS policy and OS policy assignment.

Constructors

OSPolicyAssignment({bool? baseline, bool? deleted, String? description, String? etag, OSPolicyAssignmentInstanceFilter? instanceFilter, String? name, List<OSPolicy>? osPolicies, bool? reconciling, String? revisionCreateTime, String? revisionId, OSPolicyAssignmentRollout? rollout, String? rolloutState, String? uid})
OSPolicyAssignment.fromJson(Map json_)

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.
getter/setter pair
deleted bool?
Indicates that this revision deletes the OS policy assignment.
getter/setter pair
description String?
OS policy assignment description.
getter/setter pair
etag String?
The etag for this OS policy assignment.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
instanceFilter OSPolicyAssignmentInstanceFilter?
Filter to select VMs.
getter/setter pair
name String?
Resource name.
getter/setter pair
osPolicies List<OSPolicy>?
List of OS policies to be applied to the VMs.
getter/setter pair
reconciling bool?
Indicates that reconciliation is in progress for the revision.
getter/setter pair
revisionCreateTime String?
The timestamp that the revision was created.
getter/setter pair
revisionId String?
The assignment revision ID A new revision is committed whenever a rollout is triggered for a OS policy assignment
getter/setter pair
rollout OSPolicyAssignmentRollout?
Rollout to deploy the OS policy assignment.
getter/setter pair
rolloutState String?
OS policy assignment rollout state
getter/setter pair
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.
getter/setter pair

Methods

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

Operators

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