class Google::Apis::ContainerV1beta1::Operation

Defines the operation resource. All fields are output only.

Attributes

error_message[RW]

If an error has occurred, a textual description of the error. Corresponds to the JSON property `errorMessage` @return [String]

name[RW]

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

operation_type[RW]

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

status[RW]

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

target[RW]
Optional

The URL of the cluster resource that this operation is associated

with. Corresponds to the JSON property `target` @return [String]

zone[RW]

The name of the Google Compute Engine zone in which the operation is taking place. Corresponds to the JSON property `zone` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/container_v1beta1/classes.rb, line 428
def update!(**args)
  @error_message = args[:error_message] unless args[:error_message].nil?
  @name = args[:name] unless args[:name].nil?
  @operation_type = args[:operation_type] unless args[:operation_type].nil?
  @self_link = args[:self_link] unless args[:self_link].nil?
  @status = args[:status] unless args[:status].nil?
  @target = args[:target] unless args[:target].nil?
  @target_link = args[:target_link] unless args[:target_link].nil?
  @zone = args[:zone] unless args[:zone].nil?
end