class TencentCloud::Common::AbstractClient
def build_req(action, params, req, options = {})
def build_req(action, params, req, options = {}) if %w[HmacSHA1 HmacSHA256].include? @profile.sign_method build_req_with_v1_signature(action, params, req) elsif @profile.sign_method == 'TC3-HMAC-SHA256' || options['IsMultipart'] build_req_with_v3_signature(action, params, req, options) else raise TencentCloudSDKException.new('ClientError', 'Invalid signature method') end end