UnitOperation
import type { UnitOperation } from "https://googleapis.deno.dev/v1/saasservicemgmt:v1beta1.ts";
UnitOperation encapsulates the intent of changing/interacting with the service component represented by the specific Unit. Multiple UnitOperations can be created (requested) and scheduled in the future, however only one will be allowed to execute at a time (that can change in the future for non-mutating operations). UnitOperations allow different actors interacting with the same unit to focus only on the change they have requested. This is a base object that contains the common fields in all unit operations.
§Properties
Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
Optional. When true, attempt to cancel the operation. Cancellation may fail if the operation is already executing. (Optional)
Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.
Optional. Output only. UnitOperationErrorCategory describe the error category.
Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitOperations/{unitOperation}"
Optional. Reference to parent resource: UnitOperation. If an operation needs to create other operations as part of its workflow, each of the child operations should have this field set to the parent. This can be used for tracing. (Optional)
Optional. Specifies which rollout created this Unit Operation. This cannot be modified and is used for filtering purposes only. If a dependent unit and unit operation are created as part of another unit operation, they will use the same rolloutId.
Optional. Output only. UnitOperationState describes the current state of the unit operation.
Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.