Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Encapsulates different type schema variations: either a reference to an a schema that's already defined by a tool, or an inline definition.
Instance Attribute Summary collapse
-
#inline_schema ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSchema
A type schema object that's specified inline.
-
#schema_reference ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference
A reference to the schema of an existing tool.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TypeSchema
constructor
A new instance of GoogleCloudDialogflowCxV3beta1TypeSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TypeSchema
Returns a new instance of GoogleCloudDialogflowCxV3beta1TypeSchema.
13912 13913 13914 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13912 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inline_schema ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSchema
A type schema object that's specified inline.
Corresponds to the JSON property inlineSchema
13905 13906 13907 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13905 def inline_schema @inline_schema end |
#schema_reference ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference
A reference to the schema of an existing tool.
Corresponds to the JSON property schemaReference
13910 13911 13912 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13910 def schema_reference @schema_reference end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13917 13918 13919 13920 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13917 def update!(**args) @inline_schema = args[:inline_schema] if args.key?(:inline_schema) @schema_reference = args[:schema_reference] if args.key?(:schema_reference) end |