Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig

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

Configuration for the version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig

Returns a new instance of GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig.



6430
6431
6432
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6430

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)


6428
6429
6430
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6428

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6435
6436
6437
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6435

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