Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CompareVersionsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Overview

The request message for Versions.CompareVersions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1CompareVersionsRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1CompareVersionsRequest.



4759
4760
4761
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4759

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

Instance Attribute Details

#language_codeString

The language to compare the flow versions for. If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used. Corresponds to the JSON property languageCode

Returns:

  • (String)


4750
4751
4752
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4750

def language_code
  @language_code
end

#target_versionString

Required. Name of the target flow version to compare with the base version. Use version ID 0 to indicate the draft version of the specified flow. Format: projects//locations//agents//flows//versions/. Corresponds to the JSON property targetVersion

Returns:

  • (String)


4757
4758
4759
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4757

def target_version
  @target_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4764
4765
4766
4767
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4764

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