Class: Google::Apis::FirebasedataconnectV1::GenerateSchemaRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedataconnectV1::GenerateSchemaRequest
- 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
Request message for GenerateSchema.
Instance Attribute Summary collapse
-
#prompt ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateSchemaRequest
constructor
A new instance of GenerateSchemaRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateSchemaRequest
Returns a new instance of GenerateSchemaRequest.
497 498 499 |
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 497 def initialize(**args) update!(**args) end |
Instance Attribute Details
#prompt ⇒ String
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
495 496 497 |
# File 'lib/google/apis/firebasedataconnect_v1/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_v1/classes.rb', line 502 def update!(**args) @prompt = args[:prompt] if args.key?(:prompt) end |