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.



4480
4481
4482
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4480

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)


4478
4479
4480
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4478

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4485
4486
4487
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 4485

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