Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference
- 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 reference to the schema of an existing tool.
Instance Attribute Summary collapse
-
#schema ⇒ String
The name of the schema.
-
#tool ⇒ String
The tool that contains this schema definition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference
constructor
A new instance of GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference
Returns a new instance of GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference.
13938 13939 13940 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13938 def initialize(**args) update!(**args) end |
Instance Attribute Details
#schema ⇒ String
The name of the schema.
Corresponds to the JSON property schema
13930 13931 13932 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13930 def schema @schema end |
#tool ⇒ String
The tool that contains this schema definition. Format: projects//locations//
agents//tools/.
Corresponds to the JSON property tool
13936 13937 13938 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13936 def tool @tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13943 13944 13945 13946 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13943 def update!(**args) @schema = args[:schema] if args.key?(:schema) @tool = args[:tool] if args.key?(:tool) end |