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.



13960
13961
13962
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13960

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#schemaString

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

Returns:

  • (String)


13952
13953
13954
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13952

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)


13958
13959
13960
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13958

def tool
  @tool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13965
13966
13967
13968
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13965

def update!(**args)
  @schema = args[:schema] if args.key?(:schema)
  @tool = args[:tool] if args.key?(:tool)
end