Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig

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



4720
4721
4722
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4720

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)


4718
4719
4720
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4718

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4725
4726
4727
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4725

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