class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CompareVersionsRequest

The request message for Versions.CompareVersions.

Attributes

language_code[RW]

The language to compare the flow versions for. If not specified, the agent's default language is used. [Many languages](cloud.google.com/dialogflow/ docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used. Corresponds to the JSON property `languageCode` @return [String]

target_version[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 445
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 450
def update!(**args)
  @language_code = args[:language_code] if args.key?(:language_code)
  @target_version = args[:target_version] if args.key?(:target_version)
end