| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a0ad519 commit 5ab8d2c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -65,8 +65,8 @@ void GetBucketEncryptionEnforcementConfig( | |||
| 65 | 65 | encryption.customer_supplied_encryption_enforcement_config) | |
| 66 | 66 | << "\n"; | |
| 67 | 67 | } | |
| 68 | - //! [get bucket encryption enforcement config] | ||
| 69 | 68 | //! [END storage_get_bucket_encryption_enforcement_config] | |
| 69 | + //! [get bucket encryption enforcement config] | ||
| 70 | 70 | (std::move(client), argv.at(0)); | |
| 71 | 71 | } | |
| 72 | 72 | ||
@@ -127,16 +127,16 @@ void SetBucketEncryptionEnforcementConfig( | |||
| 127 | 127 | << create_bucket("rc-" + bucket_name, csek_encryption)->name() | |
| 128 | 128 | << " created with a policy to restrict CSEK.\n"; | |
| 129 | 129 | } | |
| 130 | - //! [set bucket encryption enforcement config] | ||
| 131 | 130 | //! [END storage_set_bucket_encryption_enforcement_config] | |
| 131 | + //! [set bucket encryption enforcement config] | ||
| 132 | 132 | (std::move(client), argv.at(0), argv.at(1)); | |
| 133 | 133 | } | |
| 134 | 134 | ||
| 135 | 135 | void UpdateBucketEncryptionEnforcementConfig( | |
| 136 | 136 | google::cloud::storage::Client client, | |
| 137 | 137 | std::vector<std::string> const& argv) { | |
| 138 | - //! [START storage_update_bucket_encryption_enforcement_config] | ||
| 139 | 138 | //! [update bucket encryption enforcement config] | |
| 139 | + //! [START storage_update_bucket_encryption_enforcement_config] | ||
| 140 | 140 | namespace gcs = ::google::cloud::storage; | |
| 141 | 141 | using ::google::cloud::StatusOr; | |
| 142 | 142 | [](gcs::Client client, std::string const& bucket_name) { | |
@@ -171,8 +171,8 @@ void UpdateBucketEncryptionEnforcementConfig( | |||
| 171 | 171 | << "GMEK is now fully restricted, and CMEK enforcement has been " | |
| 172 | 172 | "removed.\n"; | |
| 173 | 173 | } | |
| 174 | - //! [update bucket encryption enforcement config] | ||
| 175 | 174 | //! [END storage_update_bucket_encryption_enforcement_config] | |
| 175 | + //! [update bucket encryption enforcement config] | ||
| 176 | 176 | (std::move(client), argv.at(0)); | |
| 177 | 177 | } | |
| 178 | 178 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments