Skip to content

Commit 91825be

Browse files
committed
Add more alpha annotations
1 parent c9ce15d commit 91825be

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

google-cloud-storage/src/main/java/com/google/cloud/storage/Bucket.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import static com.google.common.base.Preconditions.checkNotNull;
2323

2424
import com.google.api.gax.paging.Page;
25+
import com.google.cloud.GcpLaunchStage;
2526
import com.google.cloud.Tuple;
2627
import com.google.cloud.storage.Acl.Entity;
2728
import com.google.cloud.storage.Storage.BlobGetOption;
@@ -117,6 +118,7 @@ public static BucketSourceOption metagenerationNotMatch() {
117118
* Returns an option for blob's billing user project. This option is only used by the buckets with
118119
* 'requester_pays' flag.
119120
*/
121+
@GcpLaunchStage.Alpha
120122
public static BucketSourceOption userProject(String userProject) {
121123
return new BucketSourceOption(StorageRpc.Option.USER_PROJECT, userProject);
122124
}
@@ -269,6 +271,7 @@ public static BlobTargetOption encryptionKey(String key) {
269271
* Returns an option for blob's billing user project. This option is only used by the buckets with
270272
* 'requester_pays' flag.
271273
*/
274+
@GcpLaunchStage.Alpha
272275
public static BlobTargetOption userProject(String userProject) {
273276
return new BlobTargetOption(StorageRpc.Option.USER_PROJECT, userProject);
274277
}
@@ -465,6 +468,7 @@ public static BlobWriteOption encryptionKey(String key) {
465468
* Returns an option for blob's billing user project. This option is only used by the buckets with
466469
* 'requester_pays' flag.
467470
*/
471+
@GcpLaunchStage.Alpha
468472
public static BlobWriteOption userProject(String userProject) {
469473
return new BlobWriteOption(Storage.BlobWriteOption.Option.USER_PROJECT, userProject);
470474
}

google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ public static BucketTargetOption metagenerationNotMatch() {
200200
* Returns an option for bucket's billing user project. This option is only used by the buckets with
201201
* 'requester_pays' flag.
202202
*/
203+
@GcpLaunchStage.Alpha
203204
public static BucketTargetOption userProject(String userProject) {
204205
return new BucketTargetOption(StorageRpc.Option.USER_PROJECT, userProject);
205206
}
@@ -236,6 +237,7 @@ public static BucketSourceOption metagenerationNotMatch(long metageneration) {
236237
* Returns an option for bucket's billing user project. This option is only used by the buckets with
237238
* 'requester_pays' flag.
238239
*/
240+
@GcpLaunchStage.Alpha
239241
public static BucketSourceOption userProject(String userProject) {
240242
return new BucketSourceOption(StorageRpc.Option.USER_PROJECT, userProject);
241243
}
@@ -276,6 +278,7 @@ public static BucketGetOption metagenerationNotMatch(long metageneration) {
276278
* Returns an option for bucket's billing user project. This option is only used by the buckets with
277279
* 'requester_pays' flag.
278280
*/
281+
@GcpLaunchStage.Alpha
279282
public static BucketGetOption userProject(String userProject) {
280283
return new BucketGetOption(StorageRpc.Option.USER_PROJECT, userProject);
281284
}
@@ -366,6 +369,7 @@ public static BlobTargetOption encryptionKey(Key key) {
366369
* Returns an option for blob's billing user project. This option is only used by the buckets with
367370
* 'requester_pays' flag.
368371
*/
372+
@GcpLaunchStage.Alpha
369373
public static BlobTargetOption userProject(String userProject) {
370374
return new BlobTargetOption(StorageRpc.Option.USER_PROJECT, userProject);
371375
}
@@ -535,6 +539,7 @@ public static BlobWriteOption encryptionKey(String key) {
535539
* Returns an option for blob's billing user project. This option is only used by the buckets with
536540
* 'requester_pays' flag.
537541
*/
542+
@GcpLaunchStage.Alpha
538543
public static BlobWriteOption userProject(String userProject) {
539544
return new BlobWriteOption(Option.USER_PROJECT, userProject);
540545
}
@@ -628,6 +633,7 @@ public static BlobSourceOption decryptionKey(String key) {
628633
* Returns an option for blob's billing user project. This option is only used by the buckets with
629634
* 'requester_pays' flag.
630635
*/
636+
@GcpLaunchStage.Alpha
631637
public static BlobSourceOption userProject(String userProject) {
632638
return new BlobSourceOption(StorageRpc.Option.USER_PROJECT, userProject);
633639
}
@@ -717,6 +723,7 @@ public static BlobGetOption fields(BlobField... fields) {
717723
* Returns an option for blob's billing user project. This option is only used by the buckets with
718724
* 'requester_pays' flag.
719725
*/
726+
@GcpLaunchStage.Alpha
720727
public static BlobGetOption userProject(String userProject) {
721728
return new BlobGetOption(StorageRpc.Option.USER_PROJECT, userProject);
722729
}

0 commit comments

Comments
 (0)