Class: Google::Apis::FirebasedataconnectV1beta::GraphqlErrorExtensions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebasedataconnect_v1beta/classes.rb,
lib/google/apis/firebasedataconnect_v1beta/representations.rb,
lib/google/apis/firebasedataconnect_v1beta/representations.rb

Overview

GraphqlErrorExtensions contains additional information of GraphqlError.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GraphqlErrorExtensions

Returns a new instance of GraphqlErrorExtensions.



367
368
369
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 367

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

Instance Attribute Details

#fileString

The source file name where the error occurred. Included only for UpdateSchema and UpdateConnector, it corresponds to File.path of the provided Source. Corresponds to the JSON property file

Returns:

  • (String)


365
366
367
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 365

def file
  @file
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



372
373
374
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 372

def update!(**args)
  @file = args[:file] if args.key?(:file)
end