class Google::Apis::ContainerV1beta1::Operation
Defines the operation resource. All fields are output only.
Attributes
If an error has occurred, a textual description of the error. Corresponds to the JSON property `errorMessage` @return [String]
The server-assigned ID for the operation. Corresponds to the JSON property `name` @return [String]
The operation type. Corresponds to the JSON property `operationType` @return [String]
Server-defined URL for the resource. Corresponds to the JSON property `selfLink` @return [String]
The current status of the operation. Corresponds to the JSON property `status` @return [String]
- Optional
-
The URL of the cluster resource that this operation is associated
with. Corresponds to the JSON property `target` @return [String]
Server-defined URL for the target of the operation. Corresponds to the JSON property `targetLink` @return [String]
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
# File generated/google/apis/container_v1beta1/classes.rb, line 423 def initialize(**args) update!(**args) end
Public Instance Methods
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