net.derquinse.bocas.gcs
Class GCSBocas
java.lang.Object
net.derquinse.common.base.NotInstantiable
net.derquinse.bocas.gcs.GCSBocas
public final class GCSBocas
- extends NotInstantiable
Factory class for Bocas repositories based on Google Cloud Storage.
- Author:
- Andres Rodriguez.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
service
public static BocasService service(String email,
File p12,
BocasHashFunction function,
MemoryByteSourceLoader loader)
- Creates a new service using service account authentication.
- Parameters:
email - Account email address.p12 - Private key file.function - Hash function to use.loader - Memory loader to use.
- Returns:
- The requested service.
Copyright © 2013 Derquinse Projects. All Rights Reserved.