From fe62c50f4df7670182b5e36434b54944c34ca8f1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 15 Jan 2020 13:04:19 -0800 Subject: [PATCH] feat: add external protection level, update documentation (#2538) --- Kms/metadata/V1/Resources.php | 271 +++++---- Kms/metadata/V1/Service.php | 567 ++++++++++-------- Kms/src/V1/AsymmetricDecryptRequest.php | 12 +- Kms/src/V1/AsymmetricSignRequest.php | 12 +- Kms/src/V1/CreateCryptoKeyRequest.php | 26 +- Kms/src/V1/CreateCryptoKeyVersionRequest.php | 20 +- Kms/src/V1/CreateImportJobRequest.php | 18 +- Kms/src/V1/CreateKeyRingRequest.php | 26 +- Kms/src/V1/CryptoKey.php | 57 +- Kms/src/V1/CryptoKeyVersion.php | 66 +- Kms/src/V1/CryptoKeyVersionTemplate.php | 6 +- Kms/src/V1/DecryptRequest.php | 26 +- Kms/src/V1/DestroyCryptoKeyVersionRequest.php | 14 +- Kms/src/V1/EncryptRequest.php | 26 +- Kms/src/V1/EncryptResponse.php | 12 +- .../Gapic/KeyManagementServiceGapicClient.php | 81 ++- Kms/src/V1/GetCryptoKeyRequest.php | 14 +- Kms/src/V1/GetCryptoKeyVersionRequest.php | 14 +- Kms/src/V1/GetImportJobRequest.php | 14 +- Kms/src/V1/GetKeyRingRequest.php | 14 +- Kms/src/V1/GetPublicKeyRequest.php | 14 +- Kms/src/V1/ImportCryptoKeyVersionRequest.php | 30 +- Kms/src/V1/ImportJob.php | 84 ++- Kms/src/V1/KeyManagementServiceGrpcClient.php | 2 +- Kms/src/V1/KeyOperationAttestation.php | 12 +- Kms/src/V1/KeyRing.php | 12 +- Kms/src/V1/ListCryptoKeyVersionsRequest.php | 82 ++- Kms/src/V1/ListCryptoKeysRequest.php | 82 ++- Kms/src/V1/ListImportJobsRequest.php | 82 ++- Kms/src/V1/ListKeyRingsRequest.php | 82 ++- Kms/src/V1/ProtectionLevel.php | 7 + Kms/src/V1/RestoreCryptoKeyVersionRequest.php | 14 +- .../UpdateCryptoKeyPrimaryVersionRequest.php | 28 +- Kms/src/V1/UpdateCryptoKeyRequest.php | 28 +- Kms/src/V1/UpdateCryptoKeyVersionRequest.php | 28 +- Kms/synth.metadata | 258 +++++++- 36 files changed, 1299 insertions(+), 842 deletions(-) diff --git a/Kms/metadata/V1/Resources.php b/Kms/metadata/V1/Resources.php index c0cce96656e8..bf7b7057b991 100644 --- a/Kms/metadata/V1/Resources.php +++ b/Kms/metadata/V1/Resources.php @@ -15,138 +15,165 @@ public static function initOnce() { return; } \GPBMetadata\Google\Api\Annotations::initOnce(); + \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Duration::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile(hex2bin( - "0a811e0a23676f6f676c652f636c6f75642f6b6d732f76312f7265736f75" . + "0af2230a23676f6f676c652f636c6f75642f6b6d732f76312f7265736f75" . "726365732e70726f746f1213676f6f676c652e636c6f75642e6b6d732e76" . - "311a1e676f6f676c652f70726f746f6275662f6475726174696f6e2e7072" . + "311a1f676f6f676c652f6170692f6669656c645f6265686176696f722e70" . + "726f746f1a19676f6f676c652f6170692f7265736f757263652e70726f74" . + "6f1a1e676f6f676c652f70726f746f6275662f6475726174696f6e2e7072" . "6f746f1a1f676f6f676c652f70726f746f6275662f74696d657374616d70" . - "2e70726f746f22480a074b657952696e67120c0a046e616d651801200128" . - "09122f0a0b6372656174655f74696d6518022001280b321a2e676f6f676c" . - "652e70726f746f6275662e54696d657374616d7022f5040a094372797074" . - "6f4b6579120c0a046e616d6518012001280912360a077072696d61727918" . - "022001280b32252e676f6f676c652e636c6f75642e6b6d732e76312e4372" . - "7970746f4b657956657273696f6e12400a07707572706f73651803200128" . + "2e70726f746f22b5010a074b657952696e6712110a046e616d6518012001" . + "28094203e0410312340a0b6372656174655f74696d6518022001280b321a" . + "2e676f6f676c652e70726f746f6275662e54696d657374616d704203e041" . + "033a61ea415e0a1f636c6f75646b6d732e676f6f676c65617069732e636f" . + "6d2f4b657952696e67123b70726f6a656374732f7b70726f6a6563747d2f" . + "6c6f636174696f6e732f7b6c6f636174696f6e7d2f6b657952696e67732f" . + "7b6b65795f72696e677d2286060a0943727970746f4b657912110a046e61" . + "6d651801200128094203e04103123b0a077072696d61727918022001280b" . + "32252e676f6f676c652e636c6f75642e6b6d732e76312e43727970746f4b" . + "657956657273696f6e4203e0410312450a07707572706f73651803200128" . "0e322f2e676f6f676c652e636c6f75642e6b6d732e76312e43727970746f" . - "4b65792e43727970746f4b6579507572706f7365122f0a0b637265617465" . - "5f74696d6518052001280b321a2e676f6f676c652e70726f746f6275662e" . - "54696d657374616d7012360a126e6578745f726f746174696f6e5f74696d" . - "6518072001280b321a2e676f6f676c652e70726f746f6275662e54696d65" . - "7374616d7012340a0f726f746174696f6e5f706572696f6418082001280b" . - "32192e676f6f676c652e70726f746f6275662e4475726174696f6e480012" . - "470a1076657273696f6e5f74656d706c617465180b2001280b322d2e676f" . - "6f676c652e636c6f75642e6b6d732e76312e43727970746f4b6579566572" . - "73696f6e54656d706c617465123a0a066c6162656c73180a2003280b322a" . - "2e676f6f676c652e636c6f75642e6b6d732e76312e43727970746f4b6579" . - "2e4c6162656c73456e7472791a2d0a0b4c6162656c73456e747279120b0a" . - "036b6579180120012809120d0a0576616c75651802200128093a02380122" . - "780a1043727970746f4b6579507572706f736512220a1e43525950544f5f" . - "4b45595f505552504f53455f554e535045434946494544100012130a0f45" . - "4e43525950545f44454352595054100112130a0f4153594d4d4554524943" . - "5f5349474e100512160a124153594d4d45545249435f4445435259505410" . - "0642130a11726f746174696f6e5f7363686564756c6522ae010a18437279" . - "70746f4b657956657273696f6e54656d706c617465123e0a1070726f7465" . - "6374696f6e5f6c6576656c18012001280e32242e676f6f676c652e636c6f" . - "75642e6b6d732e76312e50726f74656374696f6e4c6576656c12520a0961" . - "6c676f726974686d18032001280e323f2e676f6f676c652e636c6f75642e" . - "6b6d732e76312e43727970746f4b657956657273696f6e2e43727970746f" . - "4b657956657273696f6e416c676f726974686d22e7010a174b65794f7065" . - "726174696f6e4174746573746174696f6e124e0a06666f726d6174180420" . - "01280e323e2e676f6f676c652e636c6f75642e6b6d732e76312e4b65794f" . - "7065726174696f6e4174746573746174696f6e2e4174746573746174696f" . - "6e466f726d6174120f0a07636f6e74656e7418052001280c226b0a114174" . + "4b65792e43727970746f4b6579507572706f73654203e0410512340a0b63" . + "72656174655f74696d6518052001280b321a2e676f6f676c652e70726f74" . + "6f6275662e54696d657374616d704203e0410312360a126e6578745f726f" . + "746174696f6e5f74696d6518072001280b321a2e676f6f676c652e70726f" . + "746f6275662e54696d657374616d7012340a0f726f746174696f6e5f7065" . + "72696f6418082001280b32192e676f6f676c652e70726f746f6275662e44" . + "75726174696f6e480012470a1076657273696f6e5f74656d706c61746518" . + "0b2001280b322d2e676f6f676c652e636c6f75642e6b6d732e76312e4372" . + "7970746f4b657956657273696f6e54656d706c617465123a0a066c616265" . + "6c73180a2003280b322a2e676f6f676c652e636c6f75642e6b6d732e7631" . + "2e43727970746f4b65792e4c6162656c73456e7472791a2d0a0b4c616265" . + "6c73456e747279120b0a036b6579180120012809120d0a0576616c756518" . + "02200128093a02380122780a1043727970746f4b6579507572706f736512" . + "220a1e43525950544f5f4b45595f505552504f53455f554e535045434946" . + "494544100012130a0f454e43525950545f44454352595054100112130a0f" . + "4153594d4d45545249435f5349474e100512160a124153594d4d45545249" . + "435f4445435259505410063a7bea41780a21636c6f75646b6d732e676f6f" . + "676c65617069732e636f6d2f43727970746f4b6579125370726f6a656374" . + "732f7b70726f6a6563747d2f6c6f636174696f6e732f7b6c6f636174696f" . + "6e7d2f6b657952696e67732f7b6b65795f72696e677d2f63727970746f4b" . + "6579732f7b63727970746f5f6b65797d42130a11726f746174696f6e5f73" . + "63686564756c6522b3010a1843727970746f4b657956657273696f6e5465" . + "6d706c617465123e0a1070726f74656374696f6e5f6c6576656c18012001" . + "280e32242e676f6f676c652e636c6f75642e6b6d732e76312e50726f7465" . + "6374696f6e4c6576656c12570a09616c676f726974686d18032001280e32" . + "3f2e676f6f676c652e636c6f75642e6b6d732e76312e43727970746f4b65" . + "7956657273696f6e2e43727970746f4b657956657273696f6e416c676f72" . + "6974686d4203e0410222f1010a174b65794f7065726174696f6e41747465" . + "73746174696f6e12530a06666f726d617418042001280e323e2e676f6f67" . + "6c652e636c6f75642e6b6d732e76312e4b65794f7065726174696f6e4174" . + "746573746174696f6e2e4174746573746174696f6e466f726d61744203e0" . + "410312140a07636f6e74656e7418052001280c4203e04103226b0a114174" . "746573746174696f6e466f726d617412220a1e4154544553544154494f4e" . "5f464f524d41545f554e535045434946494544100012180a144341564955" . "4d5f56315f434f4d50524553534544100312180a1443415649554d5f5632" . - "5f434f4d50524553534544100422a30b0a1043727970746f4b6579566572" . - "73696f6e120c0a046e616d65180120012809124a0a057374617465180320" . - "01280e323b2e676f6f676c652e636c6f75642e6b6d732e76312e43727970" . - "746f4b657956657273696f6e2e43727970746f4b657956657273696f6e53" . - "74617465123e0a1070726f74656374696f6e5f6c6576656c18072001280e" . - "32242e676f6f676c652e636c6f75642e6b6d732e76312e50726f74656374" . - "696f6e4c6576656c12520a09616c676f726974686d180a2001280e323f2e" . - "676f6f676c652e636c6f75642e6b6d732e76312e43727970746f4b657956" . - "657273696f6e2e43727970746f4b657956657273696f6e416c676f726974" . - "686d12410a0b6174746573746174696f6e18082001280b322c2e676f6f67" . - "6c652e636c6f75642e6b6d732e76312e4b65794f7065726174696f6e4174" . - "746573746174696f6e122f0a0b6372656174655f74696d6518042001280b" . - "321a2e676f6f676c652e70726f746f6275662e54696d657374616d701231" . - "0a0d67656e65726174655f74696d65180b2001280b321a2e676f6f676c65" . - "2e70726f746f6275662e54696d657374616d7012300a0c64657374726f79" . + "5f434f4d50524553534544100422870d0a1043727970746f4b6579566572" . + "73696f6e12110a046e616d651801200128094203e04103124a0a05737461" . + "746518032001280e323b2e676f6f676c652e636c6f75642e6b6d732e7631" . + "2e43727970746f4b657956657273696f6e2e43727970746f4b6579566572" . + "73696f6e537461746512430a1070726f74656374696f6e5f6c6576656c18" . + "072001280e32242e676f6f676c652e636c6f75642e6b6d732e76312e5072" . + "6f74656374696f6e4c6576656c4203e0410312570a09616c676f72697468" . + "6d180a2001280e323f2e676f6f676c652e636c6f75642e6b6d732e76312e" . + "43727970746f4b657956657273696f6e2e43727970746f4b657956657273" . + "696f6e416c676f726974686d4203e0410312460a0b617474657374617469" . + "6f6e18082001280b322c2e676f6f676c652e636c6f75642e6b6d732e7631" . + "2e4b65794f7065726174696f6e4174746573746174696f6e4203e0410312" . + "340a0b6372656174655f74696d6518042001280b321a2e676f6f676c652e" . + "70726f746f6275662e54696d657374616d704203e0410312360a0d67656e" . + "65726174655f74696d65180b2001280b321a2e676f6f676c652e70726f74" . + "6f6275662e54696d657374616d704203e0410312350a0c64657374726f79" . "5f74696d6518052001280b321a2e676f6f676c652e70726f746f6275662e" . - "54696d657374616d7012360a1264657374726f795f6576656e745f74696d" . - "6518062001280b321a2e676f6f676c652e70726f746f6275662e54696d65" . - "7374616d7012120a0a696d706f72745f6a6f62180e20012809122f0a0b69" . - "6d706f72745f74696d65180f2001280b321a2e676f6f676c652e70726f74" . - "6f6275662e54696d657374616d70121d0a15696d706f72745f6661696c75" . - "72655f726561736f6e181020012809229c040a1943727970746f4b657956" . - "657273696f6e416c676f726974686d122c0a2843525950544f5f4b45595f" . - "56455253494f4e5f414c474f524954484d5f554e53504543494649454410" . - "00121f0a1b474f4f474c455f53594d4d45545249435f454e435259505449" . - "4f4e1001121c0a185253415f5349474e5f5053535f323034385f53484132" . - "35361002121c0a185253415f5349474e5f5053535f333037325f53484132" . - "35361003121c0a185253415f5349474e5f5053535f343039365f53484132" . - "35361004121c0a185253415f5349474e5f5053535f343039365f53484135" . - "3132100f121e0a1a5253415f5349474e5f504b4353315f323034385f5348" . - "413235361005121e0a1a5253415f5349474e5f504b4353315f333037325f" . - "5348413235361006121e0a1a5253415f5349474e5f504b4353315f343039" . - "365f5348413235361007121e0a1a5253415f5349474e5f504b4353315f34" . - "3039365f534841353132101012200a1c5253415f444543525950545f4f41" . - "45505f323034385f534841323536100812200a1c5253415f444543525950" . - "545f4f4145505f333037325f534841323536100912200a1c5253415f4445" . - "43525950545f4f4145505f343039365f534841323536100a12200a1c5253" . - "415f444543525950545f4f4145505f343039365f53484135313210111217" . - "0a1345435f5349474e5f503235365f534841323536100c12170a1345435f" . - "5349474e5f503338345f534841333834100d22c1010a1543727970746f4b" . - "657956657273696f6e537461746512280a2443525950544f5f4b45595f56" . - "455253494f4e5f53544154455f554e535045434946494544100012160a12" . - "50454e44494e475f47454e45524154494f4e1005120b0a07454e41424c45" . - "441001120c0a0844495341424c45441002120d0a0944455354524f594544" . - "100312150a1144455354524f595f5343484544554c4544100412120a0e50" . - "454e44494e475f494d504f5254100612110a0d494d504f52545f4641494c" . - "4544100722490a1443727970746f4b657956657273696f6e566965771227" . - "0a2343525950544f5f4b45595f56455253494f4e5f564945575f554e5350" . - "45434946494544100012080a0446554c4c1001226c0a095075626c69634b" . - "6579120b0a0370656d18012001280912520a09616c676f726974686d1802" . - "2001280e323f2e676f6f676c652e636c6f75642e6b6d732e76312e437279" . - "70746f4b657956657273696f6e2e43727970746f4b657956657273696f6e" . - "416c676f726974686d22a6060a09496d706f72744a6f62120c0a046e616d" . - "6518012001280912420a0d696d706f72745f6d6574686f6418022001280e" . - "322b2e676f6f676c652e636c6f75642e6b6d732e76312e496d706f72744a" . - "6f622e496d706f72744d6574686f64123e0a1070726f74656374696f6e5f" . - "6c6576656c18092001280e32242e676f6f676c652e636c6f75642e6b6d73" . - "2e76312e50726f74656374696f6e4c6576656c122f0a0b6372656174655f" . - "74696d6518032001280b321a2e676f6f676c652e70726f746f6275662e54" . - "696d657374616d7012310a0d67656e65726174655f74696d651804200128" . - "0b321a2e676f6f676c652e70726f746f6275662e54696d657374616d7012" . - "2f0a0b6578706972655f74696d6518052001280b321a2e676f6f676c652e" . - "70726f746f6275662e54696d657374616d7012350a116578706972655f65" . - "76656e745f74696d65180a2001280b321a2e676f6f676c652e70726f746f" . - "6275662e54696d657374616d70123c0a05737461746518062001280e322d" . - "2e676f6f676c652e636c6f75642e6b6d732e76312e496d706f72744a6f62" . - "2e496d706f72744a6f62537461746512440a0a7075626c69635f6b657918" . - "072001280b32302e676f6f676c652e636c6f75642e6b6d732e76312e496d" . - "706f72744a6f622e5772617070696e675075626c69634b657912410a0b61" . - "74746573746174696f6e18082001280b322c2e676f6f676c652e636c6f75" . - "642e6b6d732e76312e4b65794f7065726174696f6e417474657374617469" . - "6f6e1a200a115772617070696e675075626c69634b6579120b0a0370656d" . - "180120012809226d0a0c496d706f72744d6574686f64121d0a19494d504f" . - "52545f4d4554484f445f554e5350454349464945441000121e0a1a525341" . - "5f4f4145505f333037325f534841315f4145535f3235361001121e0a1a52" . - "53415f4f4145505f343039365f534841315f4145535f323536100222630a" . - "0e496d706f72744a6f62537461746512200a1c494d504f52545f4a4f425f" . - "53544154455f554e535045434946494544100012160a1250454e44494e47" . - "5f47454e45524154494f4e1001120a0a064143544956451002120b0a0745" . - "58504952454410032a4a0a0f50726f74656374696f6e4c6576656c12200a" . - "1c50524f54454354494f4e5f4c4556454c5f554e53504543494649454410" . - "00120c0a08534f465457415245100112070a0348534d10024295010a1763" . - "6f6d2e676f6f676c652e636c6f75642e6b6d732e763142114b6d73526573" . - "6f757263657350726f746f50015a36676f6f676c652e676f6c616e672e6f" . - "72672f67656e70726f746f2f676f6f676c65617069732f636c6f75642f6b" . - "6d732f76313b6b6d73f80101aa0213476f6f676c652e436c6f75642e4b6d" . - "732e5631ca0213476f6f676c655c436c6f75645c4b6d735c563162067072" . - "6f746f33" + "54696d657374616d704203e04103123b0a1264657374726f795f6576656e" . + "745f74696d6518062001280b321a2e676f6f676c652e70726f746f627566" . + "2e54696d657374616d704203e0410312170a0a696d706f72745f6a6f6218" . + "0e200128094203e0410312340a0b696d706f72745f74696d65180f200128" . + "0b321a2e676f6f676c652e70726f746f6275662e54696d657374616d7042" . + "03e0410312220a15696d706f72745f6661696c7572655f726561736f6e18" . + "10200128094203e04103229c040a1943727970746f4b657956657273696f" . + "6e416c676f726974686d122c0a2843525950544f5f4b45595f5645525349" . + "4f4e5f414c474f524954484d5f554e5350454349464945441000121f0a1b" . + "474f4f474c455f53594d4d45545249435f454e4352595054494f4e100112" . + "1c0a185253415f5349474e5f5053535f323034385f534841323536100212" . + "1c0a185253415f5349474e5f5053535f333037325f534841323536100312" . + "1c0a185253415f5349474e5f5053535f343039365f534841323536100412" . + "1c0a185253415f5349474e5f5053535f343039365f534841353132100f12" . + "1e0a1a5253415f5349474e5f504b4353315f323034385f53484132353610" . + "05121e0a1a5253415f5349474e5f504b4353315f333037325f5348413235" . + "361006121e0a1a5253415f5349474e5f504b4353315f343039365f534841" . + "3235361007121e0a1a5253415f5349474e5f504b4353315f343039365f53" . + "4841353132101012200a1c5253415f444543525950545f4f4145505f3230" . + "34385f534841323536100812200a1c5253415f444543525950545f4f4145" . + "505f333037325f534841323536100912200a1c5253415f44454352595054" . + "5f4f4145505f343039365f534841323536100a12200a1c5253415f444543" . + "525950545f4f4145505f343039365f534841353132101112170a1345435f" . + "5349474e5f503235365f534841323536100c12170a1345435f5349474e5f" . + "503338345f534841333834100d22c1010a1543727970746f4b6579566572" . + "73696f6e537461746512280a2443525950544f5f4b45595f56455253494f" . + "4e5f53544154455f554e535045434946494544100012160a1250454e4449" . + "4e475f47454e45524154494f4e1005120b0a07454e41424c45441001120c" . + "0a0844495341424c45441002120d0a0944455354524f594544100312150a" . + "1144455354524f595f5343484544554c4544100412120a0e50454e44494e" . + "475f494d504f5254100612110a0d494d504f52545f4641494c4544100722" . + "490a1443727970746f4b657956657273696f6e5669657712270a23435259" . + "50544f5f4b45595f56455253494f4e5f564945575f554e53504543494649" . + "4544100012080a0446554c4c10013aaa01ea41a6010a28636c6f75646b6d" . + "732e676f6f676c65617069732e636f6d2f43727970746f4b657956657273" . + "696f6e127a70726f6a656374732f7b70726f6a6563747d2f6c6f63617469" . + "6f6e732f7b6c6f636174696f6e7d2f6b657952696e67732f7b6b65795f72" . + "696e677d2f63727970746f4b6579732f7b63727970746f5f6b65797d2f63" . + "727970746f4b657956657273696f6e732f7b63727970746f5f6b65795f76" . + "657273696f6e7d226c0a095075626c69634b6579120b0a0370656d180120" . + "01280912520a09616c676f726974686d18022001280e323f2e676f6f676c" . + "652e636c6f75642e6b6d732e76312e43727970746f4b657956657273696f" . + "6e2e43727970746f4b657956657273696f6e416c676f726974686d22db07" . + "0a09496d706f72744a6f6212110a046e616d651801200128094203e04103" . + "124a0a0d696d706f72745f6d6574686f6418022001280e322b2e676f6f67" . + "6c652e636c6f75642e6b6d732e76312e496d706f72744a6f622e496d706f" . + "72744d6574686f644206e04102e0410512460a1070726f74656374696f6e" . + "5f6c6576656c18092001280e32242e676f6f676c652e636c6f75642e6b6d" . + "732e76312e50726f74656374696f6e4c6576656c4206e04102e041051234" . + "0a0b6372656174655f74696d6518032001280b321a2e676f6f676c652e70" . + "726f746f6275662e54696d657374616d704203e0410312360a0d67656e65" . + "726174655f74696d6518042001280b321a2e676f6f676c652e70726f746f" . + "6275662e54696d657374616d704203e0410312340a0b6578706972655f74" . + "696d6518052001280b321a2e676f6f676c652e70726f746f6275662e5469" . + "6d657374616d704203e04103123a0a116578706972655f6576656e745f74" . + "696d65180a2001280b321a2e676f6f676c652e70726f746f6275662e5469" . + "6d657374616d704203e0410312410a05737461746518062001280e322d2e" . + "676f6f676c652e636c6f75642e6b6d732e76312e496d706f72744a6f622e" . + "496d706f72744a6f6253746174654203e0410312490a0a7075626c69635f" . + "6b657918072001280b32302e676f6f676c652e636c6f75642e6b6d732e76" . + "312e496d706f72744a6f622e5772617070696e675075626c69634b657942" . + "03e0410312460a0b6174746573746174696f6e18082001280b322c2e676f" . + "6f676c652e636c6f75642e6b6d732e76312e4b65794f7065726174696f6e" . + "4174746573746174696f6e4203e041031a200a115772617070696e675075" . + "626c69634b6579120b0a0370656d180120012809226d0a0c496d706f7274" . + "4d6574686f64121d0a19494d504f52545f4d4554484f445f554e53504543" . + "49464945441000121e0a1a5253415f4f4145505f333037325f534841315f" . + "4145535f3235361001121e0a1a5253415f4f4145505f343039365f534841" . + "315f4145535f323536100222630a0e496d706f72744a6f62537461746512" . + "200a1c494d504f52545f4a4f425f53544154455f554e5350454349464945" . + "44100012160a1250454e44494e475f47454e45524154494f4e1001120a0a" . + "064143544956451002120b0a074558504952454410033a7bea41780a2163" . + "6c6f75646b6d732e676f6f676c65617069732e636f6d2f496d706f72744a" . + "6f62125370726f6a656374732f7b70726f6a6563747d2f6c6f636174696f" . + "6e732f7b6c6f636174696f6e7d2f6b657952696e67732f7b6b65795f7269" . + "6e677d2f696d706f72744a6f62732f7b696d706f72745f6a6f627d2a580a" . + "0f50726f74656374696f6e4c6576656c12200a1c50524f54454354494f4e" . + "5f4c4556454c5f554e5350454349464945441000120c0a08534f46545741" . + "5245100112070a0348534d1002120c0a0845585445524e414c1003429501" . + "0a17636f6d2e676f6f676c652e636c6f75642e6b6d732e763142114b6d73" . + "5265736f757263657350726f746f50015a36676f6f676c652e676f6c616e" . + "672e6f72672f67656e70726f746f2f676f6f676c65617069732f636c6f75" . + "642f6b6d732f76313b6b6d73f80101aa0213476f6f676c652e436c6f7564" . + "2e4b6d732e5631ca0213476f6f676c655c436c6f75645c4b6d735c563162" . + "0670726f746f33" ), true); static::$is_initialized = true; diff --git a/Kms/metadata/V1/Service.php b/Kms/metadata/V1/Service.php index dc80a420e32f..defd89ff8b86 100644 --- a/Kms/metadata/V1/Service.php +++ b/Kms/metadata/V1/Service.php @@ -15,275 +15,330 @@ public static function initOnce() { return; } \GPBMetadata\Google\Api\Annotations::initOnce(); + \GPBMetadata\Google\Api\Client::initOnce(); + \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Cloud\Kms\V1\Resources::initOnce(); \GPBMetadata\Google\Protobuf\FieldMask::initOnce(); - \GPBMetadata\Google\Api\Client::initOnce(); $pool->internalAddGeneratedFile(hex2bin( - "0af53d0a21676f6f676c652f636c6f75642f6b6d732f76312f7365727669" . + "0aba4a0a21676f6f676c652f636c6f75642f6b6d732f76312f7365727669" . "63652e70726f746f1213676f6f676c652e636c6f75642e6b6d732e76311a" . - "23676f6f676c652f636c6f75642f6b6d732f76312f7265736f7572636573" . - "2e70726f746f1a20676f6f676c652f70726f746f6275662f6669656c645f" . - "6d61736b2e70726f746f1a17676f6f676c652f6170692f636c69656e742e" . - "70726f746f226e0a134c6973744b657952696e677352657175657374120e" . - "0a06706172656e7418012001280912110a09706167655f73697a65180220" . - "01280512120a0a706167655f746f6b656e180320012809120e0a0666696c" . - "74657218042001280912100a086f726465725f627918052001280922c201" . - "0a154c69737443727970746f4b65797352657175657374120e0a06706172" . - "656e7418012001280912110a09706167655f73697a651802200128051212" . - "0a0a706167655f746f6b656e18032001280912500a0c76657273696f6e5f" . - "7669657718042001280e323a2e676f6f676c652e636c6f75642e6b6d732e" . - "76312e43727970746f4b657956657273696f6e2e43727970746f4b657956" . - "657273696f6e56696577120e0a0666696c74657218052001280912100a08" . - "6f726465725f627918062001280922c1010a1c4c69737443727970746f4b" . - "657956657273696f6e7352657175657374120e0a06706172656e74180120" . - "01280912110a09706167655f73697a6518022001280512120a0a70616765" . - "5f746f6b656e18032001280912480a047669657718042001280e323a2e67" . - "6f6f676c652e636c6f75642e6b6d732e76312e43727970746f4b65795665" . - "7273696f6e2e43727970746f4b657956657273696f6e56696577120e0a06" . - "66696c74657218052001280912100a086f726465725f6279180620012809" . - "22700a154c697374496d706f72744a6f627352657175657374120e0a0670" . - "6172656e7418012001280912110a09706167655f73697a65180220012805" . - "12120a0a706167655f746f6b656e180320012809120e0a0666696c746572" . - "18042001280912100a086f726465725f627918052001280922740a144c69" . - "73744b657952696e6773526573706f6e7365122f0a096b65795f72696e67" . - "7318012003280b321c2e676f6f676c652e636c6f75642e6b6d732e76312e" . - "4b657952696e6712170a0f6e6578745f706167655f746f6b656e18022001" . - "280912120a0a746f74616c5f73697a65180320012805227a0a164c697374" . - "43727970746f4b657973526573706f6e736512330a0b63727970746f5f6b" . - "65797318012003280b321e2e676f6f676c652e636c6f75642e6b6d732e76" . - "312e43727970746f4b657912170a0f6e6578745f706167655f746f6b656e" . - "18022001280912120a0a746f74616c5f73697a651803200128052290010a" . - "1d4c69737443727970746f4b657956657273696f6e73526573706f6e7365" . - "12420a1363727970746f5f6b65795f76657273696f6e7318012003280b32" . - "252e676f6f676c652e636c6f75642e6b6d732e76312e43727970746f4b65" . - "7956657273696f6e12170a0f6e6578745f706167655f746f6b656e180220" . - "01280912120a0a746f74616c5f73697a65180320012805227a0a164c6973" . - "74496d706f72744a6f6273526573706f6e736512330a0b696d706f72745f" . - "6a6f627318012003280b321e2e676f6f676c652e636c6f75642e6b6d732e" . - "76312e496d706f72744a6f6212170a0f6e6578745f706167655f746f6b65" . - "6e18022001280912120a0a746f74616c5f73697a6518032001280522210a" . - "114765744b657952696e6752657175657374120c0a046e616d6518012001" . - "280922230a1347657443727970746f4b657952657175657374120c0a046e" . - "616d65180120012809222a0a1a47657443727970746f4b65795665727369" . - "6f6e52657175657374120c0a046e616d6518012001280922230a13476574" . - "5075626c69634b657952657175657374120c0a046e616d65180120012809" . - "22230a13476574496d706f72744a6f6252657175657374120c0a046e616d" . - "65180120012809226b0a144372656174654b657952696e67526571756573" . - "74120e0a06706172656e7418012001280912130a0b6b65795f72696e675f" . - "6964180220012809122e0a086b65795f72696e6718032001280b321c2e67" . - "6f6f676c652e636c6f75642e6b6d732e76312e4b657952696e67229a010a" . - "1643726561746543727970746f4b657952657175657374120e0a06706172" . - "656e7418012001280912150a0d63727970746f5f6b65795f696418022001" . - "280912320a0a63727970746f5f6b657918032001280b321e2e676f6f676c" . - "652e636c6f75642e6b6d732e76312e43727970746f4b657912250a1d736b" . - "69705f696e697469616c5f76657273696f6e5f6372656174696f6e180520" . - "01280822720a1d43726561746543727970746f4b657956657273696f6e52" . - "657175657374120e0a06706172656e7418012001280912410a1263727970" . - "746f5f6b65795f76657273696f6e18022001280b32252e676f6f676c652e" . - "636c6f75642e6b6d732e76312e43727970746f4b657956657273696f6e22" . - "ce010a1d496d706f727443727970746f4b657956657273696f6e52657175" . - "657374120e0a06706172656e7418012001280912520a09616c676f726974" . - "686d18022001280e323f2e676f6f676c652e636c6f75642e6b6d732e7631" . - "2e43727970746f4b657956657273696f6e2e43727970746f4b6579566572" . - "73696f6e416c676f726974686d12120a0a696d706f72745f6a6f62180420" . - "012809121d0a137273615f6165735f777261707065645f6b657918052001" . - "280c480042160a14777261707065645f6b65795f6d6174657269616c2273" . - "0a16437265617465496d706f72744a6f6252657175657374120e0a067061" . - "72656e7418012001280912150a0d696d706f72745f6a6f625f6964180220" . - "01280912320a0a696d706f72745f6a6f6218032001280b321e2e676f6f67" . - "6c652e636c6f75642e6b6d732e76312e496d706f72744a6f62227d0a1655" . - "706461746543727970746f4b65795265717565737412320a0a6372797074" . - "6f5f6b657918012001280b321e2e676f6f676c652e636c6f75642e6b6d73" . - "2e76312e43727970746f4b6579122f0a0b7570646174655f6d61736b1802" . - "2001280b321a2e676f6f676c652e70726f746f6275662e4669656c644d61" . - "736b2293010a1d55706461746543727970746f4b657956657273696f6e52" . - "65717565737412410a1263727970746f5f6b65795f76657273696f6e1801" . - "2001280b32252e676f6f676c652e636c6f75642e6b6d732e76312e437279" . - "70746f4b657956657273696f6e122f0a0b7570646174655f6d61736b1802" . - "2001280b321a2e676f6f676c652e70726f746f6275662e4669656c644d61" . - "736b22580a0e456e637279707452657175657374120c0a046e616d651801" . - "2001280912110a09706c61696e7465787418022001280c12250a1d616464" . - "6974696f6e616c5f61757468656e746963617465645f6461746118032001" . - "280c22590a0e4465637279707452657175657374120c0a046e616d651801" . - "2001280912120a0a6369706865727465787418022001280c12250a1d6164" . - "646974696f6e616c5f61757468656e746963617465645f64617461180320" . - "01280c22520a154173796d6d65747269635369676e52657175657374120c" . - "0a046e616d65180120012809122b0a0664696765737418032001280b321b" . - "2e676f6f676c652e636c6f75642e6b6d732e76312e446967657374223c0a" . - "184173796d6d65747269634465637279707452657175657374120c0a046e" . - "616d6518012001280912120a0a6369706865727465787418032001280c22" . - "240a0f44656372797074526573706f6e736512110a09706c61696e746578" . - "7418012001280c22330a0f456e6372797074526573706f6e7365120c0a04" . - "6e616d6518012001280912120a0a6369706865727465787418022001280c" . - "222b0a164173796d6d65747269635369676e526573706f6e736512110a09" . - "7369676e617475726518012001280c222e0a194173796d6d657472696344" . - "656372797074526573706f6e736512110a09706c61696e74657874180120" . - "01280c22530a2455706461746543727970746f4b65795072696d61727956" . - "657273696f6e52657175657374120c0a046e616d65180120012809121d0a" . - "1563727970746f5f6b65795f76657273696f6e5f6964180220012809222e" . - "0a1e44657374726f7943727970746f4b657956657273696f6e5265717565" . - "7374120c0a046e616d65180120012809222e0a1e526573746f7265437279" . - "70746f4b657956657273696f6e52657175657374120c0a046e616d651801" . - "2001280922480a0644696765737412100a0673686132353618012001280c" . - "480012100a0673686133383418022001280c480012100a06736861353132" . - "18032001280c480042080a0664696765737422290a104c6f636174696f6e" . - "4d6574616461746112150a0d68736d5f617661696c61626c651801200128" . - "083297230a144b65794d616e6167656d656e74536572766963651299010a" . - "0c4c6973744b657952696e677312282e676f6f676c652e636c6f75642e6b" . - "6d732e76312e4c6973744b657952696e6773526571756573741a292e676f" . - "6f676c652e636c6f75642e6b6d732e76312e4c6973744b657952696e6773" . - "526573706f6e7365223482d3e493022e122c2f76312f7b706172656e743d" . - "70726f6a656374732f2a2f6c6f636174696f6e732f2a7d2f6b657952696e" . - "677312ac010a0e4c69737443727970746f4b657973122a2e676f6f676c65" . - "2e636c6f75642e6b6d732e76312e4c69737443727970746f4b6579735265" . - "71756573741a2b2e676f6f676c652e636c6f75642e6b6d732e76312e4c69" . - "737443727970746f4b657973526573706f6e7365224182d3e493023b1239" . + "17676f6f676c652f6170692f636c69656e742e70726f746f1a1f676f6f67" . + "6c652f6170692f6669656c645f6265686176696f722e70726f746f1a1967" . + "6f6f676c652f6170692f7265736f757263652e70726f746f1a23676f6f67" . + "6c652f636c6f75642f6b6d732f76312f7265736f75726365732e70726f74" . + "6f1a20676f6f676c652f70726f746f6275662f6669656c645f6d61736b2e" . + "70726f746f22ad010a134c6973744b657952696e67735265717565737412" . + "390a06706172656e741801200128094229e04102fa41230a216c6f636174" . + "696f6e732e676f6f676c65617069732e636f6d2f4c6f636174696f6e1216" . + "0a09706167655f73697a651802200128054203e0410112170a0a70616765" . + "5f746f6b656e1803200128094203e0410112130a0666696c746572180420" . + "0128094203e0410112150a086f726465725f62791805200128094203e041" . + "0122ff010a154c69737443727970746f4b6579735265717565737412370a" . + "06706172656e741801200128094227e04102fa41210a1f636c6f75646b6d" . + "732e676f6f676c65617069732e636f6d2f4b657952696e6712160a097061" . + "67655f73697a651802200128054203e0410112170a0a706167655f746f6b" . + "656e1803200128094203e0410112500a0c76657273696f6e5f7669657718" . + "042001280e323a2e676f6f676c652e636c6f75642e6b6d732e76312e4372" . + "7970746f4b657956657273696f6e2e43727970746f4b657956657273696f" . + "6e5669657712130a0666696c7465721805200128094203e0410112150a08" . + "6f726465725f62791806200128094203e0410122fe010a1c4c6973744372" . + "7970746f4b657956657273696f6e735265717565737412370a0670617265" . + "6e741801200128094227e04102fa41210a1f636c6f75646b6d732e676f6f" . + "676c65617069732e636f6d2f4b657952696e6712160a09706167655f7369" . + "7a651802200128054203e0410112170a0a706167655f746f6b656e180320" . + "0128094203e0410112480a047669657718042001280e323a2e676f6f676c" . + "652e636c6f75642e6b6d732e76312e43727970746f4b657956657273696f" . + "6e2e43727970746f4b657956657273696f6e5669657712130a0666696c74" . + "65721805200128094203e0410112150a086f726465725f62791806200128" . + "094203e0410122ad010a154c697374496d706f72744a6f62735265717565" . + "737412370a06706172656e741801200128094227e04102fa41210a1f636c" . + "6f75646b6d732e676f6f676c65617069732e636f6d2f4b657952696e6712" . + "160a09706167655f73697a651802200128054203e0410112170a0a706167" . + "655f746f6b656e1803200128094203e0410112130a0666696c7465721804" . + "200128094203e0410112150a086f726465725f62791805200128094203e0" . + "410122740a144c6973744b657952696e6773526573706f6e7365122f0a09" . + "6b65795f72696e677318012003280b321c2e676f6f676c652e636c6f7564" . + "2e6b6d732e76312e4b657952696e6712170a0f6e6578745f706167655f74" . + "6f6b656e18022001280912120a0a746f74616c5f73697a65180320012805" . + "227a0a164c69737443727970746f4b657973526573706f6e736512330a0b" . + "63727970746f5f6b65797318012003280b321e2e676f6f676c652e636c6f" . + "75642e6b6d732e76312e43727970746f4b657912170a0f6e6578745f7061" . + "67655f746f6b656e18022001280912120a0a746f74616c5f73697a651803" . + "200128052290010a1d4c69737443727970746f4b657956657273696f6e73" . + "526573706f6e736512420a1363727970746f5f6b65795f76657273696f6e" . + "7318012003280b32252e676f6f676c652e636c6f75642e6b6d732e76312e" . + "43727970746f4b657956657273696f6e12170a0f6e6578745f706167655f" . + "746f6b656e18022001280912120a0a746f74616c5f73697a651803200128" . + "05227a0a164c697374496d706f72744a6f6273526573706f6e736512330a" . + "0b696d706f72745f6a6f627318012003280b321e2e676f6f676c652e636c" . + "6f75642e6b6d732e76312e496d706f72744a6f6212170a0f6e6578745f70" . + "6167655f746f6b656e18022001280912120a0a746f74616c5f73697a6518" . + "0320012805224a0a114765744b657952696e675265717565737412350a04" . + "6e616d651801200128094227e04102fa41210a1f636c6f75646b6d732e67" . + "6f6f676c65617069732e636f6d2f4b657952696e67224e0a134765744372" . + "7970746f4b65795265717565737412370a046e616d651801200128094229" . + "e04102fa41230a21636c6f75646b6d732e676f6f676c65617069732e636f" . + "6d2f43727970746f4b6579225c0a1a47657443727970746f4b6579566572" . + "73696f6e52657175657374123e0a046e616d651801200128094230e04102" . + "fa412a0a28636c6f75646b6d732e676f6f676c65617069732e636f6d2f43" . + "727970746f4b657956657273696f6e22550a134765745075626c69634b65" . + "7952657175657374123e0a046e616d651801200128094230e04102fa412a" . + "0a28636c6f75646b6d732e676f6f676c65617069732e636f6d2f43727970" . + "746f4b657956657273696f6e224e0a13476574496d706f72744a6f625265" . + "717565737412370a046e616d651801200128094229e04102fa41230a2163" . + "6c6f75646b6d732e676f6f676c65617069732e636f6d2f496d706f72744a" . + "6f6222a0010a144372656174654b657952696e675265717565737412390a" . + "06706172656e741801200128094229e04102fa41230a216c6f636174696f" . + "6e732e676f6f676c65617069732e636f6d2f4c6f636174696f6e12180a0b" . + "6b65795f72696e675f69641802200128094203e0410212330a086b65795f" . + "72696e6718032001280b321c2e676f6f676c652e636c6f75642e6b6d732e" . + "76312e4b657952696e674203e0410222cd010a1643726561746543727970" . + "746f4b65795265717565737412370a06706172656e741801200128094227" . + "e04102fa41210a1f636c6f75646b6d732e676f6f676c65617069732e636f" . + "6d2f4b657952696e67121a0a0d63727970746f5f6b65795f696418022001" . + "28094203e0410212370a0a63727970746f5f6b657918032001280b321e2e" . + "676f6f676c652e636c6f75642e6b6d732e76312e43727970746f4b657942" . + "03e0410212250a1d736b69705f696e697469616c5f76657273696f6e5f63" . + "72656174696f6e18052001280822a2010a1d43726561746543727970746f" . + "4b657956657273696f6e5265717565737412390a06706172656e74180120" . + "0128094229e04102fa41230a21636c6f75646b6d732e676f6f676c656170" . + "69732e636f6d2f43727970746f4b657912460a1263727970746f5f6b6579" . + "5f76657273696f6e18022001280b32252e676f6f676c652e636c6f75642e" . + "6b6d732e76312e43727970746f4b657956657273696f6e4203e041022283" . + "020a1d496d706f727443727970746f4b657956657273696f6e5265717565" . + "737412390a06706172656e741801200128094229e04102fa41230a21636c" . + "6f75646b6d732e676f6f676c65617069732e636f6d2f43727970746f4b65" . + "7912570a09616c676f726974686d18022001280e323f2e676f6f676c652e" . + "636c6f75642e6b6d732e76312e43727970746f4b657956657273696f6e2e" . + "43727970746f4b657956657273696f6e416c676f726974686d4203e04102" . + "12170a0a696d706f72745f6a6f621804200128094203e04102121d0a1372" . + "73615f6165735f777261707065645f6b657918052001280c480042160a14" . + "777261707065645f6b65795f6d6174657269616c22a6010a164372656174" . + "65496d706f72744a6f625265717565737412370a06706172656e74180120" . + "0128094227e04102fa41210a1f636c6f75646b6d732e676f6f676c656170" . + "69732e636f6d2f4b657952696e67121a0a0d696d706f72745f6a6f625f69" . + "641802200128094203e0410212370a0a696d706f72745f6a6f6218032001" . + "280b321e2e676f6f676c652e636c6f75642e6b6d732e76312e496d706f72" . + "744a6f624203e0410222ad010a1655706461746543727970746f4b657952" . + "657175657374125d0a0a63727970746f5f6b657918012001280b321e2e67" . + "6f6f676c652e636c6f75642e6b6d732e76312e43727970746f4b65794229" . + "e04102fa41230a21636c6f75646b6d732e676f6f676c65617069732e636f" . + "6d2f43727970746f4b657912340a0b7570646174655f6d61736b18022001" . + "280b321a2e676f6f676c652e70726f746f6275662e4669656c644d61736b" . + "4203e0410222ca010a1d55706461746543727970746f4b65795665727369" . + "6f6e5265717565737412730a1263727970746f5f6b65795f76657273696f" . + "6e18012001280b32252e676f6f676c652e636c6f75642e6b6d732e76312e" . + "43727970746f4b657956657273696f6e4230e04102fa412a0a28636c6f75" . + "646b6d732e676f6f676c65617069732e636f6d2f43727970746f4b657956" . + "657273696f6e12340a0b7570646174655f6d61736b18022001280b321a2e" . + "676f6f676c652e70726f746f6275662e4669656c644d61736b4203e04102" . + "228d010a0e456e63727970745265717565737412370a046e616d65180120" . + "0128094229e04102fa41230a21636c6f75646b6d732e676f6f676c656170" . + "69732e636f6d2f43727970746f4b657912160a09706c61696e7465787418" . + "022001280c4203e04102122a0a1d6164646974696f6e616c5f6175746865" . + "6e746963617465645f6461746118032001280c4203e04101228e010a0e44" . + "6563727970745265717565737412370a046e616d651801200128094229e0" . + "4102fa41230a21636c6f75646b6d732e676f6f676c65617069732e636f6d" . + "2f43727970746f4b657912170a0a6369706865727465787418022001280c" . + "4203e04102122a0a1d6164646974696f6e616c5f61757468656e74696361" . + "7465645f6461746118032001280c4203e041012289010a154173796d6d65" . + "747269635369676e52657175657374123e0a046e616d6518012001280942" . + "30e04102fa412a0a28636c6f75646b6d732e676f6f676c65617069732e63" . + "6f6d2f43727970746f4b657956657273696f6e12300a0664696765737418" . + "032001280b321b2e676f6f676c652e636c6f75642e6b6d732e76312e4469" . + "676573744203e0410222730a184173796d6d657472696344656372797074" . + "52657175657374123e0a046e616d651801200128094230e04102fa412a0a" . + "28636c6f75646b6d732e676f6f676c65617069732e636f6d2f4372797074" . + "6f4b657956657273696f6e12170a0a636970686572746578741803200128" . + "0c4203e0410222240a0f44656372797074526573706f6e736512110a0970" . + "6c61696e7465787418012001280c22330a0f456e6372797074526573706f" . + "6e7365120c0a046e616d6518012001280912120a0a636970686572746578" . + "7418022001280c222b0a164173796d6d65747269635369676e526573706f" . + "6e736512110a097369676e617475726518012001280c222e0a194173796d" . + "6d657472696344656372797074526573706f6e736512110a09706c61696e" . + "7465787418012001280c2283010a2455706461746543727970746f4b6579" . + "5072696d61727956657273696f6e5265717565737412370a046e616d6518" . + "01200128094229e04102fa41230a21636c6f75646b6d732e676f6f676c65" . + "617069732e636f6d2f43727970746f4b657912220a1563727970746f5f6b" . + "65795f76657273696f6e5f69641802200128094203e0410222600a1e4465" . + "7374726f7943727970746f4b657956657273696f6e52657175657374123e" . + "0a046e616d651801200128094230e04102fa412a0a28636c6f75646b6d73" . + "2e676f6f676c65617069732e636f6d2f43727970746f4b65795665727369" . + "6f6e22600a1e526573746f726543727970746f4b657956657273696f6e52" . + "657175657374123e0a046e616d651801200128094230e04102fa412a0a28" . + "636c6f75646b6d732e676f6f676c65617069732e636f6d2f43727970746f" . + "4b657956657273696f6e22480a0644696765737412100a06736861323536" . + "18012001280c480012100a0673686133383418022001280c480012100a06" . + "73686135313218032001280c480042080a0664696765737422290a104c6f" . + "636174696f6e4d6574616461746112150a0d68736d5f617661696c61626c" . + "6518012001280832ea250a144b65794d616e6167656d656e745365727669" . + "636512a2010a0c4c6973744b657952696e677312282e676f6f676c652e63" . + "6c6f75642e6b6d732e76312e4c6973744b657952696e6773526571756573" . + "741a292e676f6f676c652e636c6f75642e6b6d732e76312e4c6973744b65" . + "7952696e6773526573706f6e7365223d82d3e493022e122c2f76312f7b70" . + "6172656e743d70726f6a656374732f2a2f6c6f636174696f6e732f2a7d2f" . + "6b657952696e6773da4106706172656e7412b5010a0e4c69737443727970" . + "746f4b657973122a2e676f6f676c652e636c6f75642e6b6d732e76312e4c" . + "69737443727970746f4b657973526571756573741a2b2e676f6f676c652e" . + "636c6f75642e6b6d732e76312e4c69737443727970746f4b657973526573" . + "706f6e7365224a82d3e493023b12392f76312f7b706172656e743d70726f" . + "6a656374732f2a2f6c6f636174696f6e732f2a2f6b657952696e67732f2a" . + "7d2f63727970746f4b657973da4106706172656e7412de010a154c697374" . + "43727970746f4b657956657273696f6e7312312e676f6f676c652e636c6f" . + "75642e6b6d732e76312e4c69737443727970746f4b657956657273696f6e" . + "73526571756573741a322e676f6f676c652e636c6f75642e6b6d732e7631" . + "2e4c69737443727970746f4b657956657273696f6e73526573706f6e7365" . + "225e82d3e493024f124d2f76312f7b706172656e743d70726f6a65637473" . + "2f2a2f6c6f636174696f6e732f2a2f6b657952696e67732f2a2f63727970" . + "746f4b6579732f2a7d2f63727970746f4b657956657273696f6e73da4106" . + "706172656e7412b5010a0e4c697374496d706f72744a6f6273122a2e676f" . + "6f676c652e636c6f75642e6b6d732e76312e4c697374496d706f72744a6f" . + "6273526571756573741a2b2e676f6f676c652e636c6f75642e6b6d732e76" . + "312e4c697374496d706f72744a6f6273526573706f6e7365224a82d3e493" . + "023b12392f76312f7b706172656e743d70726f6a656374732f2a2f6c6f63" . + "6174696f6e732f2a2f6b657952696e67732f2a7d2f696d706f72744a6f62" . + "73da4106706172656e74128f010a0a4765744b657952696e6712262e676f" . + "6f676c652e636c6f75642e6b6d732e76312e4765744b657952696e675265" . + "71756573741a1c2e676f6f676c652e636c6f75642e6b6d732e76312e4b65" . + "7952696e67223b82d3e493022e122c2f76312f7b6e616d653d70726f6a65" . + "6374732f2a2f6c6f636174696f6e732f2a2f6b657952696e67732f2a7dda" . + "41046e616d65129b010a0c47657443727970746f4b657912282e676f6f67" . + "6c652e636c6f75642e6b6d732e76312e47657443727970746f4b65795265" . + "71756573741a1e2e676f6f676c652e636c6f75642e6b6d732e76312e4372" . + "7970746f4b6579224182d3e493023b12392f76312f7b6e616d653d70726f" . + "6a656374732f2a2f6c6f636174696f6e732f2a2f6b657952696e67732f2a" . + "2f63727970746f4b6579732f2a7d12c4010a1347657443727970746f4b65" . + "7956657273696f6e122f2e676f6f676c652e636c6f75642e6b6d732e7631" . + "2e47657443727970746f4b657956657273696f6e526571756573741a252e" . + "676f6f676c652e636c6f75642e6b6d732e76312e43727970746f4b657956" . + "657273696f6e225582d3e493024f124d2f76312f7b6e616d653d70726f6a" . + "656374732f2a2f6c6f636174696f6e732f2a2f6b657952696e67732f2a2f" . + "63727970746f4b6579732f2a2f63727970746f4b657956657273696f6e73" . + "2f2a7d12b9010a0c4765745075626c69634b657912282e676f6f676c652e" . + "636c6f75642e6b6d732e76312e4765745075626c69634b65795265717565" . + "73741a1e2e676f6f676c652e636c6f75642e6b6d732e76312e5075626c69" . + "634b6579225f82d3e493025912572f76312f7b6e616d653d70726f6a6563" . + "74732f2a2f6c6f636174696f6e732f2a2f6b657952696e67732f2a2f6372" . + "7970746f4b6579732f2a2f63727970746f4b657956657273696f6e732f2a" . + "7d2f7075626c69634b6579129b010a0c476574496d706f72744a6f621228" . + "2e676f6f676c652e636c6f75642e6b6d732e76312e476574496d706f7274" . + "4a6f62526571756573741a1e2e676f6f676c652e636c6f75642e6b6d732e" . + "76312e496d706f72744a6f62224182d3e493023b12392f76312f7b6e616d" . + "653d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f6b65795269" . + "6e67732f2a2f696d706f72744a6f62732f2a7d12b6010a0d437265617465" . + "4b657952696e6712292e676f6f676c652e636c6f75642e6b6d732e76312e" . + "4372656174654b657952696e67526571756573741a1c2e676f6f676c652e" . + "636c6f75642e6b6d732e76312e4b657952696e67225c82d3e4930238222c" . "2f76312f7b706172656e743d70726f6a656374732f2a2f6c6f636174696f" . - "6e732f2a2f6b657952696e67732f2a7d2f63727970746f4b65797312d501" . - "0a154c69737443727970746f4b657956657273696f6e7312312e676f6f67" . - "6c652e636c6f75642e6b6d732e76312e4c69737443727970746f4b657956" . - "657273696f6e73526571756573741a322e676f6f676c652e636c6f75642e" . - "6b6d732e76312e4c69737443727970746f4b657956657273696f6e735265" . - "73706f6e7365225582d3e493024f124d2f76312f7b706172656e743d7072" . + "6e732f2a7d2f6b657952696e67733a086b65795f72696e67da411b706172" . + "656e742c6b65795f72696e675f69642c6b65795f72696e6712cf010a0f43" . + "726561746543727970746f4b6579122b2e676f6f676c652e636c6f75642e" . + "6b6d732e76312e43726561746543727970746f4b6579526571756573741a" . + "1e2e676f6f676c652e636c6f75642e6b6d732e76312e43727970746f4b65" . + "79226f82d3e493024722392f76312f7b706172656e743d70726f6a656374" . + "732f2a2f6c6f636174696f6e732f2a2f6b657952696e67732f2a7d2f6372" . + "7970746f4b6579733a0a63727970746f5f6b6579da411f706172656e742c" . + "63727970746f5f6b65795f69642c63727970746f5f6b657912fb010a1643" . + "726561746543727970746f4b657956657273696f6e12322e676f6f676c65" . + "2e636c6f75642e6b6d732e76312e43726561746543727970746f4b657956" . + "657273696f6e526571756573741a252e676f6f676c652e636c6f75642e6b" . + "6d732e76312e43727970746f4b657956657273696f6e22850182d3e49302" . + "63224d2f76312f7b706172656e743d70726f6a656374732f2a2f6c6f6361" . + "74696f6e732f2a2f6b657952696e67732f2a2f63727970746f4b6579732f" . + "2a7d2f63727970746f4b657956657273696f6e733a1263727970746f5f6b" . + "65795f76657273696f6eda4119706172656e742c63727970746f5f6b6579" . + "5f76657273696f6e12d4010a16496d706f727443727970746f4b65795665" . + "7273696f6e12322e676f6f676c652e636c6f75642e6b6d732e76312e496d" . + "706f727443727970746f4b657956657273696f6e526571756573741a252e" . + "676f6f676c652e636c6f75642e6b6d732e76312e43727970746f4b657956" . + "657273696f6e225f82d3e493025922542f76312f7b706172656e743d7072" . "6f6a656374732f2a2f6c6f636174696f6e732f2a2f6b657952696e67732f" . "2a2f63727970746f4b6579732f2a7d2f63727970746f4b65795665727369" . - "6f6e7312ac010a0e4c697374496d706f72744a6f6273122a2e676f6f676c" . - "652e636c6f75642e6b6d732e76312e4c697374496d706f72744a6f627352" . - "6571756573741a2b2e676f6f676c652e636c6f75642e6b6d732e76312e4c" . - "697374496d706f72744a6f6273526573706f6e7365224182d3e493023b12" . - "392f76312f7b706172656e743d70726f6a656374732f2a2f6c6f63617469" . - "6f6e732f2a2f6b657952696e67732f2a7d2f696d706f72744a6f62731288" . - "010a0a4765744b657952696e6712262e676f6f676c652e636c6f75642e6b" . - "6d732e76312e4765744b657952696e67526571756573741a1c2e676f6f67" . - "6c652e636c6f75642e6b6d732e76312e4b657952696e67223482d3e49302" . - "2e122c2f76312f7b6e616d653d70726f6a656374732f2a2f6c6f63617469" . - "6f6e732f2a2f6b657952696e67732f2a7d129b010a0c4765744372797074" . - "6f4b657912282e676f6f676c652e636c6f75642e6b6d732e76312e476574" . - "43727970746f4b6579526571756573741a1e2e676f6f676c652e636c6f75" . - "642e6b6d732e76312e43727970746f4b6579224182d3e493023b12392f76" . - "312f7b6e616d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a" . - "2f6b657952696e67732f2a2f63727970746f4b6579732f2a7d12c4010a13" . - "47657443727970746f4b657956657273696f6e122f2e676f6f676c652e63" . - "6c6f75642e6b6d732e76312e47657443727970746f4b657956657273696f" . - "6e526571756573741a252e676f6f676c652e636c6f75642e6b6d732e7631" . - "2e43727970746f4b657956657273696f6e225582d3e493024f124d2f7631" . - "2f7b6e616d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f" . - "6b657952696e67732f2a2f63727970746f4b6579732f2a2f63727970746f" . - "4b657956657273696f6e732f2a7d12b9010a0c4765745075626c69634b65" . - "7912282e676f6f676c652e636c6f75642e6b6d732e76312e476574507562" . - "6c69634b6579526571756573741a1e2e676f6f676c652e636c6f75642e6b" . - "6d732e76312e5075626c69634b6579225f82d3e493025912572f76312f7b" . - "6e616d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f6b65" . - "7952696e67732f2a2f63727970746f4b6579732f2a2f63727970746f4b65" . - "7956657273696f6e732f2a7d2f7075626c69634b6579129b010a0c476574" . - "496d706f72744a6f6212282e676f6f676c652e636c6f75642e6b6d732e76" . - "312e476574496d706f72744a6f62526571756573741a1e2e676f6f676c65" . - "2e636c6f75642e6b6d732e76312e496d706f72744a6f62224182d3e49302" . - "3b12392f76312f7b6e616d653d70726f6a656374732f2a2f6c6f63617469" . - "6f6e732f2a2f6b657952696e67732f2a2f696d706f72744a6f62732f2a7d" . - "1298010a0d4372656174654b657952696e6712292e676f6f676c652e636c" . - "6f75642e6b6d732e76312e4372656174654b657952696e67526571756573" . - "741a1c2e676f6f676c652e636c6f75642e6b6d732e76312e4b657952696e" . - "67223e82d3e4930238222c2f76312f7b706172656e743d70726f6a656374" . - "732f2a2f6c6f636174696f6e732f2a7d2f6b657952696e67733a086b6579" . - "5f72696e6712ad010a0f43726561746543727970746f4b6579122b2e676f" . - "6f676c652e636c6f75642e6b6d732e76312e43726561746543727970746f" . - "4b6579526571756573741a1e2e676f6f676c652e636c6f75642e6b6d732e" . - "76312e43727970746f4b6579224d82d3e493024722392f76312f7b706172" . - "656e743d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f6b6579" . - "52696e67732f2a7d2f63727970746f4b6579733a0a63727970746f5f6b65" . - "7912de010a1643726561746543727970746f4b657956657273696f6e1232" . - "2e676f6f676c652e636c6f75642e6b6d732e76312e437265617465437279" . - "70746f4b657956657273696f6e526571756573741a252e676f6f676c652e" . - "636c6f75642e6b6d732e76312e43727970746f4b657956657273696f6e22" . - "6982d3e4930263224d2f76312f7b706172656e743d70726f6a656374732f" . + "6f6e733a696d706f72743a012a12cf010a0f437265617465496d706f7274" . + "4a6f62122b2e676f6f676c652e636c6f75642e6b6d732e76312e43726561" . + "7465496d706f72744a6f62526571756573741a1e2e676f6f676c652e636c" . + "6f75642e6b6d732e76312e496d706f72744a6f62226f82d3e49302472239" . + "2f76312f7b706172656e743d70726f6a656374732f2a2f6c6f636174696f" . + "6e732f2a2f6b657952696e67732f2a7d2f696d706f72744a6f62733a0a69" . + "6d706f72745f6a6f62da411f706172656e742c696d706f72745f6a6f625f" . + "69642c696d706f72745f6a6f6212d1010a0f55706461746543727970746f" . + "4b6579122b2e676f6f676c652e636c6f75642e6b6d732e76312e55706461" . + "746543727970746f4b6579526571756573741a1e2e676f6f676c652e636c" . + "6f75642e6b6d732e76312e43727970746f4b6579227182d3e49302523244" . + "2f76312f7b63727970746f5f6b65792e6e616d653d70726f6a656374732f" . "2a2f6c6f636174696f6e732f2a2f6b657952696e67732f2a2f6372797074" . - "6f4b6579732f2a7d2f63727970746f4b657956657273696f6e733a126372" . - "7970746f5f6b65795f76657273696f6e12d4010a16496d706f7274437279" . - "70746f4b657956657273696f6e12322e676f6f676c652e636c6f75642e6b" . - "6d732e76312e496d706f727443727970746f4b657956657273696f6e5265" . - "71756573741a252e676f6f676c652e636c6f75642e6b6d732e76312e4372" . - "7970746f4b657956657273696f6e225f82d3e493025922542f76312f7b70" . - "6172656e743d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f6b" . - "657952696e67732f2a2f63727970746f4b6579732f2a7d2f63727970746f" . - "4b657956657273696f6e733a696d706f72743a012a12ad010a0f43726561" . - "7465496d706f72744a6f62122b2e676f6f676c652e636c6f75642e6b6d73" . - "2e76312e437265617465496d706f72744a6f62526571756573741a1e2e67" . - "6f6f676c652e636c6f75642e6b6d732e76312e496d706f72744a6f62224d" . - "82d3e493024722392f76312f7b706172656e743d70726f6a656374732f2a" . - "2f6c6f636174696f6e732f2a2f6b657952696e67732f2a7d2f696d706f72" . - "744a6f62733a0a696d706f72745f6a6f6212b8010a0f5570646174654372" . - "7970746f4b6579122b2e676f6f676c652e636c6f75642e6b6d732e76312e" . - "55706461746543727970746f4b6579526571756573741a1e2e676f6f676c" . - "652e636c6f75642e6b6d732e76312e43727970746f4b6579225882d3e493" . - "025232442f76312f7b63727970746f5f6b65792e6e616d653d70726f6a65" . - "6374732f2a2f6c6f636174696f6e732f2a2f6b657952696e67732f2a2f63" . - "727970746f4b6579732f2a7d3a0a63727970746f5f6b657912f1010a1655" . - "706461746543727970746f4b657956657273696f6e12322e676f6f676c65" . - "2e636c6f75642e6b6d732e76312e55706461746543727970746f4b657956" . - "657273696f6e526571756573741a252e676f6f676c652e636c6f75642e6b" . - "6d732e76312e43727970746f4b657956657273696f6e227c82d3e4930276" . - "32602f76312f7b63727970746f5f6b65795f76657273696f6e2e6e616d65" . - "3d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f6b657952696e" . - "67732f2a2f63727970746f4b6579732f2a2f63727970746f4b6579566572" . - "73696f6e732f2a7d3a1263727970746f5f6b65795f76657273696f6e12a3" . - "010a07456e637279707412232e676f6f676c652e636c6f75642e6b6d732e" . - "76312e456e6372797074526571756573741a242e676f6f676c652e636c6f" . - "75642e6b6d732e76312e456e6372797074526573706f6e7365224d82d3e4" . - "93024722422f76312f7b6e616d653d70726f6a656374732f2a2f6c6f6361" . - "74696f6e732f2a2f6b657952696e67732f2a2f63727970746f4b6579732f" . - "2a2a7d3a656e63727970743a012a12a2010a074465637279707412232e67" . - "6f6f676c652e636c6f75642e6b6d732e76312e4465637279707452657175" . - "6573741a242e676f6f676c652e636c6f75642e6b6d732e76312e44656372" . - "797074526573706f6e7365224c82d3e493024622412f76312f7b6e616d65" . - "3d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f6b657952696e" . - "67732f2a2f63727970746f4b6579732f2a7d3a646563727970743a012a12" . - "d2010a0e4173796d6d65747269635369676e122a2e676f6f676c652e636c" . + "6f4b6579732f2a7d3a0a63727970746f5f6b6579da411663727970746f5f" . + "6b65792c7570646174655f6d61736b1293020a1655706461746543727970" . + "746f4b657956657273696f6e12322e676f6f676c652e636c6f75642e6b6d" . + "732e76312e55706461746543727970746f4b657956657273696f6e526571" . + "756573741a252e676f6f676c652e636c6f75642e6b6d732e76312e437279" . + "70746f4b657956657273696f6e229d0182d3e493027632602f76312f7b63" . + "727970746f5f6b65795f76657273696f6e2e6e616d653d70726f6a656374" . + "732f2a2f6c6f636174696f6e732f2a2f6b657952696e67732f2a2f637279" . + "70746f4b6579732f2a2f63727970746f4b657956657273696f6e732f2a7d" . + "3a1263727970746f5f6b65795f76657273696f6eda411e63727970746f5f" . + "6b65795f76657273696f6e2c7570646174655f6d61736b12b4010a07456e" . + "637279707412232e676f6f676c652e636c6f75642e6b6d732e76312e456e" . + "6372797074526571756573741a242e676f6f676c652e636c6f75642e6b6d" . + "732e76312e456e6372797074526573706f6e7365225e82d3e49302472242" . + "2f76312f7b6e616d653d70726f6a656374732f2a2f6c6f636174696f6e73" . + "2f2a2f6b657952696e67732f2a2f63727970746f4b6579732f2a2a7d3a65" . + "6e63727970743a012ada410e6e616d652c706c61696e7465787412b4010a" . + "074465637279707412232e676f6f676c652e636c6f75642e6b6d732e7631" . + "2e44656372797074526571756573741a242e676f6f676c652e636c6f7564" . + "2e6b6d732e76312e44656372797074526573706f6e7365225e82d3e49302" . + "4622412f76312f7b6e616d653d70726f6a656374732f2a2f6c6f63617469" . + "6f6e732f2a2f6b657952696e67732f2a2f63727970746f4b6579732f2a7d" . + "3a646563727970743a012ada410f6e616d652c6369706865727465787412" . + "e0010a0e4173796d6d65747269635369676e122a2e676f6f676c652e636c" . "6f75642e6b6d732e76312e4173796d6d65747269635369676e5265717565" . "73741a2b2e676f6f676c652e636c6f75642e6b6d732e76312e4173796d6d" . - "65747269635369676e526573706f6e7365226782d3e4930261225c2f7631" . + "65747269635369676e526573706f6e7365227582d3e4930261225c2f7631" . "2f7b6e616d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f" . "6b657952696e67732f2a2f63727970746f4b6579732f2a2f63727970746f" . "4b657956657273696f6e732f2a7d3a6173796d6d65747269635369676e3a" . - "012a12de010a114173796d6d657472696344656372797074122d2e676f6f" . - "676c652e636c6f75642e6b6d732e76312e4173796d6d6574726963446563" . - "72797074526571756573741a2e2e676f6f676c652e636c6f75642e6b6d73" . - "2e76312e4173796d6d657472696344656372797074526573706f6e736522" . - "6a82d3e4930264225f2f76312f7b6e616d653d70726f6a656374732f2a2f" . - "6c6f636174696f6e732f2a2f6b657952696e67732f2a2f63727970746f4b" . - "6579732f2a2f63727970746f4b657956657273696f6e732f2a7d3a617379" . - "6d6d6574726963446563727970743a012a12d5010a1d5570646174654372" . - "7970746f4b65795072696d61727956657273696f6e12392e676f6f676c65" . - "2e636c6f75642e6b6d732e76312e55706461746543727970746f4b657950" . - "72696d61727956657273696f6e526571756573741a1e2e676f6f676c652e" . - "636c6f75642e6b6d732e76312e43727970746f4b6579225982d3e4930253" . - "224e2f76312f7b6e616d653d70726f6a656374732f2a2f6c6f636174696f" . - "6e732f2a2f6b657952696e67732f2a2f63727970746f4b6579732f2a7d3a" . - "7570646174655072696d61727956657273696f6e3a012a12d7010a174465" . - "7374726f7943727970746f4b657956657273696f6e12332e676f6f676c65" . - "2e636c6f75642e6b6d732e76312e44657374726f7943727970746f4b6579" . - "56657273696f6e526571756573741a252e676f6f676c652e636c6f75642e" . - "6b6d732e76312e43727970746f4b657956657273696f6e226082d3e49302" . - "5a22552f76312f7b6e616d653d70726f6a656374732f2a2f6c6f63617469" . - "6f6e732f2a2f6b657952696e67732f2a2f63727970746f4b6579732f2a2f" . - "63727970746f4b657956657273696f6e732f2a7d3a64657374726f793a01" . - "2a12d7010a17526573746f726543727970746f4b657956657273696f6e12" . - "332e676f6f676c652e636c6f75642e6b6d732e76312e526573746f726543" . - "727970746f4b657956657273696f6e526571756573741a252e676f6f676c" . - "652e636c6f75642e6b6d732e76312e43727970746f4b657956657273696f" . - "6e226082d3e493025a22552f76312f7b6e616d653d70726f6a656374732f" . - "2a2f6c6f636174696f6e732f2a2f6b657952696e67732f2a2f6372797074" . - "6f4b6579732f2a2f63727970746f4b657956657273696f6e732f2a7d3a72" . - "6573746f72653a012a1a74ca4117636c6f75646b6d732e676f6f676c6561" . - "7069732e636f6dd2415768747470733a2f2f7777772e676f6f676c656170" . - "69732e636f6d2f617574682f636c6f75642d706c6174666f726d2c687474" . - "70733a2f2f7777772e676f6f676c65617069732e636f6d2f617574682f63" . - "6c6f75646b6d73428c010a17636f6d2e676f6f676c652e636c6f75642e6b" . - "6d732e763142084b6d7350726f746f50015a36676f6f676c652e676f6c61" . - "6e672e6f72672f67656e70726f746f2f676f6f676c65617069732f636c6f" . - "75642f6b6d732f76313b6b6d73f80101aa0213476f6f676c652e436c6f75" . - "642e4b6d732e5631ca0213476f6f676c655c436c6f75645c4b6d735c5631" . - "620670726f746f33" + "012ada410b6e616d652c64696765737412f0010a114173796d6d65747269" . + "6344656372797074122d2e676f6f676c652e636c6f75642e6b6d732e7631" . + "2e4173796d6d657472696344656372797074526571756573741a2e2e676f" . + "6f676c652e636c6f75642e6b6d732e76312e4173796d6d65747269634465" . + "6372797074526573706f6e7365227c82d3e4930264225f2f76312f7b6e61" . + "6d653d70726f6a656374732f2a2f6c6f636174696f6e732f2a2f6b657952" . + "696e67732f2a2f63727970746f4b6579732f2a2f63727970746f4b657956" . + "657273696f6e732f2a7d3a6173796d6d6574726963446563727970743a01" . + "2ada410f6e616d652c6369706865727465787412f2010a1d557064617465" . + "43727970746f4b65795072696d61727956657273696f6e12392e676f6f67" . + "6c652e636c6f75642e6b6d732e76312e55706461746543727970746f4b65" . + "795072696d61727956657273696f6e526571756573741a1e2e676f6f676c" . + "652e636c6f75642e6b6d732e76312e43727970746f4b6579227682d3e493" . + "0253224e2f76312f7b6e616d653d70726f6a656374732f2a2f6c6f636174" . + "696f6e732f2a2f6b657952696e67732f2a2f63727970746f4b6579732f2a" . + "7d3a7570646174655072696d61727956657273696f6e3a012ada411a6e61" . + "6d652c63727970746f5f6b65795f76657273696f6e5f696412de010a1744" . + "657374726f7943727970746f4b657956657273696f6e12332e676f6f676c" . + "652e636c6f75642e6b6d732e76312e44657374726f7943727970746f4b65" . + "7956657273696f6e526571756573741a252e676f6f676c652e636c6f7564" . + "2e6b6d732e76312e43727970746f4b657956657273696f6e226782d3e493" . + "025a22552f76312f7b6e616d653d70726f6a656374732f2a2f6c6f636174" . + "696f6e732f2a2f6b657952696e67732f2a2f63727970746f4b6579732f2a" . + "2f63727970746f4b657956657273696f6e732f2a7d3a64657374726f793a" . + "012ada41046e616d6512de010a17526573746f726543727970746f4b6579" . + "56657273696f6e12332e676f6f676c652e636c6f75642e6b6d732e76312e" . + "526573746f726543727970746f4b657956657273696f6e52657175657374" . + "1a252e676f6f676c652e636c6f75642e6b6d732e76312e43727970746f4b" . + "657956657273696f6e226782d3e493025a22552f76312f7b6e616d653d70" . + "726f6a656374732f2a2f6c6f636174696f6e732f2a2f6b657952696e6773" . + "2f2a2f63727970746f4b6579732f2a2f63727970746f4b65795665727369" . + "6f6e732f2a7d3a726573746f72653a012ada41046e616d651a74ca411763" . + "6c6f75646b6d732e676f6f676c65617069732e636f6dd241576874747073" . + "3a2f2f7777772e676f6f676c65617069732e636f6d2f617574682f636c6f" . + "75642d706c6174666f726d2c68747470733a2f2f7777772e676f6f676c65" . + "617069732e636f6d2f617574682f636c6f75646b6d73428c010a17636f6d" . + "2e676f6f676c652e636c6f75642e6b6d732e763142084b6d7350726f746f" . + "50015a36676f6f676c652e676f6c616e672e6f72672f67656e70726f746f" . + "2f676f6f676c65617069732f636c6f75642f6b6d732f76313b6b6d73f801" . + "01aa0213476f6f676c652e436c6f75642e4b6d732e5631ca0213476f6f67" . + "6c655c436c6f75645c4b6d735c5631620670726f746f33" ), true); static::$is_initialized = true; diff --git a/Kms/src/V1/AsymmetricDecryptRequest.php b/Kms/src/V1/AsymmetricDecryptRequest.php index 7bc1e080beb7..2d09e5b6ca65 100644 --- a/Kms/src/V1/AsymmetricDecryptRequest.php +++ b/Kms/src/V1/AsymmetricDecryptRequest.php @@ -19,14 +19,14 @@ class AsymmetricDecryptRequest extends \Google\Protobuf\Internal\Message * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for * decryption. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; /** * Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public * key using OAEP. * - * Generated from protobuf field bytes ciphertext = 3; + * Generated from protobuf field bytes ciphertext = 3 [(.google.api.field_behavior) = REQUIRED]; */ private $ciphertext = ''; @@ -53,7 +53,7 @@ public function __construct($data = NULL) { * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for * decryption. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() @@ -65,7 +65,7 @@ public function getName() * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for * decryption. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -81,7 +81,7 @@ public function setName($var) * Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public * key using OAEP. * - * Generated from protobuf field bytes ciphertext = 3; + * Generated from protobuf field bytes ciphertext = 3 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getCiphertext() @@ -93,7 +93,7 @@ public function getCiphertext() * Required. The data encrypted with the named [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s public * key using OAEP. * - * Generated from protobuf field bytes ciphertext = 3; + * Generated from protobuf field bytes ciphertext = 3 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ diff --git a/Kms/src/V1/AsymmetricSignRequest.php b/Kms/src/V1/AsymmetricSignRequest.php index 9e585879a101..c9f04f306afb 100644 --- a/Kms/src/V1/AsymmetricSignRequest.php +++ b/Kms/src/V1/AsymmetricSignRequest.php @@ -18,7 +18,7 @@ class AsymmetricSignRequest extends \Google\Protobuf\Internal\Message /** * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; /** @@ -26,7 +26,7 @@ class AsymmetricSignRequest extends \Google\Protobuf\Internal\Message * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. * - * Generated from protobuf field .google.cloud.kms.v1.Digest digest = 3; + * Generated from protobuf field .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = REQUIRED]; */ private $digest = null; @@ -52,7 +52,7 @@ public function __construct($data = NULL) { /** * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() @@ -63,7 +63,7 @@ public function getName() /** * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for signing. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -80,7 +80,7 @@ public function setName($var) * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. * - * Generated from protobuf field .google.cloud.kms.v1.Digest digest = 3; + * Generated from protobuf field .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\Kms\V1\Digest */ public function getDigest() @@ -93,7 +93,7 @@ public function getDigest() * the same digest algorithm as specified by the key version's * [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm]. * - * Generated from protobuf field .google.cloud.kms.v1.Digest digest = 3; + * Generated from protobuf field .google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\Kms\V1\Digest $var * @return $this */ diff --git a/Kms/src/V1/CreateCryptoKeyRequest.php b/Kms/src/V1/CreateCryptoKeyRequest.php index 050431a63bcd..9b52810e9e4d 100644 --- a/Kms/src/V1/CreateCryptoKeyRequest.php +++ b/Kms/src/V1/CreateCryptoKeyRequest.php @@ -19,20 +19,20 @@ class CreateCryptoKeyRequest extends \Google\Protobuf\Internal\Message * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the * [CryptoKeys][google.cloud.kms.v1.CryptoKey]. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** * Required. It must be unique within a KeyRing and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * - * Generated from protobuf field string crypto_key_id = 2; + * Generated from protobuf field string crypto_key_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $crypto_key_id = ''; /** - * A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKey crypto_key = 3; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKey crypto_key = 3 [(.google.api.field_behavior) = REQUIRED]; */ private $crypto_key = null; /** @@ -59,7 +59,7 @@ class CreateCryptoKeyRequest extends \Google\Protobuf\Internal\Message * Required. It must be unique within a KeyRing and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * @type \Google\Cloud\Kms\V1\CryptoKey $crypto_key - * A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. * @type bool $skip_initial_version_creation * If set to true, the request will create a [CryptoKey][google.cloud.kms.v1.CryptoKey] without any * [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must manually call @@ -77,7 +77,7 @@ public function __construct($data = NULL) { * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the * [CryptoKeys][google.cloud.kms.v1.CryptoKey]. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getParent() @@ -89,7 +89,7 @@ public function getParent() * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the * [CryptoKeys][google.cloud.kms.v1.CryptoKey]. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -105,7 +105,7 @@ public function setParent($var) * Required. It must be unique within a KeyRing and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * - * Generated from protobuf field string crypto_key_id = 2; + * Generated from protobuf field string crypto_key_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getCryptoKeyId() @@ -117,7 +117,7 @@ public function getCryptoKeyId() * Required. It must be unique within a KeyRing and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * - * Generated from protobuf field string crypto_key_id = 2; + * Generated from protobuf field string crypto_key_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ @@ -130,9 +130,9 @@ public function setCryptoKeyId($var) } /** - * A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKey crypto_key = 3; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKey crypto_key = 3 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\Kms\V1\CryptoKey */ public function getCryptoKey() @@ -141,9 +141,9 @@ public function getCryptoKey() } /** - * A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + * Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKey crypto_key = 3; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKey crypto_key = 3 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\Kms\V1\CryptoKey $var * @return $this */ diff --git a/Kms/src/V1/CreateCryptoKeyVersionRequest.php b/Kms/src/V1/CreateCryptoKeyVersionRequest.php index 65c9f949bf40..03f3e75b4202 100644 --- a/Kms/src/V1/CreateCryptoKeyVersionRequest.php +++ b/Kms/src/V1/CreateCryptoKeyVersionRequest.php @@ -19,13 +19,13 @@ class CreateCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** - * A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. + * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 2; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $crypto_key_version = null; @@ -39,7 +39,7 @@ class CreateCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. * @type \Google\Cloud\Kms\V1\CryptoKeyVersion $crypto_key_version - * A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. + * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. * } */ public function __construct($data = NULL) { @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getParent() @@ -63,7 +63,7 @@ public function getParent() * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -76,9 +76,9 @@ public function setParent($var) } /** - * A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. + * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 2; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 2 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\Kms\V1\CryptoKeyVersion */ public function getCryptoKeyVersion() @@ -87,9 +87,9 @@ public function getCryptoKeyVersion() } /** - * A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. + * Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 2; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\Kms\V1\CryptoKeyVersion $var * @return $this */ diff --git a/Kms/src/V1/CreateImportJobRequest.php b/Kms/src/V1/CreateImportJobRequest.php index bc5bfb93c975..d0969e1c5762 100644 --- a/Kms/src/V1/CreateImportJobRequest.php +++ b/Kms/src/V1/CreateImportJobRequest.php @@ -19,20 +19,20 @@ class CreateImportJobRequest extends \Google\Protobuf\Internal\Message * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the * [ImportJobs][google.cloud.kms.v1.ImportJob]. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** * Required. It must be unique within a KeyRing and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * - * Generated from protobuf field string import_job_id = 2; + * Generated from protobuf field string import_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $import_job_id = ''; /** * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values. * - * Generated from protobuf field .google.cloud.kms.v1.ImportJob import_job = 3; + * Generated from protobuf field .google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED]; */ private $import_job = null; @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the * [ImportJobs][google.cloud.kms.v1.ImportJob]. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getParent() @@ -73,7 +73,7 @@ public function getParent() * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the * [ImportJobs][google.cloud.kms.v1.ImportJob]. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -89,7 +89,7 @@ public function setParent($var) * Required. It must be unique within a KeyRing and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * - * Generated from protobuf field string import_job_id = 2; + * Generated from protobuf field string import_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getImportJobId() @@ -101,7 +101,7 @@ public function getImportJobId() * Required. It must be unique within a KeyRing and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * - * Generated from protobuf field string import_job_id = 2; + * Generated from protobuf field string import_job_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ @@ -116,7 +116,7 @@ public function setImportJobId($var) /** * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values. * - * Generated from protobuf field .google.cloud.kms.v1.ImportJob import_job = 3; + * Generated from protobuf field .google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\Kms\V1\ImportJob */ public function getImportJob() @@ -127,7 +127,7 @@ public function getImportJob() /** * Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values. * - * Generated from protobuf field .google.cloud.kms.v1.ImportJob import_job = 3; + * Generated from protobuf field .google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\Kms\V1\ImportJob $var * @return $this */ diff --git a/Kms/src/V1/CreateKeyRingRequest.php b/Kms/src/V1/CreateKeyRingRequest.php index d839035cf3ff..8397dc2526f8 100644 --- a/Kms/src/V1/CreateKeyRingRequest.php +++ b/Kms/src/V1/CreateKeyRingRequest.php @@ -19,20 +19,20 @@ class CreateKeyRingRequest extends \Google\Protobuf\Internal\Message * Required. The resource name of the location associated with the * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** * Required. It must be unique within a location and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * - * Generated from protobuf field string key_ring_id = 2; + * Generated from protobuf field string key_ring_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $key_ring_id = ''; /** - * A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. * - * Generated from protobuf field .google.cloud.kms.v1.KeyRing key_ring = 3; + * Generated from protobuf field .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; */ private $key_ring = null; @@ -49,7 +49,7 @@ class CreateKeyRingRequest extends \Google\Protobuf\Internal\Message * Required. It must be unique within a location and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * @type \Google\Cloud\Kms\V1\KeyRing $key_ring - * A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. * } */ public function __construct($data = NULL) { @@ -61,7 +61,7 @@ public function __construct($data = NULL) { * Required. The resource name of the location associated with the * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getParent() @@ -73,7 +73,7 @@ public function getParent() * Required. The resource name of the location associated with the * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -89,7 +89,7 @@ public function setParent($var) * Required. It must be unique within a location and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * - * Generated from protobuf field string key_ring_id = 2; + * Generated from protobuf field string key_ring_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getKeyRingId() @@ -101,7 +101,7 @@ public function getKeyRingId() * Required. It must be unique within a location and match the regular * expression `[a-zA-Z0-9_-]{1,63}` * - * Generated from protobuf field string key_ring_id = 2; + * Generated from protobuf field string key_ring_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ @@ -114,9 +114,9 @@ public function setKeyRingId($var) } /** - * A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. * - * Generated from protobuf field .google.cloud.kms.v1.KeyRing key_ring = 3; + * Generated from protobuf field .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\Kms\V1\KeyRing */ public function getKeyRing() @@ -125,9 +125,9 @@ public function getKeyRing() } /** - * A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + * Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. * - * Generated from protobuf field .google.cloud.kms.v1.KeyRing key_ring = 3; + * Generated from protobuf field .google.cloud.kms.v1.KeyRing key_ring = 3 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\Kms\V1\KeyRing $var * @return $this */ diff --git a/Kms/src/V1/CryptoKey.php b/Kms/src/V1/CryptoKey.php index bae64199ad97..6dafd0df5011 100644 --- a/Kms/src/V1/CryptoKey.php +++ b/Kms/src/V1/CryptoKey.php @@ -22,7 +22,7 @@ class CryptoKey extends \Google\Protobuf\Internal\Message * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $name = ''; /** @@ -31,23 +31,23 @@ class CryptoKey extends \Google\Protobuf\Internal\Message * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name]. * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. - * All keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] - * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] have a + * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] + * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a * primary. For other keys, this field will be omitted. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion primary = 2; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion primary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $primary = null; /** - * The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. + * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose purpose = 3; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose purpose = 3 [(.google.api.field_behavior) = IMMUTABLE]; */ private $purpose = 0; /** * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 5; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $create_time = null; /** @@ -98,11 +98,11 @@ class CryptoKey extends \Google\Protobuf\Internal\Message * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name]. * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. - * All keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] - * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] have a + * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] + * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a * primary. For other keys, this field will be omitted. * @type int $purpose - * The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. + * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. * @type \Google\Protobuf\Timestamp $create_time * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created. * @type \Google\Protobuf\Timestamp $next_rotation_time @@ -118,7 +118,8 @@ class CryptoKey extends \Google\Protobuf\Internal\Message * automatic rotation. For other keys, this field must be omitted. * @type \Google\Protobuf\Duration $rotation_period * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service - * automatically rotates a key. Must be at least one day. + * automatically rotates a key. Must be at least 24 hours and at most + * 876,000 hours. * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set. * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support @@ -142,7 +143,7 @@ public function __construct($data = NULL) { * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getName() @@ -154,7 +155,7 @@ public function getName() * Output only. The resource name for this [CryptoKey][google.cloud.kms.v1.CryptoKey] in the format * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ @@ -172,11 +173,11 @@ public function setName($var) * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name]. * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. - * All keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] - * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] have a + * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] + * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a * primary. For other keys, this field will be omitted. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion primary = 2; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion primary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Kms\V1\CryptoKeyVersion */ public function getPrimary() @@ -190,11 +191,11 @@ public function getPrimary() * in [EncryptRequest.name][google.cloud.kms.v1.EncryptRequest.name]. * The [CryptoKey][google.cloud.kms.v1.CryptoKey]'s primary version can be updated via * [UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. - * All keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] - * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] have a + * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] + * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] may have a * primary. For other keys, this field will be omitted. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion primary = 2; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion primary = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Kms\V1\CryptoKeyVersion $var * @return $this */ @@ -207,9 +208,9 @@ public function setPrimary($var) } /** - * The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. + * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose purpose = 3; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose purpose = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return int */ public function getPurpose() @@ -218,9 +219,9 @@ public function getPurpose() } /** - * The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. + * Immutable. The immutable purpose of this [CryptoKey][google.cloud.kms.v1.CryptoKey]. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose purpose = 3; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose purpose = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @param int $var * @return $this */ @@ -235,7 +236,7 @@ public function setPurpose($var) /** * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 5; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp */ public function getCreateTime() @@ -246,7 +247,7 @@ public function getCreateTime() /** * Output only. The time at which this [CryptoKey][google.cloud.kms.v1.CryptoKey] was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 5; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -304,7 +305,8 @@ public function setNextRotationTime($var) /** * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service - * automatically rotates a key. Must be at least one day. + * automatically rotates a key. Must be at least 24 hours and at most + * 876,000 hours. * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set. * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support @@ -320,7 +322,8 @@ public function getRotationPeriod() /** * [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] will be advanced by this period when the service - * automatically rotates a key. Must be at least one day. + * automatically rotates a key. Must be at least 24 hours and at most + * 876,000 hours. * If [rotation_period][google.cloud.kms.v1.CryptoKey.rotation_period] is set, [next_rotation_time][google.cloud.kms.v1.CryptoKey.next_rotation_time] must also be set. * Keys with [purpose][google.cloud.kms.v1.CryptoKey.purpose] * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT] support diff --git a/Kms/src/V1/CryptoKeyVersion.php b/Kms/src/V1/CryptoKeyVersion.php index 9e4a41e201ac..de47452acf99 100644 --- a/Kms/src/V1/CryptoKeyVersion.php +++ b/Kms/src/V1/CryptoKeyVersion.php @@ -26,7 +26,7 @@ class CryptoKeyVersion extends \Google\Protobuf\Internal\Message * Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $name = ''; /** @@ -39,14 +39,14 @@ class CryptoKeyVersion extends \Google\Protobuf\Internal\Message * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are * performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. * - * Generated from protobuf field .google.cloud.kms.v1.ProtectionLevel protection_level = 7; + * Generated from protobuf field .google.cloud.kms.v1.ProtectionLevel protection_level = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $protection_level = 0; /** * Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 10; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $algorithm = 0; /** @@ -55,20 +55,20 @@ class CryptoKeyVersion extends \Google\Protobuf\Internal\Message * on the HSM, independently of Google. Only provided for key versions with * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * - * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation attestation = 8; + * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $attestation = null; /** * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $create_time = null; /** * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was * generated. * - * Generated from protobuf field .google.protobuf.Timestamp generate_time = 11; + * Generated from protobuf field .google.protobuf.Timestamp generate_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $generate_time = null; /** @@ -76,7 +76,7 @@ class CryptoKeyVersion extends \Google\Protobuf\Internal\Message * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED]. * - * Generated from protobuf field .google.protobuf.Timestamp destroy_time = 5; + * Generated from protobuf field .google.protobuf.Timestamp destroy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $destroy_time = null; /** @@ -84,7 +84,7 @@ class CryptoKeyVersion extends \Google\Protobuf\Internal\Message * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. * - * Generated from protobuf field .google.protobuf.Timestamp destroy_event_time = 6; + * Generated from protobuf field .google.protobuf.Timestamp destroy_event_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $destroy_event_time = null; /** @@ -92,14 +92,14 @@ class CryptoKeyVersion extends \Google\Protobuf\Internal\Message * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was * imported. * - * Generated from protobuf field string import_job = 14; + * Generated from protobuf field string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $import_job = ''; /** * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material * was imported. * - * Generated from protobuf field .google.protobuf.Timestamp import_time = 15; + * Generated from protobuf field .google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $import_time = null; /** @@ -107,7 +107,7 @@ class CryptoKeyVersion extends \Google\Protobuf\Internal\Message * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]. * - * Generated from protobuf field string import_failure_reason = 16; + * Generated from protobuf field string import_failure_reason = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $import_failure_reason = ''; @@ -168,7 +168,7 @@ public function __construct($data = NULL) { * Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getName() @@ -180,7 +180,7 @@ public function getName() * Output only. The resource name for this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in the format * `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ @@ -222,7 +222,7 @@ public function setState($var) * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are * performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. * - * Generated from protobuf field .google.cloud.kms.v1.ProtectionLevel protection_level = 7; + * Generated from protobuf field .google.cloud.kms.v1.ProtectionLevel protection_level = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int */ public function getProtectionLevel() @@ -234,7 +234,7 @@ public function getProtectionLevel() * Output only. The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] describing how crypto operations are * performed with this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. * - * Generated from protobuf field .google.cloud.kms.v1.ProtectionLevel protection_level = 7; + * Generated from protobuf field .google.cloud.kms.v1.ProtectionLevel protection_level = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var * @return $this */ @@ -250,7 +250,7 @@ public function setProtectionLevel($var) * Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 10; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int */ public function getAlgorithm() @@ -262,7 +262,7 @@ public function getAlgorithm() * Output only. The [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] that this * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] supports. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 10; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var * @return $this */ @@ -280,7 +280,7 @@ public function setAlgorithm($var) * on the HSM, independently of Google. Only provided for key versions with * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * - * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation attestation = 8; + * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Kms\V1\KeyOperationAttestation */ public function getAttestation() @@ -294,7 +294,7 @@ public function getAttestation() * on the HSM, independently of Google. Only provided for key versions with * [protection_level][google.cloud.kms.v1.CryptoKeyVersion.protection_level] [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * - * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation attestation = 8; + * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Kms\V1\KeyOperationAttestation $var * @return $this */ @@ -309,7 +309,7 @@ public function setAttestation($var) /** * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp */ public function getCreateTime() @@ -320,7 +320,7 @@ public function getCreateTime() /** * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -336,7 +336,7 @@ public function setCreateTime($var) * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was * generated. * - * Generated from protobuf field .google.protobuf.Timestamp generate_time = 11; + * Generated from protobuf field .google.protobuf.Timestamp generate_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp */ public function getGenerateTime() @@ -348,7 +348,7 @@ public function getGenerateTime() * Output only. The time this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material was * generated. * - * Generated from protobuf field .google.protobuf.Timestamp generate_time = 11; + * Generated from protobuf field .google.protobuf.Timestamp generate_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -365,7 +365,7 @@ public function setGenerateTime($var) * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED]. * - * Generated from protobuf field .google.protobuf.Timestamp destroy_time = 5; + * Generated from protobuf field .google.protobuf.Timestamp destroy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp */ public function getDestroyTime() @@ -378,7 +378,7 @@ public function getDestroyTime() * for destruction. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is * [DESTROY_SCHEDULED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED]. * - * Generated from protobuf field .google.protobuf.Timestamp destroy_time = 5; + * Generated from protobuf field .google.protobuf.Timestamp destroy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -395,7 +395,7 @@ public function setDestroyTime($var) * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. * - * Generated from protobuf field .google.protobuf.Timestamp destroy_event_time = 6; + * Generated from protobuf field .google.protobuf.Timestamp destroy_event_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp */ public function getDestroyEventTime() @@ -408,7 +408,7 @@ public function getDestroyEventTime() * destroyed. Only present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is * [DESTROYED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED]. * - * Generated from protobuf field .google.protobuf.Timestamp destroy_event_time = 6; + * Generated from protobuf field .google.protobuf.Timestamp destroy_event_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -425,7 +425,7 @@ public function setDestroyEventTime($var) * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was * imported. * - * Generated from protobuf field string import_job = 14; + * Generated from protobuf field string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getImportJob() @@ -438,7 +438,7 @@ public function getImportJob() * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Only present if the underlying key material was * imported. * - * Generated from protobuf field string import_job = 14; + * Generated from protobuf field string import_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ @@ -454,7 +454,7 @@ public function setImportJob($var) * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material * was imported. * - * Generated from protobuf field .google.protobuf.Timestamp import_time = 15; + * Generated from protobuf field .google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp */ public function getImportTime() @@ -466,7 +466,7 @@ public function getImportTime() * Output only. The time at which this [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]'s key material * was imported. * - * Generated from protobuf field .google.protobuf.Timestamp import_time = 15; + * Generated from protobuf field .google.protobuf.Timestamp import_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -483,7 +483,7 @@ public function setImportTime($var) * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]. * - * Generated from protobuf field string import_failure_reason = 16; + * Generated from protobuf field string import_failure_reason = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getImportFailureReason() @@ -496,7 +496,7 @@ public function getImportFailureReason() * [state][google.cloud.kms.v1.CryptoKeyVersion.state] is * [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]. * - * Generated from protobuf field string import_failure_reason = 16; + * Generated from protobuf field string import_failure_reason = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ diff --git a/Kms/src/V1/CryptoKeyVersionTemplate.php b/Kms/src/V1/CryptoKeyVersionTemplate.php index e17b8892a35f..d288a81d321c 100644 --- a/Kms/src/V1/CryptoKeyVersionTemplate.php +++ b/Kms/src/V1/CryptoKeyVersionTemplate.php @@ -32,7 +32,7 @@ class CryptoKeyVersionTemplate extends \Google\Protobuf\Internal\Message * this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 3; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 3 [(.google.api.field_behavior) = REQUIRED]; */ private $algorithm = 0; @@ -93,7 +93,7 @@ public function setProtectionLevel($var) * this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 3; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 3 [(.google.api.field_behavior) = REQUIRED]; * @return int */ public function getAlgorithm() @@ -108,7 +108,7 @@ public function getAlgorithm() * this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is * [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 3; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 3 [(.google.api.field_behavior) = REQUIRED]; * @param int $var * @return $this */ diff --git a/Kms/src/V1/DecryptRequest.php b/Kms/src/V1/DecryptRequest.php index d3caf54f7139..e9aa53d1d8e1 100644 --- a/Kms/src/V1/DecryptRequest.php +++ b/Kms/src/V1/DecryptRequest.php @@ -19,21 +19,21 @@ class DecryptRequest extends \Google\Protobuf\Internal\Message * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. * The server will choose the appropriate version. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; /** * Required. The encrypted data originally returned in * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. * - * Generated from protobuf field bytes ciphertext = 2; + * Generated from protobuf field bytes ciphertext = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $ciphertext = ''; /** - * Optional data that must match the data originally supplied in + * Optional. Optional data that must match the data originally supplied in * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. * - * Generated from protobuf field bytes additional_authenticated_data = 3; + * Generated from protobuf field bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private $additional_authenticated_data = ''; @@ -50,7 +50,7 @@ class DecryptRequest extends \Google\Protobuf\Internal\Message * Required. The encrypted data originally returned in * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. * @type string $additional_authenticated_data - * Optional data that must match the data originally supplied in + * Optional. Optional data that must match the data originally supplied in * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. * } */ @@ -63,7 +63,7 @@ public function __construct($data = NULL) { * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. * The server will choose the appropriate version. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() @@ -75,7 +75,7 @@ public function getName() * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to use for decryption. * The server will choose the appropriate version. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -91,7 +91,7 @@ public function setName($var) * Required. The encrypted data originally returned in * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. * - * Generated from protobuf field bytes ciphertext = 2; + * Generated from protobuf field bytes ciphertext = 2 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getCiphertext() @@ -103,7 +103,7 @@ public function getCiphertext() * Required. The encrypted data originally returned in * [EncryptResponse.ciphertext][google.cloud.kms.v1.EncryptResponse.ciphertext]. * - * Generated from protobuf field bytes ciphertext = 2; + * Generated from protobuf field bytes ciphertext = 2 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ @@ -116,10 +116,10 @@ public function setCiphertext($var) } /** - * Optional data that must match the data originally supplied in + * Optional. Optional data that must match the data originally supplied in * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. * - * Generated from protobuf field bytes additional_authenticated_data = 3; + * Generated from protobuf field bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getAdditionalAuthenticatedData() @@ -128,10 +128,10 @@ public function getAdditionalAuthenticatedData() } /** - * Optional data that must match the data originally supplied in + * Optional. Optional data that must match the data originally supplied in * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. * - * Generated from protobuf field bytes additional_authenticated_data = 3; + * Generated from protobuf field bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/Kms/src/V1/DestroyCryptoKeyVersionRequest.php b/Kms/src/V1/DestroyCryptoKeyVersionRequest.php index 7a651102b01b..cbc8541c1f33 100644 --- a/Kms/src/V1/DestroyCryptoKeyVersionRequest.php +++ b/Kms/src/V1/DestroyCryptoKeyVersionRequest.php @@ -16,9 +16,9 @@ class DestroyCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message { /** - * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; @@ -29,7 +29,7 @@ class DestroyCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. * } */ public function __construct($data = NULL) { @@ -38,9 +38,9 @@ public function __construct($data = NULL) { } /** - * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() @@ -49,9 +49,9 @@ public function getName() } /** - * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ diff --git a/Kms/src/V1/EncryptRequest.php b/Kms/src/V1/EncryptRequest.php index 5dfdf18ceead..62432e4bb135 100644 --- a/Kms/src/V1/EncryptRequest.php +++ b/Kms/src/V1/EncryptRequest.php @@ -21,7 +21,7 @@ class EncryptRequest extends \Google\Protobuf\Internal\Message * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its * [primary version][google.cloud.kms.v1.CryptoKey.primary]. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; /** @@ -33,11 +33,11 @@ class EncryptRequest extends \Google\Protobuf\Internal\Message * plaintext and additional_authenticated_data fields must be no larger than * 8KiB. * - * Generated from protobuf field bytes plaintext = 2; + * Generated from protobuf field bytes plaintext = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $plaintext = ''; /** - * Optional data that, if specified, must also be provided during decryption + * Optional. Optional data that, if specified, must also be provided during decryption * through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. * The maximum size depends on the key version's * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For @@ -46,7 +46,7 @@ class EncryptRequest extends \Google\Protobuf\Internal\Message * plaintext and additional_authenticated_data fields must be no larger than * 8KiB. * - * Generated from protobuf field bytes additional_authenticated_data = 3; + * Generated from protobuf field bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private $additional_authenticated_data = ''; @@ -70,7 +70,7 @@ class EncryptRequest extends \Google\Protobuf\Internal\Message * plaintext and additional_authenticated_data fields must be no larger than * 8KiB. * @type string $additional_authenticated_data - * Optional data that, if specified, must also be provided during decryption + * Optional. Optional data that, if specified, must also be provided during decryption * through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. * The maximum size depends on the key version's * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For @@ -91,7 +91,7 @@ public function __construct($data = NULL) { * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its * [primary version][google.cloud.kms.v1.CryptoKey.primary]. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() @@ -105,7 +105,7 @@ public function getName() * If a [CryptoKey][google.cloud.kms.v1.CryptoKey] is specified, the server will use its * [primary version][google.cloud.kms.v1.CryptoKey.primary]. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -126,7 +126,7 @@ public function setName($var) * plaintext and additional_authenticated_data fields must be no larger than * 8KiB. * - * Generated from protobuf field bytes plaintext = 2; + * Generated from protobuf field bytes plaintext = 2 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getPlaintext() @@ -143,7 +143,7 @@ public function getPlaintext() * plaintext and additional_authenticated_data fields must be no larger than * 8KiB. * - * Generated from protobuf field bytes plaintext = 2; + * Generated from protobuf field bytes plaintext = 2 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ @@ -156,7 +156,7 @@ public function setPlaintext($var) } /** - * Optional data that, if specified, must also be provided during decryption + * Optional. Optional data that, if specified, must also be provided during decryption * through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. * The maximum size depends on the key version's * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For @@ -165,7 +165,7 @@ public function setPlaintext($var) * plaintext and additional_authenticated_data fields must be no larger than * 8KiB. * - * Generated from protobuf field bytes additional_authenticated_data = 3; + * Generated from protobuf field bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getAdditionalAuthenticatedData() @@ -174,7 +174,7 @@ public function getAdditionalAuthenticatedData() } /** - * Optional data that, if specified, must also be provided during decryption + * Optional. Optional data that, if specified, must also be provided during decryption * through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. * The maximum size depends on the key version's * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. For @@ -183,7 +183,7 @@ public function getAdditionalAuthenticatedData() * plaintext and additional_authenticated_data fields must be no larger than * 8KiB. * - * Generated from protobuf field bytes additional_authenticated_data = 3; + * Generated from protobuf field bytes additional_authenticated_data = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/Kms/src/V1/EncryptResponse.php b/Kms/src/V1/EncryptResponse.php index 1f32fae72eb7..c68682ab8d69 100644 --- a/Kms/src/V1/EncryptResponse.php +++ b/Kms/src/V1/EncryptResponse.php @@ -16,7 +16,8 @@ class EncryptResponse extends \Google\Protobuf\Internal\Message { /** - * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. + * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check + * this field to verify that the intended resource was used for encryption. * * Generated from protobuf field string name = 1; */ @@ -35,7 +36,8 @@ class EncryptResponse extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. + * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check + * this field to verify that the intended resource was used for encryption. * @type string $ciphertext * The encrypted data. * } @@ -46,7 +48,8 @@ public function __construct($data = NULL) { } /** - * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. + * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check + * this field to verify that the intended resource was used for encryption. * * Generated from protobuf field string name = 1; * @return string @@ -57,7 +60,8 @@ public function getName() } /** - * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. + * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in encryption. Check + * this field to verify that the intended resource was used for encryption. * * Generated from protobuf field string name = 1; * @param string $var diff --git a/Kms/src/V1/Gapic/KeyManagementServiceGapicClient.php b/Kms/src/V1/Gapic/KeyManagementServiceGapicClient.php index ed62792bba0a..99bcdf2fefc4 100644 --- a/Kms/src/V1/Gapic/KeyManagementServiceGapicClient.php +++ b/Kms/src/V1/Gapic/KeyManagementServiceGapicClient.php @@ -91,6 +91,7 @@ * * [KeyRing][google.cloud.kms.v1.KeyRing] * * [CryptoKey][google.cloud.kms.v1.CryptoKey] * * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + * * [ImportJob][google.cloud.kms.v1.ImportJob] * * If you are using manual gRPC libraries, see * [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc). @@ -537,10 +538,15 @@ public function __construct(array $options = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type string $filter - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type string $orderBy * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -629,10 +635,15 @@ public function listKeyRings($parent, array $optionalArgs = []) * of values will be returned. Any page token used here must have * been generated by a previous call to the API. * @type string $filter - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type string $orderBy * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -724,10 +735,15 @@ public function listImportJobs($parent, array $optionalArgs = []) * The fields of the primary version to include in the response. * For allowed values, use constants defined on {@see \Google\Cloud\Kms\V1\CryptoKeyVersion\CryptoKeyVersionView} * @type string $filter - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type string $orderBy * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -822,10 +838,15 @@ public function listCryptoKeys($parent, array $optionalArgs = []) * The fields to include in the response. * For allowed values, use constants defined on {@see \Google\Cloud\Kms\V1\CryptoKeyVersion\CryptoKeyVersionView} * @type string $filter - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type string $orderBy * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a * {@see Google\ApiCore\RetrySettings} object, or an associative array @@ -887,7 +908,7 @@ public function listCryptoKeyVersions($parent, array $optionalArgs = []) * } * ``` * - * @param string $name The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + * @param string $name Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. * @param array $optionalArgs { * Optional. * @@ -937,7 +958,7 @@ public function getKeyRing($name, array $optionalArgs = []) * } * ``` * - * @param string $name The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + * @param string $name Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. * @param array $optionalArgs { * Optional. * @@ -988,7 +1009,7 @@ public function getImportJob($name, array $optionalArgs = []) * } * ``` * - * @param string $name The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + * @param string $name Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. * @param array $optionalArgs { * Optional. * @@ -1038,7 +1059,7 @@ public function getCryptoKey($name, array $optionalArgs = []) * } * ``` * - * @param string $name The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + * @param string $name Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. * @param array $optionalArgs { * Optional. * @@ -1094,7 +1115,7 @@ public function getCryptoKeyVersion($name, array $optionalArgs = []) * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. * @param string $keyRingId Required. It must be unique within a location and match the regular * expression `[a-zA-Z0-9_-]{1,63}` - * @param KeyRing $keyRing A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. + * @param KeyRing $keyRing Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values. * @param array $optionalArgs { * Optional. * @@ -1230,7 +1251,7 @@ public function createImportJob($parent, $importJobId, $importJob, array $option * [CryptoKeys][google.cloud.kms.v1.CryptoKey]. * @param string $cryptoKeyId Required. It must be unique within a KeyRing and match the regular * expression `[a-zA-Z0-9_-]{1,63}` - * @param CryptoKey $cryptoKey A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. + * @param CryptoKey $cryptoKey Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values. * @param array $optionalArgs { * Optional. * @@ -1298,7 +1319,7 @@ public function createCryptoKey($parent, $cryptoKeyId, $cryptoKey, array $option * * @param string $parent Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with * the [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. - * @param CryptoKeyVersion $cryptoKeyVersion A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. + * @param CryptoKeyVersion $cryptoKeyVersion Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial field values. * @param array $optionalArgs { * Optional. * @@ -1384,6 +1405,11 @@ public function createCryptoKeyVersion($parent, $cryptoKeyVersion, array $option * * * + * If importing symmetric key material, it is expected that the unwrapped + * key contains plain bytes. If importing asymmetric key material, it is + * expected that the unwrapped key is in PKCS#8-encoded DER format (the + * PrivateKeyInfo structure from RFC 5208). + * * This format is the same as the format produced by PKCS#11 mechanism * CKM_RSA_AES_KEY_WRAP. * @type RetrySettings|array $retrySettings @@ -1438,8 +1464,8 @@ public function importCryptoKeyVersion($parent, $algorithm, $importJob, array $o * } * ``` * - * @param CryptoKey $cryptoKey [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values. - * @param FieldMask $updateMask Required list of fields to be updated in this request. + * @param CryptoKey $cryptoKey Required. [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values. + * @param FieldMask $updateMask Required. List of fields to be updated in this request. * @param array $optionalArgs { * Optional. * @@ -1497,8 +1523,8 @@ public function updateCryptoKey($cryptoKey, $updateMask, array $optionalArgs = [ * } * ``` * - * @param CryptoKeyVersion $cryptoKeyVersion [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. - * @param FieldMask $updateMask Required list of fields to be updated in this request. + * @param CryptoKeyVersion $cryptoKeyVersion Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. + * @param FieldMask $updateMask Required. List of fields to be updated in this request. * @param array $optionalArgs { * Optional. * @@ -1569,7 +1595,7 @@ public function updateCryptoKeyVersion($cryptoKeyVersion, $updateMask, array $op * Optional. * * @type string $additionalAuthenticatedData - * Optional data that, if specified, must also be provided during decryption + * Optional. Optional data that, if specified, must also be provided during decryption * through [DecryptRequest.additional_authenticated_data][google.cloud.kms.v1.DecryptRequest.additional_authenticated_data]. * * The maximum size depends on the key version's @@ -1638,7 +1664,7 @@ public function encrypt($name, $plaintext, array $optionalArgs = []) * Optional. * * @type string $additionalAuthenticatedData - * Optional data that must match the data originally supplied in + * Optional. Optional data that must match the data originally supplied in * [EncryptRequest.additional_authenticated_data][google.cloud.kms.v1.EncryptRequest.additional_authenticated_data]. * @type RetrySettings|array $retrySettings * Retry settings to use for this call. Can be a @@ -1693,8 +1719,8 @@ public function decrypt($name, $ciphertext, array $optionalArgs = []) * } * ``` * - * @param string $name The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. - * @param string $cryptoKeyVersionId The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + * @param string $name Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + * @param string $cryptoKeyVersionId Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. * @param array $optionalArgs { * Optional. * @@ -1756,7 +1782,7 @@ public function updateCryptoKeyPrimaryVersion($name, $cryptoKeyVersionId, array * } * ``` * - * @param string $name The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. + * @param string $name Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy. * @param array $optionalArgs { * Optional. * @@ -1812,7 +1838,7 @@ public function destroyCryptoKeyVersion($name, array $optionalArgs = []) * } * ``` * - * @param string $name The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + * @param string $name Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. * @param array $optionalArgs { * Optional. * @@ -1865,7 +1891,7 @@ public function restoreCryptoKeyVersion($name, array $optionalArgs = []) * } * ``` * - * @param string $name The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to + * @param string $name Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to * get. * @param array $optionalArgs { * Optional. @@ -2020,6 +2046,9 @@ public function asymmetricSign($name, $digest, array $optionalArgs = []) * Sets the access control policy on the specified resource. Replaces * any existing policy. * + * Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and + * PERMISSION_DENIED + * * Sample code: * ``` * $keyManagementServiceClient = new KeyManagementServiceClient(); diff --git a/Kms/src/V1/GetCryptoKeyRequest.php b/Kms/src/V1/GetCryptoKeyRequest.php index 34f76b73eb9e..ebcd775ea08b 100644 --- a/Kms/src/V1/GetCryptoKeyRequest.php +++ b/Kms/src/V1/GetCryptoKeyRequest.php @@ -16,9 +16,9 @@ class GetCryptoKeyRequest extends \Google\Protobuf\Internal\Message { /** - * The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; @@ -29,7 +29,7 @@ class GetCryptoKeyRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. * } */ public function __construct($data = NULL) { @@ -38,9 +38,9 @@ public function __construct($data = NULL) { } /** - * The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() @@ -49,9 +49,9 @@ public function getName() } /** - * The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. + * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ diff --git a/Kms/src/V1/GetCryptoKeyVersionRequest.php b/Kms/src/V1/GetCryptoKeyVersionRequest.php index 76c7d48fcf72..fb57ab633111 100644 --- a/Kms/src/V1/GetCryptoKeyVersionRequest.php +++ b/Kms/src/V1/GetCryptoKeyVersionRequest.php @@ -16,9 +16,9 @@ class GetCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message { /** - * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; @@ -29,7 +29,7 @@ class GetCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. * } */ public function __construct($data = NULL) { @@ -38,9 +38,9 @@ public function __construct($data = NULL) { } /** - * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() @@ -49,9 +49,9 @@ public function getName() } /** - * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. + * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ diff --git a/Kms/src/V1/GetImportJobRequest.php b/Kms/src/V1/GetImportJobRequest.php index 394a4f2b0ad7..9f37bf4ba0cf 100644 --- a/Kms/src/V1/GetImportJobRequest.php +++ b/Kms/src/V1/GetImportJobRequest.php @@ -16,9 +16,9 @@ class GetImportJobRequest extends \Google\Protobuf\Internal\Message { /** - * The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; @@ -29,7 +29,7 @@ class GetImportJobRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. * } */ public function __construct($data = NULL) { @@ -38,9 +38,9 @@ public function __construct($data = NULL) { } /** - * The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() @@ -49,9 +49,9 @@ public function getName() } /** - * The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. + * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] to get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ diff --git a/Kms/src/V1/GetKeyRingRequest.php b/Kms/src/V1/GetKeyRingRequest.php index 7374fee9a4c1..42dfeb991aa9 100644 --- a/Kms/src/V1/GetKeyRingRequest.php +++ b/Kms/src/V1/GetKeyRingRequest.php @@ -16,9 +16,9 @@ class GetKeyRingRequest extends \Google\Protobuf\Internal\Message { /** - * The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; @@ -29,7 +29,7 @@ class GetKeyRingRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. * } */ public function __construct($data = NULL) { @@ -38,9 +38,9 @@ public function __construct($data = NULL) { } /** - * The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() @@ -49,9 +49,9 @@ public function getName() } /** - * The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. + * Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] to get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ diff --git a/Kms/src/V1/GetPublicKeyRequest.php b/Kms/src/V1/GetPublicKeyRequest.php index 4c5859554d22..738a7eb84009 100644 --- a/Kms/src/V1/GetPublicKeyRequest.php +++ b/Kms/src/V1/GetPublicKeyRequest.php @@ -16,10 +16,10 @@ class GetPublicKeyRequest extends \Google\Protobuf\Internal\Message { /** - * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to + * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to * get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; @@ -30,7 +30,7 @@ class GetPublicKeyRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to + * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to * get. * } */ @@ -40,10 +40,10 @@ public function __construct($data = NULL) { } /** - * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to + * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to * get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() @@ -52,10 +52,10 @@ public function getName() } /** - * The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to + * Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to * get. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ diff --git a/Kms/src/V1/ImportCryptoKeyVersionRequest.php b/Kms/src/V1/ImportCryptoKeyVersionRequest.php index 4992e5f6c690..452094740e86 100644 --- a/Kms/src/V1/ImportCryptoKeyVersionRequest.php +++ b/Kms/src/V1/ImportCryptoKeyVersionRequest.php @@ -19,7 +19,7 @@ class ImportCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to * be imported into. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** @@ -28,14 +28,14 @@ class ImportCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this * version imports into. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $algorithm = 0; /** * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to * wrap this key material. * - * Generated from protobuf field string import_job = 4; + * Generated from protobuf field string import_job = 4 [(.google.api.field_behavior) = REQUIRED]; */ private $import_job = ''; protected $wrapped_key_material; @@ -72,6 +72,10 @@ class ImportCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message * using AES-KWP (RFC 5649). * * + * If importing symmetric key material, it is expected that the unwrapped + * key contains plain bytes. If importing asymmetric key material, it is + * expected that the unwrapped key is in PKCS#8-encoded DER format (the + * PrivateKeyInfo structure from RFC 5208). * This format is the same as the format produced by PKCS#11 mechanism * CKM_RSA_AES_KEY_WRAP. * } @@ -85,7 +89,7 @@ public function __construct($data = NULL) { * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to * be imported into. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getParent() @@ -97,7 +101,7 @@ public function getParent() * Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to * be imported into. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -115,7 +119,7 @@ public function setParent($var) * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this * version imports into. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2 [(.google.api.field_behavior) = REQUIRED]; * @return int */ public function getAlgorithm() @@ -129,7 +133,7 @@ public function getAlgorithm() * [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this * version imports into. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2 [(.google.api.field_behavior) = REQUIRED]; * @param int $var * @return $this */ @@ -145,7 +149,7 @@ public function setAlgorithm($var) * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to * wrap this key material. * - * Generated from protobuf field string import_job = 4; + * Generated from protobuf field string import_job = 4 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getImportJob() @@ -157,7 +161,7 @@ public function getImportJob() * Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to * wrap this key material. * - * Generated from protobuf field string import_job = 4; + * Generated from protobuf field string import_job = 4 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ @@ -184,6 +188,10 @@ public function setImportJob($var) * using AES-KWP (RFC 5649). * * + * If importing symmetric key material, it is expected that the unwrapped + * key contains plain bytes. If importing asymmetric key material, it is + * expected that the unwrapped key is in PKCS#8-encoded DER format (the + * PrivateKeyInfo structure from RFC 5208). * This format is the same as the format produced by PKCS#11 mechanism * CKM_RSA_AES_KEY_WRAP. * @@ -210,6 +218,10 @@ public function getRsaAesWrappedKey() * using AES-KWP (RFC 5649). * * + * If importing symmetric key material, it is expected that the unwrapped + * key contains plain bytes. If importing asymmetric key material, it is + * expected that the unwrapped key is in PKCS#8-encoded DER format (the + * PrivateKeyInfo structure from RFC 5208). * This format is the same as the format produced by PKCS#11 mechanism * CKM_RSA_AES_KEY_WRAP. * diff --git a/Kms/src/V1/ImportJob.php b/Kms/src/V1/ImportJob.php index df7ca107bafe..a4a2e6b66f64 100644 --- a/Kms/src/V1/ImportJob.php +++ b/Kms/src/V1/ImportJob.php @@ -41,57 +41,55 @@ class ImportJob extends \Google\Protobuf\Internal\Message * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format * `projects/*/locations/*/keyRings/*/importJobs/*`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $name = ''; /** - * Required and immutable. The wrapping method to be used for incoming - * key material. + * Required. Immutable. The wrapping method to be used for incoming key material. * - * Generated from protobuf field .google.cloud.kms.v1.ImportJob.ImportMethod import_method = 2; + * Generated from protobuf field .google.cloud.kms.v1.ImportJob.ImportMethod import_method = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ private $import_method = 0; /** - * Required and immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This - * must match the + * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you * attempt to import into. * - * Generated from protobuf field .google.cloud.kms.v1.ProtectionLevel protection_level = 9; + * Generated from protobuf field .google.cloud.kms.v1.ProtectionLevel protection_level = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; */ private $protection_level = 0; /** * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $create_time = null; /** * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated. * - * Generated from protobuf field .google.protobuf.Timestamp generate_time = 4; + * Generated from protobuf field .google.protobuf.Timestamp generate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $generate_time = null; /** * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for * expiration and can no longer be used to import key material. * - * Generated from protobuf field .google.protobuf.Timestamp expire_time = 5; + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $expire_time = null; /** * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED]. * - * Generated from protobuf field .google.protobuf.Timestamp expire_event_time = 10; + * Generated from protobuf field .google.protobuf.Timestamp expire_event_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $expire_event_time = null; /** * Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can * be used. * - * Generated from protobuf field .google.cloud.kms.v1.ImportJob.ImportJobState state = 6; + * Generated from protobuf field .google.cloud.kms.v1.ImportJob.ImportJobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $state = 0; /** @@ -99,7 +97,7 @@ class ImportJob extends \Google\Protobuf\Internal\Message * import. Only returned if [state][google.cloud.kms.v1.ImportJob.state] is * [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE]. * - * Generated from protobuf field .google.cloud.kms.v1.ImportJob.WrappingPublicKey public_key = 7; + * Generated from protobuf field .google.cloud.kms.v1.ImportJob.WrappingPublicKey public_key = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $public_key = null; /** @@ -109,7 +107,7 @@ class ImportJob extends \Google\Protobuf\Internal\Message * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * - * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation attestation = 8; + * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $attestation = null; @@ -123,11 +121,9 @@ class ImportJob extends \Google\Protobuf\Internal\Message * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format * `projects/*/locations/*/keyRings/*/importJobs/*`. * @type int $import_method - * Required and immutable. The wrapping method to be used for incoming - * key material. + * Required. Immutable. The wrapping method to be used for incoming key material. * @type int $protection_level - * Required and immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This - * must match the + * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you * attempt to import into. @@ -165,7 +161,7 @@ public function __construct($data = NULL) { * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format * `projects/*/locations/*/keyRings/*/importJobs/*`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getName() @@ -177,7 +173,7 @@ public function getName() * Output only. The resource name for this [ImportJob][google.cloud.kms.v1.ImportJob] in the format * `projects/*/locations/*/keyRings/*/importJobs/*`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ @@ -190,10 +186,9 @@ public function setName($var) } /** - * Required and immutable. The wrapping method to be used for incoming - * key material. + * Required. Immutable. The wrapping method to be used for incoming key material. * - * Generated from protobuf field .google.cloud.kms.v1.ImportJob.ImportMethod import_method = 2; + * Generated from protobuf field .google.cloud.kms.v1.ImportJob.ImportMethod import_method = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return int */ public function getImportMethod() @@ -202,10 +197,9 @@ public function getImportMethod() } /** - * Required and immutable. The wrapping method to be used for incoming - * key material. + * Required. Immutable. The wrapping method to be used for incoming key material. * - * Generated from protobuf field .google.cloud.kms.v1.ImportJob.ImportMethod import_method = 2; + * Generated from protobuf field .google.cloud.kms.v1.ImportJob.ImportMethod import_method = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param int $var * @return $this */ @@ -218,13 +212,12 @@ public function setImportMethod($var) } /** - * Required and immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This - * must match the + * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you * attempt to import into. * - * Generated from protobuf field .google.cloud.kms.v1.ProtectionLevel protection_level = 9; + * Generated from protobuf field .google.cloud.kms.v1.ProtectionLevel protection_level = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @return int */ public function getProtectionLevel() @@ -233,13 +226,12 @@ public function getProtectionLevel() } /** - * Required and immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This - * must match the + * Required. Immutable. The protection level of the [ImportJob][google.cloud.kms.v1.ImportJob]. This must match the * [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level] of the * [version_template][google.cloud.kms.v1.CryptoKey.version_template] on the [CryptoKey][google.cloud.kms.v1.CryptoKey] you * attempt to import into. * - * Generated from protobuf field .google.cloud.kms.v1.ProtectionLevel protection_level = 9; + * Generated from protobuf field .google.cloud.kms.v1.ProtectionLevel protection_level = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; * @param int $var * @return $this */ @@ -254,7 +246,7 @@ public function setProtectionLevel($var) /** * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp */ public function getCreateTime() @@ -265,7 +257,7 @@ public function getCreateTime() /** * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -280,7 +272,7 @@ public function setCreateTime($var) /** * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated. * - * Generated from protobuf field .google.protobuf.Timestamp generate_time = 4; + * Generated from protobuf field .google.protobuf.Timestamp generate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp */ public function getGenerateTime() @@ -291,7 +283,7 @@ public function getGenerateTime() /** * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob]'s key material was generated. * - * Generated from protobuf field .google.protobuf.Timestamp generate_time = 4; + * Generated from protobuf field .google.protobuf.Timestamp generate_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -307,7 +299,7 @@ public function setGenerateTime($var) * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for * expiration and can no longer be used to import key material. * - * Generated from protobuf field .google.protobuf.Timestamp expire_time = 5; + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp */ public function getExpireTime() @@ -319,7 +311,7 @@ public function getExpireTime() * Output only. The time at which this [ImportJob][google.cloud.kms.v1.ImportJob] is scheduled for * expiration and can no longer be used to import key material. * - * Generated from protobuf field .google.protobuf.Timestamp expire_time = 5; + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -335,7 +327,7 @@ public function setExpireTime($var) * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED]. * - * Generated from protobuf field .google.protobuf.Timestamp expire_event_time = 10; + * Generated from protobuf field .google.protobuf.Timestamp expire_event_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp */ public function getExpireEventTime() @@ -347,7 +339,7 @@ public function getExpireEventTime() * Output only. The time this [ImportJob][google.cloud.kms.v1.ImportJob] expired. Only present if * [state][google.cloud.kms.v1.ImportJob.state] is [EXPIRED][google.cloud.kms.v1.ImportJob.ImportJobState.EXPIRED]. * - * Generated from protobuf field .google.protobuf.Timestamp expire_event_time = 10; + * Generated from protobuf field .google.protobuf.Timestamp expire_event_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -363,7 +355,7 @@ public function setExpireEventTime($var) * Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can * be used. * - * Generated from protobuf field .google.cloud.kms.v1.ImportJob.ImportJobState state = 6; + * Generated from protobuf field .google.cloud.kms.v1.ImportJob.ImportJobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int */ public function getState() @@ -375,7 +367,7 @@ public function getState() * Output only. The current state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if it can * be used. * - * Generated from protobuf field .google.cloud.kms.v1.ImportJob.ImportJobState state = 6; + * Generated from protobuf field .google.cloud.kms.v1.ImportJob.ImportJobState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var * @return $this */ @@ -392,7 +384,7 @@ public function setState($var) * import. Only returned if [state][google.cloud.kms.v1.ImportJob.state] is * [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE]. * - * Generated from protobuf field .google.cloud.kms.v1.ImportJob.WrappingPublicKey public_key = 7; + * Generated from protobuf field .google.cloud.kms.v1.ImportJob.WrappingPublicKey public_key = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Kms\V1\ImportJob\WrappingPublicKey */ public function getPublicKey() @@ -405,7 +397,7 @@ public function getPublicKey() * import. Only returned if [state][google.cloud.kms.v1.ImportJob.state] is * [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE]. * - * Generated from protobuf field .google.cloud.kms.v1.ImportJob.WrappingPublicKey public_key = 7; + * Generated from protobuf field .google.cloud.kms.v1.ImportJob.WrappingPublicKey public_key = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Kms\V1\ImportJob\WrappingPublicKey $var * @return $this */ @@ -424,7 +416,7 @@ public function setPublicKey($var) * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * - * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation attestation = 8; + * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Kms\V1\KeyOperationAttestation */ public function getAttestation() @@ -439,7 +431,7 @@ public function getAttestation() * Only present if the chosen [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] is one with a protection * level of [HSM][google.cloud.kms.v1.ProtectionLevel.HSM]. * - * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation attestation = 8; + * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation attestation = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Kms\V1\KeyOperationAttestation $var * @return $this */ diff --git a/Kms/src/V1/KeyManagementServiceGrpcClient.php b/Kms/src/V1/KeyManagementServiceGrpcClient.php index 3ab4f394b9de..2b5c60c63696 100644 --- a/Kms/src/V1/KeyManagementServiceGrpcClient.php +++ b/Kms/src/V1/KeyManagementServiceGrpcClient.php @@ -16,7 +16,6 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// namespace Google\Cloud\Kms\V1; /** @@ -28,6 +27,7 @@ * * [KeyRing][google.cloud.kms.v1.KeyRing] * * [CryptoKey][google.cloud.kms.v1.CryptoKey] * * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + * * [ImportJob][google.cloud.kms.v1.ImportJob] * * If you are using manual gRPC libraries, see * [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc). diff --git a/Kms/src/V1/KeyOperationAttestation.php b/Kms/src/V1/KeyOperationAttestation.php index 1e034b993423..427c8a53877a 100644 --- a/Kms/src/V1/KeyOperationAttestation.php +++ b/Kms/src/V1/KeyOperationAttestation.php @@ -20,14 +20,14 @@ class KeyOperationAttestation extends \Google\Protobuf\Internal\Message /** * Output only. The format of the attestation data. * - * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4; + * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $format = 0; /** * Output only. The attestation data provided by the HSM when the key * operation was performed. * - * Generated from protobuf field bytes content = 5; + * Generated from protobuf field bytes content = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $content = ''; @@ -52,7 +52,7 @@ public function __construct($data = NULL) { /** * Output only. The format of the attestation data. * - * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4; + * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int */ public function getFormat() @@ -63,7 +63,7 @@ public function getFormat() /** * Output only. The format of the attestation data. * - * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4; + * Generated from protobuf field .google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var * @return $this */ @@ -79,7 +79,7 @@ public function setFormat($var) * Output only. The attestation data provided by the HSM when the key * operation was performed. * - * Generated from protobuf field bytes content = 5; + * Generated from protobuf field bytes content = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getContent() @@ -91,7 +91,7 @@ public function getContent() * Output only. The attestation data provided by the HSM when the key * operation was performed. * - * Generated from protobuf field bytes content = 5; + * Generated from protobuf field bytes content = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ diff --git a/Kms/src/V1/KeyRing.php b/Kms/src/V1/KeyRing.php index a9619f7f0c01..b04a4f532bc6 100644 --- a/Kms/src/V1/KeyRing.php +++ b/Kms/src/V1/KeyRing.php @@ -19,13 +19,13 @@ class KeyRing extends \Google\Protobuf\Internal\Message * Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format * `projects/*/locations/*/keyRings/*`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $name = ''; /** * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $create_time = null; @@ -51,7 +51,7 @@ public function __construct($data = NULL) { * Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format * `projects/*/locations/*/keyRings/*`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getName() @@ -63,7 +63,7 @@ public function getName() * Output only. The resource name for the [KeyRing][google.cloud.kms.v1.KeyRing] in the format * `projects/*/locations/*/keyRings/*`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ @@ -78,7 +78,7 @@ public function setName($var) /** * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp */ public function getCreateTime() @@ -89,7 +89,7 @@ public function getCreateTime() /** * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing] was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ diff --git a/Kms/src/V1/ListCryptoKeyVersionsRequest.php b/Kms/src/V1/ListCryptoKeyVersionsRequest.php index 375daad593d7..921404e81a8f 100644 --- a/Kms/src/V1/ListCryptoKeyVersionsRequest.php +++ b/Kms/src/V1/ListCryptoKeyVersionsRequest.php @@ -19,24 +19,24 @@ class ListCryptoKeyVersionsRequest extends \Google\Protobuf\Internal\Message * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** - * Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to + * Optional. Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to * include in the response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can * subsequently be obtained by including the * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] in a subsequent request. * If unspecified, the server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private $page_size = 0; /** - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token]. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private $page_token = ''; /** @@ -46,16 +46,21 @@ class ListCryptoKeyVersionsRequest extends \Google\Protobuf\Internal\Message */ private $view = 0; /** - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string filter = 5; + * Generated from protobuf field string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private $filter = ''; /** * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string order_by = 6; + * Generated from protobuf field string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; */ private $order_by = ''; @@ -69,21 +74,26 @@ class ListCryptoKeyVersionsRequest extends \Google\Protobuf\Internal\Message * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. * @type int $page_size - * Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to + * Optional. Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to * include in the response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can * subsequently be obtained by including the * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] in a subsequent request. * If unspecified, the server will pick an appropriate default. * @type string $page_token - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token]. * @type int $view * The fields to include in the response. * @type string $filter - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type string $order_by * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * } */ public function __construct($data = NULL) { @@ -95,7 +105,7 @@ public function __construct($data = NULL) { * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getParent() @@ -107,7 +117,7 @@ public function getParent() * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to list, in the format * `projects/*/locations/*/keyRings/*/cryptoKeys/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -120,13 +130,13 @@ public function setParent($var) } /** - * Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to + * Optional. Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to * include in the response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can * subsequently be obtained by including the * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] in a subsequent request. * If unspecified, the server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -135,13 +145,13 @@ public function getPageSize() } /** - * Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to + * Optional. Optional limit on the number of [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] to * include in the response. Further [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can * subsequently be obtained by including the * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token] in a subsequent request. * If unspecified, the server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -154,10 +164,10 @@ public function setPageSize($var) } /** - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token]. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -166,10 +176,10 @@ public function getPageToken() } /** - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListCryptoKeyVersionsResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeyVersionsResponse.next_page_token]. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ @@ -208,9 +218,12 @@ public function setView($var) } /** - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string filter = 5; + * Generated from protobuf field string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getFilter() @@ -219,9 +232,12 @@ public function getFilter() } /** - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string filter = 5; + * Generated from protobuf field string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ @@ -235,9 +251,11 @@ public function setFilter($var) /** * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string order_by = 6; + * Generated from protobuf field string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getOrderBy() @@ -247,9 +265,11 @@ public function getOrderBy() /** * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string order_by = 6; + * Generated from protobuf field string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/Kms/src/V1/ListCryptoKeysRequest.php b/Kms/src/V1/ListCryptoKeysRequest.php index a4c59614dca6..4273308959fe 100644 --- a/Kms/src/V1/ListCryptoKeysRequest.php +++ b/Kms/src/V1/ListCryptoKeysRequest.php @@ -19,23 +19,23 @@ class ListCryptoKeysRequest extends \Google\Protobuf\Internal\Message * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format * `projects/*/locations/*/keyRings/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** - * Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the + * Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the * response. Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by * including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent * request. If unspecified, the server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private $page_size = 0; /** - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token]. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private $page_token = ''; /** @@ -45,16 +45,21 @@ class ListCryptoKeysRequest extends \Google\Protobuf\Internal\Message */ private $version_view = 0; /** - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string filter = 5; + * Generated from protobuf field string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private $filter = ''; /** * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string order_by = 6; + * Generated from protobuf field string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; */ private $order_by = ''; @@ -68,20 +73,25 @@ class ListCryptoKeysRequest extends \Google\Protobuf\Internal\Message * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format * `projects/*/locations/*/keyRings/*`. * @type int $page_size - * Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the + * Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the * response. Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by * including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent * request. If unspecified, the server will pick an appropriate default. * @type string $page_token - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token]. * @type int $version_view * The fields of the primary version to include in the response. * @type string $filter - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type string $order_by * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * } */ public function __construct($data = NULL) { @@ -93,7 +103,7 @@ public function __construct($data = NULL) { * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format * `projects/*/locations/*/keyRings/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getParent() @@ -105,7 +115,7 @@ public function getParent() * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format * `projects/*/locations/*/keyRings/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -118,12 +128,12 @@ public function setParent($var) } /** - * Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the + * Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the * response. Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by * including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent * request. If unspecified, the server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -132,12 +142,12 @@ public function getPageSize() } /** - * Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the + * Optional. Optional limit on the number of [CryptoKeys][google.cloud.kms.v1.CryptoKey] to include in the * response. Further [CryptoKeys][google.cloud.kms.v1.CryptoKey] can subsequently be obtained by * including the [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token] in a subsequent * request. If unspecified, the server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -150,10 +160,10 @@ public function setPageSize($var) } /** - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token]. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -162,10 +172,10 @@ public function getPageToken() } /** - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListCryptoKeysResponse.next_page_token][google.cloud.kms.v1.ListCryptoKeysResponse.next_page_token]. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ @@ -204,9 +214,12 @@ public function setVersionView($var) } /** - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string filter = 5; + * Generated from protobuf field string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getFilter() @@ -215,9 +228,12 @@ public function getFilter() } /** - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string filter = 5; + * Generated from protobuf field string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ @@ -231,9 +247,11 @@ public function setFilter($var) /** * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string order_by = 6; + * Generated from protobuf field string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getOrderBy() @@ -243,9 +261,11 @@ public function getOrderBy() /** * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string order_by = 6; + * Generated from protobuf field string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/Kms/src/V1/ListImportJobsRequest.php b/Kms/src/V1/ListImportJobsRequest.php index fc823f07a3a9..5d5006ea5e24 100644 --- a/Kms/src/V1/ListImportJobsRequest.php +++ b/Kms/src/V1/ListImportJobsRequest.php @@ -19,36 +19,41 @@ class ListImportJobsRequest extends \Google\Protobuf\Internal\Message * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format * `projects/*/locations/*/keyRings/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** - * Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the + * Optional. Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the * response. Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be obtained by * including the [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] in a subsequent * request. If unspecified, the server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private $page_size = 0; /** - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token]. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private $page_token = ''; /** - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string filter = 4; + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private $filter = ''; /** * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string order_by = 5; + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private $order_by = ''; @@ -62,18 +67,23 @@ class ListImportJobsRequest extends \Google\Protobuf\Internal\Message * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format * `projects/*/locations/*/keyRings/*`. * @type int $page_size - * Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the + * Optional. Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the * response. Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be obtained by * including the [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] in a subsequent * request. If unspecified, the server will pick an appropriate default. * @type string $page_token - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token]. * @type string $filter - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type string $order_by * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * } */ public function __construct($data = NULL) { @@ -85,7 +95,7 @@ public function __construct($data = NULL) { * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format * `projects/*/locations/*/keyRings/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getParent() @@ -97,7 +107,7 @@ public function getParent() * Required. The resource name of the [KeyRing][google.cloud.kms.v1.KeyRing] to list, in the format * `projects/*/locations/*/keyRings/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -110,12 +120,12 @@ public function setParent($var) } /** - * Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the + * Optional. Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the * response. Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be obtained by * including the [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] in a subsequent * request. If unspecified, the server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -124,12 +134,12 @@ public function getPageSize() } /** - * Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the + * Optional. Optional limit on the number of [ImportJobs][google.cloud.kms.v1.ImportJob] to include in the * response. Further [ImportJobs][google.cloud.kms.v1.ImportJob] can subsequently be obtained by * including the [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token] in a subsequent * request. If unspecified, the server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -142,10 +152,10 @@ public function setPageSize($var) } /** - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token]. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -154,10 +164,10 @@ public function getPageToken() } /** - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListImportJobsResponse.next_page_token][google.cloud.kms.v1.ListImportJobsResponse.next_page_token]. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ @@ -170,9 +180,12 @@ public function setPageToken($var) } /** - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string filter = 4; + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getFilter() @@ -181,9 +194,12 @@ public function getFilter() } /** - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string filter = 4; + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ @@ -197,9 +213,11 @@ public function setFilter($var) /** * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string order_by = 5; + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getOrderBy() @@ -209,9 +227,11 @@ public function getOrderBy() /** * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string order_by = 5; + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/Kms/src/V1/ListKeyRingsRequest.php b/Kms/src/V1/ListKeyRingsRequest.php index c7f9acb9b833..010d1bd8cb90 100644 --- a/Kms/src/V1/ListKeyRingsRequest.php +++ b/Kms/src/V1/ListKeyRingsRequest.php @@ -19,36 +19,41 @@ class ListKeyRingsRequest extends \Google\Protobuf\Internal\Message * Required. The resource name of the location associated with the * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** - * Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the + * Optional. Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the * response. Further [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by * including the [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] in a subsequent * request. If unspecified, the server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private $page_size = 0; /** - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token]. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ private $page_token = ''; /** - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string filter = 4; + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; */ private $filter = ''; /** * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string order_by = 5; + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; */ private $order_by = ''; @@ -62,18 +67,23 @@ class ListKeyRingsRequest extends \Google\Protobuf\Internal\Message * Required. The resource name of the location associated with the * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. * @type int $page_size - * Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the + * Optional. Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the * response. Further [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by * including the [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] in a subsequent * request. If unspecified, the server will pick an appropriate default. * @type string $page_token - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token]. * @type string $filter - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * @type string $order_by * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * } */ public function __construct($data = NULL) { @@ -85,7 +95,7 @@ public function __construct($data = NULL) { * Required. The resource name of the location associated with the * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getParent() @@ -97,7 +107,7 @@ public function getParent() * Required. The resource name of the location associated with the * [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/*/locations/*`. * - * Generated from protobuf field string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -110,12 +120,12 @@ public function setParent($var) } /** - * Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the + * Optional. Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the * response. Further [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by * including the [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] in a subsequent * request. If unspecified, the server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return int */ public function getPageSize() @@ -124,12 +134,12 @@ public function getPageSize() } /** - * Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the + * Optional. Optional limit on the number of [KeyRings][google.cloud.kms.v1.KeyRing] to include in the * response. Further [KeyRings][google.cloud.kms.v1.KeyRing] can subsequently be obtained by * including the [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token] in a subsequent * request. If unspecified, the server will pick an appropriate default. * - * Generated from protobuf field int32 page_size = 2; + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param int $var * @return $this */ @@ -142,10 +152,10 @@ public function setPageSize($var) } /** - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token]. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getPageToken() @@ -154,10 +164,10 @@ public function getPageToken() } /** - * Optional pagination token, returned earlier via + * Optional. Optional pagination token, returned earlier via * [ListKeyRingsResponse.next_page_token][google.cloud.kms.v1.ListKeyRingsResponse.next_page_token]. * - * Generated from protobuf field string page_token = 3; + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ @@ -170,9 +180,12 @@ public function setPageToken($var) } /** - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string filter = 4; + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getFilter() @@ -181,9 +194,12 @@ public function getFilter() } /** - * Optional. Only include resources that match the filter in the response. + * Optional. Only include resources that match the filter in the response. For + * more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string filter = 4; + * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ @@ -197,9 +213,11 @@ public function setFilter($var) /** * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string order_by = 5; + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; * @return string */ public function getOrderBy() @@ -209,9 +227,11 @@ public function getOrderBy() /** * Optional. Specify how the results should be sorted. If not specified, the - * results will be sorted in the default order. + * results will be sorted in the default order. For more information, see + * [Sorting and filtering list + * results](https://cloud.google.com/kms/docs/sorting-and-filtering). * - * Generated from protobuf field string order_by = 5; + * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var * @return $this */ diff --git a/Kms/src/V1/ProtectionLevel.php b/Kms/src/V1/ProtectionLevel.php index 553f93bf8551..44fa66ec0ccf 100644 --- a/Kms/src/V1/ProtectionLevel.php +++ b/Kms/src/V1/ProtectionLevel.php @@ -33,11 +33,18 @@ class ProtectionLevel * Generated from protobuf enum HSM = 2; */ const HSM = 2; + /** + * Crypto operations are performed by an external key manager. + * + * Generated from protobuf enum EXTERNAL = 3; + */ + const EXTERNAL = 3; private static $valueToName = [ self::PROTECTION_LEVEL_UNSPECIFIED => 'PROTECTION_LEVEL_UNSPECIFIED', self::SOFTWARE => 'SOFTWARE', self::HSM => 'HSM', + self::EXTERNAL => 'EXTERNAL', ]; public static function name($value) diff --git a/Kms/src/V1/RestoreCryptoKeyVersionRequest.php b/Kms/src/V1/RestoreCryptoKeyVersionRequest.php index 0f52336c85ae..dd9715707034 100644 --- a/Kms/src/V1/RestoreCryptoKeyVersionRequest.php +++ b/Kms/src/V1/RestoreCryptoKeyVersionRequest.php @@ -16,9 +16,9 @@ class RestoreCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message { /** - * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; @@ -29,7 +29,7 @@ class RestoreCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. * } */ public function __construct($data = NULL) { @@ -38,9 +38,9 @@ public function __construct($data = NULL) { } /** - * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() @@ -49,9 +49,9 @@ public function getName() } /** - * The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. + * Required. The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ diff --git a/Kms/src/V1/UpdateCryptoKeyPrimaryVersionRequest.php b/Kms/src/V1/UpdateCryptoKeyPrimaryVersionRequest.php index b21c2727f4ec..a756070a90bc 100644 --- a/Kms/src/V1/UpdateCryptoKeyPrimaryVersionRequest.php +++ b/Kms/src/V1/UpdateCryptoKeyPrimaryVersionRequest.php @@ -16,15 +16,15 @@ class UpdateCryptoKeyPrimaryVersionRequest extends \Google\Protobuf\Internal\Message { /** - * The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $name = ''; /** - * The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. * - * Generated from protobuf field string crypto_key_version_id = 2; + * Generated from protobuf field string crypto_key_version_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $crypto_key_version_id = ''; @@ -35,9 +35,9 @@ class UpdateCryptoKeyPrimaryVersionRequest extends \Google\Protobuf\Internal\Mes * Optional. Data for populating the Message object. * * @type string $name - * The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. * @type string $crypto_key_version_id - * The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. * } */ public function __construct($data = NULL) { @@ -46,9 +46,9 @@ public function __construct($data = NULL) { } /** - * The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return string */ public function getName() @@ -57,9 +57,9 @@ public function getName() } /** - * The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. + * Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param string $var * @return $this */ @@ -72,9 +72,9 @@ public function setName($var) } /** - * The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. * - * Generated from protobuf field string crypto_key_version_id = 2; + * Generated from protobuf field string crypto_key_version_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getCryptoKeyVersionId() @@ -83,9 +83,9 @@ public function getCryptoKeyVersionId() } /** - * The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. + * Required. The id of the child [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary. * - * Generated from protobuf field string crypto_key_version_id = 2; + * Generated from protobuf field string crypto_key_version_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ diff --git a/Kms/src/V1/UpdateCryptoKeyRequest.php b/Kms/src/V1/UpdateCryptoKeyRequest.php index 2fd1140d14b2..fd3ee3d4a501 100644 --- a/Kms/src/V1/UpdateCryptoKeyRequest.php +++ b/Kms/src/V1/UpdateCryptoKeyRequest.php @@ -16,15 +16,15 @@ class UpdateCryptoKeyRequest extends \Google\Protobuf\Internal\Message { /** - * [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values. + * Required. [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKey crypto_key = 1; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $crypto_key = null; /** - * Required list of fields to be updated in this request. + * Required. List of fields to be updated in this request. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $update_mask = null; @@ -35,9 +35,9 @@ class UpdateCryptoKeyRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type \Google\Cloud\Kms\V1\CryptoKey $crypto_key - * [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values. + * Required. [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values. * @type \Google\Protobuf\FieldMask $update_mask - * Required list of fields to be updated in this request. + * Required. List of fields to be updated in this request. * } */ public function __construct($data = NULL) { @@ -46,9 +46,9 @@ public function __construct($data = NULL) { } /** - * [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values. + * Required. [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKey crypto_key = 1; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return \Google\Cloud\Kms\V1\CryptoKey */ public function getCryptoKey() @@ -57,9 +57,9 @@ public function getCryptoKey() } /** - * [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values. + * Required. [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKey crypto_key = 1; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKey crypto_key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param \Google\Cloud\Kms\V1\CryptoKey $var * @return $this */ @@ -72,9 +72,9 @@ public function setCryptoKey($var) } /** - * Required list of fields to be updated in this request. + * Required. List of fields to be updated in this request. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Protobuf\FieldMask */ public function getUpdateMask() @@ -83,9 +83,9 @@ public function getUpdateMask() } /** - * Required list of fields to be updated in this request. + * Required. List of fields to be updated in this request. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var * @return $this */ diff --git a/Kms/src/V1/UpdateCryptoKeyVersionRequest.php b/Kms/src/V1/UpdateCryptoKeyVersionRequest.php index df0b11cae709..965e516970d9 100644 --- a/Kms/src/V1/UpdateCryptoKeyVersionRequest.php +++ b/Kms/src/V1/UpdateCryptoKeyVersionRequest.php @@ -16,15 +16,15 @@ class UpdateCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message { /** - * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. + * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $crypto_key_version = null; /** - * Required list of fields to be updated in this request. + * Required. List of fields to be updated in this request. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $update_mask = null; @@ -35,9 +35,9 @@ class UpdateCryptoKeyVersionRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type \Google\Cloud\Kms\V1\CryptoKeyVersion $crypto_key_version - * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. + * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. * @type \Google\Protobuf\FieldMask $update_mask - * Required list of fields to be updated in this request. + * Required. List of fields to be updated in this request. * } */ public function __construct($data = NULL) { @@ -46,9 +46,9 @@ public function __construct($data = NULL) { } /** - * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. + * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @return \Google\Cloud\Kms\V1\CryptoKeyVersion */ public function getCryptoKeyVersion() @@ -57,9 +57,9 @@ public function getCryptoKeyVersion() } /** - * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. + * Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated values. * - * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1; + * Generated from protobuf field .google.cloud.kms.v1.CryptoKeyVersion crypto_key_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { * @param \Google\Cloud\Kms\V1\CryptoKeyVersion $var * @return $this */ @@ -72,9 +72,9 @@ public function setCryptoKeyVersion($var) } /** - * Required list of fields to be updated in this request. + * Required. List of fields to be updated in this request. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Protobuf\FieldMask */ public function getUpdateMask() @@ -83,9 +83,9 @@ public function getUpdateMask() } /** - * Required list of fields to be updated in this request. + * Required. List of fields to be updated in this request. * - * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2; + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\FieldMask $var * @return $this */ diff --git a/Kms/synth.metadata b/Kms/synth.metadata index 83b682406a8a..fad28a45501a 100644 --- a/Kms/synth.metadata +++ b/Kms/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-08-14T10:01:11.994295Z", + "updateTime": "2020-01-04T11:00:15.992326Z", "sources": [ { "generator": { "name": "artman", - "version": "0.29.1", - "dockerImage": "googleapis/artman@sha256:b2a73f4dda03ef8fcaa973e3ba26d0cf34091f6c22c70add663af325931aef4d" + "version": "0.43.0", + "dockerImage": "googleapis/artman@sha256:264654a37596a44b0668b8ce6ac41082d713f6ee150b3fc6425fa78cc64e4f20" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "3406d1e899f1f41123b3fa9210ad4bef25c9a720", - "internalRef": "263234709" + "sha": "91ef2d9dd69807b0b79555f22566fb2d81e49ff9", + "internalRef": "287999179" } } ], @@ -28,5 +28,253 @@ "config": "google/cloud/kms/artman_cloudkms.yaml" } } + ], + "newFiles": [ + { + "path": "phpunit-system.xml.dist" + }, + { + "path": "composer.json" + }, + { + "path": "phpunit.xml.dist" + }, + { + "path": "phpunit-snippets.xml.dist" + }, + { + "path": "CONTRIBUTING.md" + }, + { + "path": "README.md" + }, + { + "path": "synth.metadata" + }, + { + "path": "LICENSE" + }, + { + "path": "VERSION" + }, + { + "path": ".gitattributes" + }, + { + "path": "synth.py" + }, + { + "path": ".github/pull_request_template.md" + }, + { + "path": "__pycache__/synth.cpython-36.pyc" + }, + { + "path": "src/V1/ListImportJobsResponse.php" + }, + { + "path": "src/V1/UpdateCryptoKeyVersionRequest.php" + }, + { + "path": "src/V1/ListCryptoKeyVersionsRequest.php" + }, + { + "path": "src/V1/CreateKeyRingRequest.php" + }, + { + "path": "src/V1/PublicKey.php" + }, + { + "path": "src/V1/AsymmetricSignRequest.php" + }, + { + "path": "src/V1/KeyOperationAttestation_AttestationFormat.php" + }, + { + "path": "src/V1/Digest.php" + }, + { + "path": "src/V1/ProtectionLevel.php" + }, + { + "path": "src/V1/GetCryptoKeyRequest.php" + }, + { + "path": "src/V1/ListCryptoKeysResponse.php" + }, + { + "path": "src/V1/CryptoKeyVersion_CryptoKeyVersionState.php" + }, + { + "path": "src/V1/CryptoKeyVersionTemplate.php" + }, + { + "path": "src/V1/KeyManagementServiceClient.php" + }, + { + "path": "src/V1/GetImportJobRequest.php" + }, + { + "path": "src/V1/UpdateCryptoKeyRequest.php" + }, + { + "path": "src/V1/KeyOperationAttestation.php" + }, + { + "path": "src/V1/ImportCryptoKeyVersionRequest.php" + }, + { + "path": "src/V1/ImportJob_ImportMethod.php" + }, + { + "path": "src/V1/CryptoKey.php" + }, + { + "path": "src/V1/CreateCryptoKeyRequest.php" + }, + { + "path": "src/V1/KeyRing.php" + }, + { + "path": "src/V1/AsymmetricDecryptRequest.php" + }, + { + "path": "src/V1/ImportJob_WrappingPublicKey.php" + }, + { + "path": "src/V1/AsymmetricSignResponse.php" + }, + { + "path": "src/V1/AsymmetricDecryptResponse.php" + }, + { + "path": "src/V1/GetKeyRingRequest.php" + }, + { + "path": "src/V1/DestroyCryptoKeyVersionRequest.php" + }, + { + "path": "src/V1/EncryptResponse.php" + }, + { + "path": "src/V1/CryptoKeyVersion.php" + }, + { + "path": "src/V1/ListKeyRingsResponse.php" + }, + { + "path": "src/V1/GetCryptoKeyVersionRequest.php" + }, + { + "path": "src/V1/ListCryptoKeyVersionsResponse.php" + }, + { + "path": "src/V1/CreateImportJobRequest.php" + }, + { + "path": "src/V1/CryptoKey_CryptoKeyPurpose.php" + }, + { + "path": "src/V1/README.md" + }, + { + "path": "src/V1/EncryptRequest.php" + }, + { + "path": "src/V1/RestoreCryptoKeyVersionRequest.php" + }, + { + "path": "src/V1/KeyManagementServiceGrpcClient.php" + }, + { + "path": "src/V1/ListKeyRingsRequest.php" + }, + { + "path": "src/V1/ListImportJobsRequest.php" + }, + { + "path": "src/V1/DecryptResponse.php" + }, + { + "path": "src/V1/ListCryptoKeysRequest.php" + }, + { + "path": "src/V1/GetPublicKeyRequest.php" + }, + { + "path": "src/V1/DecryptRequest.php" + }, + { + "path": "src/V1/ImportJob_ImportJobState.php" + }, + { + "path": "src/V1/CryptoKeyVersion_CryptoKeyVersionAlgorithm.php" + }, + { + "path": "src/V1/CreateCryptoKeyVersionRequest.php" + }, + { + "path": "src/V1/CryptoKeyVersion_CryptoKeyVersionView.php" + }, + { + "path": "src/V1/UpdateCryptoKeyPrimaryVersionRequest.php" + }, + { + "path": "src/V1/LocationMetadata.php" + }, + { + "path": "src/V1/ImportJob.php" + }, + { + "path": "src/V1/Gapic/KeyManagementServiceGapicClient.php" + }, + { + "path": "src/V1/KeyOperationAttestation/AttestationFormat.php" + }, + { + "path": "src/V1/CryptoKeyVersion/CryptoKeyVersionView.php" + }, + { + "path": "src/V1/CryptoKeyVersion/CryptoKeyVersionAlgorithm.php" + }, + { + "path": "src/V1/CryptoKeyVersion/CryptoKeyVersionState.php" + }, + { + "path": "src/V1/resources/key_management_service_client_config.json" + }, + { + "path": "src/V1/resources/key_management_service_rest_client_config.php" + }, + { + "path": "src/V1/resources/key_management_service_descriptor_config.php" + }, + { + "path": "src/V1/ImportJob/WrappingPublicKey.php" + }, + { + "path": "src/V1/ImportJob/ImportJobState.php" + }, + { + "path": "src/V1/ImportJob/ImportMethod.php" + }, + { + "path": "src/V1/CryptoKey/CryptoKeyPurpose.php" + }, + { + "path": "tests/System/bootstrap.php" + }, + { + "path": "tests/System/V1/KeyManagementServiceClientSmokeTest.php" + }, + { + "path": "tests/Unit/V1/KeyManagementServiceClientTest.php" + }, + { + "path": "metadata/V1/Resources.php" + }, + { + "path": "metadata/V1/Service.php" + } ] } \ No newline at end of file