FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: add new preview Bucket encryption policy configuration by BenWhitehead · Pull Request #3204 · googleapis/java-storage · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .java  (7) .xml  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
16 changes: 16 additions & 0 deletions google-cloud-storage/clirr-ignored-differences.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,20 @@
<method>com.google.cloud.storage.BucketInfo$Builder setIpFilter(com.google.cloud.storage.BucketInfo$IpFilter)</method>
</difference>

<difference>
<differenceType>7013</differenceType>
<className>com/google/cloud/storage/BucketInfo$Builder</className>
<method>com.google.cloud.storage.BucketInfo$Builder setCustomerManagedEncryptionEnforcementConfig(com.google.cloud.storage.BucketInfo$CustomerManagedEncryptionEnforcementConfig)</method>
</difference>
<difference>
<differenceType>7013</differenceType>
<className>com/google/cloud/storage/BucketInfo$Builder</className>
<method>com.google.cloud.storage.BucketInfo$Builder setCustomerSuppliedEncryptionEnforcementConfig(com.google.cloud.storage.BucketInfo$CustomerSuppliedEncryptionEnforcementConfig)</method>
</difference>
<difference>
<differenceType>7013</differenceType>
<className>com/google/cloud/storage/BucketInfo$Builder</className>
<method>com.google.cloud.storage.BucketInfo$Builder setGoogleManagedEncryptionEnforcementConfig(com.google.cloud.storage.BucketInfo$GoogleManagedEncryptionEnforcementConfig)</method>
</difference>

</differences>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,30 @@ public Builder setIpFilter(IpFilter ipFilter) {
return this;
}

@Override
public Builder setGoogleManagedEncryptionEnforcementConfig(
GoogleManagedEncryptionEnforcementConfig googleManagedEncryptionEnforcementConfig) {
infoBuilder.setGoogleManagedEncryptionEnforcementConfig(
googleManagedEncryptionEnforcementConfig);
return this;
}

@Override
public Builder setCustomerManagedEncryptionEnforcementConfig(
CustomerManagedEncryptionEnforcementConfig customerManagedEncryptionEnforcementConfig) {
infoBuilder.setCustomerManagedEncryptionEnforcementConfig(
customerManagedEncryptionEnforcementConfig);
return this;
}

@Override
public Builder setCustomerSuppliedEncryptionEnforcementConfig(
CustomerSuppliedEncryptionEnforcementConfig customerSuppliedEncryptionEnforcementConfig) {
infoBuilder.setCustomerSuppliedEncryptionEnforcementConfig(
customerSuppliedEncryptionEnforcementConfig);
return this;
}

@Override
public Bucket build() {
return new Bucket(storage, infoBuilder);
Expand Down Expand Up @@ -955,6 +979,24 @@ Builder clearIpFilter() {
infoBuilder.clearIpFilter();
return this;
}

@Override
public Builder clearGoogleManagedEncryptionEnforcementConfig() {
infoBuilder.clearGoogleManagedEncryptionEnforcementConfig();
return this;
}

@Override
public Builder clearCustomerManagedEncryptionEnforcementConfig() {
infoBuilder.clearCustomerManagedEncryptionEnforcementConfig();
return this;
}

@Override
public Builder clearCustomerSuppliedEncryptionEnforcementConfig() {
infoBuilder.clearCustomerSuppliedEncryptionEnforcementConfig();
return this;
}
}

Bucket(Storage storage, BucketInfo.BuilderImpl infoBuilder) {
Expand Down
Loading
Loading

Back | FazBrowse Home | New Git URL