class TencentCloud::Common::ClientProfile
def initialize(sign_method = 'TC3-HMAC-SHA256', http_profile = nil,
def initialize(sign_method = 'TC3-HMAC-SHA256', http_profile = nil, language = 'zh-CN', debug = false) @sign_method = sign_method @http_profile = http_profile || HttpProfile.new valid_language = %w[zh-CN en-US] unless valid_language.include? language raise TencentCloudSDKException.new('ClientError', "Language invalid, choices: #{valid_language}") end @language = language @debug = debug @unsigned_payload = false end