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.



483
484
485
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 483

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)


471
472
473
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 471

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)


476
477
478
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 476

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)


481
482
483
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 481

def target_version_content_json
  @target_version_content_json
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



488
489
490
491
492
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 488

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