Class: Google::Apis::DialogflowV3::GoogleRpcStatus
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleRpcStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/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.
21713 21714 21715 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21713 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ Fixnum
Corresponds to the JSON property code
21701 21702 21703 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21701 def code @code end |
#details ⇒ Array<Hash<String,Object>>
Corresponds to the JSON property details
21706 21707 21708 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21706 def details @details end |
#message ⇒ String
Corresponds to the JSON property message
21711 21712 21713 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21711 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21718 21719 21720 21721 21722 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21718 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 |