Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentVersionConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Overview

Configuration for the version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3EnvironmentVersionConfig

Returns a new instance of GoogleCloudDialogflowCxV3EnvironmentVersionConfig.



759
760
761
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 759

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

Instance Attribute Details

#versionString

Required. Flow, playbook and tool versions are supported. Format for flow version: projects//locations//agents//flows//versions/. Format for playbook version: projects//locations//agents//playbooks//versions/. Format for tool version: projects//locations//agents//tools//versions/. Corresponds to the JSON property version

Returns:

  • (String)


757
758
759
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 757

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



764
765
766
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 764

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