Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3EnvironmentVersionConfig

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



777
778
779
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 777

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)


775
776
777
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 775

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



782
783
784
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 782

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