Class: Google::Apis::DialogflowV3beta1::GoogleRpcStatus
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleRpcStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#code ⇒ Fixnum
Corresponds to the JSON property
code. -
#details ⇒ Array<Hash<String,Object>>
Corresponds to the JSON property
details. -
#message ⇒ String
Corresponds to the JSON property
message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleRpcStatus
constructor
A new instance of GoogleRpcStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleRpcStatus
Returns a new instance of GoogleRpcStatus.
23136 23137 23138 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23136 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ Fixnum
Corresponds to the JSON property code
23124 23125 23126 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23124 def code @code end |
#details ⇒ Array<Hash<String,Object>>
Corresponds to the JSON property details
23129 23130 23131 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23129 def details @details end |
#message ⇒ String
Corresponds to the JSON property message
23134 23135 23136 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23134 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23141 23142 23143 23144 23145 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 23141 def update!(**args) @code = args[:code] if args.key?(:code) @details = args[:details] if args.key?(:details) @message = args[:message] if args.key?(:message) end |