Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::Operation (v0.21.0)

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

#cluster_conditions=

def cluster_conditions=(value) -> ::Array<::Google::Cloud::Container::V1::StatusCondition>
Parameter
Returns

#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

#error=

def error=(value) -> ::Google::Rpc::Status
Parameter
Returns

#location

def location() -> ::String
Returns
  • (::String) — [Output only] The name of the Google Compute Engine zone or region in which the cluster resides.

#location=

def location=(value) -> ::String
Parameter
  • value (::String) — [Output only] The name of the Google Compute Engine zone or region in which the cluster resides.
Returns
  • (::String) — [Output only] The name of the Google Compute Engine zone or region in which the cluster resides.

#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

#nodepool_conditions=

def nodepool_conditions=(value) -> ::Array<::Google::Cloud::Container::V1::StatusCondition>
Parameter
Returns

#operation_type

def operation_type() -> ::Google::Cloud::Container::V1::Operation::Type
Returns

#operation_type=

def operation_type=(value) -> ::Google::Cloud::Container::V1::Operation::Type
Parameter
Returns

#progress

def progress() -> ::Google::Cloud::Container::V1::OperationProgress
Returns
def self_link() -> ::String
Returns
  • (::String) — Server-defined URI for the operation. Example: https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123.
def self_link=(value) -> ::String
Parameter
  • value (::String) — Server-defined URI for the operation. Example: https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123.
Returns
  • (::String) — Server-defined URI for the operation. Example: https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123.

#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

#status=

def status=(value) -> ::Google::Cloud::Container::V1::Operation::Status
Parameter
Returns

#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.
def target_link() -> ::String
Returns
  • (::String) — Server-defined URI for the target of the operation. The format of this is a URI to the resource being modified (such as a cluster, node pool, or node). For node pool repairs, there may be multiple nodes being repaired, but only one will be the target.

    Examples:

    - https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster - https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np - https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node

def target_link=(value) -> ::String
Parameter
  • value (::String) — Server-defined URI for the target of the operation. The format of this is a URI to the resource being modified (such as a cluster, node pool, or node). For node pool repairs, there may be multiple nodes being repaired, but only one will be the target.

    Examples:

    - https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster - https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np - https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node

Returns
  • (::String) — Server-defined URI for the target of the operation. The format of this is a URI to the resource being modified (such as a cluster, node pool, or node). For node pool repairs, there may be multiple nodes being repaired, but only one will be the target.

    Examples:

    - https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster - https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np - https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node

#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.