File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,14 @@ class RelocateBucketRequest extends \Google\Model
2121{
2222 protected $ destinationCustomPlacementConfigType = RelocateBucketRequestDestinationCustomPlacementConfig::class;
2323 protected $ destinationCustomPlacementConfigDataType = '' ;
24+ /**
25+ * Resource name of a Cloud KMS key, of the form projects/my-
26+ * project/locations/global/keyRings/my-kr/cryptoKeys/my-key. If set, is used
27+ * to encrypt all objects in the destination bucket.
28+ *
29+ * @var string
30+ */
31+ public $ destinationKmsKeyName ;
2432 /**
2533 * The new location the bucket will be relocated to.
2634 *
@@ -51,6 +59,24 @@ public function getDestinationCustomPlacementConfig()
5159 {
5260 return $ this ->destinationCustomPlacementConfig ;
5361 }
62+ /**
63+ * Resource name of a Cloud KMS key, of the form projects/my-
64+ * project/locations/global/keyRings/my-kr/cryptoKeys/my-key. If set, is used
65+ * to encrypt all objects in the destination bucket.
66+ *
67+ * @param string $destinationKmsKeyName
68+ */
69+ public function setDestinationKmsKeyName ($ destinationKmsKeyName )
70+ {
71+ $ this ->destinationKmsKeyName = $ destinationKmsKeyName ;
72+ }
73+ /**
74+ * @return string
75+ */
76+ public function getDestinationKmsKeyName ()
77+ {
78+ return $ this ->destinationKmsKeyName ;
79+ }
5480 /**
5581 * The new location the bucket will be relocated to.
5682 *
You can’t perform that action at this time.
0 commit comments