@@ -94,7 +94,7 @@ enum BucketField implements FieldSelector {
9494 CORS ("cors" ),
9595 STORAGE_CLASS ("storageClass" ),
9696 ETAG ("etag" ),
97- @ GcpLaunchStage . Alpha
97+ DEFAULT_KMS_KEY_NAME ( "defaultKmsKeyName" ),
9898 BILLING ("billing" );
9999
100100 static final List <? extends FieldSelector > REQUIRED_FIELDS = ImmutableList .of (NAME );
@@ -136,6 +136,7 @@ enum BlobField implements FieldSelector {
136136 SIZE ("size" ),
137137 STORAGE_CLASS ("storageClass" ),
138138 TIME_DELETED ("timeDeleted" ),
139+ KMS_KEY_NAME ("kmsKeyName" ),
139140 UPDATED ("updated" );
140141
141142 static final List <? extends FieldSelector > REQUIRED_FIELDS = ImmutableList .of (BUCKET , NAME );
@@ -203,7 +204,6 @@ public static BucketTargetOption metagenerationNotMatch() {
203204 * Returns an option to define the billing user project. This option is required by buckets with
204205 * `requester_pays` flag enabled to assign operation costs.
205206 */
206- @ GcpLaunchStage .Alpha
207207 public static BucketTargetOption userProject (String userProject ) {
208208 return new BucketTargetOption (StorageRpc .Option .USER_PROJECT , userProject );
209209 }
@@ -240,7 +240,6 @@ public static BucketSourceOption metagenerationNotMatch(long metageneration) {
240240 * Returns an option for bucket's billing user project. This option is only used by the buckets with
241241 * 'requester_pays' flag.
242242 */
243- @ GcpLaunchStage .Alpha
244243 public static BucketSourceOption userProject (String userProject ) {
245244 return new BucketSourceOption (StorageRpc .Option .USER_PROJECT , userProject );
246245 }
@@ -281,7 +280,6 @@ public static BucketGetOption metagenerationNotMatch(long metageneration) {
281280 * Returns an option for bucket's billing user project. This option is only used by the buckets with
282281 * 'requester_pays' flag.
283282 */
284- @ GcpLaunchStage .Alpha
285283 public static BucketGetOption userProject (String userProject ) {
286284 return new BucketGetOption (StorageRpc .Option .USER_PROJECT , userProject );
287285 }
@@ -372,7 +370,6 @@ public static BlobTargetOption encryptionKey(Key key) {
372370 * Returns an option for blob's billing user project. This option is only used by the buckets with
373371 * 'requester_pays' flag.
374372 */
375- @ GcpLaunchStage .Alpha
376373 public static BlobTargetOption userProject (String userProject ) {
377374 return new BlobTargetOption (StorageRpc .Option .USER_PROJECT , userProject );
378375 }
@@ -542,7 +539,6 @@ public static BlobWriteOption encryptionKey(String key) {
542539 * Returns an option for blob's billing user project. This option is only used by the buckets with
543540 * 'requester_pays' flag.
544541 */
545- @ GcpLaunchStage .Alpha
546542 public static BlobWriteOption userProject (String userProject ) {
547543 return new BlobWriteOption (Option .USER_PROJECT , userProject );
548544 }
@@ -636,7 +632,6 @@ public static BlobSourceOption decryptionKey(String key) {
636632 * Returns an option for blob's billing user project. This option is only used by the buckets with
637633 * 'requester_pays' flag.
638634 */
639- @ GcpLaunchStage .Alpha
640635 public static BlobSourceOption userProject (String userProject ) {
641636 return new BlobSourceOption (StorageRpc .Option .USER_PROJECT , userProject );
642637 }
@@ -726,7 +721,6 @@ public static BlobGetOption fields(BlobField... fields) {
726721 * Returns an option for blob's billing user project. This option is only used by the buckets with
727722 * 'requester_pays' flag.
728723 */
729- @ GcpLaunchStage .Alpha
730724 public static BlobGetOption userProject (String userProject ) {
731725 return new BlobGetOption (StorageRpc .Option .USER_PROJECT , userProject );
732726 }
@@ -769,7 +763,6 @@ public static BucketListOption prefix(String prefix) {
769763 * Returns an option for bucket's billing user project. This option is only used by the buckets with
770764 * 'requester_pays' flag.
771765 */
772- @ GcpLaunchStage .Alpha
773766 public static BucketListOption userProject (String userProject ) {
774767 return new BucketListOption (StorageRpc .Option .USER_PROJECT , userProject );
775768 }
@@ -840,7 +833,6 @@ public static BlobListOption currentDirectory() {
840833 *
841834 * @param userProject projectId of the billing user project.
842835 */
843- @ GcpLaunchStage .Alpha
844836 public static BlobListOption userProject (String userProject ) {
845837 return new BlobListOption (StorageRpc .Option .USER_PROJECT , userProject );
846838 }
@@ -2587,8 +2579,6 @@ public static Builder newBuilder() {
25872579 * @param options extra parameters to apply to this operation
25882580 * @throws StorageException upon failure
25892581 */
2590- @ BetaApi
2591- @ GcpLaunchStage .Alpha
25922582 Policy getIamPolicy (String bucket , BucketSourceOption ... options );
25932583
25942584 /**
@@ -2612,8 +2602,6 @@ public static Builder newBuilder() {
26122602 * @param options extra parameters to apply to this operation
26132603 * @throws StorageException upon failure
26142604 */
2615- @ BetaApi
2616- @ GcpLaunchStage .Alpha
26172605 Policy setIamPolicy (String bucket , Policy policy , BucketSourceOption ... options );
26182606
26192607 /**
@@ -2637,8 +2625,6 @@ public static Builder newBuilder() {
26372625 * @param options extra parameters to apply to this operation
26382626 * @throws StorageException upon failure
26392627 */
2640- @ BetaApi
2641- @ GcpLaunchStage .Alpha
26422628 List <Boolean > testIamPermissions (String bucket , List <String > permissions , BucketSourceOption ... options );
26432629
26442630 /**
0 commit comments