def __init__(self, config, logger,
                 scope=constants.COMPUTE_SCOPE,
                 discovery=constants.COMPUTE_DISCOVERY,
                 api_version=constants.API_V1):
        """
        GoogleCloudApi class constructor.
        Create API discovery object that will be making GCP REST API calls.

        :param config: dictionary with object properties
        :param logger: logger object that the class methods will be logging to
        :return:
        """
        self.auth = config['auth']
        self.config = config
        self.logger = logger.getChild('GCP')
        self.scope = scope
        self.__discovery = discovery
        self.api_version = api_version