Class: Google::Apis::FirebasedataconnectV1::Datasource

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

Overview

A data source that backs Firebase Data Connect services.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Datasource

Returns a new instance of Datasource.



236
237
238
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 236

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

Instance Attribute Details

#http_graphqlGoogle::Apis::FirebasedataconnectV1::HttpGraphql

Settings for HTTP GraphQL server webhook. Corresponds to the JSON property httpGraphql



229
230
231
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 229

def http_graphql
  @http_graphql
end

#postgresqlGoogle::Apis::FirebasedataconnectV1::PostgreSql

Settings for PostgreSQL data source. Corresponds to the JSON property postgresql



234
235
236
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 234

def postgresql
  @postgresql
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



241
242
243
244
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 241

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