Class: Google::Apis::BigqueryV2::ErrorProto
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::ErrorProto
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigquery_v2/classes.rb,
generated/google/apis/bigquery_v2/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ErrorProto
Returns a new instance of ErrorProto.
1510 1511 1512 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1510 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
1493 1494 1495 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1493 def debug_info @debug_info end |
#location ⇒ String
Specifies where the error occurred, if present.
Corresponds to the JSON property location
1498 1499 1500 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1498 def location @location end |
#message ⇒ String
A human-readable description of the error.
Corresponds to the JSON property message
1503 1504 1505 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1503 def @message end |
#reason ⇒ String
A short error code that summarizes the error.
Corresponds to the JSON property reason
1508 1509 1510 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1508 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1515 1516 1517 1518 1519 1520 |
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1515 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 |