Class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleRpcStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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.
22963 22964 22965 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22963 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ Fixnum
Corresponds to the JSON property code
22951 22952 22953 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22951 def code @code end |
#details ⇒ Array<Hash<String,Object>>
Corresponds to the JSON property details
22956 22957 22958 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22956 def details @details end |
#message ⇒ String
Corresponds to the JSON property message
22961 22962 22963 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22961 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22968 22969 22970 22971 22972 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22968 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 |