def __init__(self, scopes, service_account_id=None, token_maker=None,
               retry_params=None):

    if isinstance(scopes, basestring):
      scopes = [scopes]
    self.scopes = scopes
    self.service_account_id = service_account_id
    self.make_token_async = token_maker or _make_token_async
    self.token = None
    if not retry_params:
      retry_params = api_utils._get_default_retry_params()
    self.retry_params = retry_params
Constructor.
dataset/ETHPy150Open GoogleCloudPlatform/billing-export-python/cloudstorage/rest_api.py/_RestApi.__init__