Google Cloud Storage Java Programming Model
Jump to navigation
Jump to search
Internal
Overview
ServiceAccountCredentials serviceAccountCredentials;
Storage storageService = StorageOptions.newBuilder().setCredentials(serviceAccountCredentials).build().getService();
Bucket by Name
ServiceAccountCredentials serviceAccountCredentials;
storageService.get(bucketName, options);
List Buckets
Page<Bucket> buckets = storageService.list();