def __init__(self, service_instance, cert_file=None, protocol='<STR_LIT>',<EOL>request_session=None, timeout=<NUM_LIT>, user_agent='<STR_LIT>'):
self.service_instance = service_instance<EOL>self.cert_file = cert_file<EOL>self.protocol = protocol<EOL>self.proxy_host = None<EOL>self.proxy_port = None<EOL>self.proxy_user = None<EOL>self.proxy_password = None<EOL>self.request_session = request_session<EOL>self.timeout = timeout<EOL>self.user_agent = user_agent<EOL>
service_instance:
    service client instance.
cert_file:
    certificate file path or location in windows certificate store.
protocol:
    http or https.
request_session:
    session object created with requests library (or compatible).
timeout:
    timeout for the http request, in seconds.
user_agent:
    user agent string to set in http header.