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.



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

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)


857
858
859
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 857

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)


862
863
864
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 862

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)


867
868
869
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 867

def target_version_content_json
  @target_version_content_json
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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