Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CompareVersionsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3CompareVersionsRequest

Returns a new instance of GoogleCloudDialogflowCxV3CompareVersionsRequest.



1048
1049
1050
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1048

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

Instance Attribute Details

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


1041
1042
1043
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1041

def language_code
  @language_code
end

#target_versionString

Corresponds to the JSON property targetVersion

Returns:

  • (String)


1046
1047
1048
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1046

def target_version
  @target_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1053
1054
1055
1056
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1053

def update!(**args)
  @language_code = args[:language_code] if args.key?(:language_code)
  @target_version = args[:target_version] if args.key?(:target_version)
end