Class UnitOperation
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. Next: 22
Implements
Inherited Members
Namespace: Google.Apis.SaaSServiceManagement.v1beta1.Data
Assembly: Google.Apis.SaaSServiceManagement.v1beta1.dll
Syntax
public class UnitOperation : IDirectResponseSchema
Properties
Annotations
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
Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Cancel
Optional. When true, attempt to cancel the operation. Cancellation may fail if the operation is already executing. (Optional)
Declaration
[JsonProperty("cancel")]
public virtual bool? Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Conditions
Optional. Output only. A set of conditions which indicate the various conditions this resource can have.
Declaration
[JsonProperty("conditions")]
public virtual IList<UnitOperationCondition> Conditions { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<UnitOperationCondition> |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The timestamp when the resource was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DeleteTime
object representation of DeleteTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")]
public virtual object DeleteTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
DeleteTimeDateTimeOffset
DateTimeOffset representation of DeleteTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? DeleteTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
DeleteTimeRaw
Output only. The timestamp when the resource was marked for deletion (deletion is an asynchronous operation).
Declaration
[JsonProperty("deleteTime")]
public virtual string DeleteTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Deprovision
Optional. Deprovision operation.
Declaration
[JsonProperty("deprovision")]
public virtual Deprovision Deprovision { get; set; }
Property Value
| Type | Description |
|---|---|
| Deprovision |
ETag
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.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EngineState
Optional. Output only. The engine state for on-going deployment engine operation(s). This field is opaque for external usage.
Declaration
[JsonProperty("engineState")]
public virtual string EngineState { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ErrorCategory
Optional. Output only. UnitOperationErrorCategory describe the error category.
Declaration
[JsonProperty("errorCategory")]
public virtual string ErrorCategory { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FlagUpdate
Optional. Flag update operation.
Declaration
[JsonProperty("flagUpdate")]
public virtual FlagUpdate FlagUpdate { get; set; }
Property Value
| Type | Description |
|---|---|
| FlagUpdate |
Labels
Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Name
Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/unitOperations/{unitOperation}"
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ParentUnitOperation
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)
Declaration
[JsonProperty("parentUnitOperation")]
public virtual string ParentUnitOperation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Provision
Optional. Provision operation.
Declaration
[JsonProperty("provision")]
public virtual Provision Provision { get; set; }
Property Value
| Type | Description |
|---|---|
| Provision |
Rollout
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.
Declaration
[JsonProperty("rollout")]
public virtual string Rollout { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Schedule
Optional. When to schedule this operation.
Declaration
[JsonProperty("schedule")]
public virtual Schedule Schedule { get; set; }
Property Value
| Type | Description |
|---|---|
| Schedule |
State
Optional. Output only. UnitOperationState describes the current state of the unit operation.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Uid
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.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Unit
Required. Immutable. The Unit a given UnitOperation will act upon.
Declaration
[JsonProperty("unit")]
public virtual string Unit { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Upgrade
Optional. Upgrade operation.
Declaration
[JsonProperty("upgrade")]
public virtual Upgrade Upgrade { get; set; }
Property Value
| Type | Description |
|---|---|
| Upgrade |