Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EnvironmentVersionConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/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.



2167
2168
2169
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2167

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

Instance Attribute Details

#versionString

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

Returns:

  • (String)


2165
2166
2167
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2165

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2172
2173
2174
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2172

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