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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference

Returns a new instance of GoogleCloudDialogflowCxV3beta1TypeSchemaSchemaReference.



13699
13700
13701
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13699

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

Instance Attribute Details

#schemaString

Corresponds to the JSON property schema

Returns:

  • (String)


13692
13693
13694
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13692

def schema
  @schema
end

#toolString

Corresponds to the JSON property tool

Returns:

  • (String)


13697
13698
13699
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13697

def tool
  @tool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13704
13705
13706
13707
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13704

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