Package com.google.storage.control.v2


@Generated("by gapic-generator-java") package com.google.storage.control.v2
A client to Storage Control API

The interfaces provided are listed below, along with usage samples.

======================= StorageControlClient =======================

Service Description: StorageControl service includes selected control plane operations.

Sample for StorageControlClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (StorageControlClient storageControlClient = StorageControlClient.create()) {
   BucketName parent = BucketName.of("[PROJECT]", "[BUCKET]");
   Folder folder = Folder.newBuilder().build();
   String folderId = "folderId294109737";
   Folder response = storageControlClient.createFolder(parent, folder, folderId);
 }