GoogleCloudOsconfigV2PolicyOrchestrator class
PolicyOrchestrator helps managing project+zone level policy resources (e.g. OS Policy Assignments), by providing tools to create, update and delete them across projects and locations, at scale.
Policy orchestrator functions as an endless loop. Each iteration
orchestrator computes a set of resources that should be affected, then
progressively applies changes to them. If for some reason this set of
resources changes over time (e.g. new projects are added), the future loop
iterations will address that. Orchestrator can either upsert or delete
policy resources. For more details, see the description of the action
, and
orchestrated_resource
fields. Note that policy orchestrator do not
"manage" the resources it creates. Every iteration is independent and only
minimal history of past actions is retained (apart from Cloud Logging). If
orchestrator gets deleted, it does not affect the resources it created in
the past. Those will remain where they were. Same applies if projects are
removed from the orchestrator's scope.
Constructors
-
GoogleCloudOsconfigV2PolicyOrchestrator.new({String? action, String? createTime, String? description, String? etag, Map<
String, String> ? labels, String? name, GoogleCloudOsconfigV2OrchestratedResource? orchestratedResource, GoogleCloudOsconfigV2OrchestrationScope? orchestrationScope, GoogleCloudOsconfigV2PolicyOrchestratorOrchestrationState? orchestrationState, bool? reconciling, String? state, String? updateTime}) - GoogleCloudOsconfigV2PolicyOrchestrator.fromJson(Map json_)
Properties
- action ↔ String?
-
Action to be done by the orchestrator in
projects/{project_id}/zones/{zone_id}
locations defined by theorchestration_scope
.getter/setter pair - createTime ↔ String?
-
Timestamp when the policy orchestrator resource was created.
getter/setter pair
- description ↔ String?
-
Freeform text describing the purpose of the resource.
getter/setter pair
- etag ↔ String?
-
This checksum is computed by the server based on the value of other
fields, and may be sent on update and delete requests to ensure the client
has an up-to-date value before proceeding.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
Labels as key value pairs
getter/setter pair
- name ↔ String?
-
Identifier.
getter/setter pair
- orchestratedResource ↔ GoogleCloudOsconfigV2OrchestratedResource?
-
Resource to be orchestrated by the policy orchestrator.
getter/setter pair
- orchestrationScope ↔ GoogleCloudOsconfigV2OrchestrationScope?
-
Defines scope for the orchestration, in context of the enclosing
PolicyOrchestrator resource.
getter/setter pair
- orchestrationState ↔ GoogleCloudOsconfigV2PolicyOrchestratorOrchestrationState?
-
State of the orchestration.
getter/setter pair
- reconciling ↔ bool?
-
Set to true, if the there are ongoing changes being applied by the
orchestrator.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
State of the orchestrator.
getter/setter pair
- updateTime ↔ String?
-
Timestamp when the policy orchestrator resource was last modified.
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