class Google::Apis::ContainerV1::Operation
This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Attributes
Detailed operation progress, if available. Corresponds to the JSON property `detail` @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]
If an error has occurred, a textual description of the error. Corresponds to the JSON property `statusMessage` @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](/compute/docs/zones#available) in which the operation is taking place. Corresponds to the JSON property `zone` @return [String]
Public Class Methods
# File generated/google/apis/container_v1/classes.rb, line 488 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/container_v1/classes.rb, line 493 def update!(**args) @name = args[:name] if args.key?(:name) @zone = args[:zone] if args.key?(:zone) @operation_type = args[:operation_type] if args.key?(:operation_type) @status = args[:status] if args.key?(:status) @detail = args[:detail] if args.key?(:detail) @status_message = args[:status_message] if args.key?(:status_message) @self_link = args[:self_link] if args.key?(:self_link) @target_link = args[:target_link] if args.key?(:target_link) end