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.



2075
2076
2077
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2075

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)


2073
2074
2075
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2073

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2080
2081
2082
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2080

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