Skip to content

Commit 5ab8d2c

Browse files
authored
sample(storage): move the labels outside region tag (googleapis#16130)
1 parent a0ad519 commit 5ab8d2c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

google/cloud/storage/examples/storage_bucket_encryption_enforcement_samples.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ void GetBucketEncryptionEnforcementConfig(
6565
encryption.customer_supplied_encryption_enforcement_config)
6666
<< "\n";
6767
}
68-
//! [get bucket encryption enforcement config]
6968
//! [END storage_get_bucket_encryption_enforcement_config]
69+
//! [get bucket encryption enforcement config]
7070
(std::move(client), argv.at(0));
7171
}
7272

@@ -127,16 +127,16 @@ void SetBucketEncryptionEnforcementConfig(
127127
<< create_bucket("rc-" + bucket_name, csek_encryption)->name()
128128
<< " created with a policy to restrict CSEK.\n";
129129
}
130-
//! [set bucket encryption enforcement config]
131130
//! [END storage_set_bucket_encryption_enforcement_config]
131+
//! [set bucket encryption enforcement config]
132132
(std::move(client), argv.at(0), argv.at(1));
133133
}
134134

135135
void UpdateBucketEncryptionEnforcementConfig(
136136
google::cloud::storage::Client client,
137137
std::vector<std::string> const& argv) {
138-
//! [START storage_update_bucket_encryption_enforcement_config]
139138
//! [update bucket encryption enforcement config]
139+
//! [START storage_update_bucket_encryption_enforcement_config]
140140
namespace gcs = ::google::cloud::storage;
141141
using ::google::cloud::StatusOr;
142142
[](gcs::Client client, std::string const& bucket_name) {
@@ -171,8 +171,8 @@ void UpdateBucketEncryptionEnforcementConfig(
171171
<< "GMEK is now fully restricted, and CMEK enforcement has been "
172172
"removed.\n";
173173
}
174-
//! [update bucket encryption enforcement config]
175174
//! [END storage_update_bucket_encryption_enforcement_config]
175+
//! [update bucket encryption enforcement config]
176176
(std::move(client), argv.at(0));
177177
}
178178

0 commit comments

Comments
 (0)