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.



9579
9580
9581
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9579

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)


9577
9578
9579
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9577

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9584
9585
9586
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 9584

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