Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::Operation.
This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cluster_conditions
def cluster_conditions() -> ::Array<::Google::Cloud::Container::V1::StatusCondition>
Returns
- (::Array<::Google::Cloud::Container::V1::StatusCondition>) — Which conditions caused the current cluster state. Deprecated. Use field error instead.
#cluster_conditions=
def cluster_conditions=(value) -> ::Array<::Google::Cloud::Container::V1::StatusCondition>
Parameter
- value (::Array<::Google::Cloud::Container::V1::StatusCondition>) — Which conditions caused the current cluster state. Deprecated. Use field error instead.
Returns
- (::Array<::Google::Cloud::Container::V1::StatusCondition>) — Which conditions caused the current cluster state. Deprecated. Use field error instead.
#detail
def detail() -> ::String
Returns
- (::String) — Detailed operation progress, if available.
#detail=
def detail=(value) -> ::String
Parameter
- value (::String) — Detailed operation progress, if available.
Returns
- (::String) — Detailed operation progress, if available.
#end_time
def end_time() -> ::String
Returns
- (::String) — [Output only] The time the operation completed, in RFC3339 text format.
#end_time=
def end_time=(value) -> ::String
Parameter
- value (::String) — [Output only] The time the operation completed, in RFC3339 text format.
Returns
- (::String) — [Output only] The time the operation completed, in RFC3339 text format.
#error
def error() -> ::Google::Rpc::Status
Returns
- (::Google::Rpc::Status) — The error result of the operation in case of failure.
#error=
def error=(value) -> ::Google::Rpc::Status
Parameter
- value (::Google::Rpc::Status) — The error result of the operation in case of failure.
Returns
- (::Google::Rpc::Status) — The error result of the operation in case of failure.
#location
def location() -> ::String
Returns
#location=
def location=(value) -> ::String
Parameter
Returns
#name
def name() -> ::String
Returns
- (::String) — The server-assigned ID for the operation.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The server-assigned ID for the operation.
Returns
- (::String) — The server-assigned ID for the operation.
#nodepool_conditions
def nodepool_conditions() -> ::Array<::Google::Cloud::Container::V1::StatusCondition>
Returns
- (::Array<::Google::Cloud::Container::V1::StatusCondition>) — Which conditions caused the current node pool state. Deprecated. Use field error instead.
#nodepool_conditions=
def nodepool_conditions=(value) -> ::Array<::Google::Cloud::Container::V1::StatusCondition>
Parameter
- value (::Array<::Google::Cloud::Container::V1::StatusCondition>) — Which conditions caused the current node pool state. Deprecated. Use field error instead.
Returns
- (::Array<::Google::Cloud::Container::V1::StatusCondition>) — Which conditions caused the current node pool state. Deprecated. Use field error instead.
#operation_type
def operation_type() -> ::Google::Cloud::Container::V1::Operation::Type
Returns
- (::Google::Cloud::Container::V1::Operation::Type) — The operation type.
#operation_type=
def operation_type=(value) -> ::Google::Cloud::Container::V1::Operation::Type
Parameter
- value (::Google::Cloud::Container::V1::Operation::Type) — The operation type.
Returns
- (::Google::Cloud::Container::V1::Operation::Type) — The operation type.
#progress
def progress() -> ::Google::Cloud::Container::V1::OperationProgress
Returns
- (::Google::Cloud::Container::V1::OperationProgress) — Output only. [Output only] Progress information for an operation.
#self_link
def self_link() -> ::String
Returns
- (::String) — Server-defined URL for the resource.
#self_link=
def self_link=(value) -> ::String
Parameter
- value (::String) — Server-defined URL for the resource.
Returns
- (::String) — Server-defined URL for the resource.
#start_time
def start_time() -> ::String
Returns
- (::String) — [Output only] The time the operation started, in RFC3339 text format.
#start_time=
def start_time=(value) -> ::String
Parameter
- value (::String) — [Output only] The time the operation started, in RFC3339 text format.
Returns
- (::String) — [Output only] The time the operation started, in RFC3339 text format.
#status
def status() -> ::Google::Cloud::Container::V1::Operation::Status
Returns
- (::Google::Cloud::Container::V1::Operation::Status) — The current status of the operation.
#status=
def status=(value) -> ::Google::Cloud::Container::V1::Operation::Status
Parameter
- value (::Google::Cloud::Container::V1::Operation::Status) — The current status of the operation.
Returns
- (::Google::Cloud::Container::V1::Operation::Status) — The current status of the operation.
#status_message
def status_message() -> ::String
Returns
- (::String) — Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
#target_link
def target_link() -> ::String
Returns
- (::String) — Server-defined URL for the target of the operation.
#target_link=
def target_link=(value) -> ::String
Parameter
- value (::String) — Server-defined URL for the target of the operation.
Returns
- (::String) — Server-defined URL for the target of the operation.
#zone
def zone() -> ::String
Returns
- (::String) — The name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead.
#zone=
def zone=(value) -> ::String
Parameter
- value (::String) — The name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead.
Returns
- (::String) — The name of the Google Compute Engine zone in which the operation is taking place. This field is deprecated, use location instead.