Class: Google::Apis::BigqueryV2::ErrorProto

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ErrorProto

Returns a new instance of ErrorProto.



1802
1803
1804
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1802

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#debug_infoString

Debugging information. This property is internal to Google and should not be used. Corresponds to the JSON property debugInfo

Returns:

  • (String)


1785
1786
1787
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1785

def debug_info
  @debug_info
end

#locationString

Specifies where the error occurred, if present. Corresponds to the JSON property location

Returns:

  • (String)


1790
1791
1792
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1790

def location
  @location
end

#messageString

A human-readable description of the error. Corresponds to the JSON property message

Returns:

  • (String)


1795
1796
1797
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1795

def message
  @message
end

#reasonString

A short error code that summarizes the error. Corresponds to the JSON property reason

Returns:

  • (String)


1800
1801
1802
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1800

def reason
  @reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1807
1808
1809
1810
1811
1812
# File 'generated/google/apis/bigquery_v2/classes.rb', line 1807

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