Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CompareVersionsResponse

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

The response message for Versions.CompareVersions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3CompareVersionsResponse

Returns a new instance of GoogleCloudDialogflowCxV3CompareVersionsResponse.



871
872
873
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 871

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

Instance Attribute Details

#base_version_content_jsonString

JSON representation of the base version content. Corresponds to the JSON property baseVersionContentJson

Returns:

  • (String)


859
860
861
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 859

def base_version_content_json
  @base_version_content_json
end

#compare_timeString

The timestamp when the two version compares. Corresponds to the JSON property compareTime

Returns:

  • (String)


864
865
866
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 864

def compare_time
  @compare_time
end

#target_version_content_jsonString

JSON representation of the target version content. Corresponds to the JSON property targetVersionContentJson

Returns:

  • (String)


869
870
871
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 869

def target_version_content_json
  @target_version_content_json
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



876
877
878
879
880
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 876

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