Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EnvironmentVersionConfig

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

Returns a new instance of GoogleCloudDialogflowCxV3EnvironmentVersionConfig.



1696
1697
1698
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1696

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#versionString

Required. Format: projects//locations//agents//flows//versions/. Corresponds to the JSON property version

Returns:

  • (String)


1694
1695
1696
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1694

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1701
1702
1703
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1701

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