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.
8889 8890 8891 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8889 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
8882 8883 8884 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8882 def items @items end |
#type ⇒ String
Data type of the schema.
Corresponds to the JSON property type
8887 8888 8889 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8887 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8894 8895 8896 8897 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8894 def update!(**args) @items = args[:items] if args.key?(:items) @type = args[:type] if args.key?(:type) end |