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.



975
976
977
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 975

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)


963
964
965
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 963

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)


968
969
970
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 968

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)


973
974
975
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 973

def target_version_content_json
  @target_version_content_json
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



980
981
982
983
984
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 980

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