Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSchema
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSchema
- 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
A type schema object that's specified inline.
Instance Attribute Summary collapse
-
#items ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema
Encapsulates different type schema variations: either a reference to an a schema that's already defined by a tool, or an inline definition.
-
#type ⇒ String
Data type of the schema.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1InlineSchema
constructor
A new instance of GoogleCloudDialogflowCxV3beta1InlineSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1InlineSchema
Returns a new instance of GoogleCloudDialogflowCxV3beta1InlineSchema.
8857 8858 8859 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8857 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchema
Encapsulates different type schema variations: either a reference to an a
schema that's already defined by a tool, or an inline definition.
Corresponds to the JSON property items
8850 8851 8852 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8850 def items @items end |
#type ⇒ String
Data type of the schema.
Corresponds to the JSON property type
8855 8856 8857 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8855 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8862 8863 8864 8865 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8862 def update!(**args) @items = args[:items] if args.key?(:items) @type = args[:type] if args.key?(:type) end |