Class: Google::Apis::RunV1alpha1::RegionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/run_v1alpha1/classes.rb,
generated/google/apis/run_v1alpha1/representations.rb,
generated/google/apis/run_v1alpha1/representations.rb

Overview

Information for a regional call used for a global API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ RegionDetails

Returns a new instance of RegionDetails



2751
2752
2753
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2751

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#errorGoogle::Apis::RunV1alpha1::GoogleRpcStatus

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Corresponds to the JSON property error



2749
2750
2751
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2749

def error
  @error
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2756
2757
2758
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2756

def update!(**args)
  @error = args[:error] if args.key?(:error)
end