def submit_gcp_connector_sync_action(api, configuration, api_version, api_exception, gcp_connector_id):
    """ Submits a synchronize action of a GCP connector.
    :param api              The Deep Security API exports.
    :param configuration    The configuration object to pass to the API client.
    :param api_version      The API version to use.
    :param api_exception    The Deep Security API exception module.
    :param gcp_connector_id The GCP connector ID of the target GCP connector.
    :return                 The created Action object which contains the ID and status of the action.
    """
    
    # Create the GCPConnectorActionsApi instance and an Action object to synchronize the GCP connector
    api_instance = api.GCPConnectorActionsApi(api.ApiClient(configuration))
    gcp_connector_action = api.Action()
    gcp_connector_action.type = "synchronize"
    try:
        # Call the create_gcp_connector_action API to create a synchronize action for the target GCP connector
        api_response = api_instance.create_gcp_connector_action(gcp_connector_id, gcp_connector_action, api_version)
        return api_response
    except api_exception as e:
        print("An exception occurred when calling GCPConnectorActionsApi.create_google_connector_action: %s\n" % e)