Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#schemaString

The name of the schema. Corresponds to the JSON property schema

Returns:

  • (String)


13930
13931
13932
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13930

def schema
  @schema
end

#toolString

The tool that contains this schema definition. Format: projects//locations// agents//tools/. Corresponds to the JSON property tool

Returns:

  • (String)


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