Skip to content

Commit 9ee1274

Browse files
author
Frank Natividad
committed
---
yaml --- r: 9611 b: refs/heads/kms-integration c: 116220c h: refs/heads/master i: 9609: 1eb4dfb 9607: 41acbd2
1 parent 6a12627 commit 9ee1274

7 files changed

Lines changed: 11 additions & 3 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ refs/tags/v0.42.1: 3d9c15dd66bbe736cfd83b695f805833d7a32299
9191
refs/tags/v0.43.0: af4bfcbcc7c86354b26642d65400ee4accb632a9
9292
refs/heads/add-pubsub-publish-error-handler: 54ac3bf7a1396a71a4ffc350cd409de4dad2d63a
9393
refs/heads/java-release-src-1: 23b4842b1c560f3f1d382de1e0797261307490b4
94-
refs/heads/kms-integration: 8d042d2544d4d22ebd8d4564074a68a39722d698
94+
refs/heads/kms-integration: 116220c0220e49220883975c20f809acde68fcf9
9595
refs/tags/v0.44.0: 1c7d06813aa4d2ac948b1ddda591406a2448371f
9696
refs/tags/v0.45.0: 4b4eb52d0823f5335cb8acf54a88bae199e013ae
9797
refs/tags/v0.46.0: 40dfc83a11b2cf2c21bf0f5a7b1e47087cbf0259

branches/kms-integration/google-cloud-storage/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<dependency>
3030
<groupId>com.google.apis</groupId>
3131
<artifactId>google-api-services-storage</artifactId>
32-
<version>v1-rev125-1.23.0</version>
3332
<scope>compile</scope>
3433
<exclusions>
3534
<exclusion>

branches/kms-integration/google-cloud-storage/src/main/java/com/google/cloud/storage/Blob.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ Builder setCustomerEncryption(CustomerEncryption customerEncryption) {
402402
return this;
403403
}
404404

405+
@GcpLaunchStage.Beta
405406
@Override
406407
public Builder setKmsKeyName(String kmsKeyName) {
407408
infoBuilder.setKmsKeyName(kmsKeyName);

branches/kms-integration/google-cloud-storage/src/main/java/com/google/cloud/storage/BlobInfo.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import com.google.api.services.storage.model.ObjectAccessControl;
2525
import com.google.api.services.storage.model.StorageObject;
2626
import com.google.api.services.storage.model.StorageObject.Owner;
27+
import com.google.cloud.GcpLaunchStage;
2728
import com.google.cloud.storage.Blob.Builder;
2829
import com.google.common.base.Function;
2930
import com.google.common.base.MoreObjects;
@@ -271,6 +272,7 @@ public abstract static class Builder {
271272
*
272273
* Sets the blob's kmsKeyName.
273274
*/
275+
@GcpLaunchStage.Beta
274276
public abstract Builder setKmsKeyName(String kmsKeyName);
275277

276278
/**
@@ -484,6 +486,7 @@ Builder setCustomerEncryption(CustomerEncryption customerEncryption) {
484486
return this;
485487
}
486488

489+
@GcpLaunchStage.Beta
487490
@Override
488491
public Builder setKmsKeyName(String kmsKeyName) {
489492
this.kmsKeyName = kmsKeyName;
@@ -756,6 +759,7 @@ public StorageClass getStorageClass() {
756759
/**
757760
* Returns the Cloud KMS key used to encrypt the blob, if any.
758761
*/
762+
@GcpLaunchStage.Beta
759763
public String getKmsKeyName() {
760764
return kmsKeyName;
761765
}

branches/kms-integration/google-cloud-storage/src/main/java/com/google/cloud/storage/Bucket.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ public Builder setLabels(Map<String, String> labels) {
612612
return this;
613613
}
614614

615+
@GcpLaunchStage.Beta
615616
@Override
616617
public Builder setDefaultKmsKeyName(String defaultKmsKeyName) {
617618
infoBuilder.setDefaultKmsKeyName(defaultKmsKeyName);

branches/kms-integration/google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import com.google.api.services.storage.model.Bucket.Owner;
3232
import com.google.api.services.storage.model.Bucket.Versioning;
3333
import com.google.api.services.storage.model.Bucket.Website;
34+
import com.google.cloud.GcpLaunchStage;
3435
import com.google.cloud.storage.Acl.Entity;
3536
import com.google.common.base.Function;
3637
import com.google.common.base.MoreObjects;
@@ -428,6 +429,7 @@ public abstract static class Builder {
428429
/**
429430
* Sets the default Cloud KMS key name for this bucket.
430431
*/
432+
@GcpLaunchStage.Beta
431433
public abstract Builder setDefaultKmsKeyName(String defaultKmsKeyName);
432434

433435
/**
@@ -593,6 +595,7 @@ public Builder setLabels(Map<String, String> labels) {
593595
return this;
594596
}
595597

598+
@GcpLaunchStage.Beta
596599
@Override
597600
public Builder setDefaultKmsKeyName(String defaultKmsKeyName) {
598601
this.defaultKmsKeyName = defaultKmsKeyName != null
@@ -782,6 +785,7 @@ public Map<String, String> getLabels() {
782785
/**
783786
* Returns the default Cloud KMS key to be applied to newly inserted objects in this bucket.
784787
*/
788+
@GcpLaunchStage.Beta
785789
public String getDefaultKmsKeyName() {
786790
return defaultKmsKeyName;
787791
}

branches/kms-integration/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
import java.util.List;
8383
import java.util.Map;
8484

85-
import jdk.nashorn.internal.runtime.regexp.joni.exception.ValueException;
8685
import org.apache.http.HttpStatus;
8786

8887
public class HttpStorageRpc implements StorageRpc {

0 commit comments

Comments
 (0)