this is a temporary workaround until we upgrade to the latest zipkin-sender-stackdriver
Query for Help on GCP with Cloud Storage
I am hoping someone can help me with the following. I have a Google App Engine Standard Environment Java application in which I am trying to create a bucket into which I want to store some data. When I create a bucket, it creates it in the root of my buckets (I.e.
/Buckets/) as a sibling to my project bucket (i.e. the bucket with the name
/Buckets/<projectId>.appspot.com). When I try to specify the full name of the bucket as:
<projectId>.appspot.com/<new_bucket_name> it tells me my bucket name is invalid. When I simply use
<new_bucket_name> as the name of the bucket to be created it does create it but at the location
How do I create a new bucket inside of my project bucket?
The code I am using is as follows:
Storage storage = StorageOptions.getDefaultInstance().getService() Bucket bucket = storage.create(BucketInfo.of(bucketName)) bucket.create(fileName, fileContent.getBytes(StandardCharsets.UTF_8)
Any help would be greatly appreciated.
storage.create( BlobInfo.newBuilder(BlobId.of("<projectId>.appspot.com", "<new_folder_name>/<file_name>")).build(), fileContent.getBytes() );
spring-cloud-gcp-starter-storage, you can autowire the
@ryanjbaxter - Hey I had a question about the spring.io
learn tab - Is there a way for us to control where the "API doc." link links to for the various versions of our library? https://spring.io/projects/spring-cloud-gcp#learn
i.e. like by modifying our sagan-index.adoc or some similar edit.