Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig

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) ⇒ GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig

Returns a new instance of GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig.



9629
9630
9631
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9629

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)


9627
9628
9629
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9627

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9634
9635
9636
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9634

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