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.



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

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)


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

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)


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

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)


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

def target_version_content_json
  @target_version_content_json
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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