Class: Google::Apis::BigqueryV2::ErrorProto
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ErrorProto
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#debug_info ⇒ String
Debugging information.
-
#location ⇒ String
Specifies where the error occurred, if present.
-
#message ⇒ String
A human-readable description of the error.
-
#reason ⇒ String
A short error code that summarizes the error.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ErrorProto
constructor
A new instance of ErrorProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ErrorProto
Returns a new instance of ErrorProto.
2191 2192 2193 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2191 def initialize(**args) update!(**args) end |
Instance Attribute Details
#debug_info ⇒ String
Debugging information. This property is internal to Google and should not be
used.
Corresponds to the JSON property debugInfo
2174 2175 2176 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2174 def debug_info @debug_info end |
#location ⇒ String
Specifies where the error occurred, if present.
Corresponds to the JSON property location
2179 2180 2181 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2179 def location @location end |
#message ⇒ String
A human-readable description of the error.
Corresponds to the JSON property message
2184 2185 2186 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2184 def @message end |
#reason ⇒ String
A short error code that summarizes the error.
Corresponds to the JSON property reason
2189 2190 2191 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2189 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2196 2197 2198 2199 2200 2201 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 2196 def update!(**args) @debug_info = args[:debug_info] if args.key?(:debug_info) @location = args[:location] if args.key?(:location) @message = args[:message] if args.key?(:message) @reason = args[:reason] if args.key?(:reason) end |