class Google::Apis::ContainerV1beta1::Operation

This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.

Attributes

cluster_conditions[RW]

Which conditions caused the current cluster state. Deprecated. Use field error instead. Corresponds to the JSON property `clusterConditions` @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]

detail[RW]

Detailed operation progress, if available. Corresponds to the JSON property `detail` @return [String]

end_time[RW]
Output only

The time the operation completed, in [RFC3339](www.ietf.

org/rfc/rfc3339.txt) text format. Corresponds to the JSON property `endTime` @return [String]

error[RW]

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `error` @return [Google::Apis::ContainerV1beta1::Status]

location[RW]
Output only

The name of the Google Compute Engine [zone](cloud.

google.com/compute/docs/regions-zones/regions-zones#available) or [region]( cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides. Corresponds to the JSON property `location` @return [String]

name[RW]

The server-assigned ID for the operation. Corresponds to the JSON property `name` @return [String]

nodepool_conditions[RW]

Which conditions caused the current node pool state. Deprecated. Use field error instead. Corresponds to the JSON property `nodepoolConditions` @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]

operation_type[RW]

The operation type. Corresponds to the JSON property `operationType` @return [String]

progress[RW]

Information about operation (or operation stage) progress. Corresponds to the JSON property `progress` @return [Google::Apis::ContainerV1beta1::OperationProgress]

start_time[RW]
Output only

The time the operation started, in [RFC3339](www.ietf.

org/rfc/rfc3339.txt) text format. Corresponds to the JSON property `startTime` @return [String]

status[RW]

The current status of the operation. Corresponds to the JSON property `status` @return [String]

status_message[RW]

Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead. Corresponds to the JSON property `statusMessage` @return [String]

zone[RW]

The name of the Google Compute Engine [zone](cloud.google.com/compute/ docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead. Corresponds to the JSON property `zone` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 3729
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1beta1/classes.rb, line 3734
def update!(**args)
  @cluster_conditions = args[:cluster_conditions] if args.key?(:cluster_conditions)
  @detail = args[:detail] if args.key?(:detail)
  @end_time = args[:end_time] if args.key?(:end_time)
  @error = args[:error] if args.key?(:error)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
  @nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions)
  @operation_type = args[:operation_type] if args.key?(:operation_type)
  @progress = args[:progress] if args.key?(:progress)
  @self_link = args[:self_link] if args.key?(:self_link)
  @start_time = args[:start_time] if args.key?(:start_time)
  @status = args[:status] if args.key?(:status)
  @status_message = args[:status_message] if args.key?(:status_message)
  @target_link = args[:target_link] if args.key?(:target_link)
  @zone = args[:zone] if args.key?(:zone)
end