Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3EnvironmentVersionConfig

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



546
547
548
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 546

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)


544
545
546
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 544

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



551
552
553
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 551

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