From 2fa7fd81fb3385f440ae590482590b5783fac9cb Mon Sep 17 00:00:00 2001 From: John Pedrie Date: Thu, 16 Jan 2020 14:00:36 -0500 Subject: [PATCH] feat: update SecurityCenter client (#2567) --- SecurityCenter/metadata/V1/Asset.php | 42 +- SecurityCenter/metadata/V1/Finding.php | 72 ++- .../metadata/V1/OrganizationSettings.php | 27 +- .../metadata/V1/RunAssetDiscoveryResponse.php | 38 +- SecurityCenter/metadata/V1/SecurityMarks.php | 32 +- .../metadata/V1/SecuritycenterService.php | 548 ++++++++++-------- SecurityCenter/metadata/V1/Source.php | 29 +- SecurityCenter/src/V1/Asset.php | 8 +- .../src/V1/Asset/SecurityCenterProperties.php | 102 ++++ .../src/V1/CreateFindingRequest.php | 42 +- SecurityCenter/src/V1/CreateSourceRequest.php | 28 +- SecurityCenter/src/V1/Finding.php | 71 ++- .../V1/Gapic/SecurityCenterGapicClient.php | 163 +++--- .../src/V1/GetOrganizationSettingsRequest.php | 14 +- SecurityCenter/src/V1/GetSourceRequest.php | 14 +- SecurityCenter/src/V1/GroupAssetsRequest.php | 144 +++-- .../src/V1/GroupFindingsRequest.php | 108 ++-- SecurityCenter/src/V1/ListAssetsRequest.php | 152 ++--- SecurityCenter/src/V1/ListFindingsRequest.php | 120 ++-- .../ListFindingsResult.php | 34 ++ .../ListFindingsResult/Resource.php | 211 +++++++ ...gsResponse_ListFindingsResult_Resource.php | 16 + SecurityCenter/src/V1/ListSourcesRequest.php | 14 +- .../src/V1/OrganizationSettings.php | 8 +- .../src/V1/RunAssetDiscoveryRequest.php | 14 +- .../src/V1/SecurityCenterGrpcClient.php | 4 +- SecurityCenter/src/V1/SecurityMarks.php | 48 +- .../src/V1/SetFindingStateRequest.php | 50 +- SecurityCenter/src/V1/Source.php | 67 +-- .../src/V1/UpdateFindingRequest.php | 14 +- .../V1/UpdateOrganizationSettingsRequest.php | 14 +- .../src/V1/UpdateSecurityMarksRequest.php | 14 +- SecurityCenter/src/V1/UpdateSourceRequest.php | 14 +- .../security_center_client_config.json | 4 +- SecurityCenter/synth.metadata | 10 +- 35 files changed, 1395 insertions(+), 895 deletions(-) create mode 100644 SecurityCenter/src/V1/ListFindingsResponse/ListFindingsResult/Resource.php create mode 100644 SecurityCenter/src/V1/ListFindingsResponse_ListFindingsResult_Resource.php diff --git a/SecurityCenter/metadata/V1/Asset.php b/SecurityCenter/metadata/V1/Asset.php index 29eb06d75be8..517803b9fbc3 100644 --- a/SecurityCenter/metadata/V1/Asset.php +++ b/SecurityCenter/metadata/V1/Asset.php @@ -14,18 +14,20 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\Annotations::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Cloud\Securitycenter\V1\SecurityMarks::initOnce(); \GPBMetadata\Google\Protobuf\Struct::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); + \GPBMetadata\Google\Api\Annotations::initOnce(); $pool->internalAddGeneratedFile(hex2bin( - "0af7080a2a676f6f676c652f636c6f75642f736563757269747963656e74" . + "0ad80a0a2a676f6f676c652f636c6f75642f736563757269747963656e74" . "65722f76312f61737365742e70726f746f121e676f6f676c652e636c6f75" . "642e736563757269747963656e7465722e76311a33676f6f676c652f636c" . "6f75642f736563757269747963656e7465722f76312f7365637572697479" . "5f6d61726b732e70726f746f1a1c676f6f676c652f70726f746f6275662f" . "7374727563742e70726f746f1a1f676f6f676c652f70726f746f6275662f" . - "74696d657374616d702e70726f746f22cf050a054173736574120c0a046e" . + "74696d657374616d702e70726f746f1a1c676f6f676c652f6170692f616e" . + "6e6f746174696f6e732e70726f746f2292070a054173736574120c0a046e" . "616d6518012001280912620a1a73656375726974795f63656e7465725f70" . "726f7065727469657318022001280b323e2e676f6f676c652e636c6f7564" . "2e736563757269747963656e7465722e76312e41737365742e5365637572" . @@ -40,24 +42,30 @@ public static function initOnce() { "655f74696d65180a2001280b321a2e676f6f676c652e70726f746f627566" . "2e54696d657374616d7012430a0a69616d5f706f6c696379180b2001280b" . "322f2e676f6f676c652e636c6f75642e736563757269747963656e746572" . - "2e76312e41737365742e49616d506f6c6963791a94010a18536563757269" . + "2e76312e41737365742e49616d506f6c6963791a80020a18536563757269" . "747943656e74657250726f7065727469657312150a0d7265736f75726365" . "5f6e616d6518012001280912150a0d7265736f757263655f747970651802" . "2001280912170a0f7265736f757263655f706172656e7418032001280912" . "180a107265736f757263655f70726f6a65637418042001280912170a0f72" . - "65736f757263655f6f776e6572731805200328091a200a0949616d506f6c" . - "69637912130a0b706f6c6963795f626c6f621801200128091a510a175265" . - "736f7572636550726f70657274696573456e747279120b0a036b65791801" . - "2001280912250a0576616c756518022001280b32162e676f6f676c652e70" . - "726f746f6275662e56616c75653a02380142da010a22636f6d2e676f6f67" . - "6c652e636c6f75642e736563757269747963656e7465722e763150015a4c" . - "676f6f676c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f" . - "676c65617069732f636c6f75642f736563757269747963656e7465722f76" . - "313b736563757269747963656e746572aa021e476f6f676c652e436c6f75" . - "642e536563757269747943656e7465722e5631ca021e476f6f676c655c43" . - "6c6f75645c536563757269747943656e7465725c5631ea0221476f6f676c" . - "653a3a436c6f75643a3a536563757269747943656e7465723a3a56316206" . - "70726f746f33" + "65736f757263655f6f776e657273180520032809121d0a157265736f7572" . + "63655f646973706c61795f6e616d6518062001280912240a1c7265736f75" . + "7263655f706172656e745f646973706c61795f6e616d6518072001280912" . + "250a1d7265736f757263655f70726f6a6563745f646973706c61795f6e61" . + "6d651808200128091a200a0949616d506f6c69637912130a0b706f6c6963" . + "795f626c6f621801200128091a510a175265736f7572636550726f706572" . + "74696573456e747279120b0a036b657918012001280912250a0576616c75" . + "6518022001280b32162e676f6f676c652e70726f746f6275662e56616c75" . + "653a0238013a55ea41520a23736563757269747963656e7465722e676f6f" . + "676c65617069732e636f6d2f4173736574122b6f7267616e697a6174696f" . + "6e732f7b6f7267616e697a6174696f6e7d2f6173736574732f7b61737365" . + "747d42da010a22636f6d2e676f6f676c652e636c6f75642e736563757269" . + "747963656e7465722e763150015a4c676f6f676c652e676f6c616e672e6f" . + "72672f67656e70726f746f2f676f6f676c65617069732f636c6f75642f73" . + "6563757269747963656e7465722f76313b736563757269747963656e7465" . + "72aa021e476f6f676c652e436c6f75642e536563757269747943656e7465" . + "722e5631ca021e476f6f676c655c436c6f75645c53656375726974794365" . + "6e7465725c5631ea0221476f6f676c653a3a436c6f75643a3a5365637572" . + "69747943656e7465723a3a5631620670726f746f33" ), true); static::$is_initialized = true; diff --git a/SecurityCenter/metadata/V1/Finding.php b/SecurityCenter/metadata/V1/Finding.php index 58c00f90e420..ac4edb712e25 100644 --- a/SecurityCenter/metadata/V1/Finding.php +++ b/SecurityCenter/metadata/V1/Finding.php @@ -14,44 +14,52 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } - \GPBMetadata\Google\Api\Annotations::initOnce(); + \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Cloud\Securitycenter\V1\SecurityMarks::initOnce(); \GPBMetadata\Google\Protobuf\Struct::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); + \GPBMetadata\Google\Api\Annotations::initOnce(); $pool->internalAddGeneratedFile(hex2bin( - "0adb070a2c676f6f676c652f636c6f75642f736563757269747963656e74" . + "0a87090a2c676f6f676c652f636c6f75642f736563757269747963656e74" . "65722f76312f66696e64696e672e70726f746f121e676f6f676c652e636c" . - "6f75642e736563757269747963656e7465722e76311a33676f6f676c652f" . - "636c6f75642f736563757269747963656e7465722f76312f736563757269" . - "74795f6d61726b732e70726f746f1a1c676f6f676c652f70726f746f6275" . - "662f7374727563742e70726f746f1a1f676f6f676c652f70726f746f6275" . - "662f74696d657374616d702e70726f746f22b1040a0746696e64696e6712" . - "0c0a046e616d65180120012809120e0a06706172656e7418022001280912" . - "150a0d7265736f757263655f6e616d65180320012809123c0a0573746174" . - "6518042001280e322d2e676f6f676c652e636c6f75642e73656375726974" . - "7963656e7465722e76312e46696e64696e672e537461746512100a086361" . - "7465676f727918052001280912140a0c65787465726e616c5f7572691806" . - "2001280912580a11736f757263655f70726f706572746965731807200328" . - "0b323d2e676f6f676c652e636c6f75642e736563757269747963656e7465" . - "722e76312e46696e64696e672e536f7572636550726f7065727469657345" . - "6e74727912450a0e73656375726974795f6d61726b7318082001280b322d" . + "6f75642e736563757269747963656e7465722e76311a19676f6f676c652f" . + "6170692f7265736f757263652e70726f746f1a33676f6f676c652f636c6f" . + "75642f736563757269747963656e7465722f76312f73656375726974795f" . + "6d61726b732e70726f746f1a1c676f6f676c652f70726f746f6275662f73" . + "74727563742e70726f746f1a1f676f6f676c652f70726f746f6275662f74" . + "696d657374616d702e70726f746f1a1c676f6f676c652f6170692f616e6e" . + "6f746174696f6e732e70726f746f22a4050a0746696e64696e67120c0a04" . + "6e616d65180120012809120e0a06706172656e7418022001280912150a0d" . + "7265736f757263655f6e616d65180320012809123c0a0573746174651804" . + "2001280e322d2e676f6f676c652e636c6f75642e73656375726974796365" . + "6e7465722e76312e46696e64696e672e537461746512100a086361746567" . + "6f727918052001280912140a0c65787465726e616c5f7572691806200128" . + "0912580a11736f757263655f70726f7065727469657318072003280b323d" . "2e676f6f676c652e636c6f75642e736563757269747963656e7465722e76" . - "312e53656375726974794d61726b73122e0a0a6576656e745f74696d6518" . - "092001280b321a2e676f6f676c652e70726f746f6275662e54696d657374" . - "616d70122f0a0b6372656174655f74696d65180a2001280b321a2e676f6f" . - "676c652e70726f746f6275662e54696d657374616d701a4f0a15536f7572" . - "636550726f70657274696573456e747279120b0a036b6579180120012809" . - "12250a0576616c756518022001280b32162e676f6f676c652e70726f746f" . - "6275662e56616c75653a02380122380a05537461746512150a1153544154" . - "455f554e5350454349464945441000120a0a064143544956451001120c0a" . - "08494e414354495645100242da010a22636f6d2e676f6f676c652e636c6f" . - "75642e736563757269747963656e7465722e763150015a4c676f6f676c65" . - "2e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c65617069" . - "732f636c6f75642f736563757269747963656e7465722f76313b73656375" . - "7269747963656e746572aa021e476f6f676c652e436c6f75642e53656375" . - "7269747943656e7465722e5631ca021e476f6f676c655c436c6f75645c53" . - "6563757269747943656e7465725c5631ea0221476f6f676c653a3a436c6f" . - "75643a3a536563757269747943656e7465723a3a5631620670726f746f33" + "312e46696e64696e672e536f7572636550726f70657274696573456e7472" . + "79124a0a0e73656375726974795f6d61726b7318082001280b322d2e676f" . + "6f676c652e636c6f75642e736563757269747963656e7465722e76312e53" . + "656375726974794d61726b734203e04103122e0a0a6576656e745f74696d" . + "6518092001280b321a2e676f6f676c652e70726f746f6275662e54696d65" . + "7374616d70122f0a0b6372656174655f74696d65180a2001280b321a2e67" . + "6f6f676c652e70726f746f6275662e54696d657374616d701a4f0a15536f" . + "7572636550726f70657274696573456e747279120b0a036b657918012001" . + "280912250a0576616c756518022001280b32162e676f6f676c652e70726f" . + "746f6275662e56616c75653a02380122380a05537461746512150a115354" . + "4154455f554e5350454349464945441000120a0a06414354495645100112" . + "0c0a08494e41435449564510023a6cea41690a2573656375726974796365" . + "6e7465722e676f6f676c65617069732e636f6d2f46696e64696e6712406f" . + "7267616e697a6174696f6e732f7b6f7267616e697a6174696f6e7d2f736f" . + "75726365732f7b736f757263657d2f66696e64696e67732f7b66696e6469" . + "6e677d42da010a22636f6d2e676f6f676c652e636c6f75642e7365637572" . + "69747963656e7465722e763150015a4c676f6f676c652e676f6c616e672e" . + "6f72672f67656e70726f746f2f676f6f676c65617069732f636c6f75642f" . + "736563757269747963656e7465722f76313b736563757269747963656e74" . + "6572aa021e476f6f676c652e436c6f75642e536563757269747943656e74" . + "65722e5631ca021e476f6f676c655c436c6f75645c536563757269747943" . + "656e7465725c5631ea0221476f6f676c653a3a436c6f75643a3a53656375" . + "7269747943656e7465723a3a5631620670726f746f33" ), true); static::$is_initialized = true; diff --git a/SecurityCenter/metadata/V1/OrganizationSettings.php b/SecurityCenter/metadata/V1/OrganizationSettings.php index d94014de86a5..eab1a1a4d911 100644 --- a/SecurityCenter/metadata/V1/OrganizationSettings.php +++ b/SecurityCenter/metadata/V1/OrganizationSettings.php @@ -14,12 +14,14 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } + \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Api\Annotations::initOnce(); $pool->internalAddGeneratedFile(hex2bin( - "0aee050a3a676f6f676c652f636c6f75642f736563757269747963656e74" . + "0aec060a3a676f6f676c652f636c6f75642f736563757269747963656e74" . "65722f76312f6f7267616e697a6174696f6e5f73657474696e67732e7072" . "6f746f121e676f6f676c652e636c6f75642e736563757269747963656e74" . - "65722e763122aa030a144f7267616e697a6174696f6e53657474696e6773" . + "65722e76311a1c676f6f676c652f6170692f616e6e6f746174696f6e732e" . + "70726f746f228a040a144f7267616e697a6174696f6e53657474696e6773" . "120c0a046e616d65180120012809121e0a16656e61626c655f6173736574" . "5f646973636f7665727918022001280812690a1661737365745f64697363" . "6f766572795f636f6e66696718032001280b32492e676f6f676c652e636c" . @@ -33,15 +35,18 @@ public static function initOnce() { "6e636c7573696f6e4d6f6465224e0a0d496e636c7573696f6e4d6f646512" . "1e0a1a494e434c5553494f4e5f4d4f44455f554e53504543494649454410" . "0012100a0c494e434c5544455f4f4e4c591001120b0a074558434c554445" . - "10024a04080410054a040805100642da010a22636f6d2e676f6f676c652e" . - "636c6f75642e736563757269747963656e7465722e763150015a4c676f6f" . - "676c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c65" . - "617069732f636c6f75642f736563757269747963656e7465722f76313b73" . - "6563757269747963656e746572aa021e476f6f676c652e436c6f75642e53" . - "6563757269747943656e7465722e5631ca021e476f6f676c655c436c6f75" . - "645c536563757269747943656e7465725c5631ea0221476f6f676c653a3a" . - "436c6f75643a3a536563757269747943656e7465723a3a5631620670726f" . - "746f33" + "10023a6aea41670a32736563757269747963656e7465722e676f6f676c65" . + "617069732e636f6d2f4f7267616e697a6174696f6e53657474696e677312" . + "316f7267616e697a6174696f6e732f7b6f7267616e697a6174696f6e7d2f" . + "6f7267616e697a6174696f6e53657474696e677342da010a22636f6d2e67" . + "6f6f676c652e636c6f75642e736563757269747963656e7465722e763150" . + "015a4c676f6f676c652e676f6c616e672e6f72672f67656e70726f746f2f" . + "676f6f676c65617069732f636c6f75642f736563757269747963656e7465" . + "722f76313b736563757269747963656e746572aa021e476f6f676c652e43" . + "6c6f75642e536563757269747943656e7465722e5631ca021e476f6f676c" . + "655c436c6f75645c536563757269747943656e7465725c5631ea0221476f" . + "6f676c653a3a436c6f75643a3a536563757269747943656e7465723a3a56" . + "31620670726f746f33" ), true); static::$is_initialized = true; diff --git a/SecurityCenter/metadata/V1/RunAssetDiscoveryResponse.php b/SecurityCenter/metadata/V1/RunAssetDiscoveryResponse.php index 12285d7c6d96..3771a3271d1f 100644 --- a/SecurityCenter/metadata/V1/RunAssetDiscoveryResponse.php +++ b/SecurityCenter/metadata/V1/RunAssetDiscoveryResponse.php @@ -15,30 +15,28 @@ public static function initOnce() { return; } \GPBMetadata\Google\Protobuf\Duration::initOnce(); - \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); \GPBMetadata\Google\Api\Annotations::initOnce(); $pool->internalAddGeneratedFile(hex2bin( - "0af1040a41676f6f676c652f636c6f75642f736563757269747963656e74" . + "0ad0040a41676f6f676c652f636c6f75642f736563757269747963656e74" . "65722f76312f72756e5f61737365745f646973636f766572795f72657370" . "6f6e73652e70726f746f121e676f6f676c652e636c6f75642e7365637572" . - "69747963656e7465722e76311a1f676f6f676c652f70726f746f6275662f" . - "74696d657374616d702e70726f746f1a1c676f6f676c652f6170692f616e" . - "6e6f746174696f6e732e70726f746f22e7010a1952756e41737365744469" . - "73636f76657279526573706f6e7365124e0a05737461746518012001280e" . - "323f2e676f6f676c652e636c6f75642e736563757269747963656e746572" . - "2e76312e52756e4173736574446973636f76657279526573706f6e73652e" . - "5374617465122b0a086475726174696f6e18022001280b32192e676f6f67" . - "6c652e70726f746f6275662e4475726174696f6e224d0a05537461746512" . - "150a1153544154455f554e5350454349464945441000120d0a09434f4d50" . - "4c455445441001120e0a0a535550455253454445441002120e0a0a544552" . - "4d494e41544544100342da010a22636f6d2e676f6f676c652e636c6f7564" . - "2e736563757269747963656e7465722e763150015a4c676f6f676c652e67" . - "6f6c616e672e6f72672f67656e70726f746f2f676f6f676c65617069732f" . - "636c6f75642f736563757269747963656e7465722f76313b736563757269" . - "747963656e746572aa021e476f6f676c652e436c6f75642e536563757269" . - "747943656e7465722e5631ca021e476f6f676c655c436c6f75645c536563" . - "757269747943656e7465725c5631ea0221476f6f676c653a3a436c6f7564" . - "3a3a536563757269747943656e7465723a3a5631620670726f746f33" + "69747963656e7465722e76311a1c676f6f676c652f6170692f616e6e6f74" . + "6174696f6e732e70726f746f22e7010a1952756e4173736574446973636f" . + "76657279526573706f6e7365124e0a05737461746518012001280e323f2e" . + "676f6f676c652e636c6f75642e736563757269747963656e7465722e7631" . + "2e52756e4173736574446973636f76657279526573706f6e73652e537461" . + "7465122b0a086475726174696f6e18022001280b32192e676f6f676c652e" . + "70726f746f6275662e4475726174696f6e224d0a05537461746512150a11" . + "53544154455f554e5350454349464945441000120d0a09434f4d504c4554" . + "45441001120e0a0a535550455253454445441002120e0a0a5445524d494e" . + "41544544100342da010a22636f6d2e676f6f676c652e636c6f75642e7365" . + "63757269747963656e7465722e763150015a4c676f6f676c652e676f6c61" . + "6e672e6f72672f67656e70726f746f2f676f6f676c65617069732f636c6f" . + "75642f736563757269747963656e7465722f76313b736563757269747963" . + "656e746572aa021e476f6f676c652e436c6f75642e536563757269747943" . + "656e7465722e5631ca021e476f6f676c655c436c6f75645c536563757269" . + "747943656e7465725c5631ea0221476f6f676c653a3a436c6f75643a3a53" . + "6563757269747943656e7465723a3a5631620670726f746f33" ), true); static::$is_initialized = true; diff --git a/SecurityCenter/metadata/V1/SecurityMarks.php b/SecurityCenter/metadata/V1/SecurityMarks.php index e277adafb0a6..eaeb3054833d 100644 --- a/SecurityCenter/metadata/V1/SecurityMarks.php +++ b/SecurityCenter/metadata/V1/SecurityMarks.php @@ -14,24 +14,32 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } + \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Api\Annotations::initOnce(); $pool->internalAddGeneratedFile(hex2bin( - "0ad1030a33676f6f676c652f636c6f75642f736563757269747963656e74" . + "0aae050a33676f6f676c652f636c6f75642f736563757269747963656e74" . "65722f76312f73656375726974795f6d61726b732e70726f746f121e676f" . - "6f676c652e636c6f75642e736563757269747963656e7465722e76312294" . - "010a0d53656375726974794d61726b73120c0a046e616d65180120012809" . + "6f676c652e636c6f75642e736563757269747963656e7465722e76311a1c" . + "676f6f676c652f6170692f616e6e6f746174696f6e732e70726f746f22d3" . + "020a0d53656375726974794d61726b73120c0a046e616d65180120012809" . "12470a056d61726b7318022003280b32382e676f6f676c652e636c6f7564" . "2e736563757269747963656e7465722e76312e53656375726974794d6172" . "6b732e4d61726b73456e7472791a2c0a0a4d61726b73456e747279120b0a" . - "036b6579180120012809120d0a0576616c75651802200128093a02380142" . - "da010a22636f6d2e676f6f676c652e636c6f75642e736563757269747963" . - "656e7465722e763150015a4c676f6f676c652e676f6c616e672e6f72672f" . - "67656e70726f746f2f676f6f676c65617069732f636c6f75642f73656375" . - "7269747963656e7465722f76313b736563757269747963656e746572aa02" . - "1e476f6f676c652e436c6f75642e536563757269747943656e7465722e56" . - "31ca021e476f6f676c655c436c6f75645c536563757269747943656e7465" . - "725c5631ea0221476f6f676c653a3a436c6f75643a3a5365637572697479" . - "43656e7465723a3a5631620670726f746f33" + "036b6579180120012809120d0a0576616c75651802200128093a0238013a" . + "bc01ea41b8010a2b736563757269747963656e7465722e676f6f676c6561" . + "7069732e636f6d2f53656375726974794d61726b7312396f7267616e697a" . + "6174696f6e732f7b6f7267616e697a6174696f6e7d2f6173736574732f7b" . + "61737365747d2f73656375726974794d61726b73124e6f7267616e697a61" . + "74696f6e732f7b6f7267616e697a6174696f6e7d2f736f75726365732f7b" . + "736f757263657d2f66696e64696e67732f7b66696e64696e677d2f736563" . + "75726974794d61726b7342da010a22636f6d2e676f6f676c652e636c6f75" . + "642e736563757269747963656e7465722e763150015a4c676f6f676c652e" . + "676f6c616e672e6f72672f67656e70726f746f2f676f6f676c6561706973" . + "2f636c6f75642f736563757269747963656e7465722f76313b7365637572" . + "69747963656e746572aa021e476f6f676c652e436c6f75642e5365637572" . + "69747943656e7465722e5631ca021e476f6f676c655c436c6f75645c5365" . + "63757269747943656e7465725c5631ea0221476f6f676c653a3a436c6f75" . + "643a3a536563757269747943656e7465723a3a5631620670726f746f33" ), true); static::$is_initialized = true; diff --git a/SecurityCenter/metadata/V1/SecuritycenterService.php b/SecurityCenter/metadata/V1/SecuritycenterService.php index b5b99f1647fe..95f42b3f0e41 100644 --- a/SecurityCenter/metadata/V1/SecuritycenterService.php +++ b/SecurityCenter/metadata/V1/SecuritycenterService.php @@ -14,11 +14,14 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } + \GPBMetadata\Google\Cloud\Securitycenter\V1\RunAssetDiscoveryResponse::initOnce(); \GPBMetadata\Google\Api\Annotations::initOnce(); + \GPBMetadata\Google\Api\Client::initOnce(); + \GPBMetadata\Google\Api\FieldBehavior::initOnce(); + \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Cloud\Securitycenter\V1\Asset::initOnce(); \GPBMetadata\Google\Cloud\Securitycenter\V1\Finding::initOnce(); \GPBMetadata\Google\Cloud\Securitycenter\V1\OrganizationSettings::initOnce(); - \GPBMetadata\Google\Cloud\Securitycenter\V1\RunAssetDiscoveryResponse::initOnce(); \GPBMetadata\Google\Cloud\Securitycenter\V1\SecurityMarks::initOnce(); \GPBMetadata\Google\Cloud\Securitycenter\V1\Source::initOnce(); \GPBMetadata\Google\Iam\V1\IamPolicy::initOnce(); @@ -30,274 +33,317 @@ public static function initOnce() { \GPBMetadata\Google\Protobuf\Struct::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile(hex2bin( - "0ad13e0a3b676f6f676c652f636c6f75642f736563757269747963656e74" . + "0ae7480a3b676f6f676c652f636c6f75642f736563757269747963656e74" . "65722f76312f736563757269747963656e7465725f736572766963652e70" . "726f746f121e676f6f676c652e636c6f75642e736563757269747963656e" . - "7465722e76311a2a676f6f676c652f636c6f75642f736563757269747963" . - "656e7465722f76312f61737365742e70726f746f1a2c676f6f676c652f63" . - "6c6f75642f736563757269747963656e7465722f76312f66696e64696e67" . - "2e70726f746f1a3a676f6f676c652f636c6f75642f736563757269747963" . - "656e7465722f76312f6f7267616e697a6174696f6e5f73657474696e6773" . - "2e70726f746f1a41676f6f676c652f636c6f75642f736563757269747963" . - "656e7465722f76312f72756e5f61737365745f646973636f766572795f72" . - "6573706f6e73652e70726f746f1a33676f6f676c652f636c6f75642f7365" . - "63757269747963656e7465722f76312f73656375726974795f6d61726b73" . - "2e70726f746f1a2b676f6f676c652f636c6f75642f736563757269747963" . - "656e7465722f76312f736f757263652e70726f746f1a1e676f6f676c652f" . - "69616d2f76312f69616d5f706f6c6963792e70726f746f1a1a676f6f676c" . - "652f69616d2f76312f706f6c6963792e70726f746f1a23676f6f676c652f" . - "6c6f6e6772756e6e696e672f6f7065726174696f6e732e70726f746f1a1e" . - "676f6f676c652f70726f746f6275662f6475726174696f6e2e70726f746f" . - "1a1b676f6f676c652f70726f746f6275662f656d7074792e70726f746f1a" . - "20676f6f676c652f70726f746f6275662f6669656c645f6d61736b2e7072" . - "6f746f1a1c676f6f676c652f70726f746f6275662f7374727563742e7072" . - "6f746f1a1f676f6f676c652f70726f746f6275662f74696d657374616d70" . - "2e70726f746f22740a1443726561746546696e64696e6752657175657374" . - "120e0a06706172656e7418012001280912120a0a66696e64696e675f6964" . - "18022001280912380a0766696e64696e6718032001280b32272e676f6f67" . - "6c652e636c6f75642e736563757269747963656e7465722e76312e46696e" . - "64696e67225d0a13437265617465536f7572636552657175657374120e0a" . - "06706172656e7418012001280912360a06736f7572636518022001280b32" . - "262e676f6f676c652e636c6f75642e736563757269747963656e7465722e" . - "76312e536f75726365222e0a1e4765744f7267616e697a6174696f6e5365" . - "7474696e677352657175657374120c0a046e616d6518012001280922200a" . - "10476574536f7572636552657175657374120c0a046e616d651801200128" . - "0922d7010a1247726f757041737365747352657175657374120e0a067061" . - "72656e74180120012809120e0a0666696c74657218022001280912100a08" . - "67726f75705f627918032001280912330a10636f6d706172655f64757261" . - "74696f6e18042001280b32192e676f6f676c652e70726f746f6275662e44" . - "75726174696f6e122d0a09726561645f74696d6518052001280b321a2e67" . - "6f6f676c652e70726f746f6275662e54696d657374616d7012120a0a7061" . - "67655f746f6b656e18072001280912110a09706167655f73697a65180820" . - "0128054a040806100722b8010a1347726f7570417373657473526573706f" . - "6e736512450a1067726f75705f62795f726573756c747318012003280b32" . - "2b2e676f6f676c652e636c6f75642e736563757269747963656e7465722e" . - "76312e47726f7570526573756c74122d0a09726561645f74696d65180220" . - "01280b321a2e676f6f676c652e70726f746f6275662e54696d657374616d" . - "7012170a0f6e6578745f706167655f746f6b656e18032001280912120a0a" . - "746f74616c5f73697a6518042001280522d9010a1447726f757046696e64" . - "696e677352657175657374120e0a06706172656e74180120012809120e0a" . - "0666696c74657218022001280912100a0867726f75705f62791803200128" . - "09122d0a09726561645f74696d6518042001280b321a2e676f6f676c652e" . - "70726f746f6275662e54696d657374616d7012330a10636f6d706172655f" . - "6475726174696f6e18052001280b32192e676f6f676c652e70726f746f62" . - "75662e4475726174696f6e12120a0a706167655f746f6b656e1807200128" . - "0912110a09706167655f73697a651808200128054a040806100722ba010a" . - "1547726f757046696e64696e6773526573706f6e736512450a1067726f75" . - "705f62795f726573756c747318012003280b322b2e676f6f676c652e636c" . - "6f75642e736563757269747963656e7465722e76312e47726f7570526573" . - "756c74122d0a09726561645f74696d6518022001280b321a2e676f6f676c" . - "652e70726f746f6275662e54696d657374616d7012170a0f6e6578745f70" . - "6167655f746f6b656e18032001280912120a0a746f74616c5f73697a6518" . - "042001280522b8010a0b47726f7570526573756c74124f0a0a70726f7065" . - "727469657318012003280b323b2e676f6f676c652e636c6f75642e736563" . - "757269747963656e7465722e76312e47726f7570526573756c742e50726f" . - "70657274696573456e747279120d0a05636f756e741802200128031a490a" . - "0f50726f70657274696573456e747279120b0a036b657918012001280912" . - "250a0576616c756518022001280b32162e676f6f676c652e70726f746f62" . - "75662e56616c75653a023801224b0a124c697374536f7572636573526571" . - "75657374120e0a06706172656e7418012001280912120a0a706167655f74" . - "6f6b656e18022001280912110a09706167655f73697a6518072001280522" . - "670a134c697374536f7572636573526573706f6e736512370a07736f7572" . - "63657318012003280b32262e676f6f676c652e636c6f75642e7365637572" . - "69747963656e7465722e76312e536f7572636512170a0f6e6578745f7061" . - "67655f746f6b656e1802200128092286020a114c69737441737365747352" . - "657175657374120e0a06706172656e74180120012809120e0a0666696c74" . + "7465722e76311a1c676f6f676c652f6170692f616e6e6f746174696f6e73" . + "2e70726f746f1a17676f6f676c652f6170692f636c69656e742e70726f74" . + "6f1a1f676f6f676c652f6170692f6669656c645f6265686176696f722e70" . + "726f746f1a19676f6f676c652f6170692f7265736f757263652e70726f74" . + "6f1a2a676f6f676c652f636c6f75642f736563757269747963656e746572" . + "2f76312f61737365742e70726f746f1a2c676f6f676c652f636c6f75642f" . + "736563757269747963656e7465722f76312f66696e64696e672e70726f74" . + "6f1a3a676f6f676c652f636c6f75642f736563757269747963656e746572" . + "2f76312f6f7267616e697a6174696f6e5f73657474696e67732e70726f74" . + "6f1a33676f6f676c652f636c6f75642f736563757269747963656e746572" . + "2f76312f73656375726974795f6d61726b732e70726f746f1a2b676f6f67" . + "6c652f636c6f75642f736563757269747963656e7465722f76312f736f75" . + "7263652e70726f746f1a1e676f6f676c652f69616d2f76312f69616d5f70" . + "6f6c6963792e70726f746f1a1a676f6f676c652f69616d2f76312f706f6c" . + "6963792e70726f746f1a23676f6f676c652f6c6f6e6772756e6e696e672f" . + "6f7065726174696f6e732e70726f746f1a1e676f6f676c652f70726f746f" . + "6275662f6475726174696f6e2e70726f746f1a1b676f6f676c652f70726f" . + "746f6275662f656d7074792e70726f746f1a20676f6f676c652f70726f74" . + "6f6275662f6669656c645f6d61736b2e70726f746f1a1c676f6f676c652f" . + "70726f746f6275662f7374727563742e70726f746f1a1f676f6f676c652f" . + "70726f746f6275662f74696d657374616d702e70726f746f22ac010a1443" . + "726561746546696e64696e6752657175657374123c0a06706172656e7418" . + "0120012809422ce04102fa41260a24736563757269747963656e7465722e" . + "676f6f676c65617069732e636f6d2f536f7572636512170a0a66696e6469" . + "6e675f69641802200128094203e04102123d0a0766696e64696e67180320" . + "01280b32272e676f6f676c652e636c6f75642e736563757269747963656e" . + "7465722e76312e46696e64696e674203e04102229c010a13437265617465" . + "536f757263655265717565737412480a06706172656e7418012001280942" . + "38e04102fa41320a30636c6f75647265736f757263656d616e616765722e" . + "676f6f676c65617069732e636f6d2f4f7267616e697a6174696f6e123b0a" . + "06736f7572636518022001280b32262e676f6f676c652e636c6f75642e73" . + "6563757269747963656e7465722e76312e536f757263654203e04102226a" . + "0a1e4765744f7267616e697a6174696f6e53657474696e67735265717565" . + "737412480a046e616d65180120012809423ae04102fa41340a3273656375" . + "7269747963656e7465722e676f6f676c65617069732e636f6d2f4f726761" . + "6e697a6174696f6e53657474696e6773224e0a10476574536f7572636552" . + "657175657374123a0a046e616d65180120012809422ce04102fa41260a24" . + "736563757269747963656e7465722e676f6f676c65617069732e636f6d2f" . + "536f757263652290020a1247726f75704173736574735265717565737412" . + "480a06706172656e741801200128094238e04102fa41320a30636c6f7564" . + "7265736f757263656d616e616765722e676f6f676c65617069732e636f6d" . + "2f4f7267616e697a6174696f6e120e0a0666696c74657218022001280912" . + "150a0867726f75705f62791803200128094203e0410212330a10636f6d70" . + "6172655f6475726174696f6e18042001280b32192e676f6f676c652e7072" . + "6f746f6275662e4475726174696f6e122d0a09726561645f74696d651805" . + "2001280b321a2e676f6f676c652e70726f746f6275662e54696d65737461" . + "6d7012120a0a706167655f746f6b656e18072001280912110a0970616765" . + "5f73697a6518082001280522b8010a1347726f7570417373657473526573" . + "706f6e736512450a1067726f75705f62795f726573756c74731801200328" . + "0b322b2e676f6f676c652e636c6f75642e736563757269747963656e7465" . + "722e76312e47726f7570526573756c74122d0a09726561645f74696d6518" . + "022001280b321a2e676f6f676c652e70726f746f6275662e54696d657374" . + "616d7012170a0f6e6578745f706167655f746f6b656e1803200128091212" . + "0a0a746f74616c5f73697a651804200128052286020a1447726f75704669" . + "6e64696e677352657175657374123c0a06706172656e7418012001280942" . + "2ce04102fa41260a24736563757269747963656e7465722e676f6f676c65" . + "617069732e636f6d2f536f75726365120e0a0666696c7465721802200128" . + "0912150a0867726f75705f62791803200128094203e04102122d0a097265" . + "61645f74696d6518042001280b321a2e676f6f676c652e70726f746f6275" . + "662e54696d657374616d7012330a10636f6d706172655f6475726174696f" . + "6e18052001280b32192e676f6f676c652e70726f746f6275662e44757261" . + "74696f6e12120a0a706167655f746f6b656e18072001280912110a097061" . + "67655f73697a6518082001280522ba010a1547726f757046696e64696e67" . + "73526573706f6e736512450a1067726f75705f62795f726573756c747318" . + "012003280b322b2e676f6f676c652e636c6f75642e736563757269747963" . + "656e7465722e76312e47726f7570526573756c74122d0a09726561645f74" . + "696d6518022001280b321a2e676f6f676c652e70726f746f6275662e5469" . + "6d657374616d7012170a0f6e6578745f706167655f746f6b656e18032001" . + "280912120a0a746f74616c5f73697a6518042001280522b8010a0b47726f" . + "7570526573756c74124f0a0a70726f7065727469657318012003280b323b" . + "2e676f6f676c652e636c6f75642e736563757269747963656e7465722e76" . + "312e47726f7570526573756c742e50726f70657274696573456e74727912" . + "0d0a05636f756e741802200128031a490a0f50726f70657274696573456e" . + "747279120b0a036b657918012001280912250a0576616c75651802200128" . + "0b32162e676f6f676c652e70726f746f6275662e56616c75653a02380122" . + "85010a124c697374536f75726365735265717565737412480a0670617265" . + "6e741801200128094238e04102fa41320a30636c6f75647265736f757263" . + "656d616e616765722e676f6f676c65617069732e636f6d2f4f7267616e69" . + "7a6174696f6e12120a0a706167655f746f6b656e18022001280912110a09" . + "706167655f73697a6518072001280522670a134c697374536f7572636573" . + "526573706f6e736512370a07736f757263657318012003280b32262e676f" . + "6f676c652e636c6f75642e736563757269747963656e7465722e76312e53" . + "6f7572636512170a0f6e6578745f706167655f746f6b656e180220012809" . + "22bf020a114c6973744173736574735265717565737412480a0670617265" . + "6e741801200128094238e04102fa41320a30636c6f75647265736f757263" . + "656d616e616765722e676f6f676c65617069732e636f6d2f4f7267616e69" . + "7a6174696f6e120e0a0666696c74657218022001280912100a086f726465" . + "725f6279180320012809122d0a09726561645f74696d6518042001280b32" . + "1a2e676f6f676c652e70726f746f6275662e54696d657374616d7012330a" . + "10636f6d706172655f6475726174696f6e18052001280b32192e676f6f67" . + "6c652e70726f746f6275662e4475726174696f6e12330a0a6669656c645f" . + "6d61736b18072001280b321a2e676f6f676c652e70726f746f6275662e46" . + "69656c644d61736b4203e0410112120a0a706167655f746f6b656e180820" . + "01280912110a09706167655f73697a6518092001280522c3030a124c6973" . + "74417373657473526573706f6e736512600a136c6973745f617373657473" . + "5f726573756c747318012003280b32432e676f6f676c652e636c6f75642e" . + "736563757269747963656e7465722e76312e4c6973744173736574735265" . + "73706f6e73652e4c697374417373657473526573756c74122d0a09726561" . + "645f74696d6518022001280b321a2e676f6f676c652e70726f746f627566" . + "2e54696d657374616d7012170a0f6e6578745f706167655f746f6b656e18" . + "032001280912120a0a746f74616c5f73697a651804200128051aee010a10" . + "4c697374417373657473526573756c7412340a0561737365741801200128" . + "0b32252e676f6f676c652e636c6f75642e736563757269747963656e7465" . + "722e76312e417373657412650a0c73746174655f6368616e676518022001" . + "280e324f2e676f6f676c652e636c6f75642e736563757269747963656e74" . + "65722e76312e4c697374417373657473526573706f6e73652e4c69737441" . + "7373657473526573756c742e53746174654368616e6765223d0a0b537461" . + "74654368616e6765120a0a06554e55534544100012090a05414444454410" . + "01120b0a0752454d4f5645441002120a0a06414354495645100322b5020a" . + "134c69737446696e64696e677352657175657374123c0a06706172656e74" . + "180120012809422ce04102fa41260a24736563757269747963656e746572" . + "2e676f6f676c65617069732e636f6d2f536f75726365120e0a0666696c74" . "657218022001280912100a086f726465725f6279180320012809122d0a09" . "726561645f74696d6518042001280b321a2e676f6f676c652e70726f746f" . "6275662e54696d657374616d7012330a10636f6d706172655f6475726174" . "696f6e18052001280b32192e676f6f676c652e70726f746f6275662e4475" . - "726174696f6e122e0a0a6669656c645f6d61736b18072001280b321a2e67" . - "6f6f676c652e70726f746f6275662e4669656c644d61736b12120a0a7061" . - "67655f746f6b656e18082001280912110a09706167655f73697a65180920" . - "0128054a040806100722c3030a124c697374417373657473526573706f6e" . - "736512600a136c6973745f6173736574735f726573756c74731801200328" . - "0b32432e676f6f676c652e636c6f75642e736563757269747963656e7465" . - "722e76312e4c697374417373657473526573706f6e73652e4c6973744173" . - "73657473526573756c74122d0a09726561645f74696d6518022001280b32" . - "1a2e676f6f676c652e70726f746f6275662e54696d657374616d7012170a" . - "0f6e6578745f706167655f746f6b656e18032001280912120a0a746f7461" . - "6c5f73697a651804200128051aee010a104c697374417373657473526573" . - "756c7412340a05617373657418012001280b32252e676f6f676c652e636c" . - "6f75642e736563757269747963656e7465722e76312e417373657412650a" . - "0c73746174655f6368616e676518022001280e324f2e676f6f676c652e63" . - "6c6f75642e736563757269747963656e7465722e76312e4c697374417373" . - "657473526573706f6e73652e4c697374417373657473526573756c742e53" . - "746174654368616e6765223d0a0b53746174654368616e6765120a0a0655" . - "4e55534544100012090a0541444445441001120b0a0752454d4f56454410" . - "02120a0a0641435449564510032288020a134c69737446696e64696e6773" . - "52657175657374120e0a06706172656e74180120012809120e0a0666696c" . - "74657218022001280912100a086f726465725f6279180320012809122d0a" . - "09726561645f74696d6518042001280b321a2e676f6f676c652e70726f74" . - "6f6275662e54696d657374616d7012330a10636f6d706172655f64757261" . - "74696f6e18052001280b32192e676f6f676c652e70726f746f6275662e44" . - "75726174696f6e122e0a0a6669656c645f6d61736b18072001280b321a2e" . - "676f6f676c652e70726f746f6275662e4669656c644d61736b12120a0a70" . - "6167655f746f6b656e18082001280912110a09706167655f73697a651809" . - "200128054a040806100722e5030a144c69737446696e64696e6773526573" . - "706f6e736512660a156c6973745f66696e64696e67735f726573756c7473" . - "18012003280b32472e676f6f676c652e636c6f75642e7365637572697479" . - "63656e7465722e76312e4c69737446696e64696e6773526573706f6e7365" . - "2e4c69737446696e64696e6773526573756c74122d0a09726561645f7469" . - "6d6518022001280b321a2e676f6f676c652e70726f746f6275662e54696d" . - "657374616d7012170a0f6e6578745f706167655f746f6b656e1803200128" . - "0912120a0a746f74616c5f73697a651804200128051a88020a124c697374" . - "46696e64696e6773526573756c7412380a0766696e64696e671801200128" . - "0b32272e676f6f676c652e636c6f75642e736563757269747963656e7465" . - "722e76312e46696e64696e6712690a0c73746174655f6368616e67651802" . - "2001280e32532e676f6f676c652e636c6f75642e73656375726974796365" . + "726174696f6e12330a0a6669656c645f6d61736b18072001280b321a2e67" . + "6f6f676c652e70726f746f6275662e4669656c644d61736b4203e0410112" . + "120a0a706167655f746f6b656e18082001280912110a09706167655f7369" . + "7a6518092001280522c9050a144c69737446696e64696e6773526573706f" . + "6e736512660a156c6973745f66696e64696e67735f726573756c74731801" . + "2003280b32472e676f6f676c652e636c6f75642e73656375726974796365" . "6e7465722e76312e4c69737446696e64696e6773526573706f6e73652e4c" . - "69737446696e64696e6773526573756c742e53746174654368616e676522" . - "4d0a0b53746174654368616e6765120a0a06554e555345441000120b0a07" . - "4348414e4745441001120d0a09554e4348414e474544100212090a054144" . - "4445441003120b0a0752454d4f56454410042294010a1653657446696e64" . - "696e67537461746552657175657374120c0a046e616d6518012001280912" . - "3c0a05737461746518022001280e322d2e676f6f676c652e636c6f75642e" . - "736563757269747963656e7465722e76312e46696e64696e672e53746174" . - "65122e0a0a73746172745f74696d6518032001280b321a2e676f6f676c65" . - "2e70726f746f6275662e54696d657374616d70222a0a1852756e41737365" . - "74446973636f7665727952657175657374120e0a06706172656e74180120" . - "0128092281010a1455706461746546696e64696e67526571756573741238" . - "0a0766696e64696e6718012001280b32272e676f6f676c652e636c6f7564" . - "2e736563757269747963656e7465722e76312e46696e64696e67122f0a0b" . - "7570646174655f6d61736b18022001280b321a2e676f6f676c652e70726f" . - "746f6275662e4669656c644d61736b22a9010a215570646174654f726761" . - "6e697a6174696f6e53657474696e67735265717565737412530a156f7267" . - "616e697a6174696f6e5f73657474696e677318012001280b32342e676f6f" . - "676c652e636c6f75642e736563757269747963656e7465722e76312e4f72" . - "67616e697a6174696f6e53657474696e6773122f0a0b7570646174655f6d" . - "61736b18022001280b321a2e676f6f676c652e70726f746f6275662e4669" . - "656c644d61736b227e0a13557064617465536f7572636552657175657374" . - "12360a06736f7572636518012001280b32262e676f6f676c652e636c6f75" . - "642e736563757269747963656e7465722e76312e536f75726365122f0a0b" . - "7570646174655f6d61736b18022001280b321a2e676f6f676c652e70726f" . - "746f6275662e4669656c644d61736b22c4010a1a55706461746553656375" . - "726974794d61726b735265717565737412450a0e73656375726974795f6d" . - "61726b7318012001280b322d2e676f6f676c652e636c6f75642e73656375" . - "7269747963656e7465722e76312e53656375726974794d61726b73122f0a" . - "0b7570646174655f6d61736b18022001280b321a2e676f6f676c652e7072" . - "6f746f6275662e4669656c644d61736b122e0a0a73746172745f74696d65" . - "18032001280b321a2e676f6f676c652e70726f746f6275662e54696d6573" . - "74616d7032901a0a0e536563757269747943656e74657212a1010a0c4372" . - "65617465536f7572636512332e676f6f676c652e636c6f75642e73656375" . - "7269747963656e7465722e76312e437265617465536f7572636552657175" . - "6573741a262e676f6f676c652e636c6f75642e736563757269747963656e" . - "7465722e76312e536f75726365223482d3e493022e22242f76312f7b7061" . - "72656e743d6f7267616e697a6174696f6e732f2a7d2f736f75726365733a" . - "06736f7572636512b0010a0d43726561746546696e64696e6712342e676f" . - "6f676c652e636c6f75642e736563757269747963656e7465722e76312e43" . - "726561746546696e64696e67526571756573741a272e676f6f676c652e63" . - "6c6f75642e736563757269747963656e7465722e76312e46696e64696e67" . - "224082d3e493023a222f2f76312f7b706172656e743d6f7267616e697a61" . - "74696f6e732f2a2f736f75726365732f2a7d2f66696e64696e67733a0766" . - "696e64696e67128b010a0c47657449616d506f6c69637912222e676f6f67" . - "6c652e69616d2e76312e47657449616d506f6c696379526571756573741a" . - "152e676f6f676c652e69616d2e76312e506f6c696379224082d3e493023a" . - "22352f76312f7b7265736f757263653d6f7267616e697a6174696f6e732f" . - "2a2f736f75726365732f2a7d3a67657449616d506f6c6963793a012a12c8" . - "010a174765744f7267616e697a6174696f6e53657474696e6773123e2e67" . + "69737446696e64696e6773526573756c74122d0a09726561645f74696d65" . + "18022001280b321a2e676f6f676c652e70726f746f6275662e54696d6573" . + "74616d7012170a0f6e6578745f706167655f746f6b656e18032001280912" . + "120a0a746f74616c5f73697a651804200128051aec030a124c6973744669" . + "6e64696e6773526573756c7412380a0766696e64696e6718012001280b32" . + "272e676f6f676c652e636c6f75642e736563757269747963656e7465722e" . + "76312e46696e64696e6712690a0c73746174655f6368616e676518022001" . + "280e32532e676f6f676c652e636c6f75642e736563757269747963656e74" . + "65722e76312e4c69737446696e64696e6773526573706f6e73652e4c6973" . + "7446696e64696e6773526573756c742e53746174654368616e676512620a" . + "087265736f7572636518032001280b32502e676f6f676c652e636c6f7564" . + "2e736563757269747963656e7465722e76312e4c69737446696e64696e67" . + "73526573706f6e73652e4c69737446696e64696e6773526573756c742e52" . + "65736f757263651a7e0a085265736f75726365120c0a046e616d65180120" . + "01280912140a0c70726f6a6563745f6e616d65180220012809121c0a1470" . + "726f6a6563745f646973706c61795f6e616d6518032001280912130a0b70" . + "6172656e745f6e616d65180420012809121b0a13706172656e745f646973" . + "706c61795f6e616d65180520012809224d0a0b53746174654368616e6765" . + "120a0a06554e555345441000120b0a074348414e4745441001120d0a0955" . + "4e4348414e474544100212090a0541444445441003120b0a0752454d4f56" . + "4544100422cd010a1653657446696e64696e675374617465526571756573" . + "74123b0a046e616d65180120012809422de04102fa41270a257365637572" . + "69747963656e7465722e676f6f676c65617069732e636f6d2f46696e6469" . + "6e6712410a05737461746518022001280e322d2e676f6f676c652e636c6f" . + "75642e736563757269747963656e7465722e76312e46696e64696e672e53" . + "746174654203e0410212330a0a73746172745f74696d6518032001280b32" . + "1a2e676f6f676c652e70726f746f6275662e54696d657374616d704203e0" . + "410222640a1852756e4173736574446973636f7665727952657175657374" . + "12480a06706172656e741801200128094238e04102fa41320a30636c6f75" . + "647265736f757263656d616e616765722e676f6f676c65617069732e636f" . + "6d2f4f7267616e697a6174696f6e2286010a1455706461746546696e6469" . + "6e6752657175657374123d0a0766696e64696e6718012001280b32272e67" . "6f6f676c652e636c6f75642e736563757269747963656e7465722e76312e" . - "4765744f7267616e697a6174696f6e53657474696e677352657175657374" . - "1a342e676f6f676c652e636c6f75642e736563757269747963656e746572" . - "2e76312e4f7267616e697a6174696f6e53657474696e6773223782d3e493" . - "0231122f2f76312f7b6e616d653d6f7267616e697a6174696f6e732f2a2f" . - "6f7267616e697a6174696f6e53657474696e67737d1293010a0947657453" . - "6f7572636512302e676f6f676c652e636c6f75642e736563757269747963" . - "656e7465722e76312e476574536f75726365526571756573741a262e676f" . - "6f676c652e636c6f75642e736563757269747963656e7465722e76312e53" . - "6f75726365222c82d3e493022612242f76312f7b6e616d653d6f7267616e" . - "697a6174696f6e732f2a2f736f75726365732f2a7d12ac010a0b47726f75" . - "7041737365747312322e676f6f676c652e636c6f75642e73656375726974" . - "7963656e7465722e76312e47726f7570417373657473526571756573741a" . - "332e676f6f676c652e636c6f75642e736563757269747963656e7465722e" . - "76312e47726f7570417373657473526573706f6e7365223482d3e493022e" . - "22292f76312f7b706172656e743d6f7267616e697a6174696f6e732f2a7d" . - "2f6173736574733a67726f75703a012a12be010a0d47726f757046696e64" . - "696e677312342e676f6f676c652e636c6f75642e73656375726974796365" . - "6e7465722e76312e47726f757046696e64696e6773526571756573741a35" . - "2e676f6f676c652e636c6f75642e736563757269747963656e7465722e76" . - "312e47726f757046696e64696e6773526573706f6e7365224082d3e49302" . - "3a22352f76312f7b706172656e743d6f7267616e697a6174696f6e732f2a" . - "2f736f75726365732f2a7d2f66696e64696e67733a67726f75703a012a12" . - "a0010a0a4c69737441737365747312312e676f6f676c652e636c6f75642e" . - "736563757269747963656e7465722e76312e4c6973744173736574735265" . - "71756573741a322e676f6f676c652e636c6f75642e736563757269747963" . - "656e7465722e76312e4c697374417373657473526573706f6e7365222b82" . - "d3e493022512232f76312f7b706172656e743d6f7267616e697a6174696f" . - "6e732f2a7d2f61737365747312b2010a0c4c69737446696e64696e677312" . - "332e676f6f676c652e636c6f75642e736563757269747963656e7465722e" . - "76312e4c69737446696e64696e6773526571756573741a342e676f6f676c" . - "652e636c6f75642e736563757269747963656e7465722e76312e4c697374" . - "46696e64696e6773526573706f6e7365223782d3e4930231122f2f76312f" . - "7b706172656e743d6f7267616e697a6174696f6e732f2a2f736f75726365" . - "732f2a7d2f66696e64696e677312a4010a0b4c697374536f757263657312" . - "322e676f6f676c652e636c6f75642e736563757269747963656e7465722e" . - "76312e4c697374536f7572636573526571756573741a332e676f6f676c65" . - "2e636c6f75642e736563757269747963656e7465722e76312e4c69737453" . - "6f7572636573526573706f6e7365222c82d3e493022612242f76312f7b70" . - "6172656e743d6f7267616e697a6174696f6e732f2a7d2f736f7572636573" . - "12a9010a1152756e4173736574446973636f7665727912382e676f6f676c" . - "652e636c6f75642e736563757269747963656e7465722e76312e52756e41" . - "73736574446973636f76657279526571756573741a1d2e676f6f676c652e" . - "6c6f6e6772756e6e696e672e4f7065726174696f6e223b82d3e493023522" . - "302f76312f7b706172656e743d6f7267616e697a6174696f6e732f2a7d2f" . - "6173736574733a72756e446973636f766572793a012a12b7010a0f536574" . - "46696e64696e67537461746512362e676f6f676c652e636c6f75642e7365" . - "63757269747963656e7465722e76312e53657446696e64696e6753746174" . - "65526571756573741a272e676f6f676c652e636c6f75642e736563757269" . - "747963656e7465722e76312e46696e64696e67224382d3e493023d22382f" . - "76312f7b6e616d653d6f7267616e697a6174696f6e732f2a2f736f757263" . - "65732f2a2f66696e64696e67732f2a7d3a73657453746174653a012a128b" . - "010a0c53657449616d506f6c69637912222e676f6f676c652e69616d2e76" . - "312e53657449616d506f6c696379526571756573741a152e676f6f676c65" . - "2e69616d2e76312e506f6c696379224082d3e493023a22352f76312f7b72" . - "65736f757263653d6f7267616e697a6174696f6e732f2a2f736f75726365" . - "732f2a7d3a73657449616d506f6c6963793a012a12b1010a125465737449" . - "616d5065726d697373696f6e7312282e676f6f676c652e69616d2e76312e" . - "5465737449616d5065726d697373696f6e73526571756573741a292e676f" . - "6f676c652e69616d2e76312e5465737449616d5065726d697373696f6e73" . - "526573706f6e7365224682d3e4930240223b2f76312f7b7265736f757263" . - "653d6f7267616e697a6174696f6e732f2a2f736f75726365732f2a7d3a74" . - "65737449616d5065726d697373696f6e733a012a12b8010a0d5570646174" . - "6546696e64696e6712342e676f6f676c652e636c6f75642e736563757269" . - "747963656e7465722e76312e55706461746546696e64696e675265717565" . - "73741a272e676f6f676c652e636c6f75642e736563757269747963656e74" . - "65722e76312e46696e64696e67224882d3e493024232372f76312f7b6669" . - "6e64696e672e6e616d653d6f7267616e697a6174696f6e732f2a2f736f75" . - "726365732f2a2f66696e64696e67732f2a7d3a0766696e64696e6712fb01" . - "0a1a5570646174654f7267616e697a6174696f6e53657474696e67731241" . + "46696e64696e674203e04102122f0a0b7570646174655f6d61736b180220" . + "01280b321a2e676f6f676c652e70726f746f6275662e4669656c644d6173" . + "6b22ae010a215570646174654f7267616e697a6174696f6e53657474696e" . + "67735265717565737412580a156f7267616e697a6174696f6e5f73657474" . + "696e677318012001280b32342e676f6f676c652e636c6f75642e73656375" . + "7269747963656e7465722e76312e4f7267616e697a6174696f6e53657474" . + "696e67734203e04102122f0a0b7570646174655f6d61736b18022001280b" . + "321a2e676f6f676c652e70726f746f6275662e4669656c644d61736b2283" . + "010a13557064617465536f7572636552657175657374123b0a06736f7572" . + "636518012001280b32262e676f6f676c652e636c6f75642e736563757269" . + "747963656e7465722e76312e536f757263654203e04102122f0a0b757064" . + "6174655f6d61736b18022001280b321a2e676f6f676c652e70726f746f62" . + "75662e4669656c644d61736b22c9010a1a55706461746553656375726974" . + "794d61726b7352657175657374124a0a0e73656375726974795f6d61726b" . + "7318012001280b322d2e676f6f676c652e636c6f75642e73656375726974" . + "7963656e7465722e76312e53656375726974794d61726b734203e0410212" . + "2f0a0b7570646174655f6d61736b18022001280b321a2e676f6f676c652e" . + "70726f746f6275662e4669656c644d61736b122e0a0a73746172745f7469" . + "6d6518032001280b321a2e676f6f676c652e70726f746f6275662e54696d" . + "657374616d70329e1d0a0e536563757269747943656e74657212b1010a0c" . + "437265617465536f7572636512332e676f6f676c652e636c6f75642e7365" . + "63757269747963656e7465722e76312e437265617465536f757263655265" . + "71756573741a262e676f6f676c652e636c6f75642e736563757269747963" . + "656e7465722e76312e536f75726365224482d3e493022e22242f76312f7b" . + "706172656e743d6f7267616e697a6174696f6e732f2a7d2f736f75726365" . + "733a06736f75726365da410d706172656e742c736f7572636512cc010a0d" . + "43726561746546696e64696e6712342e676f6f676c652e636c6f75642e73" . + "6563757269747963656e7465722e76312e43726561746546696e64696e67" . + "526571756573741a272e676f6f676c652e636c6f75642e73656375726974" . + "7963656e7465722e76312e46696e64696e67225c82d3e493023a222f2f76" . + "312f7b706172656e743d6f7267616e697a6174696f6e732f2a2f736f7572" . + "6365732f2a7d2f66696e64696e67733a0766696e64696e67da4119706172" . + "656e742c66696e64696e675f69642c66696e64696e671296010a0c476574" . + "49616d506f6c69637912222e676f6f676c652e69616d2e76312e47657449" . + "616d506f6c696379526571756573741a152e676f6f676c652e69616d2e76" . + "312e506f6c696379224b82d3e493023a22352f76312f7b7265736f757263" . + "653d6f7267616e697a6174696f6e732f2a2f736f75726365732f2a7d3a67" . + "657449616d506f6c6963793a012ada41087265736f7572636512cf010a17" . + "4765744f7267616e697a6174696f6e53657474696e6773123e2e676f6f67" . + "6c652e636c6f75642e736563757269747963656e7465722e76312e476574" . + "4f7267616e697a6174696f6e53657474696e6773526571756573741a342e" . + "676f6f676c652e636c6f75642e736563757269747963656e7465722e7631" . + "2e4f7267616e697a6174696f6e53657474696e6773223e82d3e493023112" . + "2f2f76312f7b6e616d653d6f7267616e697a6174696f6e732f2a2f6f7267" . + "616e697a6174696f6e53657474696e67737dda41046e616d65129a010a09" . + "476574536f7572636512302e676f6f676c652e636c6f75642e7365637572" . + "69747963656e7465722e76312e476574536f75726365526571756573741a" . + "262e676f6f676c652e636c6f75642e736563757269747963656e7465722e" . + "76312e536f75726365223382d3e493022612242f76312f7b6e616d653d6f" . + "7267616e697a6174696f6e732f2a2f736f75726365732f2a7dda41046e61" . + "6d6512ac010a0b47726f757041737365747312322e676f6f676c652e636c" . + "6f75642e736563757269747963656e7465722e76312e47726f7570417373" . + "657473526571756573741a332e676f6f676c652e636c6f75642e73656375" . + "7269747963656e7465722e76312e47726f7570417373657473526573706f" . + "6e7365223482d3e493022e22292f76312f7b706172656e743d6f7267616e" . + "697a6174696f6e732f2a7d2f6173736574733a67726f75703a012a12d001" . + "0a0d47726f757046696e64696e677312342e676f6f676c652e636c6f7564" . + "2e736563757269747963656e7465722e76312e47726f757046696e64696e" . + "6773526571756573741a352e676f6f676c652e636c6f75642e7365637572" . + "69747963656e7465722e76312e47726f757046696e64696e677352657370" . + "6f6e7365225282d3e493023a22352f76312f7b706172656e743d6f726761" . + "6e697a6174696f6e732f2a2f736f75726365732f2a7d2f66696e64696e67" . + "733a67726f75703a012ada410f706172656e742c67726f75705f627912a0" . + "010a0a4c69737441737365747312312e676f6f676c652e636c6f75642e73" . + "6563757269747963656e7465722e76312e4c697374417373657473526571" . + "756573741a322e676f6f676c652e636c6f75642e73656375726974796365" . + "6e7465722e76312e4c697374417373657473526573706f6e7365222b82d3" . + "e493022512232f76312f7b706172656e743d6f7267616e697a6174696f6e" . + "732f2a7d2f61737365747312b2010a0c4c69737446696e64696e67731233" . "2e676f6f676c652e636c6f75642e736563757269747963656e7465722e76" . - "312e5570646174654f7267616e697a6174696f6e53657474696e67735265" . - "71756573741a342e676f6f676c652e636c6f75642e736563757269747963" . - "656e7465722e76312e4f7267616e697a6174696f6e53657474696e677322" . - "6482d3e493025e32452f76312f7b6f7267616e697a6174696f6e5f736574" . - "74696e67732e6e616d653d6f7267616e697a6174696f6e732f2a2f6f7267" . - "616e697a6174696f6e53657474696e67737d3a156f7267616e697a617469" . - "6f6e5f73657474696e677312a8010a0c557064617465536f757263651233" . + "312e4c69737446696e64696e6773526571756573741a342e676f6f676c65" . + "2e636c6f75642e736563757269747963656e7465722e76312e4c69737446" . + "696e64696e6773526573706f6e7365223782d3e4930231122f2f76312f7b" . + "706172656e743d6f7267616e697a6174696f6e732f2a2f736f7572636573" . + "2f2a7d2f66696e64696e677312ad010a0b4c697374536f75726365731232" . "2e676f6f676c652e636c6f75642e736563757269747963656e7465722e76" . - "312e557064617465536f75726365526571756573741a262e676f6f676c65" . - "2e636c6f75642e736563757269747963656e7465722e76312e536f757263" . - "65223b82d3e4930235322b2f76312f7b736f757263652e6e616d653d6f72" . - "67616e697a6174696f6e732f2a2f736f75726365732f2a7d3a06736f7572" . - "636512bc020a1355706461746553656375726974794d61726b73123a2e67" . + "312e4c697374536f7572636573526571756573741a332e676f6f676c652e" . + "636c6f75642e736563757269747963656e7465722e76312e4c697374536f" . + "7572636573526573706f6e7365223582d3e493022612242f76312f7b7061" . + "72656e743d6f7267616e697a6174696f6e732f2a7d2f736f7572636573da" . + "4106706172656e741287020a1152756e4173736574446973636f76657279" . + "12382e676f6f676c652e636c6f75642e736563757269747963656e746572" . + "2e76312e52756e4173736574446973636f76657279526571756573741a1d" . + "2e676f6f676c652e6c6f6e6772756e6e696e672e4f7065726174696f6e22" . + "980182d3e493023522302f76312f7b706172656e743d6f7267616e697a61" . + "74696f6e732f2a7d2f6173736574733a72756e446973636f766572793a01" . + "2ada4106706172656e74ca41510a38676f6f676c652e636c6f75642e7365" . + "63757269747963656e7465722e76312e52756e4173736574446973636f76" . + "657279526573706f6e73651215676f6f676c652e70726f746f6275662e45" . + "6d70747912cf010a0f53657446696e64696e67537461746512362e676f6f" . + "676c652e636c6f75642e736563757269747963656e7465722e76312e5365" . + "7446696e64696e675374617465526571756573741a272e676f6f676c652e" . + "636c6f75642e736563757269747963656e7465722e76312e46696e64696e" . + "67225b82d3e493023d22382f76312f7b6e616d653d6f7267616e697a6174" . + "696f6e732f2a2f736f75726365732f2a2f66696e64696e67732f2a7d3a73" . + "657453746174653a012ada41156e616d652c73746174652c73746172745f" . + "74696d65129d010a0c53657449616d506f6c69637912222e676f6f676c65" . + "2e69616d2e76312e53657449616d506f6c696379526571756573741a152e" . + "676f6f676c652e69616d2e76312e506f6c696379225282d3e493023a2235" . + "2f76312f7b7265736f757263653d6f7267616e697a6174696f6e732f2a2f" . + "736f75726365732f2a7d3a73657449616d506f6c6963793a012ada410f72" . + "65736f757263652c706f6c69637912c8010a125465737449616d5065726d" . + "697373696f6e7312282e676f6f676c652e69616d2e76312e546573744961" . + "6d5065726d697373696f6e73526571756573741a292e676f6f676c652e69" . + "616d2e76312e5465737449616d5065726d697373696f6e73526573706f6e" . + "7365225d82d3e4930240223b2f76312f7b7265736f757263653d6f726761" . + "6e697a6174696f6e732f2a2f736f75726365732f2a7d3a7465737449616d" . + "5065726d697373696f6e733a012ada41147265736f757263652c7065726d" . + "697373696f6e7312c2010a0d55706461746546696e64696e6712342e676f" . + "6f676c652e636c6f75642e736563757269747963656e7465722e76312e55" . + "706461746546696e64696e67526571756573741a272e676f6f676c652e63" . + "6c6f75642e736563757269747963656e7465722e76312e46696e64696e67" . + "225282d3e493024232372f76312f7b66696e64696e672e6e616d653d6f72" . + "67616e697a6174696f6e732f2a2f736f75726365732f2a2f66696e64696e" . + "67732f2a7d3a0766696e64696e67da410766696e64696e671293020a1a55" . + "70646174654f7267616e697a6174696f6e53657474696e677312412e676f" . + "6f676c652e636c6f75642e736563757269747963656e7465722e76312e55" . + "70646174654f7267616e697a6174696f6e53657474696e67735265717565" . + "73741a342e676f6f676c652e636c6f75642e736563757269747963656e74" . + "65722e76312e4f7267616e697a6174696f6e53657474696e6773227c82d3" . + "e493025e32452f76312f7b6f7267616e697a6174696f6e5f73657474696e" . + "67732e6e616d653d6f7267616e697a6174696f6e732f2a2f6f7267616e69" . + "7a6174696f6e53657474696e67737d3a156f7267616e697a6174696f6e5f" . + "73657474696e6773da41156f7267616e697a6174696f6e5f73657474696e" . + "677312b1010a0c557064617465536f7572636512332e676f6f676c652e63" . + "6c6f75642e736563757269747963656e7465722e76312e55706461746553" . + "6f75726365526571756573741a262e676f6f676c652e636c6f75642e7365" . + "63757269747963656e7465722e76312e536f75726365224482d3e4930235" . + "322b2f76312f7b736f757263652e6e616d653d6f7267616e697a6174696f" . + "6e732f2a2f736f75726365732f2a7d3a06736f75726365da4106736f7572" . + "636512cd020a1355706461746553656375726974794d61726b73123a2e67" . "6f6f676c652e636c6f75642e736563757269747963656e7465722e76312e" . "55706461746553656375726974794d61726b73526571756573741a2d2e67" . "6f6f676c652e636c6f75642e736563757269747963656e7465722e76312e" . - "53656375726974794d61726b7322b90182d3e49302b20132402f76312f7b" . + "53656375726974794d61726b7322ca0182d3e49302b20132402f76312f7b" . "73656375726974795f6d61726b732e6e616d653d6f7267616e697a617469" . "6f6e732f2a2f6173736574732f2a2f73656375726974794d61726b737d3a" . "0e73656375726974795f6d61726b735a5e324c2f76312f7b736563757269" . "74795f6d61726b732e6e616d653d6f7267616e697a6174696f6e732f2a2f" . "736f75726365732f2a2f66696e64696e67732f2a2f73656375726974794d" . - "61726b737d3a0e73656375726974795f6d61726b7342da010a22636f6d2e" . - "676f6f676c652e636c6f75642e736563757269747963656e7465722e7631" . - "50015a4c676f6f676c652e676f6c616e672e6f72672f67656e70726f746f" . - "2f676f6f676c65617069732f636c6f75642f736563757269747963656e74" . - "65722f76313b736563757269747963656e746572aa021e476f6f676c652e" . - "436c6f75642e536563757269747943656e7465722e5631ca021e476f6f67" . - "6c655c436c6f75645c536563757269747943656e7465725c5631ea022147" . - "6f6f676c653a3a436c6f75643a3a536563757269747943656e7465723a3a" . - "5631620670726f746f33" + "61726b737d3a0e73656375726974795f6d61726b73da410e736563757269" . + "74795f6d61726b731a51ca411d736563757269747963656e7465722e676f" . + "6f676c65617069732e636f6dd2412e68747470733a2f2f7777772e676f6f" . + "676c65617069732e636f6d2f617574682f636c6f75642d706c6174666f72" . + "6d42da010a22636f6d2e676f6f676c652e636c6f75642e73656375726974" . + "7963656e7465722e763150015a4c676f6f676c652e676f6c616e672e6f72" . + "672f67656e70726f746f2f676f6f676c65617069732f636c6f75642f7365" . + "63757269747963656e7465722f76313b736563757269747963656e746572" . + "aa021e476f6f676c652e436c6f75642e536563757269747943656e746572" . + "2e5631ca021e476f6f676c655c436c6f75645c536563757269747943656e" . + "7465725c5631ea0221476f6f676c653a3a436c6f75643a3a536563757269" . + "747943656e7465723a3a56315000620670726f746f33" ), true); static::$is_initialized = true; diff --git a/SecurityCenter/metadata/V1/Source.php b/SecurityCenter/metadata/V1/Source.php index 5e437f374c99..0edd7306da26 100644 --- a/SecurityCenter/metadata/V1/Source.php +++ b/SecurityCenter/metadata/V1/Source.php @@ -14,21 +14,26 @@ public static function initOnce() { if (static::$is_initialized == true) { return; } + \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Api\Annotations::initOnce(); $pool->internalAddGeneratedFile(hex2bin( - "0afb020a2b676f6f676c652f636c6f75642f736563757269747963656e74" . + "0aee030a2b676f6f676c652f636c6f75642f736563757269747963656e74" . "65722f76312f736f757263652e70726f746f121e676f6f676c652e636c6f" . - "75642e736563757269747963656e7465722e763122470a06536f75726365" . - "120c0a046e616d6518012001280912140a0c646973706c61795f6e616d65" . - "18022001280912130a0b6465736372697074696f6e1803200128094a0408" . - "04100542da010a22636f6d2e676f6f676c652e636c6f75642e7365637572" . - "69747963656e7465722e763150015a4c676f6f676c652e676f6c616e672e" . - "6f72672f67656e70726f746f2f676f6f676c65617069732f636c6f75642f" . - "736563757269747963656e7465722f76313b736563757269747963656e74" . - "6572aa021e476f6f676c652e436c6f75642e536563757269747943656e74" . - "65722e5631ca021e476f6f676c655c436c6f75645c536563757269747943" . - "656e7465725c5631ea0221476f6f676c653a3a436c6f75643a3a53656375" . - "7269747943656e7465723a3a5631620670726f746f33" + "75642e736563757269747963656e7465722e76311a1c676f6f676c652f61" . + "70692f616e6e6f746174696f6e732e70726f746f229b010a06536f757263" . + "65120c0a046e616d6518012001280912140a0c646973706c61795f6e616d" . + "6518022001280912130a0b6465736372697074696f6e1803200128093a58" . + "ea41550a24736563757269747963656e7465722e676f6f676c6561706973" . + "2e636f6d2f536f75726365122d6f7267616e697a6174696f6e732f7b6f72" . + "67616e697a6174696f6e7d2f736f75726365732f7b736f757263657d42da" . + "010a22636f6d2e676f6f676c652e636c6f75642e73656375726974796365" . + "6e7465722e763150015a4c676f6f676c652e676f6c616e672e6f72672f67" . + "656e70726f746f2f676f6f676c65617069732f636c6f75642f7365637572" . + "69747963656e7465722f76313b736563757269747963656e746572aa021e" . + "476f6f676c652e436c6f75642e536563757269747943656e7465722e5631" . + "ca021e476f6f676c655c436c6f75645c536563757269747943656e746572" . + "5c5631ea0221476f6f676c653a3a436c6f75643a3a536563757269747943" . + "656e7465723a3a5631620670726f746f33" ), true); static::$is_initialized = true; diff --git a/SecurityCenter/src/V1/Asset.php b/SecurityCenter/src/V1/Asset.php index f115b11184ba..930eefd22cf3 100644 --- a/SecurityCenter/src/V1/Asset.php +++ b/SecurityCenter/src/V1/Asset.php @@ -23,7 +23,7 @@ class Asset extends \Google\Protobuf\Internal\Message * The relative resource name of this asset. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/assets/456". + * "organizations/{organization_id}/assets/{asset_id}". * * Generated from protobuf field string name = 1; */ @@ -81,7 +81,7 @@ class Asset extends \Google\Protobuf\Internal\Message * The relative resource name of this asset. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/assets/456". + * "organizations/{organization_id}/assets/{asset_id}". * @type \Google\Cloud\SecurityCenter\V1\Asset\SecurityCenterProperties $security_center_properties * Cloud SCC managed properties. These properties are managed by * Cloud SCC and cannot be modified by the user. @@ -111,7 +111,7 @@ public function __construct($data = NULL) { * The relative resource name of this asset. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/assets/456". + * "organizations/{organization_id}/assets/{asset_id}". * * Generated from protobuf field string name = 1; * @return string @@ -125,7 +125,7 @@ public function getName() * The relative resource name of this asset. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/assets/456". + * "organizations/{organization_id}/assets/{asset_id}". * * Generated from protobuf field string name = 1; * @param string $var diff --git a/SecurityCenter/src/V1/Asset/SecurityCenterProperties.php b/SecurityCenter/src/V1/Asset/SecurityCenterProperties.php index 4efe6755bf3a..c3b3943aa3cc 100644 --- a/SecurityCenter/src/V1/Asset/SecurityCenterProperties.php +++ b/SecurityCenter/src/V1/Asset/SecurityCenterProperties.php @@ -53,6 +53,24 @@ class SecurityCenterProperties extends \Google\Protobuf\Internal\Message * Generated from protobuf field repeated string resource_owners = 5; */ private $resource_owners; + /** + * The user defined display name for this resource. + * + * Generated from protobuf field string resource_display_name = 6; + */ + private $resource_display_name = ''; + /** + * The user defined display name for the parent of this resource. + * + * Generated from protobuf field string resource_parent_display_name = 7; + */ + private $resource_parent_display_name = ''; + /** + * The user defined display name for the project of this resource. + * + * Generated from protobuf field string resource_project_display_name = 8; + */ + private $resource_project_display_name = ''; /** * Constructor. @@ -77,6 +95,12 @@ class SecurityCenterProperties extends \Google\Protobuf\Internal\Message * https://cloud.google.com/apis/design/resource_names#full_resource_name * @type string[]|\Google\Protobuf\Internal\RepeatedField $resource_owners * Owners of the Google Cloud resource. + * @type string $resource_display_name + * The user defined display name for this resource. + * @type string $resource_parent_display_name + * The user defined display name for the parent of this resource. + * @type string $resource_project_display_name + * The user defined display name for the project of this resource. * } */ public function __construct($data = NULL) { @@ -228,6 +252,84 @@ public function setResourceOwners($var) return $this; } + /** + * The user defined display name for this resource. + * + * Generated from protobuf field string resource_display_name = 6; + * @return string + */ + public function getResourceDisplayName() + { + return $this->resource_display_name; + } + + /** + * The user defined display name for this resource. + * + * Generated from protobuf field string resource_display_name = 6; + * @param string $var + * @return $this + */ + public function setResourceDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->resource_display_name = $var; + + return $this; + } + + /** + * The user defined display name for the parent of this resource. + * + * Generated from protobuf field string resource_parent_display_name = 7; + * @return string + */ + public function getResourceParentDisplayName() + { + return $this->resource_parent_display_name; + } + + /** + * The user defined display name for the parent of this resource. + * + * Generated from protobuf field string resource_parent_display_name = 7; + * @param string $var + * @return $this + */ + public function setResourceParentDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->resource_parent_display_name = $var; + + return $this; + } + + /** + * The user defined display name for the project of this resource. + * + * Generated from protobuf field string resource_project_display_name = 8; + * @return string + */ + public function getResourceProjectDisplayName() + { + return $this->resource_project_display_name; + } + + /** + * The user defined display name for the project of this resource. + * + * Generated from protobuf field string resource_project_display_name = 8; + * @param string $var + * @return $this + */ + public function setResourceProjectDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->resource_project_display_name = $var; + + return $this; + } + } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/SecurityCenter/src/V1/CreateFindingRequest.php b/SecurityCenter/src/V1/CreateFindingRequest.php index 7ff0e1b09b68..cd7c136e2788 100644 --- a/SecurityCenter/src/V1/CreateFindingRequest.php +++ b/SecurityCenter/src/V1/CreateFindingRequest.php @@ -16,25 +16,25 @@ class CreateFindingRequest extends \Google\Protobuf\Internal\Message { /** - * Resource name of the new finding's parent. Its format should be + * Required. Resource name of the new finding's parent. Its format should be * "organizations/[organization_id]/sources/[source_id]". * - * 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 = ''; /** - * Unique identifier provided by the client within the parent scope. + * Required. Unique identifier provided by the client within the parent scope. * It must be alphanumeric and less than or equal to 32 characters and * greater than 0 characters in length. * - * Generated from protobuf field string finding_id = 2; + * Generated from protobuf field string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $finding_id = ''; /** - * The Finding being created. The name and security_marks will be ignored as + * Required. The Finding being created. The name and security_marks will be ignored as * they are both output only fields on this resource. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 3; + * Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; */ private $finding = null; @@ -45,14 +45,14 @@ class CreateFindingRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $parent - * Resource name of the new finding's parent. Its format should be + * Required. Resource name of the new finding's parent. Its format should be * "organizations/[organization_id]/sources/[source_id]". * @type string $finding_id - * Unique identifier provided by the client within the parent scope. + * Required. Unique identifier provided by the client within the parent scope. * It must be alphanumeric and less than or equal to 32 characters and * greater than 0 characters in length. * @type \Google\Cloud\SecurityCenter\V1\Finding $finding - * The Finding being created. The name and security_marks will be ignored as + * Required. The Finding being created. The name and security_marks will be ignored as * they are both output only fields on this resource. * } */ @@ -62,10 +62,10 @@ public function __construct($data = NULL) { } /** - * Resource name of the new finding's parent. Its format should be + * Required. Resource name of the new finding's parent. Its format should be * "organizations/[organization_id]/sources/[source_id]". * - * 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() @@ -74,10 +74,10 @@ public function getParent() } /** - * Resource name of the new finding's parent. Its format should be + * Required. Resource name of the new finding's parent. Its format should be * "organizations/[organization_id]/sources/[source_id]". * - * 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 */ @@ -90,11 +90,11 @@ public function setParent($var) } /** - * Unique identifier provided by the client within the parent scope. + * Required. Unique identifier provided by the client within the parent scope. * It must be alphanumeric and less than or equal to 32 characters and * greater than 0 characters in length. * - * Generated from protobuf field string finding_id = 2; + * Generated from protobuf field string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getFindingId() @@ -103,11 +103,11 @@ public function getFindingId() } /** - * Unique identifier provided by the client within the parent scope. + * Required. Unique identifier provided by the client within the parent scope. * It must be alphanumeric and less than or equal to 32 characters and * greater than 0 characters in length. * - * Generated from protobuf field string finding_id = 2; + * Generated from protobuf field string finding_id = 2 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ @@ -120,10 +120,10 @@ public function setFindingId($var) } /** - * The Finding being created. The name and security_marks will be ignored as + * Required. The Finding being created. The name and security_marks will be ignored as * they are both output only fields on this resource. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 3; + * Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\SecurityCenter\V1\Finding */ public function getFinding() @@ -132,10 +132,10 @@ public function getFinding() } /** - * The Finding being created. The name and security_marks will be ignored as + * Required. The Finding being created. The name and security_marks will be ignored as * they are both output only fields on this resource. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 3; + * Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 3 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\SecurityCenter\V1\Finding $var * @return $this */ diff --git a/SecurityCenter/src/V1/CreateSourceRequest.php b/SecurityCenter/src/V1/CreateSourceRequest.php index 8aabcb3d1f89..efa728564740 100644 --- a/SecurityCenter/src/V1/CreateSourceRequest.php +++ b/SecurityCenter/src/V1/CreateSourceRequest.php @@ -16,17 +16,17 @@ class CreateSourceRequest extends \Google\Protobuf\Internal\Message { /** - * Resource name of the new source's parent. Its format should be + * Required. Resource name of the new source's parent. Its format should be * "organizations/[organization_id]". * - * 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 = ''; /** - * The Source being created, only the display_name and description will be + * Required. The Source being created, only the display_name and description will be * used. All other fields will be ignored. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Source source = 2; + * Generated from protobuf field .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $source = null; @@ -37,10 +37,10 @@ class CreateSourceRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $parent - * Resource name of the new source's parent. Its format should be + * Required. Resource name of the new source's parent. Its format should be * "organizations/[organization_id]". * @type \Google\Cloud\SecurityCenter\V1\Source $source - * The Source being created, only the display_name and description will be + * Required. The Source being created, only the display_name and description will be * used. All other fields will be ignored. * } */ @@ -50,10 +50,10 @@ public function __construct($data = NULL) { } /** - * Resource name of the new source's parent. Its format should be + * Required. Resource name of the new source's parent. Its format should be * "organizations/[organization_id]". * - * 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() @@ -62,10 +62,10 @@ public function getParent() } /** - * Resource name of the new source's parent. Its format should be + * Required. Resource name of the new source's parent. Its format should be * "organizations/[organization_id]". * - * 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 */ @@ -78,10 +78,10 @@ public function setParent($var) } /** - * The Source being created, only the display_name and description will be + * Required. The Source being created, only the display_name and description will be * used. All other fields will be ignored. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Source source = 2; + * Generated from protobuf field .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\SecurityCenter\V1\Source */ public function getSource() @@ -90,10 +90,10 @@ public function getSource() } /** - * The Source being created, only the display_name and description will be + * Required. The Source being created, only the display_name and description will be * used. All other fields will be ignored. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Source source = 2; + * Generated from protobuf field .google.cloud.securitycenter.v1.Source source = 2 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\SecurityCenter\V1\Source $var * @return $this */ diff --git a/SecurityCenter/src/V1/Finding.php b/SecurityCenter/src/V1/Finding.php index b00a53b87dce..0a662dcf1a8e 100644 --- a/SecurityCenter/src/V1/Finding.php +++ b/SecurityCenter/src/V1/Finding.php @@ -10,10 +10,11 @@ /** * Cloud Security Command Center (Cloud SCC) finding. - * A finding is a record of assessment data (security, risk, health or privacy) - * ingested into Cloud SCC for presentation, notification, analysis, - * policy testing, and enforcement. For example, an XSS vulnerability in an - * App Engine application is a finding. + * A finding is a record of assessment data like security, risk, health, or + * privacy, that is ingested into Cloud SCC for presentation, notification, + * analysis, policy testing, and enforcement. For example, a + * cross-site scripting (XSS) vulnerability in an App Engine application is a + * finding. * * Generated from protobuf message google.cloud.securitycenter.v1.Finding */ @@ -23,7 +24,7 @@ class Finding extends \Google\Protobuf\Internal\Message * The relative resource name of this finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456/findings/789" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}" * * Generated from protobuf field string name = 1; */ @@ -33,15 +34,17 @@ class Finding extends \Google\Protobuf\Internal\Message * https://cloud.google.com/apis/design/resource_names#relative_resource_name * This field is immutable after creation time. * For example: - * "organizations/123/sources/456" + * "organizations/{organization_id}/sources/{source_id}" * * Generated from protobuf field string parent = 2; */ private $parent = ''; /** - * The full resource name of the Google Cloud Platform (GCP) resource this - * finding is for. See: + * For findings on Google Cloud Platform (GCP) resources, the full resource + * name of the GCP resource this finding is for. See: * https://cloud.google.com/apis/design/resource_names#full_resource_name + * When the finding is for a non-GCP resource, the resourceName can be a + * customer or partner defined string. * This field is immutable after creation time. * * Generated from protobuf field string resource_name = 3; @@ -83,13 +86,13 @@ class Finding extends \Google\Protobuf\Internal\Message * managed by the user and come from the SecurityMarks resource that belongs * to the finding. * - * Generated from protobuf field .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8; + * Generated from protobuf field .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $security_marks = null; /** * The time at which the event took place. For example, if the finding - * represents an open firewall it would capture the time the open firewall was - * detected. + * represents an open firewall it would capture the time the detector believes + * the firewall became open. The accuracy is determined by the detector. * * Generated from protobuf field .google.protobuf.Timestamp event_time = 9; */ @@ -111,17 +114,19 @@ class Finding extends \Google\Protobuf\Internal\Message * The relative resource name of this finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456/findings/789" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}" * @type string $parent * The relative resource name of the source the finding belongs to. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * This field is immutable after creation time. * For example: - * "organizations/123/sources/456" + * "organizations/{organization_id}/sources/{source_id}" * @type string $resource_name - * The full resource name of the Google Cloud Platform (GCP) resource this - * finding is for. See: + * For findings on Google Cloud Platform (GCP) resources, the full resource + * name of the GCP resource this finding is for. See: * https://cloud.google.com/apis/design/resource_names#full_resource_name + * When the finding is for a non-GCP resource, the resourceName can be a + * customer or partner defined string. * This field is immutable after creation time. * @type int $state * The state of the finding. @@ -144,8 +149,8 @@ class Finding extends \Google\Protobuf\Internal\Message * to the finding. * @type \Google\Protobuf\Timestamp $event_time * The time at which the event took place. For example, if the finding - * represents an open firewall it would capture the time the open firewall was - * detected. + * represents an open firewall it would capture the time the detector believes + * the firewall became open. The accuracy is determined by the detector. * @type \Google\Protobuf\Timestamp $create_time * The time at which the finding was created in Cloud SCC. * } @@ -159,7 +164,7 @@ public function __construct($data = NULL) { * The relative resource name of this finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456/findings/789" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}" * * Generated from protobuf field string name = 1; * @return string @@ -173,7 +178,7 @@ public function getName() * The relative resource name of this finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456/findings/789" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}" * * Generated from protobuf field string name = 1; * @param string $var @@ -192,7 +197,7 @@ public function setName($var) * https://cloud.google.com/apis/design/resource_names#relative_resource_name * This field is immutable after creation time. * For example: - * "organizations/123/sources/456" + * "organizations/{organization_id}/sources/{source_id}" * * Generated from protobuf field string parent = 2; * @return string @@ -207,7 +212,7 @@ public function getParent() * https://cloud.google.com/apis/design/resource_names#relative_resource_name * This field is immutable after creation time. * For example: - * "organizations/123/sources/456" + * "organizations/{organization_id}/sources/{source_id}" * * Generated from protobuf field string parent = 2; * @param string $var @@ -222,9 +227,11 @@ public function setParent($var) } /** - * The full resource name of the Google Cloud Platform (GCP) resource this - * finding is for. See: + * For findings on Google Cloud Platform (GCP) resources, the full resource + * name of the GCP resource this finding is for. See: * https://cloud.google.com/apis/design/resource_names#full_resource_name + * When the finding is for a non-GCP resource, the resourceName can be a + * customer or partner defined string. * This field is immutable after creation time. * * Generated from protobuf field string resource_name = 3; @@ -236,9 +243,11 @@ public function getResourceName() } /** - * The full resource name of the Google Cloud Platform (GCP) resource this - * finding is for. See: + * For findings on Google Cloud Platform (GCP) resources, the full resource + * name of the GCP resource this finding is for. See: * https://cloud.google.com/apis/design/resource_names#full_resource_name + * When the finding is for a non-GCP resource, the resourceName can be a + * customer or partner defined string. * This field is immutable after creation time. * * Generated from protobuf field string resource_name = 3; @@ -376,7 +385,7 @@ public function setSourceProperties($var) * managed by the user and come from the SecurityMarks resource that belongs * to the finding. * - * Generated from protobuf field .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8; + * Generated from protobuf field .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\SecurityCenter\V1\SecurityMarks */ public function getSecurityMarks() @@ -389,7 +398,7 @@ public function getSecurityMarks() * managed by the user and come from the SecurityMarks resource that belongs * to the finding. * - * Generated from protobuf field .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8; + * Generated from protobuf field .google.cloud.securitycenter.v1.SecurityMarks security_marks = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\SecurityCenter\V1\SecurityMarks $var * @return $this */ @@ -403,8 +412,8 @@ public function setSecurityMarks($var) /** * The time at which the event took place. For example, if the finding - * represents an open firewall it would capture the time the open firewall was - * detected. + * represents an open firewall it would capture the time the detector believes + * the firewall became open. The accuracy is determined by the detector. * * Generated from protobuf field .google.protobuf.Timestamp event_time = 9; * @return \Google\Protobuf\Timestamp @@ -416,8 +425,8 @@ public function getEventTime() /** * The time at which the event took place. For example, if the finding - * represents an open firewall it would capture the time the open firewall was - * detected. + * represents an open firewall it would capture the time the detector believes + * the firewall became open. The accuracy is determined by the detector. * * Generated from protobuf field .google.protobuf.Timestamp event_time = 9; * @param \Google\Protobuf\Timestamp $var diff --git a/SecurityCenter/src/V1/Gapic/SecurityCenterGapicClient.php b/SecurityCenter/src/V1/Gapic/SecurityCenterGapicClient.php index ab8e98617340..c2d720168e54 100644 --- a/SecurityCenter/src/V1/Gapic/SecurityCenterGapicClient.php +++ b/SecurityCenter/src/V1/Gapic/SecurityCenterGapicClient.php @@ -550,9 +550,9 @@ public function __construct(array $options = []) * } * ``` * - * @param string $parent Resource name of the new source's parent. Its format should be + * @param string $parent Required. Resource name of the new source's parent. Its format should be * "organizations/[organization_id]". - * @param Source $source The Source being created, only the display_name and description will be + * @param Source $source Required. The Source being created, only the display_name and description will be * used. All other fields will be ignored. * @param array $optionalArgs { * Optional. @@ -607,12 +607,12 @@ public function createSource($parent, $source, array $optionalArgs = []) * } * ``` * - * @param string $parent Resource name of the new finding's parent. Its format should be + * @param string $parent Required. Resource name of the new finding's parent. Its format should be * "organizations/[organization_id]/sources/[source_id]". - * @param string $findingId Unique identifier provided by the client within the parent scope. + * @param string $findingId Required. Unique identifier provided by the client within the parent scope. * It must be alphanumeric and less than or equal to 32 characters and * greater than 0 characters in length. - * @param Finding $finding The Finding being created. The name and security_marks will be ignored as + * @param Finding $finding Required. The Finding being created. The name and security_marks will be ignored as * they are both output only fields on this resource. * @param array $optionalArgs { * Optional. @@ -722,7 +722,7 @@ public function getIamPolicy($resource, array $optionalArgs = []) * } * ``` * - * @param string $name Name of the organization to get organization settings for. Its format is + * @param string $name Required. Name of the organization to get organization settings for. Its format is * "organizations/[organization_id]/organizationSettings". * @param array $optionalArgs { * Optional. @@ -773,7 +773,7 @@ public function getOrganizationSettings($name, array $optionalArgs = []) * } * ``` * - * @param string $name Relative resource name of the source. Its format is + * @param string $name Required. Relative resource name of the source. Its format is * "organizations/[organization_id]/source/[source_id]". * @param array $optionalArgs { * Optional. @@ -841,9 +841,9 @@ public function getSource($name, array $optionalArgs = []) * } * ``` * - * @param string $parent Name of the organization to groupBy. Its format is + * @param string $parent Required. Name of the organization to groupBy. Its format is * "organizations/[organization_id]". - * @param string $groupBy Expression that defines what assets fields to use for grouping. The string + * @param string $groupBy Required. Expression that defines what assets fields to use for grouping. The string * value should follow SQL syntax: comma separated list of fields. For * example: * "security_center_properties.resource_project,security_center_properties.project". @@ -851,12 +851,16 @@ public function getSource($name, array $optionalArgs = []) * The following fields are supported when compare_duration is not set: * * * security_center_properties.resource_project + * * security_center_properties.resource_project_display_name * * security_center_properties.resource_type * * security_center_properties.resource_parent + * * security_center_properties.resource_parent_display_name * * The following fields are supported when compare_duration is set: * * * security_center_properties.resource_type + * * security_center_properties.resource_project_display_name + * * security_center_properties.resource_parent_display_name * @param array $optionalArgs { * Optional. * @@ -888,29 +892,33 @@ public function getSource($name, array $optionalArgs = []) * * boolean literals `true` and `false` without quotes. * * The following field and operator combinations are supported: - * name | '=' - * update_time | '=', '>', '<', '>=', '<=' + * + * * name: `=` + * * update_time: `=`, `>`, `<`, `>=`, `<=` * * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "update_time = \"2019-06-10T16:07:18-07:00\"" * "update_time = 1560208038000" * - * create_time | '=', '>', '<', '>=', '<=' + * * create_time: `=`, `>`, `<`, `>=`, `<=` * * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "create_time = \"2019-06-10T16:07:18-07:00\"" * "create_time = 1560208038000" * - * iam_policy.policy_blob | '=', ':' - * resource_properties | '=', ':', '>', '<', '>=', '<=' - * security_marks | '=', ':' - * security_center_properties.resource_name | '=', ':' - * security_center_properties.resource_type | '=', ':' - * security_center_properties.resource_parent | '=', ':' - * security_center_properties.resource_project | '=', ':' - * security_center_properties.resource_owners | '=', ':' + * * iam_policy.policy_blob: `=`, `:` + * * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * security_center_properties.resource_name: `=`, `:` + * * security_center_properties.resource_display_name: `=`, `:` + * * security_center_properties.resource_type: `=`, `:` + * * security_center_properties.resource_parent: `=`, `:` + * * security_center_properties.resource_parent_display_name: `=`, `:` + * * security_center_properties.resource_project: `=`, `:` + * * security_center_properties.resource_project_display_name: `=`, `:` + * * security_center_properties.resource_owners: `=`, `:` * * For example, `resource_properties.size = 100` is a valid filter string. * @type Duration $compareDuration @@ -1008,7 +1016,7 @@ public function groupAssets($parent, $groupBy, array $optionalArgs = []) * specified properties. * * To group across all sources provide a `-` as the source id. - * Example: /v1/organizations/123/sources/-/findings + * Example: /v1/organizations/{organization_id}/sources/-/findings * * Sample code: * ``` @@ -1037,11 +1045,11 @@ public function groupAssets($parent, $groupBy, array $optionalArgs = []) * } * ``` * - * @param string $parent Name of the source to groupBy. Its format is + * @param string $parent Required. Name of the source to groupBy. Its format is * "organizations/[organization_id]/sources/[source_id]". To groupBy across * all sources provide a source_id of `-`. For example: - * organizations/123/sources/- - * @param string $groupBy Expression that defines what assets fields to use for grouping (including + * organizations/{organization_id}/sources/- + * @param string $groupBy Required. Expression that defines what assets fields to use for grouping (including * `state_change`). The string value should follow SQL syntax: comma separated * list of fields. For example: "parent,resource_name". * @@ -1084,21 +1092,22 @@ public function groupAssets($parent, $groupBy, array $optionalArgs = []) * * boolean literals `true` and `false` without quotes. * * The following field and operator combinations are supported: - * name | `=` - * parent | '=', ':' - * resource_name | '=', ':' - * state | '=', ':' - * category | '=', ':' - * external_uri | '=', ':' - * event_time | `=`, `>`, `<`, `>=`, `<=` + * + * * name: `=` + * * parent: `=`, `:` + * * resource_name: `=`, `:` + * * state: `=`, `:` + * * category: `=`, `:` + * * external_uri: `=`, `:` + * * event_time: `=`, `>`, `<`, `>=`, `<=` * * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "event_time = \"2019-06-10T16:07:18-07:00\"" * "event_time = 1560208038000" * - * security_marks | '=', ':' - * source_properties | '=', ':', `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * * For example, `source_properties.size = 100` is a valid filter string. * @type Timestamp $readTime @@ -1219,7 +1228,7 @@ public function groupFindings($parent, $groupBy, array $optionalArgs = []) * } * ``` * - * @param string $parent Name of the organization assets should belong to. Its format is + * @param string $parent Required. Name of the organization assets should belong to. Its format is * "organizations/[organization_id]". * @param array $optionalArgs { * Optional. @@ -1252,29 +1261,33 @@ public function groupFindings($parent, $groupBy, array $optionalArgs = []) * * boolean literals `true` and `false` without quotes. * * The following are the allowed field and operator combinations: - * name | `=` - * update_time | `=`, `>`, `<`, `>=`, `<=` + * + * * name: `=` + * * update_time: `=`, `>`, `<`, `>=`, `<=` * * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "update_time = \"2019-06-10T16:07:18-07:00\"" * "update_time = 1560208038000" * - * create_time | `=`, `>`, `<`, `>=`, `<=` + * * create_time: `=`, `>`, `<`, `>=`, `<=` * * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "create_time = \"2019-06-10T16:07:18-07:00\"" * "create_time = 1560208038000" * - * iam_policy.policy_blob | '=', ':' - * resource_properties | '=', ':', `>`, `<`, `>=`, `<=` - * security_marks | '=', ':' - * security_center_properties.resource_name | '=', ':' - * security_center_properties.resource_type | '=', ':' - * security_center_properties.resource_parent | '=', ':' - * security_center_properties.resource_project | '=', ':' - * security_center_properties.resource_owners | '=', ':' + * * iam_policy.policy_blob: `=`, `:` + * * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * security_center_properties.resource_name: `=`, `:` + * * security_center_properties.resource_display_name: `=`, `:` + * * security_center_properties.resource_type: `=`, `:` + * * security_center_properties.resource_parent: `=`, `:` + * * security_center_properties.resource_parent_display_name: `=`, `:` + * * security_center_properties.resource_project: `=`, `:` + * * security_center_properties.resource_project_display_name: `=`, `:` + * * security_center_properties.resource_owners: `=`, `:` * * For example, `resource_properties.size = 100` is a valid filter string. * @type string $orderBy @@ -1291,10 +1304,13 @@ public function groupFindings($parent, $groupBy, array $optionalArgs = []) * name * update_time * resource_properties - * security_marks + * security_marks.marks * security_center_properties.resource_name + * security_center_properties.resource_display_name * security_center_properties.resource_parent + * security_center_properties.resource_parent_display_name * security_center_properties.resource_project + * security_center_properties.resource_project_display_name * security_center_properties.resource_type * @type Timestamp $readTime * Time used as a reference point when filtering assets. The filter is limited @@ -1327,9 +1343,7 @@ public function groupFindings($parent, $groupBy, array $optionalArgs = []) * is "UNUSED", which will be the state_change set for all assets present at * read_time. * @type FieldMask $fieldMask - * Optional. - * - * A field mask to specify the ListAssetsResult fields to be listed in the + * Optional. A field mask to specify the ListAssetsResult fields to be listed in the * response. * An empty field mask will list all fields. * @type string $pageToken @@ -1398,7 +1412,7 @@ public function listAssets($parent, array $optionalArgs = []) * Lists an organization or source's findings. * * To list across all sources provide a `-` as the source id. - * Example: /v1/organizations/123/sources/-/findings + * Example: /v1/organizations/{organization_id}/sources/-/findings * * Sample code: * ``` @@ -1426,10 +1440,10 @@ public function listAssets($parent, array $optionalArgs = []) * } * ``` * - * @param string $parent Name of the source the findings belong to. Its format is + * @param string $parent Required. Name of the source the findings belong to. Its format is * "organizations/[organization_id]/sources/[source_id]". To list across all * sources provide a source_id of `-`. For example: - * organizations/123/sources/- + * organizations/{organization_id}/sources/- * @param array $optionalArgs { * Optional. * @@ -1459,21 +1473,22 @@ public function listAssets($parent, array $optionalArgs = []) * * boolean literals `true` and `false` without quotes. * * The following field and operator combinations are supported: - * name | `=` - * parent | '=', ':' - * resource_name | '=', ':' - * state | '=', ':' - * category | '=', ':' - * external_uri | '=', ':' - * event_time | `=`, `>`, `<`, `>=`, `<=` + * + * name: `=` + * parent: `=`, `:` + * resource_name: `=`, `:` + * state: `=`, `:` + * category: `=`, `:` + * external_uri: `=`, `:` + * event_time: `=`, `>`, `<`, `>=`, `<=` * * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "event_time = \"2019-06-10T16:07:18-07:00\"" * "event_time = 1560208038000" * - * security_marks | '=', ':' - * source_properties | '=', ':', `>`, `<`, `>=`, `<=` + * security_marks.marks: `=`, `:` + * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * * For example, `source_properties.size = 100` is a valid filter string. * @type string $orderBy @@ -1494,7 +1509,7 @@ public function listAssets($parent, array $optionalArgs = []) * resource_name * event_time * source_properties - * security_marks + * security_marks.marks * @type Timestamp $readTime * Time used as a reference point when filtering findings. The filter is * limited to findings existing at the supplied time and their values are @@ -1526,9 +1541,7 @@ public function listAssets($parent, array $optionalArgs = []) * is "UNUSED", which will be the state_change set for all findings present at * read_time. * @type FieldMask $fieldMask - * Optional. - * - * A field mask to specify the Finding fields to be listed in the response. + * Optional. A field mask to specify the Finding fields to be listed in the response. * An empty field mask will list all fields. * @type string $pageToken * A page token is used to specify a page of values to be returned. @@ -1621,7 +1634,7 @@ public function listFindings($parent, array $optionalArgs = []) * } * ``` * - * @param string $parent Resource name of the parent of sources to list. Its format should be + * @param string $parent Required. Resource name of the parent of sources to list. Its format should be * "organizations/[organization_id]". * @param array $optionalArgs { * Optional. @@ -1720,7 +1733,7 @@ public function listSources($parent, array $optionalArgs = []) * } * ``` * - * @param string $parent Name of the organization to run asset discovery for. Its format is + * @param string $parent Required. Name of the organization to run asset discovery for. Its format is * "organizations/[organization_id]". * @param array $optionalArgs { * Optional. @@ -1773,13 +1786,13 @@ public function runAssetDiscovery($parent, array $optionalArgs = []) * } * ``` * - * @param string $name The relative resource name of the finding. See: + * @param string $name Required. The relative resource name of the finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456/finding/789". - * @param int $state The desired State of the finding. + * "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}". + * @param int $state Required. The desired State of the finding. * For allowed values, use constants defined on {@see \Google\Cloud\SecurityCenter\V1\Finding\State} - * @param Timestamp $startTime The time at which the updated state takes effect. + * @param Timestamp $startTime Required. The time at which the updated state takes effect. * @param array $optionalArgs { * Optional. * @@ -1946,7 +1959,7 @@ public function testIamPermissions($resource, $permissions, array $optionalArgs * } * ``` * - * @param Finding $finding The finding resource to update or create if it does not already exist. + * @param Finding $finding Required. The finding resource to update or create if it does not already exist. * parent, security_marks, and update_time will be ignored. * * In the case of creation, the finding id portion of the name must be @@ -2012,7 +2025,7 @@ public function updateFinding($finding, array $optionalArgs = []) * } * ``` * - * @param OrganizationSettings $organizationSettings The organization settings resource to update. + * @param OrganizationSettings $organizationSettings Required. The organization settings resource to update. * @param array $optionalArgs { * Optional. * @@ -2069,7 +2082,7 @@ public function updateOrganizationSettings($organizationSettings, array $optiona * } * ``` * - * @param Source $source The source resource to update. + * @param Source $source Required. The source resource to update. * @param array $optionalArgs { * Optional. * @@ -2126,7 +2139,7 @@ public function updateSource($source, array $optionalArgs = []) * } * ``` * - * @param SecurityMarks $securityMarks The security marks resource to update. + * @param SecurityMarks $securityMarks Required. The security marks resource to update. * @param array $optionalArgs { * Optional. * diff --git a/SecurityCenter/src/V1/GetOrganizationSettingsRequest.php b/SecurityCenter/src/V1/GetOrganizationSettingsRequest.php index e6a719934f32..dec9f1391334 100644 --- a/SecurityCenter/src/V1/GetOrganizationSettingsRequest.php +++ b/SecurityCenter/src/V1/GetOrganizationSettingsRequest.php @@ -16,10 +16,10 @@ class GetOrganizationSettingsRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the organization to get organization settings for. Its format is + * Required. Name of the organization to get organization settings for. Its format is * "organizations/[organization_id]/organizationSettings". * - * 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 GetOrganizationSettingsRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Name of the organization to get organization settings for. Its format is + * Required. Name of the organization to get organization settings for. Its format is * "organizations/[organization_id]/organizationSettings". * } */ @@ -40,10 +40,10 @@ public function __construct($data = NULL) { } /** - * Name of the organization to get organization settings for. Its format is + * Required. Name of the organization to get organization settings for. Its format is * "organizations/[organization_id]/organizationSettings". * - * 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() } /** - * Name of the organization to get organization settings for. Its format is + * Required. Name of the organization to get organization settings for. Its format is * "organizations/[organization_id]/organizationSettings". * - * 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/SecurityCenter/src/V1/GetSourceRequest.php b/SecurityCenter/src/V1/GetSourceRequest.php index 483204cbe7ee..b8eeb138d7f9 100644 --- a/SecurityCenter/src/V1/GetSourceRequest.php +++ b/SecurityCenter/src/V1/GetSourceRequest.php @@ -16,10 +16,10 @@ class GetSourceRequest extends \Google\Protobuf\Internal\Message { /** - * Relative resource name of the source. Its format is + * Required. Relative resource name of the source. Its format is * "organizations/[organization_id]/source/[source_id]". * - * 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 GetSourceRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Relative resource name of the source. Its format is + * Required. Relative resource name of the source. Its format is * "organizations/[organization_id]/source/[source_id]". * } */ @@ -40,10 +40,10 @@ public function __construct($data = NULL) { } /** - * Relative resource name of the source. Its format is + * Required. Relative resource name of the source. Its format is * "organizations/[organization_id]/source/[source_id]". * - * 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() } /** - * Relative resource name of the source. Its format is + * Required. Relative resource name of the source. Its format is * "organizations/[organization_id]/source/[source_id]". * - * 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/SecurityCenter/src/V1/GroupAssetsRequest.php b/SecurityCenter/src/V1/GroupAssetsRequest.php index 2a66fc184232..3e2db601c4de 100644 --- a/SecurityCenter/src/V1/GroupAssetsRequest.php +++ b/SecurityCenter/src/V1/GroupAssetsRequest.php @@ -16,10 +16,10 @@ class GroupAssetsRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the organization to groupBy. Its format is + * Required. Name of the organization to groupBy. Its format is * "organizations/[organization_id]". * - * 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 = ''; /** @@ -43,43 +43,50 @@ class GroupAssetsRequest extends \Google\Protobuf\Internal\Message * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following field and operator combinations are supported: - * name | '=' - * update_time | '=', '>', '<', '>=', '<=' + * * name: `=` + * * update_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "update_time = \"2019-06-10T16:07:18-07:00\"" * "update_time = 1560208038000" - * create_time | '=', '>', '<', '>=', '<=' + * * create_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "create_time = \"2019-06-10T16:07:18-07:00\"" * "create_time = 1560208038000" - * iam_policy.policy_blob | '=', ':' - * resource_properties | '=', ':', '>', '<', '>=', '<=' - * security_marks | '=', ':' - * security_center_properties.resource_name | '=', ':' - * security_center_properties.resource_type | '=', ':' - * security_center_properties.resource_parent | '=', ':' - * security_center_properties.resource_project | '=', ':' - * security_center_properties.resource_owners | '=', ':' + * * iam_policy.policy_blob: `=`, `:` + * * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * security_center_properties.resource_name: `=`, `:` + * * security_center_properties.resource_display_name: `=`, `:` + * * security_center_properties.resource_type: `=`, `:` + * * security_center_properties.resource_parent: `=`, `:` + * * security_center_properties.resource_parent_display_name: `=`, `:` + * * security_center_properties.resource_project: `=`, `:` + * * security_center_properties.resource_project_display_name: `=`, `:` + * * security_center_properties.resource_owners: `=`, `:` * For example, `resource_properties.size = 100` is a valid filter string. * * Generated from protobuf field string filter = 2; */ private $filter = ''; /** - * Expression that defines what assets fields to use for grouping. The string + * Required. Expression that defines what assets fields to use for grouping. The string * value should follow SQL syntax: comma separated list of fields. For * example: * "security_center_properties.resource_project,security_center_properties.project". * The following fields are supported when compare_duration is not set: * * security_center_properties.resource_project + * * security_center_properties.resource_project_display_name * * security_center_properties.resource_type * * security_center_properties.resource_parent + * * security_center_properties.resource_parent_display_name * The following fields are supported when compare_duration is set: * * security_center_properties.resource_type + * * security_center_properties.resource_project_display_name + * * security_center_properties.resource_parent_display_name * - * Generated from protobuf field string group_by = 3; + * Generated from protobuf field string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; */ private $group_by = ''; /** @@ -141,7 +148,7 @@ class GroupAssetsRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $parent - * Name of the organization to groupBy. Its format is + * Required. Name of the organization to groupBy. Its format is * "organizations/[organization_id]". * @type string $filter * Expression that defines the filter to apply across assets. @@ -164,37 +171,44 @@ class GroupAssetsRequest extends \Google\Protobuf\Internal\Message * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following field and operator combinations are supported: - * name | '=' - * update_time | '=', '>', '<', '>=', '<=' + * * name: `=` + * * update_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "update_time = \"2019-06-10T16:07:18-07:00\"" * "update_time = 1560208038000" - * create_time | '=', '>', '<', '>=', '<=' + * * create_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "create_time = \"2019-06-10T16:07:18-07:00\"" * "create_time = 1560208038000" - * iam_policy.policy_blob | '=', ':' - * resource_properties | '=', ':', '>', '<', '>=', '<=' - * security_marks | '=', ':' - * security_center_properties.resource_name | '=', ':' - * security_center_properties.resource_type | '=', ':' - * security_center_properties.resource_parent | '=', ':' - * security_center_properties.resource_project | '=', ':' - * security_center_properties.resource_owners | '=', ':' + * * iam_policy.policy_blob: `=`, `:` + * * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * security_center_properties.resource_name: `=`, `:` + * * security_center_properties.resource_display_name: `=`, `:` + * * security_center_properties.resource_type: `=`, `:` + * * security_center_properties.resource_parent: `=`, `:` + * * security_center_properties.resource_parent_display_name: `=`, `:` + * * security_center_properties.resource_project: `=`, `:` + * * security_center_properties.resource_project_display_name: `=`, `:` + * * security_center_properties.resource_owners: `=`, `:` * For example, `resource_properties.size = 100` is a valid filter string. * @type string $group_by - * Expression that defines what assets fields to use for grouping. The string + * Required. Expression that defines what assets fields to use for grouping. The string * value should follow SQL syntax: comma separated list of fields. For * example: * "security_center_properties.resource_project,security_center_properties.project". * The following fields are supported when compare_duration is not set: * * security_center_properties.resource_project + * * security_center_properties.resource_project_display_name * * security_center_properties.resource_type * * security_center_properties.resource_parent + * * security_center_properties.resource_parent_display_name * The following fields are supported when compare_duration is set: * * security_center_properties.resource_type + * * security_center_properties.resource_project_display_name + * * security_center_properties.resource_parent_display_name * @type \Google\Protobuf\Duration $compare_duration * When compare_duration is set, the GroupResult's "state_change" property is * updated to indicate whether the asset was added, removed, or remained @@ -238,10 +252,10 @@ public function __construct($data = NULL) { } /** - * Name of the organization to groupBy. Its format is + * Required. Name of the organization to groupBy. Its format is * "organizations/[organization_id]". * - * 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() @@ -250,10 +264,10 @@ public function getParent() } /** - * Name of the organization to groupBy. Its format is + * Required. Name of the organization to groupBy. Its format is * "organizations/[organization_id]". * - * 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 */ @@ -286,25 +300,28 @@ public function setParent($var) * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following field and operator combinations are supported: - * name | '=' - * update_time | '=', '>', '<', '>=', '<=' + * * name: `=` + * * update_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "update_time = \"2019-06-10T16:07:18-07:00\"" * "update_time = 1560208038000" - * create_time | '=', '>', '<', '>=', '<=' + * * create_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "create_time = \"2019-06-10T16:07:18-07:00\"" * "create_time = 1560208038000" - * iam_policy.policy_blob | '=', ':' - * resource_properties | '=', ':', '>', '<', '>=', '<=' - * security_marks | '=', ':' - * security_center_properties.resource_name | '=', ':' - * security_center_properties.resource_type | '=', ':' - * security_center_properties.resource_parent | '=', ':' - * security_center_properties.resource_project | '=', ':' - * security_center_properties.resource_owners | '=', ':' + * * iam_policy.policy_blob: `=`, `:` + * * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * security_center_properties.resource_name: `=`, `:` + * * security_center_properties.resource_display_name: `=`, `:` + * * security_center_properties.resource_type: `=`, `:` + * * security_center_properties.resource_parent: `=`, `:` + * * security_center_properties.resource_parent_display_name: `=`, `:` + * * security_center_properties.resource_project: `=`, `:` + * * security_center_properties.resource_project_display_name: `=`, `:` + * * security_center_properties.resource_owners: `=`, `:` * For example, `resource_properties.size = 100` is a valid filter string. * * Generated from protobuf field string filter = 2; @@ -336,25 +353,28 @@ public function getFilter() * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following field and operator combinations are supported: - * name | '=' - * update_time | '=', '>', '<', '>=', '<=' + * * name: `=` + * * update_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "update_time = \"2019-06-10T16:07:18-07:00\"" * "update_time = 1560208038000" - * create_time | '=', '>', '<', '>=', '<=' + * * create_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "create_time = \"2019-06-10T16:07:18-07:00\"" * "create_time = 1560208038000" - * iam_policy.policy_blob | '=', ':' - * resource_properties | '=', ':', '>', '<', '>=', '<=' - * security_marks | '=', ':' - * security_center_properties.resource_name | '=', ':' - * security_center_properties.resource_type | '=', ':' - * security_center_properties.resource_parent | '=', ':' - * security_center_properties.resource_project | '=', ':' - * security_center_properties.resource_owners | '=', ':' + * * iam_policy.policy_blob: `=`, `:` + * * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * security_center_properties.resource_name: `=`, `:` + * * security_center_properties.resource_display_name: `=`, `:` + * * security_center_properties.resource_type: `=`, `:` + * * security_center_properties.resource_parent: `=`, `:` + * * security_center_properties.resource_parent_display_name: `=`, `:` + * * security_center_properties.resource_project: `=`, `:` + * * security_center_properties.resource_project_display_name: `=`, `:` + * * security_center_properties.resource_owners: `=`, `:` * For example, `resource_properties.size = 100` is a valid filter string. * * Generated from protobuf field string filter = 2; @@ -370,18 +390,22 @@ public function setFilter($var) } /** - * Expression that defines what assets fields to use for grouping. The string + * Required. Expression that defines what assets fields to use for grouping. The string * value should follow SQL syntax: comma separated list of fields. For * example: * "security_center_properties.resource_project,security_center_properties.project". * The following fields are supported when compare_duration is not set: * * security_center_properties.resource_project + * * security_center_properties.resource_project_display_name * * security_center_properties.resource_type * * security_center_properties.resource_parent + * * security_center_properties.resource_parent_display_name * The following fields are supported when compare_duration is set: * * security_center_properties.resource_type + * * security_center_properties.resource_project_display_name + * * security_center_properties.resource_parent_display_name * - * Generated from protobuf field string group_by = 3; + * Generated from protobuf field string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getGroupBy() @@ -390,18 +414,22 @@ public function getGroupBy() } /** - * Expression that defines what assets fields to use for grouping. The string + * Required. Expression that defines what assets fields to use for grouping. The string * value should follow SQL syntax: comma separated list of fields. For * example: * "security_center_properties.resource_project,security_center_properties.project". * The following fields are supported when compare_duration is not set: * * security_center_properties.resource_project + * * security_center_properties.resource_project_display_name * * security_center_properties.resource_type * * security_center_properties.resource_parent + * * security_center_properties.resource_parent_display_name * The following fields are supported when compare_duration is set: * * security_center_properties.resource_type + * * security_center_properties.resource_project_display_name + * * security_center_properties.resource_parent_display_name * - * Generated from protobuf field string group_by = 3; + * Generated from protobuf field string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ diff --git a/SecurityCenter/src/V1/GroupFindingsRequest.php b/SecurityCenter/src/V1/GroupFindingsRequest.php index 5d081c17bc71..45feb765669f 100644 --- a/SecurityCenter/src/V1/GroupFindingsRequest.php +++ b/SecurityCenter/src/V1/GroupFindingsRequest.php @@ -16,12 +16,12 @@ class GroupFindingsRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the source to groupBy. Its format is + * Required. Name of the source to groupBy. Its format is * "organizations/[organization_id]/sources/[source_id]". To groupBy across * all sources provide a source_id of `-`. For example: - * organizations/123/sources/- + * organizations/{organization_id}/sources/- * - * 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 = ''; /** @@ -43,26 +43,26 @@ class GroupFindingsRequest extends \Google\Protobuf\Internal\Message * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following field and operator combinations are supported: - * name | `=` - * parent | '=', ':' - * resource_name | '=', ':' - * state | '=', ':' - * category | '=', ':' - * external_uri | '=', ':' - * event_time | `=`, `>`, `<`, `>=`, `<=` + * * name: `=` + * * parent: `=`, `:` + * * resource_name: `=`, `:` + * * state: `=`, `:` + * * category: `=`, `:` + * * external_uri: `=`, `:` + * * event_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "event_time = \"2019-06-10T16:07:18-07:00\"" * "event_time = 1560208038000" - * security_marks | '=', ':' - * source_properties | '=', ':', `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * For example, `source_properties.size = 100` is a valid filter string. * * Generated from protobuf field string filter = 2; */ private $filter = ''; /** - * Expression that defines what assets fields to use for grouping (including + * Required. Expression that defines what assets fields to use for grouping (including * `state_change`). The string value should follow SQL syntax: comma separated * list of fields. For example: "parent,resource_name". * The following fields are supported: @@ -73,7 +73,7 @@ class GroupFindingsRequest extends \Google\Protobuf\Internal\Message * The following fields are supported when compare_duration is set: * * state_change * - * Generated from protobuf field string group_by = 3; + * Generated from protobuf field string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; */ private $group_by = ''; /** @@ -134,10 +134,10 @@ class GroupFindingsRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $parent - * Name of the source to groupBy. Its format is + * Required. Name of the source to groupBy. Its format is * "organizations/[organization_id]/sources/[source_id]". To groupBy across * all sources provide a source_id of `-`. For example: - * organizations/123/sources/- + * organizations/{organization_id}/sources/- * @type string $filter * Expression that defines the filter to apply across findings. * The expression is a list of one or more restrictions combined via logical @@ -157,22 +157,22 @@ class GroupFindingsRequest extends \Google\Protobuf\Internal\Message * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following field and operator combinations are supported: - * name | `=` - * parent | '=', ':' - * resource_name | '=', ':' - * state | '=', ':' - * category | '=', ':' - * external_uri | '=', ':' - * event_time | `=`, `>`, `<`, `>=`, `<=` + * * name: `=` + * * parent: `=`, `:` + * * resource_name: `=`, `:` + * * state: `=`, `:` + * * category: `=`, `:` + * * external_uri: `=`, `:` + * * event_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "event_time = \"2019-06-10T16:07:18-07:00\"" * "event_time = 1560208038000" - * security_marks | '=', ':' - * source_properties | '=', ':', `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * For example, `source_properties.size = 100` is a valid filter string. * @type string $group_by - * Expression that defines what assets fields to use for grouping (including + * Required. Expression that defines what assets fields to use for grouping (including * `state_change`). The string value should follow SQL syntax: comma separated * list of fields. For example: "parent,resource_name". * The following fields are supported: @@ -224,12 +224,12 @@ public function __construct($data = NULL) { } /** - * Name of the source to groupBy. Its format is + * Required. Name of the source to groupBy. Its format is * "organizations/[organization_id]/sources/[source_id]". To groupBy across * all sources provide a source_id of `-`. For example: - * organizations/123/sources/- + * organizations/{organization_id}/sources/- * - * 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() @@ -238,12 +238,12 @@ public function getParent() } /** - * Name of the source to groupBy. Its format is + * Required. Name of the source to groupBy. Its format is * "organizations/[organization_id]/sources/[source_id]". To groupBy across * all sources provide a source_id of `-`. For example: - * organizations/123/sources/- + * organizations/{organization_id}/sources/- * - * 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 */ @@ -274,19 +274,19 @@ public function setParent($var) * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following field and operator combinations are supported: - * name | `=` - * parent | '=', ':' - * resource_name | '=', ':' - * state | '=', ':' - * category | '=', ':' - * external_uri | '=', ':' - * event_time | `=`, `>`, `<`, `>=`, `<=` + * * name: `=` + * * parent: `=`, `:` + * * resource_name: `=`, `:` + * * state: `=`, `:` + * * category: `=`, `:` + * * external_uri: `=`, `:` + * * event_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "event_time = \"2019-06-10T16:07:18-07:00\"" * "event_time = 1560208038000" - * security_marks | '=', ':' - * source_properties | '=', ':', `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * For example, `source_properties.size = 100` is a valid filter string. * * Generated from protobuf field string filter = 2; @@ -316,19 +316,19 @@ public function getFilter() * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following field and operator combinations are supported: - * name | `=` - * parent | '=', ':' - * resource_name | '=', ':' - * state | '=', ':' - * category | '=', ':' - * external_uri | '=', ':' - * event_time | `=`, `>`, `<`, `>=`, `<=` + * * name: `=` + * * parent: `=`, `:` + * * resource_name: `=`, `:` + * * state: `=`, `:` + * * category: `=`, `:` + * * external_uri: `=`, `:` + * * event_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "event_time = \"2019-06-10T16:07:18-07:00\"" * "event_time = 1560208038000" - * security_marks | '=', ':' - * source_properties | '=', ':', `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * For example, `source_properties.size = 100` is a valid filter string. * * Generated from protobuf field string filter = 2; @@ -344,7 +344,7 @@ public function setFilter($var) } /** - * Expression that defines what assets fields to use for grouping (including + * Required. Expression that defines what assets fields to use for grouping (including * `state_change`). The string value should follow SQL syntax: comma separated * list of fields. For example: "parent,resource_name". * The following fields are supported: @@ -355,7 +355,7 @@ public function setFilter($var) * The following fields are supported when compare_duration is set: * * state_change * - * Generated from protobuf field string group_by = 3; + * Generated from protobuf field string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; * @return string */ public function getGroupBy() @@ -364,7 +364,7 @@ public function getGroupBy() } /** - * Expression that defines what assets fields to use for grouping (including + * Required. Expression that defines what assets fields to use for grouping (including * `state_change`). The string value should follow SQL syntax: comma separated * list of fields. For example: "parent,resource_name". * The following fields are supported: @@ -375,7 +375,7 @@ public function getGroupBy() * The following fields are supported when compare_duration is set: * * state_change * - * Generated from protobuf field string group_by = 3; + * Generated from protobuf field string group_by = 3 [(.google.api.field_behavior) = REQUIRED]; * @param string $var * @return $this */ diff --git a/SecurityCenter/src/V1/ListAssetsRequest.php b/SecurityCenter/src/V1/ListAssetsRequest.php index 49aaacb64ab1..31914f1dbe4f 100644 --- a/SecurityCenter/src/V1/ListAssetsRequest.php +++ b/SecurityCenter/src/V1/ListAssetsRequest.php @@ -16,10 +16,10 @@ class ListAssetsRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the organization assets should belong to. Its format is + * Required. Name of the organization assets should belong to. Its format is * "organizations/[organization_id]". * - * 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 = ''; /** @@ -43,25 +43,28 @@ class ListAssetsRequest extends \Google\Protobuf\Internal\Message * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following are the allowed field and operator combinations: - * name | `=` - * update_time | `=`, `>`, `<`, `>=`, `<=` + * * name: `=` + * * update_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "update_time = \"2019-06-10T16:07:18-07:00\"" * "update_time = 1560208038000" - * create_time | `=`, `>`, `<`, `>=`, `<=` + * * create_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "create_time = \"2019-06-10T16:07:18-07:00\"" * "create_time = 1560208038000" - * iam_policy.policy_blob | '=', ':' - * resource_properties | '=', ':', `>`, `<`, `>=`, `<=` - * security_marks | '=', ':' - * security_center_properties.resource_name | '=', ':' - * security_center_properties.resource_type | '=', ':' - * security_center_properties.resource_parent | '=', ':' - * security_center_properties.resource_project | '=', ':' - * security_center_properties.resource_owners | '=', ':' + * * iam_policy.policy_blob: `=`, `:` + * * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * security_center_properties.resource_name: `=`, `:` + * * security_center_properties.resource_display_name: `=`, `:` + * * security_center_properties.resource_type: `=`, `:` + * * security_center_properties.resource_parent: `=`, `:` + * * security_center_properties.resource_parent_display_name: `=`, `:` + * * security_center_properties.resource_project: `=`, `:` + * * security_center_properties.resource_project_display_name: `=`, `:` + * * security_center_properties.resource_owners: `=`, `:` * For example, `resource_properties.size = 100` is a valid filter string. * * Generated from protobuf field string filter = 2; @@ -80,10 +83,13 @@ class ListAssetsRequest extends \Google\Protobuf\Internal\Message * name * update_time * resource_properties - * security_marks + * security_marks.marks * security_center_properties.resource_name + * security_center_properties.resource_display_name * security_center_properties.resource_parent + * security_center_properties.resource_parent_display_name * security_center_properties.resource_project + * security_center_properties.resource_project_display_name * security_center_properties.resource_type * * Generated from protobuf field string order_by = 3; @@ -124,12 +130,11 @@ class ListAssetsRequest extends \Google\Protobuf\Internal\Message */ private $compare_duration = null; /** - * Optional. - * A field mask to specify the ListAssetsResult fields to be listed in the + * Optional. A field mask to specify the ListAssetsResult fields to be listed in the * response. * An empty field mask will list all fields. * - * Generated from protobuf field .google.protobuf.FieldMask field_mask = 7; + * Generated from protobuf field .google.protobuf.FieldMask field_mask = 7 [(.google.api.field_behavior) = OPTIONAL]; */ private $field_mask = null; /** @@ -155,7 +160,7 @@ class ListAssetsRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $parent - * Name of the organization assets should belong to. Its format is + * Required. Name of the organization assets should belong to. Its format is * "organizations/[organization_id]". * @type string $filter * Expression that defines the filter to apply across assets. @@ -178,25 +183,28 @@ class ListAssetsRequest extends \Google\Protobuf\Internal\Message * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following are the allowed field and operator combinations: - * name | `=` - * update_time | `=`, `>`, `<`, `>=`, `<=` + * * name: `=` + * * update_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "update_time = \"2019-06-10T16:07:18-07:00\"" * "update_time = 1560208038000" - * create_time | `=`, `>`, `<`, `>=`, `<=` + * * create_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "create_time = \"2019-06-10T16:07:18-07:00\"" * "create_time = 1560208038000" - * iam_policy.policy_blob | '=', ':' - * resource_properties | '=', ':', `>`, `<`, `>=`, `<=` - * security_marks | '=', ':' - * security_center_properties.resource_name | '=', ':' - * security_center_properties.resource_type | '=', ':' - * security_center_properties.resource_parent | '=', ':' - * security_center_properties.resource_project | '=', ':' - * security_center_properties.resource_owners | '=', ':' + * * iam_policy.policy_blob: `=`, `:` + * * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * security_center_properties.resource_name: `=`, `:` + * * security_center_properties.resource_display_name: `=`, `:` + * * security_center_properties.resource_type: `=`, `:` + * * security_center_properties.resource_parent: `=`, `:` + * * security_center_properties.resource_parent_display_name: `=`, `:` + * * security_center_properties.resource_project: `=`, `:` + * * security_center_properties.resource_project_display_name: `=`, `:` + * * security_center_properties.resource_owners: `=`, `:` * For example, `resource_properties.size = 100` is a valid filter string. * @type string $order_by * Expression that defines what fields and order to use for sorting. The @@ -211,10 +219,13 @@ class ListAssetsRequest extends \Google\Protobuf\Internal\Message * name * update_time * resource_properties - * security_marks + * security_marks.marks * security_center_properties.resource_name + * security_center_properties.resource_display_name * security_center_properties.resource_parent + * security_center_properties.resource_parent_display_name * security_center_properties.resource_project + * security_center_properties.resource_project_display_name * security_center_properties.resource_type * @type \Google\Protobuf\Timestamp $read_time * Time used as a reference point when filtering assets. The filter is limited @@ -243,8 +254,7 @@ class ListAssetsRequest extends \Google\Protobuf\Internal\Message * is "UNUSED", which will be the state_change set for all assets present at * read_time. * @type \Google\Protobuf\FieldMask $field_mask - * Optional. - * A field mask to specify the ListAssetsResult fields to be listed in the + * Optional. A field mask to specify the ListAssetsResult fields to be listed in the * response. * An empty field mask will list all fields. * @type string $page_token @@ -262,10 +272,10 @@ public function __construct($data = NULL) { } /** - * Name of the organization assets should belong to. Its format is + * Required. Name of the organization assets should belong to. Its format is * "organizations/[organization_id]". * - * 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() @@ -274,10 +284,10 @@ public function getParent() } /** - * Name of the organization assets should belong to. Its format is + * Required. Name of the organization assets should belong to. Its format is * "organizations/[organization_id]". * - * 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 */ @@ -310,25 +320,28 @@ public function setParent($var) * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following are the allowed field and operator combinations: - * name | `=` - * update_time | `=`, `>`, `<`, `>=`, `<=` + * * name: `=` + * * update_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "update_time = \"2019-06-10T16:07:18-07:00\"" * "update_time = 1560208038000" - * create_time | `=`, `>`, `<`, `>=`, `<=` + * * create_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "create_time = \"2019-06-10T16:07:18-07:00\"" * "create_time = 1560208038000" - * iam_policy.policy_blob | '=', ':' - * resource_properties | '=', ':', `>`, `<`, `>=`, `<=` - * security_marks | '=', ':' - * security_center_properties.resource_name | '=', ':' - * security_center_properties.resource_type | '=', ':' - * security_center_properties.resource_parent | '=', ':' - * security_center_properties.resource_project | '=', ':' - * security_center_properties.resource_owners | '=', ':' + * * iam_policy.policy_blob: `=`, `:` + * * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * security_center_properties.resource_name: `=`, `:` + * * security_center_properties.resource_display_name: `=`, `:` + * * security_center_properties.resource_type: `=`, `:` + * * security_center_properties.resource_parent: `=`, `:` + * * security_center_properties.resource_parent_display_name: `=`, `:` + * * security_center_properties.resource_project: `=`, `:` + * * security_center_properties.resource_project_display_name: `=`, `:` + * * security_center_properties.resource_owners: `=`, `:` * For example, `resource_properties.size = 100` is a valid filter string. * * Generated from protobuf field string filter = 2; @@ -360,25 +373,28 @@ public function getFilter() * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following are the allowed field and operator combinations: - * name | `=` - * update_time | `=`, `>`, `<`, `>=`, `<=` + * * name: `=` + * * update_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "update_time = \"2019-06-10T16:07:18-07:00\"" * "update_time = 1560208038000" - * create_time | `=`, `>`, `<`, `>=`, `<=` + * * create_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "create_time = \"2019-06-10T16:07:18-07:00\"" * "create_time = 1560208038000" - * iam_policy.policy_blob | '=', ':' - * resource_properties | '=', ':', `>`, `<`, `>=`, `<=` - * security_marks | '=', ':' - * security_center_properties.resource_name | '=', ':' - * security_center_properties.resource_type | '=', ':' - * security_center_properties.resource_parent | '=', ':' - * security_center_properties.resource_project | '=', ':' - * security_center_properties.resource_owners | '=', ':' + * * iam_policy.policy_blob: `=`, `:` + * * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` + * * security_marks.marks: `=`, `:` + * * security_center_properties.resource_name: `=`, `:` + * * security_center_properties.resource_display_name: `=`, `:` + * * security_center_properties.resource_type: `=`, `:` + * * security_center_properties.resource_parent: `=`, `:` + * * security_center_properties.resource_parent_display_name: `=`, `:` + * * security_center_properties.resource_project: `=`, `:` + * * security_center_properties.resource_project_display_name: `=`, `:` + * * security_center_properties.resource_owners: `=`, `:` * For example, `resource_properties.size = 100` is a valid filter string. * * Generated from protobuf field string filter = 2; @@ -406,10 +422,13 @@ public function setFilter($var) * name * update_time * resource_properties - * security_marks + * security_marks.marks * security_center_properties.resource_name + * security_center_properties.resource_display_name * security_center_properties.resource_parent + * security_center_properties.resource_parent_display_name * security_center_properties.resource_project + * security_center_properties.resource_project_display_name * security_center_properties.resource_type * * Generated from protobuf field string order_by = 3; @@ -433,10 +452,13 @@ public function getOrderBy() * name * update_time * resource_properties - * security_marks + * security_marks.marks * security_center_properties.resource_name + * security_center_properties.resource_display_name * security_center_properties.resource_parent + * security_center_properties.resource_parent_display_name * security_center_properties.resource_project + * security_center_properties.resource_project_display_name * security_center_properties.resource_type * * Generated from protobuf field string order_by = 3; @@ -548,12 +570,11 @@ public function setCompareDuration($var) } /** - * Optional. - * A field mask to specify the ListAssetsResult fields to be listed in the + * Optional. A field mask to specify the ListAssetsResult fields to be listed in the * response. * An empty field mask will list all fields. * - * Generated from protobuf field .google.protobuf.FieldMask field_mask = 7; + * Generated from protobuf field .google.protobuf.FieldMask field_mask = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\FieldMask */ public function getFieldMask() @@ -562,12 +583,11 @@ public function getFieldMask() } /** - * Optional. - * A field mask to specify the ListAssetsResult fields to be listed in the + * Optional. A field mask to specify the ListAssetsResult fields to be listed in the * response. * An empty field mask will list all fields. * - * Generated from protobuf field .google.protobuf.FieldMask field_mask = 7; + * Generated from protobuf field .google.protobuf.FieldMask field_mask = 7 [(.google.api.field_behavior) = OPTIONAL]; * @param \Google\Protobuf\FieldMask $var * @return $this */ diff --git a/SecurityCenter/src/V1/ListFindingsRequest.php b/SecurityCenter/src/V1/ListFindingsRequest.php index 6d9be5ed8640..b94925a52e26 100644 --- a/SecurityCenter/src/V1/ListFindingsRequest.php +++ b/SecurityCenter/src/V1/ListFindingsRequest.php @@ -16,12 +16,12 @@ class ListFindingsRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the source the findings belong to. Its format is + * Required. Name of the source the findings belong to. Its format is * "organizations/[organization_id]/sources/[source_id]". To list across all * sources provide a source_id of `-`. For example: - * organizations/123/sources/- + * organizations/{organization_id}/sources/- * - * 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 = ''; /** @@ -43,19 +43,19 @@ class ListFindingsRequest extends \Google\Protobuf\Internal\Message * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following field and operator combinations are supported: - * name | `=` - * parent | '=', ':' - * resource_name | '=', ':' - * state | '=', ':' - * category | '=', ':' - * external_uri | '=', ':' - * event_time | `=`, `>`, `<`, `>=`, `<=` + * name: `=` + * parent: `=`, `:` + * resource_name: `=`, `:` + * state: `=`, `:` + * category: `=`, `:` + * external_uri: `=`, `:` + * event_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "event_time = \"2019-06-10T16:07:18-07:00\"" * "event_time = 1560208038000" - * security_marks | '=', ':' - * source_properties | '=', ':', `>`, `<`, `>=`, `<=` + * security_marks.marks: `=`, `:` + * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * For example, `source_properties.size = 100` is a valid filter string. * * Generated from protobuf field string filter = 2; @@ -78,7 +78,7 @@ class ListFindingsRequest extends \Google\Protobuf\Internal\Message * resource_name * event_time * source_properties - * security_marks + * security_marks.marks * * Generated from protobuf field string order_by = 3; */ @@ -118,11 +118,10 @@ class ListFindingsRequest extends \Google\Protobuf\Internal\Message */ private $compare_duration = null; /** - * Optional. - * A field mask to specify the Finding fields to be listed in the response. + * Optional. A field mask to specify the Finding fields to be listed in the response. * An empty field mask will list all fields. * - * Generated from protobuf field .google.protobuf.FieldMask field_mask = 7; + * Generated from protobuf field .google.protobuf.FieldMask field_mask = 7 [(.google.api.field_behavior) = OPTIONAL]; */ private $field_mask = null; /** @@ -148,10 +147,10 @@ class ListFindingsRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $parent - * Name of the source the findings belong to. Its format is + * Required. Name of the source the findings belong to. Its format is * "organizations/[organization_id]/sources/[source_id]". To list across all * sources provide a source_id of `-`. For example: - * organizations/123/sources/- + * organizations/{organization_id}/sources/- * @type string $filter * Expression that defines the filter to apply across findings. * The expression is a list of one or more restrictions combined via logical @@ -171,19 +170,19 @@ class ListFindingsRequest extends \Google\Protobuf\Internal\Message * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following field and operator combinations are supported: - * name | `=` - * parent | '=', ':' - * resource_name | '=', ':' - * state | '=', ':' - * category | '=', ':' - * external_uri | '=', ':' - * event_time | `=`, `>`, `<`, `>=`, `<=` + * name: `=` + * parent: `=`, `:` + * resource_name: `=`, `:` + * state: `=`, `:` + * category: `=`, `:` + * external_uri: `=`, `:` + * event_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "event_time = \"2019-06-10T16:07:18-07:00\"" * "event_time = 1560208038000" - * security_marks | '=', ':' - * source_properties | '=', ':', `>`, `<`, `>=`, `<=` + * security_marks.marks: `=`, `:` + * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * For example, `source_properties.size = 100` is a valid filter string. * @type string $order_by * Expression that defines what fields and order to use for sorting. The @@ -202,7 +201,7 @@ class ListFindingsRequest extends \Google\Protobuf\Internal\Message * resource_name * event_time * source_properties - * security_marks + * security_marks.marks * @type \Google\Protobuf\Timestamp $read_time * Time used as a reference point when filtering findings. The filter is * limited to findings existing at the supplied time and their values are @@ -230,8 +229,7 @@ class ListFindingsRequest extends \Google\Protobuf\Internal\Message * is "UNUSED", which will be the state_change set for all findings present at * read_time. * @type \Google\Protobuf\FieldMask $field_mask - * Optional. - * A field mask to specify the Finding fields to be listed in the response. + * Optional. A field mask to specify the Finding fields to be listed in the response. * An empty field mask will list all fields. * @type string $page_token * The value returned by the last `ListFindingsResponse`; indicates @@ -248,12 +246,12 @@ public function __construct($data = NULL) { } /** - * Name of the source the findings belong to. Its format is + * Required. Name of the source the findings belong to. Its format is * "organizations/[organization_id]/sources/[source_id]". To list across all * sources provide a source_id of `-`. For example: - * organizations/123/sources/- + * organizations/{organization_id}/sources/- * - * 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() @@ -262,12 +260,12 @@ public function getParent() } /** - * Name of the source the findings belong to. Its format is + * Required. Name of the source the findings belong to. Its format is * "organizations/[organization_id]/sources/[source_id]". To list across all * sources provide a source_id of `-`. For example: - * organizations/123/sources/- + * organizations/{organization_id}/sources/- * - * 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 */ @@ -298,19 +296,19 @@ public function setParent($var) * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following field and operator combinations are supported: - * name | `=` - * parent | '=', ':' - * resource_name | '=', ':' - * state | '=', ':' - * category | '=', ':' - * external_uri | '=', ':' - * event_time | `=`, `>`, `<`, `>=`, `<=` + * name: `=` + * parent: `=`, `:` + * resource_name: `=`, `:` + * state: `=`, `:` + * category: `=`, `:` + * external_uri: `=`, `:` + * event_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "event_time = \"2019-06-10T16:07:18-07:00\"" * "event_time = 1560208038000" - * security_marks | '=', ':' - * source_properties | '=', ':', `>`, `<`, `>=`, `<=` + * security_marks.marks: `=`, `:` + * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * For example, `source_properties.size = 100` is a valid filter string. * * Generated from protobuf field string filter = 2; @@ -340,19 +338,19 @@ public function getFilter() * * integer literals without quotes. * * boolean literals `true` and `false` without quotes. * The following field and operator combinations are supported: - * name | `=` - * parent | '=', ':' - * resource_name | '=', ':' - * state | '=', ':' - * category | '=', ':' - * external_uri | '=', ':' - * event_time | `=`, `>`, `<`, `>=`, `<=` + * name: `=` + * parent: `=`, `:` + * resource_name: `=`, `:` + * state: `=`, `:` + * category: `=`, `:` + * external_uri: `=`, `:` + * event_time: `=`, `>`, `<`, `>=`, `<=` * Usage: This should be milliseconds since epoch or an RFC3339 string. * Examples: * "event_time = \"2019-06-10T16:07:18-07:00\"" * "event_time = 1560208038000" - * security_marks | '=', ':' - * source_properties | '=', ':', `>`, `<`, `>=`, `<=` + * security_marks.marks: `=`, `:` + * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=` * For example, `source_properties.size = 100` is a valid filter string. * * Generated from protobuf field string filter = 2; @@ -384,7 +382,7 @@ public function setFilter($var) * resource_name * event_time * source_properties - * security_marks + * security_marks.marks * * Generated from protobuf field string order_by = 3; * @return string @@ -411,7 +409,7 @@ public function getOrderBy() * resource_name * event_time * source_properties - * security_marks + * security_marks.marks * * Generated from protobuf field string order_by = 3; * @param string $var @@ -522,11 +520,10 @@ public function setCompareDuration($var) } /** - * Optional. - * A field mask to specify the Finding fields to be listed in the response. + * Optional. A field mask to specify the Finding fields to be listed in the response. * An empty field mask will list all fields. * - * Generated from protobuf field .google.protobuf.FieldMask field_mask = 7; + * Generated from protobuf field .google.protobuf.FieldMask field_mask = 7 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\FieldMask */ public function getFieldMask() @@ -535,11 +532,10 @@ public function getFieldMask() } /** - * Optional. - * A field mask to specify the Finding fields to be listed in the response. + * Optional. A field mask to specify the Finding fields to be listed in the response. * An empty field mask will list all fields. * - * Generated from protobuf field .google.protobuf.FieldMask field_mask = 7; + * Generated from protobuf field .google.protobuf.FieldMask field_mask = 7 [(.google.api.field_behavior) = OPTIONAL]; * @param \Google\Protobuf\FieldMask $var * @return $this */ diff --git a/SecurityCenter/src/V1/ListFindingsResponse/ListFindingsResult.php b/SecurityCenter/src/V1/ListFindingsResponse/ListFindingsResult.php index 42f1164aa2c0..34dee04db300 100644 --- a/SecurityCenter/src/V1/ListFindingsResponse/ListFindingsResult.php +++ b/SecurityCenter/src/V1/ListFindingsResponse/ListFindingsResult.php @@ -27,6 +27,12 @@ class ListFindingsResult extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2; */ private $state_change = 0; + /** + * Output only. Resource that is associated with this finding. + * + * Generated from protobuf field .google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3; + */ + private $resource = null; /** * Constructor. @@ -38,6 +44,8 @@ class ListFindingsResult extends \Google\Protobuf\Internal\Message * Finding matching the search request. * @type int $state_change * State change of the finding between the points in time. + * @type \Google\Cloud\SecurityCenter\V1\ListFindingsResponse\ListFindingsResult\Resource $resource + * Output only. Resource that is associated with this finding. * } */ public function __construct($data = NULL) { @@ -97,6 +105,32 @@ public function setStateChange($var) return $this; } + /** + * Output only. Resource that is associated with this finding. + * + * Generated from protobuf field .google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3; + * @return \Google\Cloud\SecurityCenter\V1\ListFindingsResponse\ListFindingsResult\Resource + */ + public function getResource() + { + return $this->resource; + } + + /** + * Output only. Resource that is associated with this finding. + * + * Generated from protobuf field .google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3; + * @param \Google\Cloud\SecurityCenter\V1\ListFindingsResponse\ListFindingsResult\Resource $var + * @return $this + */ + public function setResource($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\SecurityCenter\V1\ListFindingsResponse_ListFindingsResult_Resource::class); + $this->resource = $var; + + return $this; + } + } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/SecurityCenter/src/V1/ListFindingsResponse/ListFindingsResult/Resource.php b/SecurityCenter/src/V1/ListFindingsResponse/ListFindingsResult/Resource.php new file mode 100644 index 000000000000..cd8b0132c909 --- /dev/null +++ b/SecurityCenter/src/V1/ListFindingsResponse/ListFindingsResult/Resource.php @@ -0,0 +1,211 @@ +google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource + */ +class Resource extends \Google\Protobuf\Internal\Message +{ + /** + * The full resource name of the resource. See: + * https://cloud.google.com/apis/design/resource_names#full_resource_name + * + * Generated from protobuf field string name = 1; + */ + private $name = ''; + /** + * The full resource name of project that the resource belongs to. + * + * Generated from protobuf field string project_name = 2; + */ + private $project_name = ''; + /** + * The human readable name of project that the resource belongs to. + * + * Generated from protobuf field string project_display_name = 3; + */ + private $project_display_name = ''; + /** + * The full resource name of resource's parent. + * + * Generated from protobuf field string parent_name = 4; + */ + private $parent_name = ''; + /** + * The human readable name of resource's parent. + * + * Generated from protobuf field string parent_display_name = 5; + */ + private $parent_display_name = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * The full resource name of the resource. See: + * https://cloud.google.com/apis/design/resource_names#full_resource_name + * @type string $project_name + * The full resource name of project that the resource belongs to. + * @type string $project_display_name + * The human readable name of project that the resource belongs to. + * @type string $parent_name + * The full resource name of resource's parent. + * @type string $parent_display_name + * The human readable name of resource's parent. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Securitycenter\V1\SecuritycenterService::initOnce(); + parent::__construct($data); + } + + /** + * The full resource name of the resource. See: + * https://cloud.google.com/apis/design/resource_names#full_resource_name + * + * Generated from protobuf field string name = 1; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * The full resource name of the resource. See: + * https://cloud.google.com/apis/design/resource_names#full_resource_name + * + * Generated from protobuf field string name = 1; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * The full resource name of project that the resource belongs to. + * + * Generated from protobuf field string project_name = 2; + * @return string + */ + public function getProjectName() + { + return $this->project_name; + } + + /** + * The full resource name of project that the resource belongs to. + * + * Generated from protobuf field string project_name = 2; + * @param string $var + * @return $this + */ + public function setProjectName($var) + { + GPBUtil::checkString($var, True); + $this->project_name = $var; + + return $this; + } + + /** + * The human readable name of project that the resource belongs to. + * + * Generated from protobuf field string project_display_name = 3; + * @return string + */ + public function getProjectDisplayName() + { + return $this->project_display_name; + } + + /** + * The human readable name of project that the resource belongs to. + * + * Generated from protobuf field string project_display_name = 3; + * @param string $var + * @return $this + */ + public function setProjectDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->project_display_name = $var; + + return $this; + } + + /** + * The full resource name of resource's parent. + * + * Generated from protobuf field string parent_name = 4; + * @return string + */ + public function getParentName() + { + return $this->parent_name; + } + + /** + * The full resource name of resource's parent. + * + * Generated from protobuf field string parent_name = 4; + * @param string $var + * @return $this + */ + public function setParentName($var) + { + GPBUtil::checkString($var, True); + $this->parent_name = $var; + + return $this; + } + + /** + * The human readable name of resource's parent. + * + * Generated from protobuf field string parent_display_name = 5; + * @return string + */ + public function getParentDisplayName() + { + return $this->parent_display_name; + } + + /** + * The human readable name of resource's parent. + * + * Generated from protobuf field string parent_display_name = 5; + * @param string $var + * @return $this + */ + public function setParentDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->parent_display_name = $var; + + return $this; + } + +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Resource::class, \Google\Cloud\SecurityCenter\V1\ListFindingsResponse_ListFindingsResult_Resource::class); + diff --git a/SecurityCenter/src/V1/ListFindingsResponse_ListFindingsResult_Resource.php b/SecurityCenter/src/V1/ListFindingsResponse_ListFindingsResult_Resource.php new file mode 100644 index 000000000000..4ad7ceaf1b47 --- /dev/null +++ b/SecurityCenter/src/V1/ListFindingsResponse_ListFindingsResult_Resource.php @@ -0,0 +1,16 @@ +string parent = 1; + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ private $parent = ''; /** @@ -45,7 +45,7 @@ class ListSourcesRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $parent - * Resource name of the parent of sources to list. Its format should be + * Required. Resource name of the parent of sources to list. Its format should be * "organizations/[organization_id]". * @type string $page_token * The value returned by the last `ListSourcesResponse`; indicates @@ -62,10 +62,10 @@ public function __construct($data = NULL) { } /** - * Resource name of the parent of sources to list. Its format should be + * Required. Resource name of the parent of sources to list. Its format should be * "organizations/[organization_id]". * - * 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() @@ -74,10 +74,10 @@ public function getParent() } /** - * Resource name of the parent of sources to list. Its format should be + * Required. Resource name of the parent of sources to list. Its format should be * "organizations/[organization_id]". * - * 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 */ diff --git a/SecurityCenter/src/V1/OrganizationSettings.php b/SecurityCenter/src/V1/OrganizationSettings.php index 602b28507b2c..eeabc3d258e2 100644 --- a/SecurityCenter/src/V1/OrganizationSettings.php +++ b/SecurityCenter/src/V1/OrganizationSettings.php @@ -20,7 +20,7 @@ class OrganizationSettings extends \Google\Protobuf\Internal\Message * The relative resource name of the settings. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/organizationSettings". + * "organizations/{organization_id}/organizationSettings". * * Generated from protobuf field string name = 1; */ @@ -51,7 +51,7 @@ class OrganizationSettings extends \Google\Protobuf\Internal\Message * The relative resource name of the settings. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/organizationSettings". + * "organizations/{organization_id}/organizationSettings". * @type bool $enable_asset_discovery * A flag that indicates if Asset Discovery should be enabled. If the flag is * set to `true`, then discovery of assets will occur. If it is set to `false, @@ -70,7 +70,7 @@ public function __construct($data = NULL) { * The relative resource name of the settings. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/organizationSettings". + * "organizations/{organization_id}/organizationSettings". * * Generated from protobuf field string name = 1; * @return string @@ -84,7 +84,7 @@ public function getName() * The relative resource name of the settings. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/organizationSettings". + * "organizations/{organization_id}/organizationSettings". * * Generated from protobuf field string name = 1; * @param string $var diff --git a/SecurityCenter/src/V1/RunAssetDiscoveryRequest.php b/SecurityCenter/src/V1/RunAssetDiscoveryRequest.php index 4e8c5e125fdb..de7740047f47 100644 --- a/SecurityCenter/src/V1/RunAssetDiscoveryRequest.php +++ b/SecurityCenter/src/V1/RunAssetDiscoveryRequest.php @@ -16,10 +16,10 @@ class RunAssetDiscoveryRequest extends \Google\Protobuf\Internal\Message { /** - * Name of the organization to run asset discovery for. Its format is + * Required. Name of the organization to run asset discovery for. Its format is * "organizations/[organization_id]". * - * 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 = ''; @@ -30,7 +30,7 @@ class RunAssetDiscoveryRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $parent - * Name of the organization to run asset discovery for. Its format is + * Required. Name of the organization to run asset discovery for. Its format is * "organizations/[organization_id]". * } */ @@ -40,10 +40,10 @@ public function __construct($data = NULL) { } /** - * Name of the organization to run asset discovery for. Its format is + * Required. Name of the organization to run asset discovery for. Its format is * "organizations/[organization_id]". * - * 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() @@ -52,10 +52,10 @@ public function getParent() } /** - * Name of the organization to run asset discovery for. Its format is + * Required. Name of the organization to run asset discovery for. Its format is * "organizations/[organization_id]". * - * 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 */ diff --git a/SecurityCenter/src/V1/SecurityCenterGrpcClient.php b/SecurityCenter/src/V1/SecurityCenterGrpcClient.php index 9bd88b0a2a39..c6d0d3f3bd71 100644 --- a/SecurityCenter/src/V1/SecurityCenterGrpcClient.php +++ b/SecurityCenter/src/V1/SecurityCenterGrpcClient.php @@ -124,7 +124,7 @@ public function GroupAssets(\Google\Cloud\SecurityCenter\V1\GroupAssetsRequest $ * specified properties. * * To group across all sources provide a `-` as the source id. - * Example: /v1/organizations/123/sources/-/findings + * Example: /v1/organizations/{organization_id}/sources/-/findings * @param \Google\Cloud\SecurityCenter\V1\GroupFindingsRequest $argument input argument * @param array $metadata metadata * @param array $options call options @@ -155,7 +155,7 @@ public function ListAssets(\Google\Cloud\SecurityCenter\V1\ListAssetsRequest $ar * Lists an organization or source's findings. * * To list across all sources provide a `-` as the source id. - * Example: /v1/organizations/123/sources/-/findings + * Example: /v1/organizations/{organization_id}/sources/-/findings * @param \Google\Cloud\SecurityCenter\V1\ListFindingsRequest $argument input argument * @param array $metadata metadata * @param array $options call options diff --git a/SecurityCenter/src/V1/SecurityMarks.php b/SecurityCenter/src/V1/SecurityMarks.php index 0b520050387a..44a62c7058c1 100644 --- a/SecurityCenter/src/V1/SecurityMarks.php +++ b/SecurityCenter/src/V1/SecurityMarks.php @@ -22,8 +22,8 @@ class SecurityMarks extends \Google\Protobuf\Internal\Message * The relative resource name of the SecurityMarks. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Examples: - * "organizations/123/assets/456/securityMarks" - * "organizations/123/sources/456/findings/789/securityMarks". + * "organizations/{organization_id}/assets/{asset_id}/securityMarks" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". * * Generated from protobuf field string name = 1; */ @@ -31,10 +31,10 @@ class SecurityMarks extends \Google\Protobuf\Internal\Message /** * Mutable user specified security marks belonging to the parent resource. * Constraints are as follows: - * - Keys and values are treated as case insensitive - * - Keys must be between 1 - 256 characters (inclusive) - * - Keys must be letters, numbers, underscores, or dashes - * - Values have leading and trailing whitespace trimmed, remaining + * * Keys and values are treated as case insensitive + * * Keys must be between 1 - 256 characters (inclusive) + * * Keys must be letters, numbers, underscores, or dashes + * * Values have leading and trailing whitespace trimmed, remaining * characters must be between 1 - 4096 characters (inclusive) * * Generated from protobuf field map marks = 2; @@ -51,15 +51,15 @@ class SecurityMarks extends \Google\Protobuf\Internal\Message * The relative resource name of the SecurityMarks. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Examples: - * "organizations/123/assets/456/securityMarks" - * "organizations/123/sources/456/findings/789/securityMarks". + * "organizations/{organization_id}/assets/{asset_id}/securityMarks" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". * @type array|\Google\Protobuf\Internal\MapField $marks * Mutable user specified security marks belonging to the parent resource. * Constraints are as follows: - * - Keys and values are treated as case insensitive - * - Keys must be between 1 - 256 characters (inclusive) - * - Keys must be letters, numbers, underscores, or dashes - * - Values have leading and trailing whitespace trimmed, remaining + * * Keys and values are treated as case insensitive + * * Keys must be between 1 - 256 characters (inclusive) + * * Keys must be letters, numbers, underscores, or dashes + * * Values have leading and trailing whitespace trimmed, remaining * characters must be between 1 - 4096 characters (inclusive) * } */ @@ -72,8 +72,8 @@ public function __construct($data = NULL) { * The relative resource name of the SecurityMarks. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Examples: - * "organizations/123/assets/456/securityMarks" - * "organizations/123/sources/456/findings/789/securityMarks". + * "organizations/{organization_id}/assets/{asset_id}/securityMarks" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". * * Generated from protobuf field string name = 1; * @return string @@ -87,8 +87,8 @@ public function getName() * The relative resource name of the SecurityMarks. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Examples: - * "organizations/123/assets/456/securityMarks" - * "organizations/123/sources/456/findings/789/securityMarks". + * "organizations/{organization_id}/assets/{asset_id}/securityMarks" + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". * * Generated from protobuf field string name = 1; * @param string $var @@ -105,10 +105,10 @@ public function setName($var) /** * Mutable user specified security marks belonging to the parent resource. * Constraints are as follows: - * - Keys and values are treated as case insensitive - * - Keys must be between 1 - 256 characters (inclusive) - * - Keys must be letters, numbers, underscores, or dashes - * - Values have leading and trailing whitespace trimmed, remaining + * * Keys and values are treated as case insensitive + * * Keys must be between 1 - 256 characters (inclusive) + * * Keys must be letters, numbers, underscores, or dashes + * * Values have leading and trailing whitespace trimmed, remaining * characters must be between 1 - 4096 characters (inclusive) * * Generated from protobuf field map marks = 2; @@ -122,10 +122,10 @@ public function getMarks() /** * Mutable user specified security marks belonging to the parent resource. * Constraints are as follows: - * - Keys and values are treated as case insensitive - * - Keys must be between 1 - 256 characters (inclusive) - * - Keys must be letters, numbers, underscores, or dashes - * - Values have leading and trailing whitespace trimmed, remaining + * * Keys and values are treated as case insensitive + * * Keys must be between 1 - 256 characters (inclusive) + * * Keys must be letters, numbers, underscores, or dashes + * * Values have leading and trailing whitespace trimmed, remaining * characters must be between 1 - 4096 characters (inclusive) * * Generated from protobuf field map marks = 2; diff --git a/SecurityCenter/src/V1/SetFindingStateRequest.php b/SecurityCenter/src/V1/SetFindingStateRequest.php index 4cd2cd88ec17..c09660082af3 100644 --- a/SecurityCenter/src/V1/SetFindingStateRequest.php +++ b/SecurityCenter/src/V1/SetFindingStateRequest.php @@ -16,24 +16,24 @@ class SetFindingStateRequest extends \Google\Protobuf\Internal\Message { /** - * The relative resource name of the finding. See: + * Required. The relative resource name of the finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456/finding/789". + * "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}". * - * 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 desired State of the finding. + * Required. The desired State of the finding. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Finding.State state = 2; + * Generated from protobuf field .google.cloud.securitycenter.v1.Finding.State state = 2 [(.google.api.field_behavior) = REQUIRED]; */ private $state = 0; /** - * The time at which the updated state takes effect. + * Required. The time at which the updated state takes effect. * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 3; + * Generated from protobuf field .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ private $start_time = null; @@ -44,14 +44,14 @@ class SetFindingStateRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * The relative resource name of the finding. See: + * Required. The relative resource name of the finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456/finding/789". + * "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}". * @type int $state - * The desired State of the finding. + * Required. The desired State of the finding. * @type \Google\Protobuf\Timestamp $start_time - * The time at which the updated state takes effect. + * Required. The time at which the updated state takes effect. * } */ public function __construct($data = NULL) { @@ -60,12 +60,12 @@ public function __construct($data = NULL) { } /** - * The relative resource name of the finding. See: + * Required. The relative resource name of the finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456/finding/789". + * "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}". * - * 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() @@ -74,12 +74,12 @@ public function getName() } /** - * The relative resource name of the finding. See: + * Required. The relative resource name of the finding. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456/finding/789". + * "organizations/{organization_id}/sources/{source_id}/finding/{finding_id}". * - * 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 */ @@ -92,9 +92,9 @@ public function setName($var) } /** - * The desired State of the finding. + * Required. The desired State of the finding. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Finding.State state = 2; + * Generated from protobuf field .google.cloud.securitycenter.v1.Finding.State state = 2 [(.google.api.field_behavior) = REQUIRED]; * @return int */ public function getState() @@ -103,9 +103,9 @@ public function getState() } /** - * The desired State of the finding. + * Required. The desired State of the finding. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Finding.State state = 2; + * Generated from protobuf field .google.cloud.securitycenter.v1.Finding.State state = 2 [(.google.api.field_behavior) = REQUIRED]; * @param int $var * @return $this */ @@ -118,9 +118,9 @@ public function setState($var) } /** - * The time at which the updated state takes effect. + * Required. The time at which the updated state takes effect. * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 3; + * Generated from protobuf field .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Protobuf\Timestamp */ public function getStartTime() @@ -129,9 +129,9 @@ public function getStartTime() } /** - * The time at which the updated state takes effect. + * Required. The time at which the updated state takes effect. * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 3; + * Generated from protobuf field .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Protobuf\Timestamp $var * @return $this */ diff --git a/SecurityCenter/src/V1/Source.php b/SecurityCenter/src/V1/Source.php index f09e3d7a40db..952daaa4635d 100644 --- a/SecurityCenter/src/V1/Source.php +++ b/SecurityCenter/src/V1/Source.php @@ -11,7 +11,8 @@ /** * Cloud Security Command Center's (Cloud SCC) finding source. A finding source * is an entity or a mechanism that can produce a finding. A source is like a - * container of findings that come from the same scanner, logger, monitor, etc. + * container of findings that come from the same scanner, logger, monitor, and + * other tools. * * Generated from protobuf message google.cloud.securitycenter.v1.Source */ @@ -21,19 +22,17 @@ class Source extends \Google\Protobuf\Internal\Message * The relative resource name of this source. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456" + * "organizations/{organization_id}/sources/{source_id}" * * Generated from protobuf field string name = 1; */ private $name = ''; /** - * The source’s display name. - * A source’s display name must be unique amongst its siblings, for example, + * The source's display name. + * A source's display name must be unique amongst its siblings, for example, * two sources with the same parent can't share the same display name. - * The display name must start and end with a letter or digit, may contain - * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 32 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. + * The display name must have a length between 1 and 64 characters + * (inclusive). * * Generated from protobuf field string display_name = 2; */ @@ -41,11 +40,11 @@ class Source extends \Google\Protobuf\Internal\Message /** * The description of the source (max of 1024 characters). * Example: - * "Cloud Security Scanner is a web security scanner for common + * "Web Security Scanner is a web security scanner for common * vulnerabilities in App Engine applications. It can automatically * scan and detect four common vulnerabilities, including cross-site-scripting * (XSS), Flash injection, mixed content (HTTP in HTTPS), and - * outdated/insecure libraries." + * outdated or insecure libraries." * * Generated from protobuf field string description = 3; */ @@ -61,23 +60,21 @@ class Source extends \Google\Protobuf\Internal\Message * The relative resource name of this source. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456" + * "organizations/{organization_id}/sources/{source_id}" * @type string $display_name - * The source’s display name. - * A source’s display name must be unique amongst its siblings, for example, + * The source's display name. + * A source's display name must be unique amongst its siblings, for example, * two sources with the same parent can't share the same display name. - * The display name must start and end with a letter or digit, may contain - * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 32 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. + * The display name must have a length between 1 and 64 characters + * (inclusive). * @type string $description * The description of the source (max of 1024 characters). * Example: - * "Cloud Security Scanner is a web security scanner for common + * "Web Security Scanner is a web security scanner for common * vulnerabilities in App Engine applications. It can automatically * scan and detect four common vulnerabilities, including cross-site-scripting * (XSS), Flash injection, mixed content (HTTP in HTTPS), and - * outdated/insecure libraries." + * outdated or insecure libraries." * } */ public function __construct($data = NULL) { @@ -89,7 +86,7 @@ public function __construct($data = NULL) { * The relative resource name of this source. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456" + * "organizations/{organization_id}/sources/{source_id}" * * Generated from protobuf field string name = 1; * @return string @@ -103,7 +100,7 @@ public function getName() * The relative resource name of this source. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/123/sources/456" + * "organizations/{organization_id}/sources/{source_id}" * * Generated from protobuf field string name = 1; * @param string $var @@ -118,13 +115,11 @@ public function setName($var) } /** - * The source’s display name. - * A source’s display name must be unique amongst its siblings, for example, + * The source's display name. + * A source's display name must be unique amongst its siblings, for example, * two sources with the same parent can't share the same display name. - * The display name must start and end with a letter or digit, may contain - * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 32 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. + * The display name must have a length between 1 and 64 characters + * (inclusive). * * Generated from protobuf field string display_name = 2; * @return string @@ -135,13 +130,11 @@ public function getDisplayName() } /** - * The source’s display name. - * A source’s display name must be unique amongst its siblings, for example, + * The source's display name. + * A source's display name must be unique amongst its siblings, for example, * two sources with the same parent can't share the same display name. - * The display name must start and end with a letter or digit, may contain - * letters, digits, spaces, hyphens, and underscores, and can be no longer - * than 32 characters. This is captured by the regular expression: - * [\p{L}\p{N}]({\p{L}\p{N}_- ]{0,30}[\p{L}\p{N}])?. + * The display name must have a length between 1 and 64 characters + * (inclusive). * * Generated from protobuf field string display_name = 2; * @param string $var @@ -158,11 +151,11 @@ public function setDisplayName($var) /** * The description of the source (max of 1024 characters). * Example: - * "Cloud Security Scanner is a web security scanner for common + * "Web Security Scanner is a web security scanner for common * vulnerabilities in App Engine applications. It can automatically * scan and detect four common vulnerabilities, including cross-site-scripting * (XSS), Flash injection, mixed content (HTTP in HTTPS), and - * outdated/insecure libraries." + * outdated or insecure libraries." * * Generated from protobuf field string description = 3; * @return string @@ -175,11 +168,11 @@ public function getDescription() /** * The description of the source (max of 1024 characters). * Example: - * "Cloud Security Scanner is a web security scanner for common + * "Web Security Scanner is a web security scanner for common * vulnerabilities in App Engine applications. It can automatically * scan and detect four common vulnerabilities, including cross-site-scripting * (XSS), Flash injection, mixed content (HTTP in HTTPS), and - * outdated/insecure libraries." + * outdated or insecure libraries." * * Generated from protobuf field string description = 3; * @param string $var diff --git a/SecurityCenter/src/V1/UpdateFindingRequest.php b/SecurityCenter/src/V1/UpdateFindingRequest.php index cb5c6d87d966..26d40aed9f65 100644 --- a/SecurityCenter/src/V1/UpdateFindingRequest.php +++ b/SecurityCenter/src/V1/UpdateFindingRequest.php @@ -16,13 +16,13 @@ class UpdateFindingRequest extends \Google\Protobuf\Internal\Message { /** - * The finding resource to update or create if it does not already exist. + * Required. The finding resource to update or create if it does not already exist. * parent, security_marks, and update_time will be ignored. * In the case of creation, the finding id portion of the name must be * alphanumeric and less than or equal to 32 characters and greater than 0 * characters in length. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 1; + * Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 1 [(.google.api.field_behavior) = REQUIRED]; */ private $finding = null; /** @@ -44,7 +44,7 @@ class UpdateFindingRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type \Google\Cloud\SecurityCenter\V1\Finding $finding - * The finding resource to update or create if it does not already exist. + * Required. The finding resource to update or create if it does not already exist. * parent, security_marks, and update_time will be ignored. * In the case of creation, the finding id portion of the name must be * alphanumeric and less than or equal to 32 characters and greater than 0 @@ -64,13 +64,13 @@ public function __construct($data = NULL) { } /** - * The finding resource to update or create if it does not already exist. + * Required. The finding resource to update or create if it does not already exist. * parent, security_marks, and update_time will be ignored. * In the case of creation, the finding id portion of the name must be * alphanumeric and less than or equal to 32 characters and greater than 0 * characters in length. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 1; + * Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 1 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\SecurityCenter\V1\Finding */ public function getFinding() @@ -79,13 +79,13 @@ public function getFinding() } /** - * The finding resource to update or create if it does not already exist. + * Required. The finding resource to update or create if it does not already exist. * parent, security_marks, and update_time will be ignored. * In the case of creation, the finding id portion of the name must be * alphanumeric and less than or equal to 32 characters and greater than 0 * characters in length. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 1; + * Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 1 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\SecurityCenter\V1\Finding $var * @return $this */ diff --git a/SecurityCenter/src/V1/UpdateOrganizationSettingsRequest.php b/SecurityCenter/src/V1/UpdateOrganizationSettingsRequest.php index 94e55ae7678b..917598f3fa37 100644 --- a/SecurityCenter/src/V1/UpdateOrganizationSettingsRequest.php +++ b/SecurityCenter/src/V1/UpdateOrganizationSettingsRequest.php @@ -16,9 +16,9 @@ class UpdateOrganizationSettingsRequest extends \Google\Protobuf\Internal\Message { /** - * The organization settings resource to update. + * Required. The organization settings resource to update. * - * Generated from protobuf field .google.cloud.securitycenter.v1.OrganizationSettings organization_settings = 1; + * Generated from protobuf field .google.cloud.securitycenter.v1.OrganizationSettings organization_settings = 1 [(.google.api.field_behavior) = REQUIRED]; */ private $organization_settings = null; /** @@ -36,7 +36,7 @@ class UpdateOrganizationSettingsRequest extends \Google\Protobuf\Internal\Messag * Optional. Data for populating the Message object. * * @type \Google\Cloud\SecurityCenter\V1\OrganizationSettings $organization_settings - * The organization settings resource to update. + * Required. The organization settings resource to update. * @type \Google\Protobuf\FieldMask $update_mask * The FieldMask to use when updating the settings resource. * If empty all mutable fields will be updated. @@ -48,9 +48,9 @@ public function __construct($data = NULL) { } /** - * The organization settings resource to update. + * Required. The organization settings resource to update. * - * Generated from protobuf field .google.cloud.securitycenter.v1.OrganizationSettings organization_settings = 1; + * Generated from protobuf field .google.cloud.securitycenter.v1.OrganizationSettings organization_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\SecurityCenter\V1\OrganizationSettings */ public function getOrganizationSettings() @@ -59,9 +59,9 @@ public function getOrganizationSettings() } /** - * The organization settings resource to update. + * Required. The organization settings resource to update. * - * Generated from protobuf field .google.cloud.securitycenter.v1.OrganizationSettings organization_settings = 1; + * Generated from protobuf field .google.cloud.securitycenter.v1.OrganizationSettings organization_settings = 1 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\SecurityCenter\V1\OrganizationSettings $var * @return $this */ diff --git a/SecurityCenter/src/V1/UpdateSecurityMarksRequest.php b/SecurityCenter/src/V1/UpdateSecurityMarksRequest.php index 7f4231a020ab..dfbadecf78a7 100644 --- a/SecurityCenter/src/V1/UpdateSecurityMarksRequest.php +++ b/SecurityCenter/src/V1/UpdateSecurityMarksRequest.php @@ -16,9 +16,9 @@ class UpdateSecurityMarksRequest extends \Google\Protobuf\Internal\Message { /** - * The security marks resource to update. + * Required. The security marks resource to update. * - * Generated from protobuf field .google.cloud.securitycenter.v1.SecurityMarks security_marks = 1; + * Generated from protobuf field .google.cloud.securitycenter.v1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED]; */ private $security_marks = null; /** @@ -46,7 +46,7 @@ class UpdateSecurityMarksRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type \Google\Cloud\SecurityCenter\V1\SecurityMarks $security_marks - * The security marks resource to update. + * Required. The security marks resource to update. * @type \Google\Protobuf\FieldMask $update_mask * The FieldMask to use when updating the security marks resource. * The field mask must not contain duplicate fields. @@ -64,9 +64,9 @@ public function __construct($data = NULL) { } /** - * The security marks resource to update. + * Required. The security marks resource to update. * - * Generated from protobuf field .google.cloud.securitycenter.v1.SecurityMarks security_marks = 1; + * Generated from protobuf field .google.cloud.securitycenter.v1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\SecurityCenter\V1\SecurityMarks */ public function getSecurityMarks() @@ -75,9 +75,9 @@ public function getSecurityMarks() } /** - * The security marks resource to update. + * Required. The security marks resource to update. * - * Generated from protobuf field .google.cloud.securitycenter.v1.SecurityMarks security_marks = 1; + * Generated from protobuf field .google.cloud.securitycenter.v1.SecurityMarks security_marks = 1 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\SecurityCenter\V1\SecurityMarks $var * @return $this */ diff --git a/SecurityCenter/src/V1/UpdateSourceRequest.php b/SecurityCenter/src/V1/UpdateSourceRequest.php index d8072cf49943..abfcede2a28a 100644 --- a/SecurityCenter/src/V1/UpdateSourceRequest.php +++ b/SecurityCenter/src/V1/UpdateSourceRequest.php @@ -16,9 +16,9 @@ class UpdateSourceRequest extends \Google\Protobuf\Internal\Message { /** - * The source resource to update. + * Required. The source resource to update. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Source source = 1; + * Generated from protobuf field .google.cloud.securitycenter.v1.Source source = 1 [(.google.api.field_behavior) = REQUIRED]; */ private $source = null; /** @@ -36,7 +36,7 @@ class UpdateSourceRequest extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type \Google\Cloud\SecurityCenter\V1\Source $source - * The source resource to update. + * Required. The source resource to update. * @type \Google\Protobuf\FieldMask $update_mask * The FieldMask to use when updating the source resource. * If empty all mutable fields will be updated. @@ -48,9 +48,9 @@ public function __construct($data = NULL) { } /** - * The source resource to update. + * Required. The source resource to update. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Source source = 1; + * Generated from protobuf field .google.cloud.securitycenter.v1.Source source = 1 [(.google.api.field_behavior) = REQUIRED]; * @return \Google\Cloud\SecurityCenter\V1\Source */ public function getSource() @@ -59,9 +59,9 @@ public function getSource() } /** - * The source resource to update. + * Required. The source resource to update. * - * Generated from protobuf field .google.cloud.securitycenter.v1.Source source = 1; + * Generated from protobuf field .google.cloud.securitycenter.v1.Source source = 1 [(.google.api.field_behavior) = REQUIRED]; * @param \Google\Cloud\SecurityCenter\V1\Source $var * @return $this */ diff --git a/SecurityCenter/src/V1/resources/security_center_client_config.json b/SecurityCenter/src/V1/resources/security_center_client_config.json index 3ca6c2cd104a..d2419f146a76 100644 --- a/SecurityCenter/src/V1/resources/security_center_client_config.json +++ b/SecurityCenter/src/V1/resources/security_center_client_config.json @@ -13,9 +13,9 @@ "initial_retry_delay_millis": 100, "retry_delay_multiplier": 1.3, "max_retry_delay_millis": 60000, - "initial_rpc_timeout_millis": 20000, + "initial_rpc_timeout_millis": 480000, "rpc_timeout_multiplier": 1.0, - "max_rpc_timeout_millis": 20000, + "max_rpc_timeout_millis": 480000, "total_timeout_millis": 600000 } }, diff --git a/SecurityCenter/synth.metadata b/SecurityCenter/synth.metadata index d5c9559b281e..a7e214909b4a 100644 --- a/SecurityCenter/synth.metadata +++ b/SecurityCenter/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-08-07T19:51:02.821622Z", + "updateTime": "2020-01-15T18:01:21.887560Z", "sources": [ { "generator": { "name": "artman", - "version": "0.29.1", - "dockerImage": "googleapis/artman@sha256:b2a73f4dda03ef8fcaa973e3ba26d0cf34091f6c22c70add663af325931aef4d" + "version": "0.44.0", + "dockerImage": "googleapis/artman@sha256:10a6d0342b8d62544810ac5ad86c3b21049ec0696608ac60175da8e513234344" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "3a1b46a6668194a527e532a2c355b404c79b0e6a", - "internalRef": "262167956" + "sha": "50b0e8286ac988b0593bd890eb31fef6ea2f5767", + "internalRef": "289876944" } } ],