Class: Google::Apis::FirebasedataconnectV1beta::GenerateSchemaRequest

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

Request message for GenerateSchema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateSchemaRequest

Returns a new instance of GenerateSchemaRequest.



497
498
499
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 497

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

Instance Attribute Details

#promptString

Required. The natural language description of the data model to generate. Example: "A blog system with Users, Posts, and Comments. Users can have multiple posts." Corresponds to the JSON property prompt

Returns:

  • (String)


495
496
497
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 495

def prompt
  @prompt
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



502
503
504
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 502

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