diff --git a/WebSecurityScanner/metadata/V1Beta/CrawledUrl.php b/WebSecurityScanner/metadata/V1Beta/CrawledUrl.php
index 24dea9162168..3d99f2a9e542 100644
--- a/WebSecurityScanner/metadata/V1Beta/CrawledUrl.php
+++ b/WebSecurityScanner/metadata/V1Beta/CrawledUrl.php
@@ -14,7 +14,6 @@ public static function initOnce() {
if (static::$is_initialized == true) {
return;
}
- \GPBMetadata\Google\Api\Annotations::initOnce();
$pool->internalAddGeneratedFile(hex2bin(
"0aed020a38676f6f676c652f636c6f75642f776562736563757269747973" .
"63616e6e65722f7631626574612f637261776c65645f75726c2e70726f74" .
diff --git a/WebSecurityScanner/metadata/V1Beta/Finding.php b/WebSecurityScanner/metadata/V1Beta/Finding.php
index 012bd9354cdc..33f28daa3f1d 100644
--- a/WebSecurityScanner/metadata/V1Beta/Finding.php
+++ b/WebSecurityScanner/metadata/V1Beta/Finding.php
@@ -14,15 +14,15 @@ public static function initOnce() {
if (static::$is_initialized == true) {
return;
}
- \GPBMetadata\Google\Api\Annotations::initOnce();
+ \GPBMetadata\Google\Api\Resource::initOnce();
\GPBMetadata\Google\Cloud\Websecurityscanner\V1Beta\FindingAddon::initOnce();
$pool->internalAddGeneratedFile(hex2bin(
- "0a89080a34676f6f676c652f636c6f75642f776562736563757269747973" .
+ "0a90090a34676f6f676c652f636c6f75642f776562736563757269747973" .
"63616e6e65722f7631626574612f66696e64696e672e70726f746f122667" .
"6f6f676c652e636c6f75642e77656273656375726974797363616e6e6572" .
"2e7631626574611a3a676f6f676c652f636c6f75642f7765627365637572" .
"6974797363616e6e65722f7631626574612f66696e64696e675f6164646f" .
- "6e2e70726f746f22a2050a0746696e64696e67120c0a046e616d65180120" .
+ "6e2e70726f746f22a9060a0746696e64696e67120c0a046e616d65180120" .
"01280912140a0c66696e64696e675f7479706518022001280912130a0b68" .
"7474705f6d6574686f6418032001280912120a0a66757a7a65645f75726c" .
"180420012809120c0a04626f647918052001280912130a0b646573637269" .
@@ -44,14 +44,19 @@ public static function initOnce() {
"676c652e636c6f75642e77656273656375726974797363616e6e65722e76" .
"31626574612e56756c6e657261626c65506172616d657465727312380a03" .
"787373180e2001280b322b2e676f6f676c652e636c6f75642e7765627365" .
- "6375726974797363616e6e65722e7631626574612e58737342bf010a2a63" .
- "6f6d2e676f6f676c652e636c6f75642e7765627365637572697479736361" .
- "6e6e65722e763162657461420c46696e64696e6750726f746f50015a5867" .
- "6f6f676c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f67" .
- "6c65617069732f636c6f75642f77656273656375726974797363616e6e65" .
- "722f7631626574613b77656273656375726974797363616e6e6572ca0226" .
- "476f6f676c655c436c6f75645c57656253656375726974795363616e6e65" .
- "725c563162657461620670726f746f33"
+ "6375726974797363616e6e65722e7631626574612e5873733a8401ea4180" .
+ "010a2977656273656375726974797363616e6e65722e676f6f676c656170" .
+ "69732e636f6d2f46696e64696e67125370726f6a656374732f7b70726f6a" .
+ "6563747d2f7363616e436f6e666967732f7b7363616e5f636f6e6669677d" .
+ "2f7363616e52756e732f7b7363616e5f72756e7d2f66696e64696e67732f" .
+ "7b66696e64696e677d42bf010a2a636f6d2e676f6f676c652e636c6f7564" .
+ "2e77656273656375726974797363616e6e65722e763162657461420c4669" .
+ "6e64696e6750726f746f50015a58676f6f676c652e676f6c616e672e6f72" .
+ "672f67656e70726f746f2f676f6f676c65617069732f636c6f75642f7765" .
+ "6273656375726974797363616e6e65722f7631626574613b776562736563" .
+ "75726974797363616e6e6572ca0226476f6f676c655c436c6f75645c5765" .
+ "6253656375726974795363616e6e65725c563162657461620670726f746f" .
+ "33"
), true);
static::$is_initialized = true;
diff --git a/WebSecurityScanner/metadata/V1Beta/FindingAddon.php b/WebSecurityScanner/metadata/V1Beta/FindingAddon.php
index fa9427ab3eb8..5972190036f9 100644
--- a/WebSecurityScanner/metadata/V1Beta/FindingAddon.php
+++ b/WebSecurityScanner/metadata/V1Beta/FindingAddon.php
@@ -14,7 +14,6 @@ public static function initOnce() {
if (static::$is_initialized == true) {
return;
}
- \GPBMetadata\Google\Api\Annotations::initOnce();
$pool->internalAddGeneratedFile(hex2bin(
"0ac3060a3a676f6f676c652f636c6f75642f776562736563757269747973" .
"63616e6e65722f7631626574612f66696e64696e675f6164646f6e2e7072" .
diff --git a/WebSecurityScanner/metadata/V1Beta/FindingTypeStats.php b/WebSecurityScanner/metadata/V1Beta/FindingTypeStats.php
index 16b66a823fe9..15f4effaacfd 100644
--- a/WebSecurityScanner/metadata/V1Beta/FindingTypeStats.php
+++ b/WebSecurityScanner/metadata/V1Beta/FindingTypeStats.php
@@ -14,7 +14,6 @@ public static function initOnce() {
if (static::$is_initialized == true) {
return;
}
- \GPBMetadata\Google\Api\Annotations::initOnce();
$pool->internalAddGeneratedFile(hex2bin(
"0afd020a3f676f6f676c652f636c6f75642f776562736563757269747973" .
"63616e6e65722f7631626574612f66696e64696e675f747970655f737461" .
diff --git a/WebSecurityScanner/metadata/V1Beta/ScanConfig.php b/WebSecurityScanner/metadata/V1Beta/ScanConfig.php
index 555de78e8973..929ac1ae5023 100644
--- a/WebSecurityScanner/metadata/V1Beta/ScanConfig.php
+++ b/WebSecurityScanner/metadata/V1Beta/ScanConfig.php
@@ -14,76 +14,82 @@ 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\Websecurityscanner\V1Beta\ScanRun::initOnce();
\GPBMetadata\Google\Protobuf\Timestamp::initOnce();
$pool->internalAddGeneratedFile(hex2bin(
- "0aa10f0a38676f6f676c652f636c6f75642f776562736563757269747973" .
+ "0acb100a38676f6f676c652f636c6f75642f776562736563757269747973" .
"63616e6e65722f7631626574612f7363616e5f636f6e6669672e70726f74" .
"6f1226676f6f676c652e636c6f75642e7765627365637572697479736361" .
- "6e6e65722e7631626574611a35676f6f676c652f636c6f75642f77656273" .
- "656375726974797363616e6e65722f7631626574612f7363616e5f72756e" .
- "2e70726f746f1a1f676f6f676c652f70726f746f6275662f74696d657374" .
- "616d702e70726f746f22970c0a0a5363616e436f6e666967120c0a046e61" .
- "6d6518012001280912140a0c646973706c61795f6e616d65180220012809" .
- "120f0a076d61785f71707318032001280512150a0d7374617274696e675f" .
- "75726c7318042003280912590a0e61757468656e7469636174696f6e1805" .
- "2001280b32412e676f6f676c652e636c6f75642e77656273656375726974" .
- "797363616e6e65722e7631626574612e5363616e436f6e6669672e417574" .
- "68656e7469636174696f6e12500a0a757365725f6167656e741806200128" .
- "0e323c2e676f6f676c652e636c6f75642e77656273656375726974797363" .
- "616e6e65722e7631626574612e5363616e436f6e6669672e557365724167" .
- "656e74121a0a12626c61636b6c6973745f7061747465726e731807200328" .
- "09124d0a087363686564756c6518082001280b323b2e676f6f676c652e63" .
+ "6e6e65722e7631626574611a19676f6f676c652f6170692f7265736f7572" .
+ "63652e70726f746f1a35676f6f676c652f636c6f75642f77656273656375" .
+ "726974797363616e6e65722f7631626574612f7363616e5f72756e2e7072" .
+ "6f746f1a1f676f6f676c652f70726f746f6275662f74696d657374616d70" .
+ "2e70726f746f22a60d0a0a5363616e436f6e666967120c0a046e616d6518" .
+ "012001280912190a0c646973706c61795f6e616d651802200128094203e0" .
+ "4102120f0a076d61785f717073180320012805121a0a0d7374617274696e" .
+ "675f75726c731804200328094203e0410212590a0e61757468656e746963" .
+ "6174696f6e18052001280b32412e676f6f676c652e636c6f75642e776562" .
+ "73656375726974797363616e6e65722e7631626574612e5363616e436f6e" .
+ "6669672e41757468656e7469636174696f6e12500a0a757365725f616765" .
+ "6e7418062001280e323c2e676f6f676c652e636c6f75642e776562736563" .
+ "75726974797363616e6e65722e7631626574612e5363616e436f6e666967" .
+ "2e557365724167656e74121a0a12626c61636b6c6973745f706174746572" .
+ "6e73180720032809124d0a087363686564756c6518082001280b323b2e67" .
+ "6f6f676c652e636c6f75642e77656273656375726974797363616e6e6572" .
+ "2e7631626574612e5363616e436f6e6669672e5363686564756c65125b0a" .
+ "107461726765745f706c6174666f726d7318092003280e32412e676f6f67" .
+ "6c652e636c6f75642e77656273656375726974797363616e6e65722e7631" .
+ "626574612e5363616e436f6e6669672e546172676574506c6174666f726d" .
+ "127b0a216578706f72745f746f5f73656375726974795f636f6d6d616e64" .
+ "5f63656e746572180a2001280e32502e676f6f676c652e636c6f75642e77" .
+ "656273656375726974797363616e6e65722e7631626574612e5363616e43" .
+ "6f6e6669672e4578706f7274546f5365637572697479436f6d6d616e6443" .
+ "656e74657212430a0a6c61746573745f72756e180b2001280b322f2e676f" .
+ "6f676c652e636c6f75642e77656273656375726974797363616e6e65722e" .
+ "7631626574612e5363616e52756e12500a0a7269736b5f6c6576656c180c" .
+ "2001280e323c2e676f6f676c652e636c6f75642e77656273656375726974" .
+ "797363616e6e65722e7631626574612e5363616e436f6e6669672e526973" .
+ "6b4c6576656c1a94030a0e41757468656e7469636174696f6e12690a0e67" .
+ "6f6f676c655f6163636f756e7418012001280b324f2e676f6f676c652e63" .
"6c6f75642e77656273656375726974797363616e6e65722e763162657461" .
- "2e5363616e436f6e6669672e5363686564756c65125b0a10746172676574" .
- "5f706c6174666f726d7318092003280e32412e676f6f676c652e636c6f75" .
- "642e77656273656375726974797363616e6e65722e7631626574612e5363" .
- "616e436f6e6669672e546172676574506c6174666f726d127b0a21657870" .
- "6f72745f746f5f73656375726974795f636f6d6d616e645f63656e746572" .
- "180a2001280e32502e676f6f676c652e636c6f75642e7765627365637572" .
- "6974797363616e6e65722e7631626574612e5363616e436f6e6669672e45" .
- "78706f7274546f5365637572697479436f6d6d616e6443656e7465721243" .
- "0a0a6c61746573745f72756e180b2001280b322f2e676f6f676c652e636c" .
- "6f75642e77656273656375726974797363616e6e65722e7631626574612e" .
- "5363616e52756e12500a0a7269736b5f6c6576656c180c2001280e323c2e" .
- "676f6f676c652e636c6f75642e77656273656375726974797363616e6e65" .
- "722e7631626574612e5363616e436f6e6669672e5269736b4c6576656c1a" .
- "f5020a0e41757468656e7469636174696f6e12690a0e676f6f676c655f61" .
- "63636f756e7418012001280b324f2e676f6f676c652e636c6f75642e7765" .
- "6273656375726974797363616e6e65722e7631626574612e5363616e436f" .
- "6e6669672e41757468656e7469636174696f6e2e476f6f676c654163636f" .
- "756e74480012690a0e637573746f6d5f6163636f756e7418022001280b32" .
- "4f2e676f6f676c652e636c6f75642e77656273656375726974797363616e" .
- "6e65722e7631626574612e5363616e436f6e6669672e41757468656e7469" .
- "636174696f6e2e437573746f6d4163636f756e7448001a330a0d476f6f67" .
- "6c654163636f756e7412100a08757365726e616d6518012001280912100a" .
- "0870617373776f72641802200128091a460a0d437573746f6d4163636f75" .
- "6e7412100a08757365726e616d6518012001280912100a0870617373776f" .
- "726418022001280912110a096c6f67696e5f75726c18032001280942100a" .
- "0e61757468656e7469636174696f6e1a5d0a085363686564756c6512310a" .
- "0d7363686564756c655f74696d6518012001280b321a2e676f6f676c652e" .
- "70726f746f6275662e54696d657374616d70121e0a16696e74657276616c" .
- "5f6475726174696f6e5f6461797318022001280522600a09557365724167" .
- "656e74121a0a16555345525f4147454e545f554e53504543494649454410" .
- "0012100a0c4348524f4d455f4c494e5558100112120a0e4348524f4d455f" .
- "414e44524f4944100212110a0d5341464152495f4950484f4e451003224e" .
- "0a0e546172676574506c6174666f726d121f0a1b5441524745545f504c41" .
- "54464f524d5f554e5350454349464945441000120e0a0a4150505f454e47" .
- "494e451001120b0a07434f4d505554451002223c0a095269736b4c657665" .
- "6c121a0a165249534b5f4c4556454c5f554e535045434946494544100012" .
- "0a0a064e4f524d414c100112070a034c4f571002226d0a1d4578706f7274" .
- "546f5365637572697479436f6d6d616e6443656e74657212310a2d455850" .
- "4f52545f544f5f53454355524954595f434f4d4d414e445f43454e544552" .
- "5f554e5350454349464945441000120b0a07454e41424c45441001120c0a" .
- "0844495341424c4544100242c2010a2a636f6d2e676f6f676c652e636c6f" .
- "75642e77656273656375726974797363616e6e65722e763162657461420f" .
- "5363616e436f6e66696750726f746f50015a58676f6f676c652e676f6c61" .
- "6e672e6f72672f67656e70726f746f2f676f6f676c65617069732f636c6f" .
- "75642f77656273656375726974797363616e6e65722f7631626574613b77" .
- "656273656375726974797363616e6e6572ca0226476f6f676c655c436c6f" .
- "75645c57656253656375726974795363616e6e65725c5631626574616206" .
- "70726f746f33"
+ "2e5363616e436f6e6669672e41757468656e7469636174696f6e2e476f6f" .
+ "676c654163636f756e74480012690a0e637573746f6d5f6163636f756e74" .
+ "18022001280b324f2e676f6f676c652e636c6f75642e7765627365637572" .
+ "6974797363616e6e65722e7631626574612e5363616e436f6e6669672e41" .
+ "757468656e7469636174696f6e2e437573746f6d4163636f756e7448001a" .
+ "400a0d476f6f676c654163636f756e7412150a08757365726e616d651801" .
+ "200128094203e0410212180a0870617373776f72641802200128094206e0" .
+ "4102e041041a580a0d437573746f6d4163636f756e7412150a0875736572" .
+ "6e616d651801200128094203e0410212180a0870617373776f7264180220" .
+ "0128094206e04102e0410412160a096c6f67696e5f75726c180320012809" .
+ "4203e0410242100a0e61757468656e7469636174696f6e1a620a08536368" .
+ "6564756c6512310a0d7363686564756c655f74696d6518012001280b321a" .
+ "2e676f6f676c652e70726f746f6275662e54696d657374616d7012230a16" .
+ "696e74657276616c5f6475726174696f6e5f646179731802200128054203" .
+ "e0410222600a09557365724167656e74121a0a16555345525f4147454e54" .
+ "5f554e535045434946494544100012100a0c4348524f4d455f4c494e5558" .
+ "100112120a0e4348524f4d455f414e44524f4944100212110a0d53414641" .
+ "52495f4950484f4e451003224e0a0e546172676574506c6174666f726d12" .
+ "1f0a1b5441524745545f504c4154464f524d5f554e535045434946494544" .
+ "1000120e0a0a4150505f454e47494e451001120b0a07434f4d5055544510" .
+ "02223c0a095269736b4c6576656c121a0a165249534b5f4c4556454c5f55" .
+ "4e5350454349464945441000120a0a064e4f524d414c100112070a034c4f" .
+ "571002226d0a1d4578706f7274546f5365637572697479436f6d6d616e64" .
+ "43656e74657212310a2d4558504f52545f544f5f53454355524954595f43" .
+ "4f4d4d414e445f43454e5445525f554e5350454349464945441000120b0a" .
+ "07454e41424c45441001120c0a0844495341424c454410023a5fea415c0a" .
+ "2c77656273656375726974797363616e6e65722e676f6f676c6561706973" .
+ "2e636f6d2f5363616e436f6e666967122c70726f6a656374732f7b70726f" .
+ "6a6563747d2f7363616e436f6e666967732f7b7363616e5f636f6e666967" .
+ "7d42c2010a2a636f6d2e676f6f676c652e636c6f75642e77656273656375" .
+ "726974797363616e6e65722e763162657461420f5363616e436f6e666967" .
+ "50726f746f50015a58676f6f676c652e676f6c616e672e6f72672f67656e" .
+ "70726f746f2f676f6f676c65617069732f636c6f75642f77656273656375" .
+ "726974797363616e6e65722f7631626574613b7765627365637572697479" .
+ "7363616e6e6572ca0226476f6f676c655c436c6f75645c57656253656375" .
+ "726974795363616e6e65725c563162657461620670726f746f33"
), true);
static::$is_initialized = true;
diff --git a/WebSecurityScanner/metadata/V1Beta/ScanConfigError.php b/WebSecurityScanner/metadata/V1Beta/ScanConfigError.php
index f21811f40ec0..bea7aabb9393 100644
--- a/WebSecurityScanner/metadata/V1Beta/ScanConfigError.php
+++ b/WebSecurityScanner/metadata/V1Beta/ScanConfigError.php
@@ -15,14 +15,14 @@ public static function initOnce() {
return;
}
$pool->internalAddGeneratedFile(hex2bin(
- "0a840e0a3e676f6f676c652f636c6f75642f776562736563757269747973" .
+ "0aaa0e0a3e676f6f676c652f636c6f75642f776562736563757269747973" .
"63616e6e65722f7631626574612f7363616e5f636f6e6669675f6572726f" .
"722e70726f746f1226676f6f676c652e636c6f75642e7765627365637572" .
- "6974797363616e6e65722e76316265746122c70b0a0f5363616e436f6e66" .
+ "6974797363616e6e65722e76316265746122ed0b0a0f5363616e436f6e66" .
"69674572726f72124a0a04636f646518012001280e323c2e676f6f676c65" .
"2e636c6f75642e77656273656375726974797363616e6e65722e76316265" .
"74612e5363616e436f6e6669674572726f722e436f646512120a0a666965" .
- "6c645f6e616d6518022001280922d30a0a04436f646512140a10434f4445" .
+ "6c645f6e616d6518022001280922f90a0a04436f646512140a10434f4445" .
"5f554e535045434946494544100012060a024f4b100012120a0e494e5445" .
"524e414c5f4552524f521001121f0a1b415050454e47494e455f4150495f" .
"4241434b454e445f4552524f52100212200a1c415050454e47494e455f41" .
@@ -46,35 +46,37 @@ public static function initOnce() {
"5f4649454c445f56414c5545101212240a204641494c45445f544f5f4155" .
"5448454e5449434154455f544f5f5441524745541013121c0a1846494e44" .
"494e475f545950455f554e5350454349464945441014121d0a19464f5242" .
- "494444454e5f544f5f5343414e5f434f4d50555445101512140a104d414c" .
- "464f524d45445f46494c5445521016121b0a174d414c464f524d45445f52" .
- "45534f555243455f4e414d45101712140a1050524f4a4543545f494e4143" .
- "54495645101812120a0e52455155495245445f4649454c441019121e0a1a" .
- "5245534f555243455f4e414d455f494e434f4e53495354454e54101a1218" .
- "0a145343414e5f414c52454144595f52554e4e494e47101b12140a105343" .
- "414e5f4e4f545f52554e4e494e47101c122f0a2b534545445f55524c5f44" .
- "4f45535f4e4f545f42454c4f4e475f544f5f43555252454e545f50524f4a" .
- "454354101d12160a12534545445f55524c5f4d414c464f524d4544101e12" .
- "2b0a27534545445f55524c5f4d41505045445f544f5f4e4f4e5f524f5554" .
- "41424c455f41444452455353101f12290a25534545445f55524c5f4d4150" .
- "5045445f544f5f554e52455345525645445f41444452455353102012280a" .
- "24534545445f55524c5f4841535f4e4f4e5f524f555441424c455f49505f" .
- "41444452455353102112260a22534545445f55524c5f4841535f554e5245" .
- "5345525645445f49505f41444452455353102312220a1e53455256494345" .
- "5f4143434f554e545f4e4f545f434f4e46494755524544102412120a0e54" .
- "4f4f5f4d414e595f5343414e53102512220a1e554e41424c455f544f5f52" .
- "45534f4c56455f50524f4a4543545f494e464f102612280a24554e535550" .
- "504f525445445f424c41434b4c4953545f5041545445524e5f464f524d41" .
- "54102712160a12554e535550504f525445445f46494c5445521028121c0a" .
- "18554e535550504f525445445f46494e44494e475f545950451029121a0a" .
- "16554e535550504f525445445f55524c5f534348454d45102a1a02100142" .
- "c7010a2a636f6d2e676f6f676c652e636c6f75642e776562736563757269" .
- "74797363616e6e65722e76316265746142145363616e436f6e6669674572" .
- "726f7250726f746f50015a58676f6f676c652e676f6c616e672e6f72672f" .
- "67656e70726f746f2f676f6f676c65617069732f636c6f75642f77656273" .
- "656375726974797363616e6e65722f7631626574613b7765627365637572" .
- "6974797363616e6e6572ca0226476f6f676c655c436c6f75645c57656253" .
- "656375726974795363616e6e65725c563162657461620670726f746f33"
+ "494444454e5f544f5f5343414e5f434f4d50555445101512240a20464f52" .
+ "42494444454e5f5550444154455f544f5f4d414e414745445f5343414e10" .
+ "2b12140a104d414c464f524d45445f46494c5445521016121b0a174d414c" .
+ "464f524d45445f5245534f555243455f4e414d45101712140a1050524f4a" .
+ "4543545f494e414354495645101812120a0e52455155495245445f464945" .
+ "4c441019121e0a1a5245534f555243455f4e414d455f494e434f4e534953" .
+ "54454e54101a12180a145343414e5f414c52454144595f52554e4e494e47" .
+ "101b12140a105343414e5f4e4f545f52554e4e494e47101c122f0a2b5345" .
+ "45445f55524c5f444f45535f4e4f545f42454c4f4e475f544f5f43555252" .
+ "454e545f50524f4a454354101d12160a12534545445f55524c5f4d414c46" .
+ "4f524d4544101e122b0a27534545445f55524c5f4d41505045445f544f5f" .
+ "4e4f4e5f524f555441424c455f41444452455353101f12290a2553454544" .
+ "5f55524c5f4d41505045445f544f5f554e52455345525645445f41444452" .
+ "455353102012280a24534545445f55524c5f4841535f4e4f4e5f524f5554" .
+ "41424c455f49505f41444452455353102112260a22534545445f55524c5f" .
+ "4841535f554e52455345525645445f49505f41444452455353102312220a" .
+ "1e534552564943455f4143434f554e545f4e4f545f434f4e464947555245" .
+ "44102412120a0e544f4f5f4d414e595f5343414e53102512220a1e554e41" .
+ "424c455f544f5f5245534f4c56455f50524f4a4543545f494e464f102612" .
+ "280a24554e535550504f525445445f424c41434b4c4953545f5041545445" .
+ "524e5f464f524d4154102712160a12554e535550504f525445445f46494c" .
+ "5445521028121c0a18554e535550504f525445445f46494e44494e475f54" .
+ "5950451029121a0a16554e535550504f525445445f55524c5f534348454d" .
+ "45102a1a02100142c7010a2a636f6d2e676f6f676c652e636c6f75642e77" .
+ "656273656375726974797363616e6e65722e76316265746142145363616e" .
+ "436f6e6669674572726f7250726f746f50015a58676f6f676c652e676f6c" .
+ "616e672e6f72672f67656e70726f746f2f676f6f676c65617069732f636c" .
+ "6f75642f77656273656375726974797363616e6e65722f7631626574613b" .
+ "77656273656375726974797363616e6e6572ca0226476f6f676c655c436c" .
+ "6f75645c57656253656375726974795363616e6e65725c56316265746162" .
+ "0670726f746f33"
), true);
static::$is_initialized = true;
diff --git a/WebSecurityScanner/metadata/V1Beta/ScanRun.php b/WebSecurityScanner/metadata/V1Beta/ScanRun.php
index 736a9211a365..d888836376fd 100644
--- a/WebSecurityScanner/metadata/V1Beta/ScanRun.php
+++ b/WebSecurityScanner/metadata/V1Beta/ScanRun.php
@@ -14,12 +14,12 @@ public static function initOnce() {
if (static::$is_initialized == true) {
return;
}
- \GPBMetadata\Google\Api\Annotations::initOnce();
+ \GPBMetadata\Google\Api\Resource::initOnce();
\GPBMetadata\Google\Cloud\Websecurityscanner\V1Beta\ScanRunErrorTrace::initOnce();
\GPBMetadata\Google\Cloud\Websecurityscanner\V1Beta\ScanRunWarningTrace::initOnce();
\GPBMetadata\Google\Protobuf\Timestamp::initOnce();
$pool->internalAddGeneratedFile(hex2bin(
- "0ab5090a35676f6f676c652f636c6f75642f776562736563757269747973" .
+ "0aa70a0a35676f6f676c652f636c6f75642f776562736563757269747973" .
"63616e6e65722f7631626574612f7363616e5f72756e2e70726f746f1226" .
"676f6f676c652e636c6f75642e77656273656375726974797363616e6e65" .
"722e7631626574611a41676f6f676c652f636c6f75642f77656273656375" .
@@ -27,7 +27,7 @@ public static function initOnce() {
"726f725f74726163652e70726f746f1a43676f6f676c652f636c6f75642f" .
"77656273656375726974797363616e6e65722f7631626574612f7363616e" .
"5f72756e5f7761726e696e675f74726163652e70726f746f1a1f676f6f67" .
- "6c652f70726f746f6275662f74696d657374616d702e70726f746f22e005" .
+ "6c652f70726f746f6275662f74696d657374616d702e70726f746f22d206" .
"0a075363616e52756e120c0a046e616d6518012001280912570a0f657865" .
"637574696f6e5f737461746518022001280e323e2e676f6f676c652e636c" .
"6f75642e77656273656375726974797363616e6e65722e7631626574612e" .
@@ -52,14 +52,18 @@ public static function initOnce() {
"085343414e4e494e471002120c0a0846494e49534845441003224f0a0b52" .
"6573756c745374617465121c0a18524553554c545f53544154455f554e53" .
"50454349464945441000120b0a0753554343455353100112090a05455252" .
- "4f521002120a0a064b494c4c4544100342bf010a2a636f6d2e676f6f676c" .
- "652e636c6f75642e77656273656375726974797363616e6e65722e763162" .
- "657461420c5363616e52756e50726f746f50015a58676f6f676c652e676f" .
- "6c616e672e6f72672f67656e70726f746f2f676f6f676c65617069732f63" .
- "6c6f75642f77656273656375726974797363616e6e65722f763162657461" .
- "3b77656273656375726974797363616e6e6572ca0226476f6f676c655c43" .
- "6c6f75645c57656253656375726974795363616e6e65725c563162657461" .
- "620670726f746f33"
+ "4f521002120a0a064b494c4c454410033a70ea416d0a2977656273656375" .
+ "726974797363616e6e65722e676f6f676c65617069732e636f6d2f536361" .
+ "6e52756e124070726f6a656374732f7b70726f6a6563747d2f7363616e43" .
+ "6f6e666967732f7b7363616e5f636f6e6669677d2f7363616e52756e732f" .
+ "7b7363616e5f72756e7d42bf010a2a636f6d2e676f6f676c652e636c6f75" .
+ "642e77656273656375726974797363616e6e65722e763162657461420c53" .
+ "63616e52756e50726f746f50015a58676f6f676c652e676f6c616e672e6f" .
+ "72672f67656e70726f746f2f676f6f676c65617069732f636c6f75642f77" .
+ "656273656375726974797363616e6e65722f7631626574613b7765627365" .
+ "6375726974797363616e6e6572ca0226476f6f676c655c436c6f75645c57" .
+ "656253656375726974795363616e6e65725c563162657461620670726f74" .
+ "6f33"
), true);
static::$is_initialized = true;
diff --git a/WebSecurityScanner/metadata/V1Beta/WebSecurityScanner.php b/WebSecurityScanner/metadata/V1Beta/WebSecurityScanner.php
index 4228651c8584..39e426362809 100644
--- a/WebSecurityScanner/metadata/V1Beta/WebSecurityScanner.php
+++ b/WebSecurityScanner/metadata/V1Beta/WebSecurityScanner.php
@@ -15,6 +15,9 @@ public static function initOnce() {
return;
}
\GPBMetadata\Google\Api\Annotations::initOnce();
+ \GPBMetadata\Google\Api\Client::initOnce();
+ \GPBMetadata\Google\Api\FieldBehavior::initOnce();
+ \GPBMetadata\Google\Api\Resource::initOnce();
\GPBMetadata\Google\Cloud\Websecurityscanner\V1Beta\CrawledUrl::initOnce();
\GPBMetadata\Google\Cloud\Websecurityscanner\V1Beta\Finding::initOnce();
\GPBMetadata\Google\Cloud\Websecurityscanner\V1Beta\FindingTypeStats::initOnce();
@@ -23,165 +26,197 @@ public static function initOnce() {
\GPBMetadata\Google\Protobuf\GPBEmpty::initOnce();
\GPBMetadata\Google\Protobuf\FieldMask::initOnce();
$pool->internalAddGeneratedFile(hex2bin(
- "0a8e250a41676f6f676c652f636c6f75642f776562736563757269747973" .
+ "0ad42c0a41676f6f676c652f636c6f75642f776562736563757269747973" .
"63616e6e65722f7631626574612f7765625f73656375726974795f736361" .
"6e6e65722e70726f746f1226676f6f676c652e636c6f75642e7765627365" .
- "6375726974797363616e6e65722e7631626574611a38676f6f676c652f63" .
- "6c6f75642f77656273656375726974797363616e6e65722f763162657461" .
- "2f637261776c65645f75726c2e70726f746f1a34676f6f676c652f636c6f" .
- "75642f77656273656375726974797363616e6e65722f7631626574612f66" .
- "696e64696e672e70726f746f1a3f676f6f676c652f636c6f75642f776562" .
- "73656375726974797363616e6e65722f7631626574612f66696e64696e67" .
- "5f747970655f73746174732e70726f746f1a38676f6f676c652f636c6f75" .
- "642f77656273656375726974797363616e6e65722f7631626574612f7363" .
- "616e5f636f6e6669672e70726f746f1a35676f6f676c652f636c6f75642f" .
- "77656273656375726974797363616e6e65722f7631626574612f7363616e" .
- "5f72756e2e70726f746f1a1b676f6f676c652f70726f746f6275662f656d" .
- "7074792e70726f746f1a20676f6f676c652f70726f746f6275662f666965" .
- "6c645f6d61736b2e70726f746f22720a174372656174655363616e436f6e" .
- "66696752657175657374120e0a06706172656e7418012001280912470a0b" .
- "7363616e5f636f6e66696718022001280b32322e676f6f676c652e636c6f" .
- "75642e77656273656375726974797363616e6e65722e7631626574612e53" .
- "63616e436f6e66696722270a1744656c6574655363616e436f6e66696752" .
- "657175657374120c0a046e616d6518012001280922240a14476574536361" .
- "6e436f6e66696752657175657374120c0a046e616d65180120012809224f" .
- "0a164c6973745363616e436f6e6669677352657175657374120e0a067061" .
- "72656e7418012001280912120a0a706167655f746f6b656e180220012809" .
- "12110a09706167655f73697a651803200128052293010a17557064617465" .
- "5363616e436f6e6669675265717565737412470a0b7363616e5f636f6e66" .
- "696718022001280b32322e676f6f676c652e636c6f75642e776562736563" .
- "75726974797363616e6e65722e7631626574612e5363616e436f6e666967" .
- "122f0a0b7570646174655f6d61736b18032001280b321a2e676f6f676c65" .
- "2e70726f746f6275662e4669656c644d61736b227c0a174c697374536361" .
- "6e436f6e66696773526573706f6e736512480a0c7363616e5f636f6e6669" .
- "677318012003280b32322e676f6f676c652e636c6f75642e776562736563" .
- "75726974797363616e6e65722e7631626574612e5363616e436f6e666967" .
- "12170a0f6e6578745f706167655f746f6b656e18022001280922230a1353" .
- "746172745363616e52756e52657175657374120c0a046e616d6518012001" .
- "280922210a114765745363616e52756e52657175657374120c0a046e616d" .
- "65180120012809224c0a134c6973745363616e52756e7352657175657374" .
- "120e0a06706172656e7418012001280912120a0a706167655f746f6b656e" .
- "18022001280912110a09706167655f73697a6518032001280522730a144c" .
- "6973745363616e52756e73526573706f6e736512420a097363616e5f7275" .
- "6e7318012003280b322f2e676f6f676c652e636c6f75642e776562736563" .
- "75726974797363616e6e65722e7631626574612e5363616e52756e12170a" .
- "0f6e6578745f706167655f746f6b656e18022001280922220a1253746f70" .
- "5363616e52756e52657175657374120c0a046e616d65180120012809224f" .
- "0a164c697374437261776c656455726c7352657175657374120e0a067061" .
- "72656e7418012001280912120a0a706167655f746f6b656e180220012809" .
- "12110a09706167655f73697a65180320012805227c0a174c697374437261" .
- "776c656455726c73526573706f6e736512480a0c637261776c65645f7572" .
- "6c7318012003280b32322e676f6f676c652e636c6f75642e776562736563" .
- "75726974797363616e6e65722e7631626574612e437261776c656455726c" .
- "12170a0f6e6578745f706167655f746f6b656e18022001280922210a1147" .
- "657446696e64696e6752657175657374120c0a046e616d65180120012809" .
- "225c0a134c69737446696e64696e677352657175657374120e0a06706172" .
- "656e74180120012809120e0a0666696c74657218022001280912120a0a70" .
- "6167655f746f6b656e18032001280912110a09706167655f73697a651804" .
- "2001280522720a144c69737446696e64696e6773526573706f6e73651241" .
- "0a0866696e64696e677318012003280b322f2e676f6f676c652e636c6f75" .
- "642e77656273656375726974797363616e6e65722e7631626574612e4669" .
- "6e64696e6712170a0f6e6578745f706167655f746f6b656e180220012809" .
- "222d0a1b4c69737446696e64696e67547970655374617473526571756573" .
- "74120e0a06706172656e7418012001280922740a1c4c69737446696e6469" .
- "6e67547970655374617473526573706f6e736512540a1266696e64696e67" .
- "5f747970655f737461747318012003280b32382e676f6f676c652e636c6f" .
- "75642e77656273656375726974797363616e6e65722e7631626574612e46" .
- "696e64696e6754797065537461747332aa140a1257656253656375726974" .
- "795363616e6e657212c5010a104372656174655363616e436f6e66696712" .
- "3f2e676f6f676c652e636c6f75642e77656273656375726974797363616e" .
- "6e65722e7631626574612e4372656174655363616e436f6e666967526571" .
- "756573741a322e676f6f676c652e636c6f75642e77656273656375726974" .
- "797363616e6e65722e7631626574612e5363616e436f6e666967223c82d3" .
- "e493023622272f7631626574612f7b706172656e743d70726f6a65637473" .
- "2f2a7d2f7363616e436f6e666967733a0b7363616e5f636f6e666967129c" .
- "010a1044656c6574655363616e436f6e666967123f2e676f6f676c652e63" .
- "6c6f75642e77656273656375726974797363616e6e65722e763162657461" .
- "2e44656c6574655363616e436f6e666967526571756573741a162e676f6f" .
- "676c652e70726f746f6275662e456d707479222f82d3e49302292a272f76" .
- "31626574612f7b6e616d653d70726f6a656374732f2a2f7363616e436f6e" .
- "666967732f2a7d12b2010a0d4765745363616e436f6e666967123c2e676f" .
- "6f676c652e636c6f75642e77656273656375726974797363616e6e65722e" .
- "7631626574612e4765745363616e436f6e666967526571756573741a322e" .
- "676f6f676c652e636c6f75642e77656273656375726974797363616e6e65" .
- "722e7631626574612e5363616e436f6e666967222f82d3e493022912272f" .
- "7631626574612f7b6e616d653d70726f6a656374732f2a2f7363616e436f" .
- "6e666967732f2a7d12c3010a0f4c6973745363616e436f6e66696773123e" .
- "2e676f6f676c652e636c6f75642e77656273656375726974797363616e6e" .
- "65722e7631626574612e4c6973745363616e436f6e666967735265717565" .
- "73741a3f2e676f6f676c652e636c6f75642e776562736563757269747973" .
- "63616e6e65722e7631626574612e4c6973745363616e436f6e6669677352" .
- "6573706f6e7365222f82d3e493022912272f7631626574612f7b70617265" .
- "6e743d70726f6a656374732f2a7d2f7363616e436f6e6669677312d1010a" .
- "105570646174655363616e436f6e666967123f2e676f6f676c652e636c6f" .
- "75642e77656273656375726974797363616e6e65722e7631626574612e55" .
- "70646174655363616e436f6e666967526571756573741a322e676f6f676c" .
+ "6375726974797363616e6e65722e7631626574611a17676f6f676c652f61" .
+ "70692f636c69656e742e70726f746f1a1f676f6f676c652f6170692f6669" .
+ "656c645f6265686176696f722e70726f746f1a19676f6f676c652f617069" .
+ "2f7265736f757263652e70726f746f1a38676f6f676c652f636c6f75642f" .
+ "77656273656375726974797363616e6e65722f7631626574612f63726177" .
+ "6c65645f75726c2e70726f746f1a34676f6f676c652f636c6f75642f7765" .
+ "6273656375726974797363616e6e65722f7631626574612f66696e64696e" .
+ "672e70726f746f1a3f676f6f676c652f636c6f75642f7765627365637572" .
+ "6974797363616e6e65722f7631626574612f66696e64696e675f74797065" .
+ "5f73746174732e70726f746f1a38676f6f676c652f636c6f75642f776562" .
+ "73656375726974797363616e6e65722f7631626574612f7363616e5f636f" .
+ "6e6669672e70726f746f1a35676f6f676c652f636c6f75642f7765627365" .
+ "6375726974797363616e6e65722f7631626574612f7363616e5f72756e2e" .
+ "70726f746f1a1b676f6f676c652f70726f746f6275662f656d7074792e70" .
+ "726f746f1a20676f6f676c652f70726f746f6275662f6669656c645f6d61" .
+ "736b2e70726f746f22ac010a174372656174655363616e436f6e66696752" .
+ "65717565737412430a06706172656e741801200128094233e04102fa412d" .
+ "0a2b636c6f75647265736f757263656d616e616765722e676f6f676c6561" .
+ "7069732e636f6d2f50726f6a656374124c0a0b7363616e5f636f6e666967" .
+ "18022001280b32322e676f6f676c652e636c6f75642e7765627365637572" .
+ "6974797363616e6e65722e7631626574612e5363616e436f6e6669674203" .
+ "e04102225d0a1744656c6574655363616e436f6e66696752657175657374" .
+ "12420a046e616d651801200128094234e04102fa412e0a2c776562736563" .
+ "75726974797363616e6e65722e676f6f676c65617069732e636f6d2f5363" .
+ "616e436f6e666967225a0a144765745363616e436f6e6669675265717565" .
+ "737412420a046e616d651801200128094234e04102fa412e0a2c77656273" .
+ "656375726974797363616e6e65722e676f6f676c65617069732e636f6d2f" .
+ "5363616e436f6e6669672284010a164c6973745363616e436f6e66696773" .
+ "5265717565737412430a06706172656e741801200128094233e04102fa41" .
+ "2d0a2b636c6f75647265736f757263656d616e616765722e676f6f676c65" .
+ "617069732e636f6d2f50726f6a65637412120a0a706167655f746f6b656e" .
+ "18022001280912110a09706167655f73697a65180320012805229d010a17" .
+ "5570646174655363616e436f6e66696752657175657374124c0a0b736361" .
+ "6e5f636f6e66696718022001280b32322e676f6f676c652e636c6f75642e" .
+ "77656273656375726974797363616e6e65722e7631626574612e5363616e" .
+ "436f6e6669674203e0410212340a0b7570646174655f6d61736b18032001" .
+ "280b321a2e676f6f676c652e70726f746f6275662e4669656c644d61736b" .
+ "4203e04102227c0a174c6973745363616e436f6e66696773526573706f6e" .
+ "736512480a0c7363616e5f636f6e6669677318012003280b32322e676f6f" .
+ "676c652e636c6f75642e77656273656375726974797363616e6e65722e76" .
+ "31626574612e5363616e436f6e66696712170a0f6e6578745f706167655f" .
+ "746f6b656e18022001280922590a1353746172745363616e52756e526571" .
+ "7565737412420a046e616d651801200128094234e04102fa412e0a2c7765" .
+ "6273656375726974797363616e6e65722e676f6f676c65617069732e636f" .
+ "6d2f5363616e436f6e66696722540a114765745363616e52756e52657175" .
+ "657374123f0a046e616d651801200128094231e04102fa412b0a29776562" .
+ "73656375726974797363616e6e65722e676f6f676c65617069732e636f6d" .
+ "2f5363616e52756e2282010a134c6973745363616e52756e735265717565" .
+ "737412440a06706172656e741801200128094234e04102fa412e0a2c7765" .
+ "6273656375726974797363616e6e65722e676f6f676c65617069732e636f" .
+ "6d2f5363616e436f6e66696712120a0a706167655f746f6b656e18022001" .
+ "280912110a09706167655f73697a6518032001280522730a144c69737453" .
+ "63616e52756e73526573706f6e736512420a097363616e5f72756e731801" .
+ "2003280b322f2e676f6f676c652e636c6f75642e77656273656375726974" .
+ "797363616e6e65722e7631626574612e5363616e52756e12170a0f6e6578" .
+ "745f706167655f746f6b656e18022001280922550a1253746f705363616e" .
+ "52756e52657175657374123f0a046e616d651801200128094231e04102fa" .
+ "412b0a2977656273656375726974797363616e6e65722e676f6f676c6561" .
+ "7069732e636f6d2f5363616e52756e2282010a164c697374437261776c65" .
+ "6455726c735265717565737412410a06706172656e741801200128094231" .
+ "e04102fa412b0a2977656273656375726974797363616e6e65722e676f6f" .
+ "676c65617069732e636f6d2f5363616e52756e12120a0a706167655f746f" .
+ "6b656e18022001280912110a09706167655f73697a65180320012805227c" .
+ "0a174c697374437261776c656455726c73526573706f6e736512480a0c63" .
+ "7261776c65645f75726c7318012003280b32322e676f6f676c652e636c6f" .
+ "75642e77656273656375726974797363616e6e65722e7631626574612e43" .
+ "7261776c656455726c12170a0f6e6578745f706167655f746f6b656e1802" .
+ "2001280922540a1147657446696e64696e6752657175657374123f0a046e" .
+ "616d651801200128094231e04102fa412b0a297765627365637572697479" .
+ "7363616e6e65722e676f6f676c65617069732e636f6d2f46696e64696e67" .
+ "2294010a134c69737446696e64696e67735265717565737412410a067061" .
+ "72656e741801200128094231e04102fa412b0a2977656273656375726974" .
+ "797363616e6e65722e676f6f676c65617069732e636f6d2f5363616e5275" .
+ "6e12130a0666696c7465721802200128094203e0410212120a0a70616765" .
+ "5f746f6b656e18032001280912110a09706167655f73697a651804200128" .
+ "0522720a144c69737446696e64696e6773526573706f6e736512410a0866" .
+ "696e64696e677318012003280b322f2e676f6f676c652e636c6f75642e77" .
+ "656273656375726974797363616e6e65722e7631626574612e46696e6469" .
+ "6e6712170a0f6e6578745f706167655f746f6b656e18022001280922600a" .
+ "1b4c69737446696e64696e67547970655374617473526571756573741241" .
+ "0a06706172656e741801200128094231e04102fa412b0a29776562736563" .
+ "75726974797363616e6e65722e676f6f676c65617069732e636f6d2f5363" .
+ "616e52756e22740a1c4c69737446696e64696e6754797065537461747352" .
+ "6573706f6e736512540a1266696e64696e675f747970655f737461747318" .
+ "012003280b32382e676f6f676c652e636c6f75642e776562736563757269" .
+ "74797363616e6e65722e7631626574612e46696e64696e67547970655374" .
+ "617473328e160a1257656253656375726974795363616e6e657212da010a" .
+ "104372656174655363616e436f6e666967123f2e676f6f676c652e636c6f" .
+ "75642e77656273656375726974797363616e6e65722e7631626574612e43" .
+ "72656174655363616e436f6e666967526571756573741a322e676f6f676c" .
"652e636c6f75642e77656273656375726974797363616e6e65722e763162" .
- "6574612e5363616e436f6e666967224882d3e493024232332f7631626574" .
- "612f7b7363616e5f636f6e6669672e6e616d653d70726f6a656374732f2a" .
- "2f7363616e436f6e666967732f2a7d3a0b7363616e5f636f6e66696712b6" .
- "010a0c53746172745363616e52756e123b2e676f6f676c652e636c6f7564" .
- "2e77656273656375726974797363616e6e65722e7631626574612e537461" .
- "72745363616e52756e526571756573741a2f2e676f6f676c652e636c6f75" .
- "642e77656273656375726974797363616e6e65722e7631626574612e5363" .
- "616e52756e223882d3e4930232222d2f7631626574612f7b6e616d653d70" .
- "726f6a656374732f2a2f7363616e436f6e666967732f2a7d3a7374617274" .
- "3a012a12b4010a0a4765745363616e52756e12392e676f6f676c652e636c" .
- "6f75642e77656273656375726974797363616e6e65722e7631626574612e" .
- "4765745363616e52756e526571756573741a2f2e676f6f676c652e636c6f" .
- "75642e77656273656375726974797363616e6e65722e7631626574612e53" .
- "63616e52756e223a82d3e493023412322f7631626574612f7b6e616d653d" .
- "70726f6a656374732f2a2f7363616e436f6e666967732f2a2f7363616e52" .
- "756e732f2a7d12c5010a0c4c6973745363616e52756e73123b2e676f6f67" .
- "6c652e636c6f75642e77656273656375726974797363616e6e65722e7631" .
- "626574612e4c6973745363616e52756e73526571756573741a3c2e676f6f" .
+ "6574612e5363616e436f6e666967225182d3e493023622272f7631626574" .
+ "612f7b706172656e743d70726f6a656374732f2a7d2f7363616e436f6e66" .
+ "6967733a0b7363616e5f636f6e666967da4112706172656e742c7363616e" .
+ "5f636f6e66696712a3010a1044656c6574655363616e436f6e666967123f" .
+ "2e676f6f676c652e636c6f75642e77656273656375726974797363616e6e" .
+ "65722e7631626574612e44656c6574655363616e436f6e66696752657175" .
+ "6573741a162e676f6f676c652e70726f746f6275662e456d707479223682" .
+ "d3e49302292a272f7631626574612f7b6e616d653d70726f6a656374732f" .
+ "2a2f7363616e436f6e666967732f2a7dda41046e616d6512b9010a0d4765" .
+ "745363616e436f6e666967123c2e676f6f676c652e636c6f75642e776562" .
+ "73656375726974797363616e6e65722e7631626574612e4765745363616e" .
+ "436f6e666967526571756573741a322e676f6f676c652e636c6f75642e77" .
+ "656273656375726974797363616e6e65722e7631626574612e5363616e43" .
+ "6f6e666967223682d3e493022912272f7631626574612f7b6e616d653d70" .
+ "726f6a656374732f2a2f7363616e436f6e666967732f2a7dda41046e616d" .
+ "6512cc010a0f4c6973745363616e436f6e66696773123e2e676f6f676c65" .
+ "2e636c6f75642e77656273656375726974797363616e6e65722e76316265" .
+ "74612e4c6973745363616e436f6e66696773526571756573741a3f2e676f" .
+ "6f676c652e636c6f75642e77656273656375726974797363616e6e65722e" .
+ "7631626574612e4c6973745363616e436f6e66696773526573706f6e7365" .
+ "223882d3e493022912272f7631626574612f7b706172656e743d70726f6a" .
+ "656374732f2a7d2f7363616e436f6e66696773da4106706172656e7412eb" .
+ "010a105570646174655363616e436f6e666967123f2e676f6f676c652e63" .
+ "6c6f75642e77656273656375726974797363616e6e65722e763162657461" .
+ "2e5570646174655363616e436f6e666967526571756573741a322e676f6f" .
"676c652e636c6f75642e77656273656375726974797363616e6e65722e76" .
- "31626574612e4c6973745363616e52756e73526573706f6e7365223a82d3" .
- "e493023412322f7631626574612f7b706172656e743d70726f6a65637473" .
- "2f2a2f7363616e436f6e666967732f2a7d2f7363616e52756e7312be010a" .
- "0b53746f705363616e52756e123a2e676f6f676c652e636c6f75642e7765" .
- "6273656375726974797363616e6e65722e7631626574612e53746f705363" .
- "616e52756e526571756573741a2f2e676f6f676c652e636c6f75642e7765" .
- "6273656375726974797363616e6e65722e7631626574612e5363616e5275" .
- "6e224282d3e493023c22372f7631626574612f7b6e616d653d70726f6a65" .
- "6374732f2a2f7363616e436f6e666967732f2a2f7363616e52756e732f2a" .
- "7d3a73746f703a012a12dc010a0f4c697374437261776c656455726c7312" .
- "3e2e676f6f676c652e636c6f75642e77656273656375726974797363616e" .
- "6e65722e7631626574612e4c697374437261776c656455726c7352657175" .
- "6573741a3f2e676f6f676c652e636c6f75642e7765627365637572697479" .
- "7363616e6e65722e7631626574612e4c697374437261776c656455726c73" .
- "526573706f6e7365224882d3e493024212402f7631626574612f7b706172" .
- "656e743d70726f6a656374732f2a2f7363616e436f6e666967732f2a2f73" .
- "63616e52756e732f2a7d2f637261776c656455726c7312bf010a0a476574" .
- "46696e64696e6712392e676f6f676c652e636c6f75642e77656273656375" .
- "726974797363616e6e65722e7631626574612e47657446696e64696e6752" .
- "6571756573741a2f2e676f6f676c652e636c6f75642e7765627365637572" .
- "6974797363616e6e65722e7631626574612e46696e64696e67224582d3e4" .
- "93023f123d2f7631626574612f7b6e616d653d70726f6a656374732f2a2f" .
- "7363616e436f6e666967732f2a2f7363616e52756e732f2a2f66696e6469" .
- "6e67732f2a7d12d0010a0c4c69737446696e64696e6773123b2e676f6f67" .
+ "31626574612e5363616e436f6e666967226282d3e493024232332f763162" .
+ "6574612f7b7363616e5f636f6e6669672e6e616d653d70726f6a65637473" .
+ "2f2a2f7363616e436f6e666967732f2a7d3a0b7363616e5f636f6e666967" .
+ "da41177363616e5f636f6e6669672c7570646174655f6d61736b12bd010a" .
+ "0c53746172745363616e52756e123b2e676f6f676c652e636c6f75642e77" .
+ "656273656375726974797363616e6e65722e7631626574612e5374617274" .
+ "5363616e52756e526571756573741a2f2e676f6f676c652e636c6f75642e" .
+ "77656273656375726974797363616e6e65722e7631626574612e5363616e" .
+ "52756e223f82d3e4930232222d2f7631626574612f7b6e616d653d70726f" .
+ "6a656374732f2a2f7363616e436f6e666967732f2a7d3a73746172743a01" .
+ "2ada41046e616d6512bb010a0a4765745363616e52756e12392e676f6f67" .
"6c652e636c6f75642e77656273656375726974797363616e6e65722e7631" .
- "626574612e4c69737446696e64696e6773526571756573741a3c2e676f6f" .
- "676c652e636c6f75642e77656273656375726974797363616e6e65722e76" .
- "31626574612e4c69737446696e64696e6773526573706f6e7365224582d3" .
- "e493023f123d2f7631626574612f7b706172656e743d70726f6a65637473" .
- "2f2a2f7363616e436f6e666967732f2a2f7363616e52756e732f2a7d2f66" .
- "696e64696e677312f0010a144c69737446696e64696e6754797065537461" .
+ "626574612e4765745363616e52756e526571756573741a2f2e676f6f676c" .
+ "652e636c6f75642e77656273656375726974797363616e6e65722e763162" .
+ "6574612e5363616e52756e224182d3e493023412322f7631626574612f7b" .
+ "6e616d653d70726f6a656374732f2a2f7363616e436f6e666967732f2a2f" .
+ "7363616e52756e732f2a7dda41046e616d6512ce010a0c4c697374536361" .
+ "6e52756e73123b2e676f6f676c652e636c6f75642e776562736563757269" .
+ "74797363616e6e65722e7631626574612e4c6973745363616e52756e7352" .
+ "6571756573741a3c2e676f6f676c652e636c6f75642e7765627365637572" .
+ "6974797363616e6e65722e7631626574612e4c6973745363616e52756e73" .
+ "526573706f6e7365224382d3e493023412322f7631626574612f7b706172" .
+ "656e743d70726f6a656374732f2a2f7363616e436f6e666967732f2a7d2f" .
+ "7363616e52756e73da4106706172656e7412c5010a0b53746f705363616e" .
+ "52756e123a2e676f6f676c652e636c6f75642e7765627365637572697479" .
+ "7363616e6e65722e7631626574612e53746f705363616e52756e52657175" .
+ "6573741a2f2e676f6f676c652e636c6f75642e7765627365637572697479" .
+ "7363616e6e65722e7631626574612e5363616e52756e224982d3e493023c" .
+ "22372f7631626574612f7b6e616d653d70726f6a656374732f2a2f736361" .
+ "6e436f6e666967732f2a2f7363616e52756e732f2a7d3a73746f703a012a" .
+ "da41046e616d6512e5010a0f4c697374437261776c656455726c73123e2e" .
+ "676f6f676c652e636c6f75642e77656273656375726974797363616e6e65" .
+ "722e7631626574612e4c697374437261776c656455726c73526571756573" .
+ "741a3f2e676f6f676c652e636c6f75642e77656273656375726974797363" .
+ "616e6e65722e7631626574612e4c697374437261776c656455726c735265" .
+ "73706f6e7365225182d3e493024212402f7631626574612f7b706172656e" .
+ "743d70726f6a656374732f2a2f7363616e436f6e666967732f2a2f736361" .
+ "6e52756e732f2a7d2f637261776c656455726c73da4106706172656e7412" .
+ "c6010a0a47657446696e64696e6712392e676f6f676c652e636c6f75642e" .
+ "77656273656375726974797363616e6e65722e7631626574612e47657446" .
+ "696e64696e67526571756573741a2f2e676f6f676c652e636c6f75642e77" .
+ "656273656375726974797363616e6e65722e7631626574612e46696e6469" .
+ "6e67224c82d3e493023f123d2f7631626574612f7b6e616d653d70726f6a" .
+ "656374732f2a2f7363616e436f6e666967732f2a2f7363616e52756e732f" .
+ "2a2f66696e64696e67732f2a7dda41046e616d6512e0010a0c4c69737446" .
+ "696e64696e6773123b2e676f6f676c652e636c6f75642e77656273656375" .
+ "726974797363616e6e65722e7631626574612e4c69737446696e64696e67" .
+ "73526571756573741a3c2e676f6f676c652e636c6f75642e776562736563" .
+ "75726974797363616e6e65722e7631626574612e4c69737446696e64696e" .
+ "6773526573706f6e7365225582d3e493023f123d2f7631626574612f7b70" .
+ "6172656e743d70726f6a656374732f2a2f7363616e436f6e666967732f2a" .
+ "2f7363616e52756e732f2a7d2f66696e64696e6773da410d706172656e74" .
+ "2c66696c74657212f9010a144c69737446696e64696e6754797065537461" .
"747312432e676f6f676c652e636c6f75642e776562736563757269747973" .
"63616e6e65722e7631626574612e4c69737446696e64696e675479706553" .
"74617473526571756573741a442e676f6f676c652e636c6f75642e776562" .
"73656375726974797363616e6e65722e7631626574612e4c69737446696e" .
- "64696e67547970655374617473526573706f6e7365224d82d3e493024712" .
+ "64696e67547970655374617473526573706f6e7365225682d3e493024712" .
"452f7631626574612f7b706172656e743d70726f6a656374732f2a2f7363" .
"616e436f6e666967732f2a2f7363616e52756e732f2a7d2f66696e64696e" .
- "6754797065537461747342ca010a2a636f6d2e676f6f676c652e636c6f75" .
- "642e77656273656375726974797363616e6e65722e763162657461421757" .
- "656253656375726974795363616e6e657250726f746f50015a58676f6f67" .
- "6c652e676f6c616e672e6f72672f67656e70726f746f2f676f6f676c6561" .
- "7069732f636c6f75642f77656273656375726974797363616e6e65722f76" .
- "31626574613b77656273656375726974797363616e6e6572ca0226476f6f" .
- "676c655c436c6f75645c57656253656375726974795363616e6e65725c56" .
- "3162657461620670726f746f33"
+ "67547970655374617473da4106706172656e741a55ca4121776562736563" .
+ "75726974797363616e6e65722e676f6f676c65617069732e636f6dd2412e" .
+ "68747470733a2f2f7777772e676f6f676c65617069732e636f6d2f617574" .
+ "682f636c6f75642d706c6174666f726d42ca010a2a636f6d2e676f6f676c" .
+ "652e636c6f75642e77656273656375726974797363616e6e65722e763162" .
+ "657461421757656253656375726974795363616e6e657250726f746f5001" .
+ "5a58676f6f676c652e676f6c616e672e6f72672f67656e70726f746f2f67" .
+ "6f6f676c65617069732f636c6f75642f7765627365637572697479736361" .
+ "6e6e65722f7631626574613b77656273656375726974797363616e6e6572" .
+ "ca0226476f6f676c655c436c6f75645c5765625365637572697479536361" .
+ "6e6e65725c563162657461620670726f746f33"
), true);
static::$is_initialized = true;
diff --git a/WebSecurityScanner/src/V1beta/CrawledUrl.php b/WebSecurityScanner/src/V1beta/CrawledUrl.php
index 32d6de637618..82dccaeb90ce 100644
--- a/WebSecurityScanner/src/V1beta/CrawledUrl.php
+++ b/WebSecurityScanner/src/V1beta/CrawledUrl.php
@@ -18,7 +18,6 @@
class CrawledUrl extends \Google\Protobuf\Internal\Message
{
/**
- * Output only.
* The http method of the request that was used to visit the URL, in
* uppercase.
*
@@ -26,14 +25,12 @@ class CrawledUrl extends \Google\Protobuf\Internal\Message
*/
private $http_method = '';
/**
- * Output only.
* The URL that was crawled.
*
* Generated from protobuf field string url = 2;
*/
private $url = '';
/**
- * Output only.
* The body of the request that was used to visit the URL.
*
* Generated from protobuf field string body = 3;
@@ -47,14 +44,11 @@ class CrawledUrl extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $http_method
- * Output only.
* The http method of the request that was used to visit the URL, in
* uppercase.
* @type string $url
- * Output only.
* The URL that was crawled.
* @type string $body
- * Output only.
* The body of the request that was used to visit the URL.
* }
*/
@@ -64,7 +58,6 @@ public function __construct($data = NULL) {
}
/**
- * Output only.
* The http method of the request that was used to visit the URL, in
* uppercase.
*
@@ -77,7 +70,6 @@ public function getHttpMethod()
}
/**
- * Output only.
* The http method of the request that was used to visit the URL, in
* uppercase.
*
@@ -94,7 +86,6 @@ public function setHttpMethod($var)
}
/**
- * Output only.
* The URL that was crawled.
*
* Generated from protobuf field string url = 2;
@@ -106,7 +97,6 @@ public function getUrl()
}
/**
- * Output only.
* The URL that was crawled.
*
* Generated from protobuf field string url = 2;
@@ -122,7 +112,6 @@ public function setUrl($var)
}
/**
- * Output only.
* The body of the request that was used to visit the URL.
*
* Generated from protobuf field string body = 3;
@@ -134,7 +123,6 @@ public function getBody()
}
/**
- * Output only.
* The body of the request that was used to visit the URL.
*
* Generated from protobuf field string body = 3;
diff --git a/WebSecurityScanner/src/V1beta/CreateScanConfigRequest.php b/WebSecurityScanner/src/V1beta/CreateScanConfigRequest.php
index d8a32b9b41c2..7c55a558d485 100644
--- a/WebSecurityScanner/src/V1beta/CreateScanConfigRequest.php
+++ b/WebSecurityScanner/src/V1beta/CreateScanConfigRequest.php
@@ -16,18 +16,16 @@
class CreateScanConfigRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The parent resource name where the scan is created, which should be a
+ * Required. The parent resource name where the scan is created, which should be a
* project resource name in the format 'projects/{projectId}'.
*
- * Generated from protobuf field string parent = 1;
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
private $parent = '';
/**
- * Required.
- * The ScanConfig to be created.
+ * Required. The ScanConfig to be created.
*
- * Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2;
+ * Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
*/
private $scan_config = null;
@@ -38,12 +36,10 @@ class CreateScanConfigRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $parent
- * Required.
- * The parent resource name where the scan is created, which should be a
+ * Required. The parent resource name where the scan is created, which should be a
* project resource name in the format 'projects/{projectId}'.
* @type \Google\Cloud\WebSecurityScanner\V1beta\ScanConfig $scan_config
- * Required.
- * The ScanConfig to be created.
+ * Required. The ScanConfig to be created.
* }
*/
public function __construct($data = NULL) {
@@ -52,11 +48,10 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The parent resource name where the scan is created, which should be a
+ * Required. The parent resource name where the scan is created, which should be a
* project resource name in the format 'projects/{projectId}'.
*
- * 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()
@@ -65,11 +60,10 @@ public function getParent()
}
/**
- * Required.
- * The parent resource name where the scan is created, which should be a
+ * Required. The parent resource name where the scan is created, which should be a
* project resource name in the format 'projects/{projectId}'.
*
- * 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
*/
@@ -82,10 +76,9 @@ public function setParent($var)
}
/**
- * Required.
- * The ScanConfig to be created.
+ * Required. The ScanConfig to be created.
*
- * Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2;
+ * Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Cloud\WebSecurityScanner\V1beta\ScanConfig
*/
public function getScanConfig()
@@ -94,10 +87,9 @@ public function getScanConfig()
}
/**
- * Required.
- * The ScanConfig to be created.
+ * Required. The ScanConfig to be created.
*
- * Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2;
+ * Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Cloud\WebSecurityScanner\V1beta\ScanConfig $var
* @return $this
*/
diff --git a/WebSecurityScanner/src/V1beta/DeleteScanConfigRequest.php b/WebSecurityScanner/src/V1beta/DeleteScanConfigRequest.php
index 7e95954f72d7..827b0205ec2d 100644
--- a/WebSecurityScanner/src/V1beta/DeleteScanConfigRequest.php
+++ b/WebSecurityScanner/src/V1beta/DeleteScanConfigRequest.php
@@ -16,11 +16,10 @@
class DeleteScanConfigRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The resource name of the ScanConfig to be deleted. The name follows the
+ * Required. The resource name of the ScanConfig to be deleted. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
*
- * 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 = '';
@@ -31,8 +30,7 @@ class DeleteScanConfigRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $name
- * Required.
- * The resource name of the ScanConfig to be deleted. The name follows the
+ * Required. The resource name of the ScanConfig to be deleted. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
* }
*/
@@ -42,11 +40,10 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The resource name of the ScanConfig to be deleted. The name follows the
+ * Required. The resource name of the ScanConfig to be deleted. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
*
- * 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()
@@ -55,11 +52,10 @@ public function getName()
}
/**
- * Required.
- * The resource name of the ScanConfig to be deleted. The name follows the
+ * Required. The resource name of the ScanConfig to be deleted. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
*
- * 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/WebSecurityScanner/src/V1beta/Finding.php b/WebSecurityScanner/src/V1beta/Finding.php
index 1b1a6c8a1736..8e7629ad931b 100644
--- a/WebSecurityScanner/src/V1beta/Finding.php
+++ b/WebSecurityScanner/src/V1beta/Finding.php
@@ -17,7 +17,6 @@
class Finding extends \Google\Protobuf\Internal\Message
{
/**
- * Output only.
* The resource name of the Finding. The name follows the format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'.
* The finding IDs are generated by the system.
@@ -26,7 +25,6 @@ class Finding extends \Google\Protobuf\Internal\Message
*/
private $name = '';
/**
- * Output only.
* The type of the Finding.
* Detailed and up-to-date information on findings can be found here:
* https://cloud.google.com/security-scanner/docs/scan-result-details
@@ -35,7 +33,6 @@ class Finding extends \Google\Protobuf\Internal\Message
*/
private $finding_type = '';
/**
- * Output only.
* The http method of the request that triggered the vulnerability, in
* uppercase.
*
@@ -43,7 +40,6 @@ class Finding extends \Google\Protobuf\Internal\Message
*/
private $http_method = '';
/**
- * Output only.
* The URL produced by the server-side fuzzer and used in the request that
* triggered the vulnerability.
*
@@ -51,21 +47,18 @@ class Finding extends \Google\Protobuf\Internal\Message
*/
private $fuzzed_url = '';
/**
- * Output only.
* The body of the request that triggered the vulnerability.
*
* Generated from protobuf field string body = 5;
*/
private $body = '';
/**
- * Output only.
* The description of the vulnerability.
*
* Generated from protobuf field string description = 6;
*/
private $description = '';
/**
- * Output only.
* The URL containing human-readable payload that user can leverage to
* reproduce the vulnerability.
*
@@ -73,7 +66,6 @@ class Finding extends \Google\Protobuf\Internal\Message
*/
private $reproduction_url = '';
/**
- * Output only.
* If the vulnerability was originated from nested IFrame, the immediate
* parent IFrame is reported.
*
@@ -81,14 +73,12 @@ class Finding extends \Google\Protobuf\Internal\Message
*/
private $frame_url = '';
/**
- * Output only.
* The URL where the browser lands when the vulnerability is detected.
*
* Generated from protobuf field string final_url = 9;
*/
private $final_url = '';
/**
- * Output only.
* The tracking ID uniquely identifies a vulnerability instance across
* multiple ScanRuns.
*
@@ -96,7 +86,6 @@ class Finding extends \Google\Protobuf\Internal\Message
*/
private $tracking_id = '';
/**
- * Output only.
* An addon containing information reported for a vulnerability with an HTML
* form, if any.
*
@@ -104,14 +93,12 @@ class Finding extends \Google\Protobuf\Internal\Message
*/
private $form = null;
/**
- * Output only.
* An addon containing information about outdated libraries.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
*/
private $outdated_library = null;
/**
- * Output only.
* An addon containing detailed information regarding any resource causing the
* vulnerability such as JavaScript sources, image, audio files, etc.
*
@@ -119,14 +106,12 @@ class Finding extends \Google\Protobuf\Internal\Message
*/
private $violating_resource = null;
/**
- * Output only.
* An addon containing information about vulnerable or missing HTTP headers.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
*/
private $vulnerable_headers = null;
/**
- * Output only.
* An addon containing information about request parameters which were found
* to be vulnerable.
*
@@ -134,7 +119,6 @@ class Finding extends \Google\Protobuf\Internal\Message
*/
private $vulnerable_parameters = null;
/**
- * Output only.
* An addon containing information reported for an XSS, if any.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.Xss xss = 14;
@@ -148,64 +132,48 @@ class Finding extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $name
- * Output only.
* The resource name of the Finding. The name follows the format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'.
* The finding IDs are generated by the system.
* @type string $finding_type
- * Output only.
* The type of the Finding.
* Detailed and up-to-date information on findings can be found here:
* https://cloud.google.com/security-scanner/docs/scan-result-details
* @type string $http_method
- * Output only.
* The http method of the request that triggered the vulnerability, in
* uppercase.
* @type string $fuzzed_url
- * Output only.
* The URL produced by the server-side fuzzer and used in the request that
* triggered the vulnerability.
* @type string $body
- * Output only.
* The body of the request that triggered the vulnerability.
* @type string $description
- * Output only.
* The description of the vulnerability.
* @type string $reproduction_url
- * Output only.
* The URL containing human-readable payload that user can leverage to
* reproduce the vulnerability.
* @type string $frame_url
- * Output only.
* If the vulnerability was originated from nested IFrame, the immediate
* parent IFrame is reported.
* @type string $final_url
- * Output only.
* The URL where the browser lands when the vulnerability is detected.
* @type string $tracking_id
- * Output only.
* The tracking ID uniquely identifies a vulnerability instance across
* multiple ScanRuns.
* @type \Google\Cloud\WebSecurityScanner\V1beta\Form $form
- * Output only.
* An addon containing information reported for a vulnerability with an HTML
* form, if any.
* @type \Google\Cloud\WebSecurityScanner\V1beta\OutdatedLibrary $outdated_library
- * Output only.
* An addon containing information about outdated libraries.
* @type \Google\Cloud\WebSecurityScanner\V1beta\ViolatingResource $violating_resource
- * Output only.
* An addon containing detailed information regarding any resource causing the
* vulnerability such as JavaScript sources, image, audio files, etc.
* @type \Google\Cloud\WebSecurityScanner\V1beta\VulnerableHeaders $vulnerable_headers
- * Output only.
* An addon containing information about vulnerable or missing HTTP headers.
* @type \Google\Cloud\WebSecurityScanner\V1beta\VulnerableParameters $vulnerable_parameters
- * Output only.
* An addon containing information about request parameters which were found
* to be vulnerable.
* @type \Google\Cloud\WebSecurityScanner\V1beta\Xss $xss
- * Output only.
* An addon containing information reported for an XSS, if any.
* }
*/
@@ -215,7 +183,6 @@ public function __construct($data = NULL) {
}
/**
- * Output only.
* The resource name of the Finding. The name follows the format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'.
* The finding IDs are generated by the system.
@@ -229,7 +196,6 @@ public function getName()
}
/**
- * Output only.
* The resource name of the Finding. The name follows the format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'.
* The finding IDs are generated by the system.
@@ -247,7 +213,6 @@ public function setName($var)
}
/**
- * Output only.
* The type of the Finding.
* Detailed and up-to-date information on findings can be found here:
* https://cloud.google.com/security-scanner/docs/scan-result-details
@@ -261,7 +226,6 @@ public function getFindingType()
}
/**
- * Output only.
* The type of the Finding.
* Detailed and up-to-date information on findings can be found here:
* https://cloud.google.com/security-scanner/docs/scan-result-details
@@ -279,7 +243,6 @@ public function setFindingType($var)
}
/**
- * Output only.
* The http method of the request that triggered the vulnerability, in
* uppercase.
*
@@ -292,7 +255,6 @@ public function getHttpMethod()
}
/**
- * Output only.
* The http method of the request that triggered the vulnerability, in
* uppercase.
*
@@ -309,7 +271,6 @@ public function setHttpMethod($var)
}
/**
- * Output only.
* The URL produced by the server-side fuzzer and used in the request that
* triggered the vulnerability.
*
@@ -322,7 +283,6 @@ public function getFuzzedUrl()
}
/**
- * Output only.
* The URL produced by the server-side fuzzer and used in the request that
* triggered the vulnerability.
*
@@ -339,7 +299,6 @@ public function setFuzzedUrl($var)
}
/**
- * Output only.
* The body of the request that triggered the vulnerability.
*
* Generated from protobuf field string body = 5;
@@ -351,7 +310,6 @@ public function getBody()
}
/**
- * Output only.
* The body of the request that triggered the vulnerability.
*
* Generated from protobuf field string body = 5;
@@ -367,7 +325,6 @@ public function setBody($var)
}
/**
- * Output only.
* The description of the vulnerability.
*
* Generated from protobuf field string description = 6;
@@ -379,7 +336,6 @@ public function getDescription()
}
/**
- * Output only.
* The description of the vulnerability.
*
* Generated from protobuf field string description = 6;
@@ -395,7 +351,6 @@ public function setDescription($var)
}
/**
- * Output only.
* The URL containing human-readable payload that user can leverage to
* reproduce the vulnerability.
*
@@ -408,7 +363,6 @@ public function getReproductionUrl()
}
/**
- * Output only.
* The URL containing human-readable payload that user can leverage to
* reproduce the vulnerability.
*
@@ -425,7 +379,6 @@ public function setReproductionUrl($var)
}
/**
- * Output only.
* If the vulnerability was originated from nested IFrame, the immediate
* parent IFrame is reported.
*
@@ -438,7 +391,6 @@ public function getFrameUrl()
}
/**
- * Output only.
* If the vulnerability was originated from nested IFrame, the immediate
* parent IFrame is reported.
*
@@ -455,7 +407,6 @@ public function setFrameUrl($var)
}
/**
- * Output only.
* The URL where the browser lands when the vulnerability is detected.
*
* Generated from protobuf field string final_url = 9;
@@ -467,7 +418,6 @@ public function getFinalUrl()
}
/**
- * Output only.
* The URL where the browser lands when the vulnerability is detected.
*
* Generated from protobuf field string final_url = 9;
@@ -483,7 +433,6 @@ public function setFinalUrl($var)
}
/**
- * Output only.
* The tracking ID uniquely identifies a vulnerability instance across
* multiple ScanRuns.
*
@@ -496,7 +445,6 @@ public function getTrackingId()
}
/**
- * Output only.
* The tracking ID uniquely identifies a vulnerability instance across
* multiple ScanRuns.
*
@@ -513,7 +461,6 @@ public function setTrackingId($var)
}
/**
- * Output only.
* An addon containing information reported for a vulnerability with an HTML
* form, if any.
*
@@ -526,7 +473,6 @@ public function getForm()
}
/**
- * Output only.
* An addon containing information reported for a vulnerability with an HTML
* form, if any.
*
@@ -543,7 +489,6 @@ public function setForm($var)
}
/**
- * Output only.
* An addon containing information about outdated libraries.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
@@ -555,7 +500,6 @@ public function getOutdatedLibrary()
}
/**
- * Output only.
* An addon containing information about outdated libraries.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
@@ -571,7 +515,6 @@ public function setOutdatedLibrary($var)
}
/**
- * Output only.
* An addon containing detailed information regarding any resource causing the
* vulnerability such as JavaScript sources, image, audio files, etc.
*
@@ -584,7 +527,6 @@ public function getViolatingResource()
}
/**
- * Output only.
* An addon containing detailed information regarding any resource causing the
* vulnerability such as JavaScript sources, image, audio files, etc.
*
@@ -601,7 +543,6 @@ public function setViolatingResource($var)
}
/**
- * Output only.
* An addon containing information about vulnerable or missing HTTP headers.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
@@ -613,7 +554,6 @@ public function getVulnerableHeaders()
}
/**
- * Output only.
* An addon containing information about vulnerable or missing HTTP headers.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
@@ -629,7 +569,6 @@ public function setVulnerableHeaders($var)
}
/**
- * Output only.
* An addon containing information about request parameters which were found
* to be vulnerable.
*
@@ -642,7 +581,6 @@ public function getVulnerableParameters()
}
/**
- * Output only.
* An addon containing information about request parameters which were found
* to be vulnerable.
*
@@ -659,7 +597,6 @@ public function setVulnerableParameters($var)
}
/**
- * Output only.
* An addon containing information reported for an XSS, if any.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.Xss xss = 14;
@@ -671,7 +608,6 @@ public function getXss()
}
/**
- * Output only.
* An addon containing information reported for an XSS, if any.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.Xss xss = 14;
diff --git a/WebSecurityScanner/src/V1beta/FindingTypeStats.php b/WebSecurityScanner/src/V1beta/FindingTypeStats.php
index f7d94fdd4431..e5b50f8e5b86 100644
--- a/WebSecurityScanner/src/V1beta/FindingTypeStats.php
+++ b/WebSecurityScanner/src/V1beta/FindingTypeStats.php
@@ -17,14 +17,12 @@
class FindingTypeStats extends \Google\Protobuf\Internal\Message
{
/**
- * Output only.
* The finding type associated with the stats.
*
* Generated from protobuf field string finding_type = 1;
*/
private $finding_type = '';
/**
- * Output only.
* The count of findings belonging to this finding type.
*
* Generated from protobuf field int32 finding_count = 2;
@@ -38,10 +36,8 @@ class FindingTypeStats extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $finding_type
- * Output only.
* The finding type associated with the stats.
* @type int $finding_count
- * Output only.
* The count of findings belonging to this finding type.
* }
*/
@@ -51,7 +47,6 @@ public function __construct($data = NULL) {
}
/**
- * Output only.
* The finding type associated with the stats.
*
* Generated from protobuf field string finding_type = 1;
@@ -63,7 +58,6 @@ public function getFindingType()
}
/**
- * Output only.
* The finding type associated with the stats.
*
* Generated from protobuf field string finding_type = 1;
@@ -79,7 +73,6 @@ public function setFindingType($var)
}
/**
- * Output only.
* The count of findings belonging to this finding type.
*
* Generated from protobuf field int32 finding_count = 2;
@@ -91,7 +84,6 @@ public function getFindingCount()
}
/**
- * Output only.
* The count of findings belonging to this finding type.
*
* Generated from protobuf field int32 finding_count = 2;
diff --git a/WebSecurityScanner/src/V1beta/Gapic/WebSecurityScannerGapicClient.php b/WebSecurityScanner/src/V1beta/Gapic/WebSecurityScannerGapicClient.php
index 44a773355d01..5585d16434fc 100644
--- a/WebSecurityScanner/src/V1beta/Gapic/WebSecurityScannerGapicClient.php
+++ b/WebSecurityScanner/src/V1beta/Gapic/WebSecurityScannerGapicClient.php
@@ -386,11 +386,9 @@ public function __construct(array $options = [])
* }
* ```
*
- * @param string $parent Required.
- * The parent resource name where the scan is created, which should be a
+ * @param string $parent Required. The parent resource name where the scan is created, which should be a
* project resource name in the format 'projects/{projectId}'.
- * @param ScanConfig $scanConfig Required.
- * The ScanConfig to be created.
+ * @param ScanConfig $scanConfig Required. The ScanConfig to be created.
* @param array $optionalArgs {
* Optional.
*
@@ -441,8 +439,7 @@ public function createScanConfig($parent, $scanConfig, array $optionalArgs = [])
* }
* ```
*
- * @param string $name Required.
- * The resource name of the ScanConfig to be deleted. The name follows the
+ * @param string $name Required. The resource name of the ScanConfig to be deleted. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
* @param array $optionalArgs {
* Optional.
@@ -491,8 +488,7 @@ public function deleteScanConfig($name, array $optionalArgs = [])
* }
* ```
*
- * @param string $name Required.
- * The resource name of the ScanConfig to be returned. The name follows the
+ * @param string $name Required. The resource name of the ScanConfig to be returned. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
* @param array $optionalArgs {
* Optional.
@@ -558,8 +554,7 @@ public function getScanConfig($name, array $optionalArgs = [])
* }
* ```
*
- * @param string $parent Required.
- * The parent resource name, which should be a project resource name in the
+ * @param string $parent Required. The parent resource name, which should be a project resource name in the
* format 'projects/{projectId}'.
* @param array $optionalArgs {
* Optional.
@@ -626,12 +621,10 @@ public function listScanConfigs($parent, array $optionalArgs = [])
* }
* ```
*
- * @param ScanConfig $scanConfig Required.
- * The ScanConfig to be updated. The name field must be set to identify the
+ * @param ScanConfig $scanConfig Required. The ScanConfig to be updated. The name field must be set to identify the
* resource to be updated. The values of fields not covered by the mask
* will be ignored.
- * @param FieldMask $updateMask Required.
- * The update mask applies to the resource. For the `FieldMask` definition,
+ * @param FieldMask $updateMask Required. The update mask applies to the resource. For the `FieldMask` definition,
* see
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
* @param array $optionalArgs {
@@ -684,8 +677,7 @@ public function updateScanConfig($scanConfig, $updateMask, array $optionalArgs =
* }
* ```
*
- * @param string $name Required.
- * The resource name of the ScanConfig to be used. The name follows the
+ * @param string $name Required. The resource name of the ScanConfig to be used. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
* @param array $optionalArgs {
* Optional.
@@ -736,8 +728,7 @@ public function startScanRun($name, array $optionalArgs = [])
* }
* ```
*
- * @param string $name Required.
- * The resource name of the ScanRun to be returned. The name follows the
+ * @param string $name Required. The resource name of the ScanRun to be returned. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* @param array $optionalArgs {
@@ -805,8 +796,7 @@ public function getScanRun($name, array $optionalArgs = [])
* }
* ```
*
- * @param string $parent Required.
- * The parent resource name, which should be a scan resource name in the
+ * @param string $parent Required. The parent resource name, which should be a scan resource name in the
* format 'projects/{projectId}/scanConfigs/{scanConfigId}'.
* @param array $optionalArgs {
* Optional.
@@ -872,8 +862,7 @@ public function listScanRuns($parent, array $optionalArgs = [])
* }
* ```
*
- * @param string $name Required.
- * The resource name of the ScanRun to be stopped. The name follows the
+ * @param string $name Required. The resource name of the ScanRun to be stopped. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* @param array $optionalArgs {
@@ -940,8 +929,7 @@ public function stopScanRun($name, array $optionalArgs = [])
* }
* ```
*
- * @param string $parent Required.
- * The parent resource name, which should be a scan run resource name in the
+ * @param string $parent Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* @param array $optionalArgs {
@@ -1008,8 +996,7 @@ public function listCrawledUrls($parent, array $optionalArgs = [])
* }
* ```
*
- * @param string $name Required.
- * The resource name of the Finding to be returned. The name follows the
+ * @param string $name Required. The resource name of the Finding to be returned. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'.
* @param array $optionalArgs {
@@ -1077,11 +1064,10 @@ public function getFinding($name, array $optionalArgs = [])
* }
* ```
*
- * @param string $parent Required.
- * The parent resource name, which should be a scan run resource name in the
+ * @param string $parent Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
- * @param string $filter The filter expression. The expression must be in the format:
+ * @param string $filter Required. The filter expression. The expression must be in the format:
* .
* Supported field: 'finding_type'.
* Supported operator: '='.
@@ -1150,8 +1136,7 @@ public function listFindings($parent, $filter, array $optionalArgs = [])
* }
* ```
*
- * @param string $parent Required.
- * The parent resource name, which should be a scan run resource name in the
+ * @param string $parent Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* @param array $optionalArgs {
diff --git a/WebSecurityScanner/src/V1beta/GetFindingRequest.php b/WebSecurityScanner/src/V1beta/GetFindingRequest.php
index 789465f961d2..f96df3b43c73 100644
--- a/WebSecurityScanner/src/V1beta/GetFindingRequest.php
+++ b/WebSecurityScanner/src/V1beta/GetFindingRequest.php
@@ -16,12 +16,11 @@
class GetFindingRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The resource name of the Finding to be returned. The name follows the
+ * Required. The resource name of the Finding to be returned. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'.
*
- * 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 = '';
@@ -32,8 +31,7 @@ class GetFindingRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $name
- * Required.
- * The resource name of the Finding to be returned. The name follows the
+ * Required. The resource name of the Finding to be returned. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'.
* }
@@ -44,12 +42,11 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The resource name of the Finding to be returned. The name follows the
+ * Required. The resource name of the Finding to be returned. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'.
*
- * 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()
@@ -58,12 +55,11 @@ public function getName()
}
/**
- * Required.
- * The resource name of the Finding to be returned. The name follows the
+ * Required. The resource name of the Finding to be returned. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'.
*
- * 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/WebSecurityScanner/src/V1beta/GetScanConfigRequest.php b/WebSecurityScanner/src/V1beta/GetScanConfigRequest.php
index e810da4d6d10..4671577cfe43 100644
--- a/WebSecurityScanner/src/V1beta/GetScanConfigRequest.php
+++ b/WebSecurityScanner/src/V1beta/GetScanConfigRequest.php
@@ -16,11 +16,10 @@
class GetScanConfigRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The resource name of the ScanConfig to be returned. The name follows the
+ * Required. The resource name of the ScanConfig to be returned. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
*
- * 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 = '';
@@ -31,8 +30,7 @@ class GetScanConfigRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $name
- * Required.
- * The resource name of the ScanConfig to be returned. The name follows the
+ * Required. The resource name of the ScanConfig to be returned. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
* }
*/
@@ -42,11 +40,10 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The resource name of the ScanConfig to be returned. The name follows the
+ * Required. The resource name of the ScanConfig to be returned. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
*
- * 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()
@@ -55,11 +52,10 @@ public function getName()
}
/**
- * Required.
- * The resource name of the ScanConfig to be returned. The name follows the
+ * Required. The resource name of the ScanConfig to be returned. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
*
- * 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/WebSecurityScanner/src/V1beta/GetScanRunRequest.php b/WebSecurityScanner/src/V1beta/GetScanRunRequest.php
index 59c24eb2a625..66a115ecf0cb 100644
--- a/WebSecurityScanner/src/V1beta/GetScanRunRequest.php
+++ b/WebSecurityScanner/src/V1beta/GetScanRunRequest.php
@@ -16,12 +16,11 @@
class GetScanRunRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The resource name of the ScanRun to be returned. The name follows the
+ * Required. The resource name of the ScanRun to be returned. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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 = '';
@@ -32,8 +31,7 @@ class GetScanRunRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $name
- * Required.
- * The resource name of the ScanRun to be returned. The name follows the
+ * Required. The resource name of the ScanRun to be returned. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* }
@@ -44,12 +42,11 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The resource name of the ScanRun to be returned. The name follows the
+ * Required. The resource name of the ScanRun to be returned. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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()
@@ -58,12 +55,11 @@ public function getName()
}
/**
- * Required.
- * The resource name of the ScanRun to be returned. The name follows the
+ * Required. The resource name of the ScanRun to be returned. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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/WebSecurityScanner/src/V1beta/ListCrawledUrlsRequest.php b/WebSecurityScanner/src/V1beta/ListCrawledUrlsRequest.php
index a96c675e4f98..b3edfafdd7e4 100644
--- a/WebSecurityScanner/src/V1beta/ListCrawledUrlsRequest.php
+++ b/WebSecurityScanner/src/V1beta/ListCrawledUrlsRequest.php
@@ -16,12 +16,11 @@
class ListCrawledUrlsRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The parent resource name, which should be a scan run resource name in the
+ * Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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 = '';
/**
@@ -48,8 +47,7 @@ class ListCrawledUrlsRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $parent
- * Required.
- * The parent resource name, which should be a scan run resource name in the
+ * Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* @type string $page_token
@@ -68,12 +66,11 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The parent resource name, which should be a scan run resource name in the
+ * Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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()
@@ -82,12 +79,11 @@ public function getParent()
}
/**
- * Required.
- * The parent resource name, which should be a scan run resource name in the
+ * Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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/WebSecurityScanner/src/V1beta/ListFindingTypeStatsRequest.php b/WebSecurityScanner/src/V1beta/ListFindingTypeStatsRequest.php
index 9c84c9aaa84a..dd8ca47fe0ab 100644
--- a/WebSecurityScanner/src/V1beta/ListFindingTypeStatsRequest.php
+++ b/WebSecurityScanner/src/V1beta/ListFindingTypeStatsRequest.php
@@ -16,12 +16,11 @@
class ListFindingTypeStatsRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The parent resource name, which should be a scan run resource name in the
+ * Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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 = '';
@@ -32,8 +31,7 @@ class ListFindingTypeStatsRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $parent
- * Required.
- * The parent resource name, which should be a scan run resource name in the
+ * Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* }
@@ -44,12 +42,11 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The parent resource name, which should be a scan run resource name in the
+ * Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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()
@@ -58,12 +55,11 @@ public function getParent()
}
/**
- * Required.
- * The parent resource name, which should be a scan run resource name in the
+ * Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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/WebSecurityScanner/src/V1beta/ListFindingsRequest.php b/WebSecurityScanner/src/V1beta/ListFindingsRequest.php
index 04f611d79ccd..3cfd93cf12e9 100644
--- a/WebSecurityScanner/src/V1beta/ListFindingsRequest.php
+++ b/WebSecurityScanner/src/V1beta/ListFindingsRequest.php
@@ -16,21 +16,20 @@
class ListFindingsRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The parent resource name, which should be a scan run resource name in the
+ * Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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 filter expression. The expression must be in the format:
+ * Required. The filter expression. The expression must be in the format:
* .
* Supported field: 'finding_type'.
* Supported operator: '='.
*
- * Generated from protobuf field string filter = 2;
+ * Generated from protobuf field string filter = 2 [(.google.api.field_behavior) = REQUIRED];
*/
private $filter = '';
/**
@@ -57,12 +56,11 @@ class ListFindingsRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $parent
- * Required.
- * The parent resource name, which should be a scan run resource name in the
+ * Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* @type string $filter
- * The filter expression. The expression must be in the format:
+ * Required. The filter expression. The expression must be in the format:
* .
* Supported field: 'finding_type'.
* Supported operator: '='.
@@ -82,12 +80,11 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The parent resource name, which should be a scan run resource name in the
+ * Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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()
@@ -96,12 +93,11 @@ public function getParent()
}
/**
- * Required.
- * The parent resource name, which should be a scan run resource name in the
+ * Required. The parent resource name, which should be a scan run resource name in the
* format
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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
*/
@@ -114,12 +110,12 @@ public function setParent($var)
}
/**
- * The filter expression. The expression must be in the format:
+ * Required. The filter expression. The expression must be in the format:
* .
* Supported field: 'finding_type'.
* Supported operator: '='.
*
- * Generated from protobuf field string filter = 2;
+ * Generated from protobuf field string filter = 2 [(.google.api.field_behavior) = REQUIRED];
* @return string
*/
public function getFilter()
@@ -128,12 +124,12 @@ public function getFilter()
}
/**
- * The filter expression. The expression must be in the format:
+ * Required. The filter expression. The expression must be in the format:
* .
* Supported field: 'finding_type'.
* Supported operator: '='.
*
- * Generated from protobuf field string filter = 2;
+ * Generated from protobuf field string filter = 2 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
* @return $this
*/
diff --git a/WebSecurityScanner/src/V1beta/ListScanConfigsRequest.php b/WebSecurityScanner/src/V1beta/ListScanConfigsRequest.php
index 948e2b274dd7..b3b939d38008 100644
--- a/WebSecurityScanner/src/V1beta/ListScanConfigsRequest.php
+++ b/WebSecurityScanner/src/V1beta/ListScanConfigsRequest.php
@@ -16,11 +16,10 @@
class ListScanConfigsRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The parent resource name, which should be a project resource name in the
+ * Required. The parent resource name, which should be a project resource name in the
* format 'projects/{projectId}'.
*
- * 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 = '';
/**
@@ -47,8 +46,7 @@ class ListScanConfigsRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $parent
- * Required.
- * The parent resource name, which should be a project resource name in the
+ * Required. The parent resource name, which should be a project resource name in the
* format 'projects/{projectId}'.
* @type string $page_token
* A token identifying a page of results to be returned. This should be a
@@ -66,11 +64,10 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The parent resource name, which should be a project resource name in the
+ * Required. The parent resource name, which should be a project resource name in the
* format 'projects/{projectId}'.
*
- * 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()
@@ -79,11 +76,10 @@ public function getParent()
}
/**
- * Required.
- * The parent resource name, which should be a project resource name in the
+ * Required. The parent resource name, which should be a project resource name in the
* format 'projects/{projectId}'.
*
- * 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/WebSecurityScanner/src/V1beta/ListScanRunsRequest.php b/WebSecurityScanner/src/V1beta/ListScanRunsRequest.php
index ae27fe5d7530..19acaf0e69be 100644
--- a/WebSecurityScanner/src/V1beta/ListScanRunsRequest.php
+++ b/WebSecurityScanner/src/V1beta/ListScanRunsRequest.php
@@ -16,11 +16,10 @@
class ListScanRunsRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The parent resource name, which should be a scan resource name in the
+ * Required. The parent resource name, which should be a scan resource name in the
* format 'projects/{projectId}/scanConfigs/{scanConfigId}'.
*
- * 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 = '';
/**
@@ -47,8 +46,7 @@ class ListScanRunsRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $parent
- * Required.
- * The parent resource name, which should be a scan resource name in the
+ * Required. The parent resource name, which should be a scan resource name in the
* format 'projects/{projectId}/scanConfigs/{scanConfigId}'.
* @type string $page_token
* A token identifying a page of results to be returned. This should be a
@@ -66,11 +64,10 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The parent resource name, which should be a scan resource name in the
+ * Required. The parent resource name, which should be a scan resource name in the
* format 'projects/{projectId}/scanConfigs/{scanConfigId}'.
*
- * 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()
@@ -79,11 +76,10 @@ public function getParent()
}
/**
- * Required.
- * The parent resource name, which should be a scan resource name in the
+ * Required. The parent resource name, which should be a scan resource name in the
* format 'projects/{projectId}/scanConfigs/{scanConfigId}'.
*
- * 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/WebSecurityScanner/src/V1beta/ScanConfig.php b/WebSecurityScanner/src/V1beta/ScanConfig.php
index 493220a051e6..2660d37d3c72 100644
--- a/WebSecurityScanner/src/V1beta/ScanConfig.php
+++ b/WebSecurityScanner/src/V1beta/ScanConfig.php
@@ -24,10 +24,9 @@ class ScanConfig extends \Google\Protobuf\Internal\Message
*/
private $name = '';
/**
- * Required.
- * The user provided display name of the ScanConfig.
+ * Required. The user provided display name of the ScanConfig.
*
- * Generated from protobuf field string display_name = 2;
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
*/
private $display_name = '';
/**
@@ -40,10 +39,9 @@ class ScanConfig extends \Google\Protobuf\Internal\Message
*/
private $max_qps = 0;
/**
- * Required.
- * The starting URLs from which the scanner finds site pages.
+ * Required. The starting URLs from which the scanner finds site pages.
*
- * Generated from protobuf field repeated string starting_urls = 4;
+ * Generated from protobuf field repeated string starting_urls = 4 [(.google.api.field_behavior) = REQUIRED];
*/
private $starting_urls;
/**
@@ -110,16 +108,14 @@ class ScanConfig extends \Google\Protobuf\Internal\Message
* 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are
* generated by the system.
* @type string $display_name
- * Required.
- * The user provided display name of the ScanConfig.
+ * Required. The user provided display name of the ScanConfig.
* @type int $max_qps
* The maximum QPS during scanning. A valid value ranges from 5 to 20
* inclusively. If the field is unspecified or its value is set 0, server will
* default to 15. Other values outside of [5, 20] range will be rejected with
* INVALID_ARGUMENT error.
* @type string[]|\Google\Protobuf\Internal\RepeatedField $starting_urls
- * Required.
- * The starting URLs from which the scanner finds site pages.
+ * Required. The starting URLs from which the scanner finds site pages.
* @type \Google\Cloud\WebSecurityScanner\V1beta\ScanConfig\Authentication $authentication
* The authentication configuration. If specified, service will use the
* authentication configuration during scanning.
@@ -178,10 +174,9 @@ public function setName($var)
}
/**
- * Required.
- * The user provided display name of the ScanConfig.
+ * Required. The user provided display name of the ScanConfig.
*
- * Generated from protobuf field string display_name = 2;
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
* @return string
*/
public function getDisplayName()
@@ -190,10 +185,9 @@ public function getDisplayName()
}
/**
- * Required.
- * The user provided display name of the ScanConfig.
+ * Required. The user provided display name of the ScanConfig.
*
- * Generated from protobuf field string display_name = 2;
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
* @return $this
*/
@@ -238,10 +232,9 @@ public function setMaxQps($var)
}
/**
- * Required.
- * The starting URLs from which the scanner finds site pages.
+ * Required. The starting URLs from which the scanner finds site pages.
*
- * Generated from protobuf field repeated string starting_urls = 4;
+ * Generated from protobuf field repeated string starting_urls = 4 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getStartingUrls()
@@ -250,10 +243,9 @@ public function getStartingUrls()
}
/**
- * Required.
- * The starting URLs from which the scanner finds site pages.
+ * Required. The starting URLs from which the scanner finds site pages.
*
- * Generated from protobuf field repeated string starting_urls = 4;
+ * Generated from protobuf field repeated string starting_urls = 4 [(.google.api.field_behavior) = REQUIRED];
* @param string[]|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
diff --git a/WebSecurityScanner/src/V1beta/ScanConfig/Authentication/CustomAccount.php b/WebSecurityScanner/src/V1beta/ScanConfig/Authentication/CustomAccount.php
index e177dcb69f41..afc433ac88e8 100644
--- a/WebSecurityScanner/src/V1beta/ScanConfig/Authentication/CustomAccount.php
+++ b/WebSecurityScanner/src/V1beta/ScanConfig/Authentication/CustomAccount.php
@@ -16,26 +16,22 @@
class CustomAccount extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The user name of the custom account.
+ * Required. The user name of the custom account.
*
- * Generated from protobuf field string username = 1;
+ * Generated from protobuf field string username = 1 [(.google.api.field_behavior) = REQUIRED];
*/
private $username = '';
/**
- * Input only.
- * Required.
- * The password of the custom account. The credential is stored encrypted
+ * Required. Input only. The password of the custom account. The credential is stored encrypted
* and not returned in any response nor included in audit logs.
*
- * Generated from protobuf field string password = 2;
+ * Generated from protobuf field string password = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
*/
private $password = '';
/**
- * Required.
- * The login form URL of the website.
+ * Required. The login form URL of the website.
*
- * Generated from protobuf field string login_url = 3;
+ * Generated from protobuf field string login_url = 3 [(.google.api.field_behavior) = REQUIRED];
*/
private $login_url = '';
@@ -46,16 +42,12 @@ class CustomAccount extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $username
- * Required.
- * The user name of the custom account.
+ * Required. The user name of the custom account.
* @type string $password
- * Input only.
- * Required.
- * The password of the custom account. The credential is stored encrypted
+ * Required. Input only. The password of the custom account. The credential is stored encrypted
* and not returned in any response nor included in audit logs.
* @type string $login_url
- * Required.
- * The login form URL of the website.
+ * Required. The login form URL of the website.
* }
*/
public function __construct($data = NULL) {
@@ -64,10 +56,9 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The user name of the custom account.
+ * Required. The user name of the custom account.
*
- * Generated from protobuf field string username = 1;
+ * Generated from protobuf field string username = 1 [(.google.api.field_behavior) = REQUIRED];
* @return string
*/
public function getUsername()
@@ -76,10 +67,9 @@ public function getUsername()
}
/**
- * Required.
- * The user name of the custom account.
+ * Required. The user name of the custom account.
*
- * Generated from protobuf field string username = 1;
+ * Generated from protobuf field string username = 1 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
* @return $this
*/
@@ -92,12 +82,10 @@ public function setUsername($var)
}
/**
- * Input only.
- * Required.
- * The password of the custom account. The credential is stored encrypted
+ * Required. Input only. The password of the custom account. The credential is stored encrypted
* and not returned in any response nor included in audit logs.
*
- * Generated from protobuf field string password = 2;
+ * Generated from protobuf field string password = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
* @return string
*/
public function getPassword()
@@ -106,12 +94,10 @@ public function getPassword()
}
/**
- * Input only.
- * Required.
- * The password of the custom account. The credential is stored encrypted
+ * Required. Input only. The password of the custom account. The credential is stored encrypted
* and not returned in any response nor included in audit logs.
*
- * Generated from protobuf field string password = 2;
+ * Generated from protobuf field string password = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
* @param string $var
* @return $this
*/
@@ -124,10 +110,9 @@ public function setPassword($var)
}
/**
- * Required.
- * The login form URL of the website.
+ * Required. The login form URL of the website.
*
- * Generated from protobuf field string login_url = 3;
+ * Generated from protobuf field string login_url = 3 [(.google.api.field_behavior) = REQUIRED];
* @return string
*/
public function getLoginUrl()
@@ -136,10 +121,9 @@ public function getLoginUrl()
}
/**
- * Required.
- * The login form URL of the website.
+ * Required. The login form URL of the website.
*
- * Generated from protobuf field string login_url = 3;
+ * Generated from protobuf field string login_url = 3 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
* @return $this
*/
diff --git a/WebSecurityScanner/src/V1beta/ScanConfig/Authentication/GoogleAccount.php b/WebSecurityScanner/src/V1beta/ScanConfig/Authentication/GoogleAccount.php
index 3b3ec3774604..b15f64820218 100644
--- a/WebSecurityScanner/src/V1beta/ScanConfig/Authentication/GoogleAccount.php
+++ b/WebSecurityScanner/src/V1beta/ScanConfig/Authentication/GoogleAccount.php
@@ -16,19 +16,16 @@
class GoogleAccount extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The user name of the Google account.
+ * Required. The user name of the Google account.
*
- * Generated from protobuf field string username = 1;
+ * Generated from protobuf field string username = 1 [(.google.api.field_behavior) = REQUIRED];
*/
private $username = '';
/**
- * Input only.
- * Required.
- * The password of the Google account. The credential is stored encrypted
+ * Required. Input only. The password of the Google account. The credential is stored encrypted
* and not returned in any response nor included in audit logs.
*
- * Generated from protobuf field string password = 2;
+ * Generated from protobuf field string password = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
*/
private $password = '';
@@ -39,12 +36,9 @@ class GoogleAccount extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $username
- * Required.
- * The user name of the Google account.
+ * Required. The user name of the Google account.
* @type string $password
- * Input only.
- * Required.
- * The password of the Google account. The credential is stored encrypted
+ * Required. Input only. The password of the Google account. The credential is stored encrypted
* and not returned in any response nor included in audit logs.
* }
*/
@@ -54,10 +48,9 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The user name of the Google account.
+ * Required. The user name of the Google account.
*
- * Generated from protobuf field string username = 1;
+ * Generated from protobuf field string username = 1 [(.google.api.field_behavior) = REQUIRED];
* @return string
*/
public function getUsername()
@@ -66,10 +59,9 @@ public function getUsername()
}
/**
- * Required.
- * The user name of the Google account.
+ * Required. The user name of the Google account.
*
- * Generated from protobuf field string username = 1;
+ * Generated from protobuf field string username = 1 [(.google.api.field_behavior) = REQUIRED];
* @param string $var
* @return $this
*/
@@ -82,12 +74,10 @@ public function setUsername($var)
}
/**
- * Input only.
- * Required.
- * The password of the Google account. The credential is stored encrypted
+ * Required. Input only. The password of the Google account. The credential is stored encrypted
* and not returned in any response nor included in audit logs.
*
- * Generated from protobuf field string password = 2;
+ * Generated from protobuf field string password = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
* @return string
*/
public function getPassword()
@@ -96,12 +86,10 @@ public function getPassword()
}
/**
- * Input only.
- * Required.
- * The password of the Google account. The credential is stored encrypted
+ * Required. Input only. The password of the Google account. The credential is stored encrypted
* and not returned in any response nor included in audit logs.
*
- * Generated from protobuf field string password = 2;
+ * Generated from protobuf field string password = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];
* @param string $var
* @return $this
*/
diff --git a/WebSecurityScanner/src/V1beta/ScanConfig/Schedule.php b/WebSecurityScanner/src/V1beta/ScanConfig/Schedule.php
index e8f9c2a29f0b..da9b8fed3938 100644
--- a/WebSecurityScanner/src/V1beta/ScanConfig/Schedule.php
+++ b/WebSecurityScanner/src/V1beta/ScanConfig/Schedule.php
@@ -25,10 +25,9 @@ class Schedule extends \Google\Protobuf\Internal\Message
*/
private $schedule_time = null;
/**
- * Required.
- * The duration of time between executions in days.
+ * Required. The duration of time between executions in days.
*
- * Generated from protobuf field int32 interval_duration_days = 2;
+ * Generated from protobuf field int32 interval_duration_days = 2 [(.google.api.field_behavior) = REQUIRED];
*/
private $interval_duration_days = 0;
@@ -44,8 +43,7 @@ class Schedule extends \Google\Protobuf\Internal\Message
* to current server time, which means the scan will be scheduled to start
* immediately.
* @type int $interval_duration_days
- * Required.
- * The duration of time between executions in days.
+ * Required. The duration of time between executions in days.
* }
*/
public function __construct($data = NULL) {
@@ -86,10 +84,9 @@ public function setScheduleTime($var)
}
/**
- * Required.
- * The duration of time between executions in days.
+ * Required. The duration of time between executions in days.
*
- * Generated from protobuf field int32 interval_duration_days = 2;
+ * Generated from protobuf field int32 interval_duration_days = 2 [(.google.api.field_behavior) = REQUIRED];
* @return int
*/
public function getIntervalDurationDays()
@@ -98,10 +95,9 @@ public function getIntervalDurationDays()
}
/**
- * Required.
- * The duration of time between executions in days.
+ * Required. The duration of time between executions in days.
*
- * Generated from protobuf field int32 interval_duration_days = 2;
+ * Generated from protobuf field int32 interval_duration_days = 2 [(.google.api.field_behavior) = REQUIRED];
* @param int $var
* @return $this
*/
diff --git a/WebSecurityScanner/src/V1beta/ScanConfigError.php b/WebSecurityScanner/src/V1beta/ScanConfigError.php
index 93b123c6553a..c444eb8204ab 100644
--- a/WebSecurityScanner/src/V1beta/ScanConfigError.php
+++ b/WebSecurityScanner/src/V1beta/ScanConfigError.php
@@ -19,14 +19,12 @@
class ScanConfigError extends \Google\Protobuf\Internal\Message
{
/**
- * Output only.
* Indicates the reason code for a configuration failure.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfigError.Code code = 1;
*/
private $code = 0;
/**
- * Output only.
* Indicates the full name of the ScanConfig field that triggers this error,
* for example "scan_config.max_qps". This field is provided for
* troubleshooting purposes only and its actual value can change in the
@@ -43,10 +41,8 @@ class ScanConfigError extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type int $code
- * Output only.
* Indicates the reason code for a configuration failure.
* @type string $field_name
- * Output only.
* Indicates the full name of the ScanConfig field that triggers this error,
* for example "scan_config.max_qps". This field is provided for
* troubleshooting purposes only and its actual value can change in the
@@ -59,7 +55,6 @@ public function __construct($data = NULL) {
}
/**
- * Output only.
* Indicates the reason code for a configuration failure.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfigError.Code code = 1;
@@ -71,7 +66,6 @@ public function getCode()
}
/**
- * Output only.
* Indicates the reason code for a configuration failure.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfigError.Code code = 1;
@@ -87,7 +81,6 @@ public function setCode($var)
}
/**
- * Output only.
* Indicates the full name of the ScanConfig field that triggers this error,
* for example "scan_config.max_qps". This field is provided for
* troubleshooting purposes only and its actual value can change in the
@@ -102,7 +95,6 @@ public function getFieldName()
}
/**
- * Output only.
* Indicates the full name of the ScanConfig field that triggers this error,
* for example "scan_config.max_qps". This field is provided for
* troubleshooting purposes only and its actual value can change in the
diff --git a/WebSecurityScanner/src/V1beta/ScanConfigError/Code.php b/WebSecurityScanner/src/V1beta/ScanConfigError/Code.php
index 827078e96fd2..784be1b6cbc9 100644
--- a/WebSecurityScanner/src/V1beta/ScanConfigError/Code.php
+++ b/WebSecurityScanner/src/V1beta/ScanConfigError/Code.php
@@ -9,7 +9,7 @@
/**
* Output only.
* Defines an error reason code.
- * Next id: 43
+ * Next id: 44
*
* Protobuf type google.cloud.websecurityscanner.v1beta.ScanConfigError.Code
*/
@@ -150,6 +150,12 @@ class Code
* Generated from protobuf enum FORBIDDEN_TO_SCAN_COMPUTE = 21;
*/
const FORBIDDEN_TO_SCAN_COMPUTE = 21;
+ /**
+ * User tries to update managed scan
+ *
+ * Generated from protobuf enum FORBIDDEN_UPDATE_TO_MANAGED_SCAN = 43;
+ */
+ const FORBIDDEN_UPDATE_TO_MANAGED_SCAN = 43;
/**
* The supplied filter is malformed. For example, it can not be parsed, does
* not have a filter type in expression, or the same filter type appears
@@ -300,6 +306,7 @@ class Code
self::FAILED_TO_AUTHENTICATE_TO_TARGET => 'FAILED_TO_AUTHENTICATE_TO_TARGET',
self::FINDING_TYPE_UNSPECIFIED => 'FINDING_TYPE_UNSPECIFIED',
self::FORBIDDEN_TO_SCAN_COMPUTE => 'FORBIDDEN_TO_SCAN_COMPUTE',
+ self::FORBIDDEN_UPDATE_TO_MANAGED_SCAN => 'FORBIDDEN_UPDATE_TO_MANAGED_SCAN',
self::MALFORMED_FILTER => 'MALFORMED_FILTER',
self::MALFORMED_RESOURCE_NAME => 'MALFORMED_RESOURCE_NAME',
self::PROJECT_INACTIVE => 'PROJECT_INACTIVE',
diff --git a/WebSecurityScanner/src/V1beta/ScanRun.php b/WebSecurityScanner/src/V1beta/ScanRun.php
index ab96b1ff2e47..8f1cae17bc32 100644
--- a/WebSecurityScanner/src/V1beta/ScanRun.php
+++ b/WebSecurityScanner/src/V1beta/ScanRun.php
@@ -17,7 +17,6 @@
class ScanRun extends \Google\Protobuf\Internal\Message
{
/**
- * Output only.
* The resource name of the ScanRun. The name follows the format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* The ScanRun IDs are generated by the system.
@@ -26,14 +25,12 @@ class ScanRun extends \Google\Protobuf\Internal\Message
*/
private $name = '';
/**
- * Output only.
* The execution state of the ScanRun.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanRun.ExecutionState execution_state = 2;
*/
private $execution_state = 0;
/**
- * Output only.
* The result state of the ScanRun. This field is only available after the
* execution state reaches "FINISHED".
*
@@ -41,14 +38,12 @@ class ScanRun extends \Google\Protobuf\Internal\Message
*/
private $result_state = 0;
/**
- * Output only.
* The time at which the ScanRun started.
*
* Generated from protobuf field .google.protobuf.Timestamp start_time = 4;
*/
private $start_time = null;
/**
- * Output only.
* The time at which the ScanRun reached termination state - that the ScanRun
* is either finished or stopped by user.
*
@@ -56,7 +51,6 @@ class ScanRun extends \Google\Protobuf\Internal\Message
*/
private $end_time = null;
/**
- * Output only.
* The number of URLs crawled during this ScanRun. If the scan is in progress,
* the value represents the number of URLs crawled up to now.
*
@@ -64,7 +58,6 @@ class ScanRun extends \Google\Protobuf\Internal\Message
*/
private $urls_crawled_count = 0;
/**
- * Output only.
* The number of URLs tested during this ScanRun. If the scan is in progress,
* the value represents the number of URLs tested up to now. The number of
* URLs tested is usually larger than the number URLS crawled because
@@ -74,14 +67,12 @@ class ScanRun extends \Google\Protobuf\Internal\Message
*/
private $urls_tested_count = 0;
/**
- * Output only.
* Whether the scan run has found any vulnerabilities.
*
* Generated from protobuf field bool has_vulnerabilities = 8;
*/
private $has_vulnerabilities = false;
/**
- * Output only.
* The percentage of total completion ranging from 0 to 100.
* If the scan is in queue, the value is 0.
* If the scan is running, the value ranges from 0 to 100.
@@ -91,7 +82,6 @@ class ScanRun extends \Google\Protobuf\Internal\Message
*/
private $progress_percent = 0;
/**
- * Output only.
* If result_state is an ERROR, this field provides the primary reason for
* scan's termination and more details, if such are available.
*
@@ -99,7 +89,6 @@ class ScanRun extends \Google\Protobuf\Internal\Message
*/
private $error_trace = null;
/**
- * Output only.
* A list of warnings, if such are encountered during this scan run.
*
* Generated from protobuf field repeated .google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace warning_traces = 11;
@@ -113,49 +102,38 @@ class ScanRun extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $name
- * Output only.
* The resource name of the ScanRun. The name follows the format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* The ScanRun IDs are generated by the system.
* @type int $execution_state
- * Output only.
* The execution state of the ScanRun.
* @type int $result_state
- * Output only.
* The result state of the ScanRun. This field is only available after the
* execution state reaches "FINISHED".
* @type \Google\Protobuf\Timestamp $start_time
- * Output only.
* The time at which the ScanRun started.
* @type \Google\Protobuf\Timestamp $end_time
- * Output only.
* The time at which the ScanRun reached termination state - that the ScanRun
* is either finished or stopped by user.
* @type int|string $urls_crawled_count
- * Output only.
* The number of URLs crawled during this ScanRun. If the scan is in progress,
* the value represents the number of URLs crawled up to now.
* @type int|string $urls_tested_count
- * Output only.
* The number of URLs tested during this ScanRun. If the scan is in progress,
* the value represents the number of URLs tested up to now. The number of
* URLs tested is usually larger than the number URLS crawled because
* typically a crawled URL is tested with multiple test payloads.
* @type bool $has_vulnerabilities
- * Output only.
* Whether the scan run has found any vulnerabilities.
* @type int $progress_percent
- * Output only.
* The percentage of total completion ranging from 0 to 100.
* If the scan is in queue, the value is 0.
* If the scan is running, the value ranges from 0 to 100.
* If the scan is finished, the value is 100.
* @type \Google\Cloud\WebSecurityScanner\V1beta\ScanRunErrorTrace $error_trace
- * Output only.
* If result_state is an ERROR, this field provides the primary reason for
* scan's termination and more details, if such are available.
* @type \Google\Cloud\WebSecurityScanner\V1beta\ScanRunWarningTrace[]|\Google\Protobuf\Internal\RepeatedField $warning_traces
- * Output only.
* A list of warnings, if such are encountered during this scan run.
* }
*/
@@ -165,7 +143,6 @@ public function __construct($data = NULL) {
}
/**
- * Output only.
* The resource name of the ScanRun. The name follows the format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* The ScanRun IDs are generated by the system.
@@ -179,7 +156,6 @@ public function getName()
}
/**
- * Output only.
* The resource name of the ScanRun. The name follows the format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* The ScanRun IDs are generated by the system.
@@ -197,7 +173,6 @@ public function setName($var)
}
/**
- * Output only.
* The execution state of the ScanRun.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanRun.ExecutionState execution_state = 2;
@@ -209,7 +184,6 @@ public function getExecutionState()
}
/**
- * Output only.
* The execution state of the ScanRun.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanRun.ExecutionState execution_state = 2;
@@ -225,7 +199,6 @@ public function setExecutionState($var)
}
/**
- * Output only.
* The result state of the ScanRun. This field is only available after the
* execution state reaches "FINISHED".
*
@@ -238,7 +211,6 @@ public function getResultState()
}
/**
- * Output only.
* The result state of the ScanRun. This field is only available after the
* execution state reaches "FINISHED".
*
@@ -255,7 +227,6 @@ public function setResultState($var)
}
/**
- * Output only.
* The time at which the ScanRun started.
*
* Generated from protobuf field .google.protobuf.Timestamp start_time = 4;
@@ -267,7 +238,6 @@ public function getStartTime()
}
/**
- * Output only.
* The time at which the ScanRun started.
*
* Generated from protobuf field .google.protobuf.Timestamp start_time = 4;
@@ -283,7 +253,6 @@ public function setStartTime($var)
}
/**
- * Output only.
* The time at which the ScanRun reached termination state - that the ScanRun
* is either finished or stopped by user.
*
@@ -296,7 +265,6 @@ public function getEndTime()
}
/**
- * Output only.
* The time at which the ScanRun reached termination state - that the ScanRun
* is either finished or stopped by user.
*
@@ -313,7 +281,6 @@ public function setEndTime($var)
}
/**
- * Output only.
* The number of URLs crawled during this ScanRun. If the scan is in progress,
* the value represents the number of URLs crawled up to now.
*
@@ -326,7 +293,6 @@ public function getUrlsCrawledCount()
}
/**
- * Output only.
* The number of URLs crawled during this ScanRun. If the scan is in progress,
* the value represents the number of URLs crawled up to now.
*
@@ -343,7 +309,6 @@ public function setUrlsCrawledCount($var)
}
/**
- * Output only.
* The number of URLs tested during this ScanRun. If the scan is in progress,
* the value represents the number of URLs tested up to now. The number of
* URLs tested is usually larger than the number URLS crawled because
@@ -358,7 +323,6 @@ public function getUrlsTestedCount()
}
/**
- * Output only.
* The number of URLs tested during this ScanRun. If the scan is in progress,
* the value represents the number of URLs tested up to now. The number of
* URLs tested is usually larger than the number URLS crawled because
@@ -377,7 +341,6 @@ public function setUrlsTestedCount($var)
}
/**
- * Output only.
* Whether the scan run has found any vulnerabilities.
*
* Generated from protobuf field bool has_vulnerabilities = 8;
@@ -389,7 +352,6 @@ public function getHasVulnerabilities()
}
/**
- * Output only.
* Whether the scan run has found any vulnerabilities.
*
* Generated from protobuf field bool has_vulnerabilities = 8;
@@ -405,7 +367,6 @@ public function setHasVulnerabilities($var)
}
/**
- * Output only.
* The percentage of total completion ranging from 0 to 100.
* If the scan is in queue, the value is 0.
* If the scan is running, the value ranges from 0 to 100.
@@ -420,7 +381,6 @@ public function getProgressPercent()
}
/**
- * Output only.
* The percentage of total completion ranging from 0 to 100.
* If the scan is in queue, the value is 0.
* If the scan is running, the value ranges from 0 to 100.
@@ -439,7 +399,6 @@ public function setProgressPercent($var)
}
/**
- * Output only.
* If result_state is an ERROR, this field provides the primary reason for
* scan's termination and more details, if such are available.
*
@@ -452,7 +411,6 @@ public function getErrorTrace()
}
/**
- * Output only.
* If result_state is an ERROR, this field provides the primary reason for
* scan's termination and more details, if such are available.
*
@@ -469,7 +427,6 @@ public function setErrorTrace($var)
}
/**
- * Output only.
* A list of warnings, if such are encountered during this scan run.
*
* Generated from protobuf field repeated .google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace warning_traces = 11;
@@ -481,7 +438,6 @@ public function getWarningTraces()
}
/**
- * Output only.
* A list of warnings, if such are encountered during this scan run.
*
* Generated from protobuf field repeated .google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace warning_traces = 11;
diff --git a/WebSecurityScanner/src/V1beta/ScanRunErrorTrace.php b/WebSecurityScanner/src/V1beta/ScanRunErrorTrace.php
index e001ff40018a..c1f37ac3ca3e 100644
--- a/WebSecurityScanner/src/V1beta/ScanRunErrorTrace.php
+++ b/WebSecurityScanner/src/V1beta/ScanRunErrorTrace.php
@@ -17,14 +17,12 @@
class ScanRunErrorTrace extends \Google\Protobuf\Internal\Message
{
/**
- * Output only.
* Indicates the error reason code.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.Code code = 1;
*/
private $code = 0;
/**
- * Output only.
* If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error
* message encountered during scan configuration validation that is performed
* before each scan run.
@@ -33,7 +31,6 @@ class ScanRunErrorTrace extends \Google\Protobuf\Internal\Message
*/
private $scan_config_error = null;
/**
- * Output only.
* If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most
* common HTTP error code, if such is available. For example, if this code is
* 404, the scan has encountered too many NOT_FOUND responses.
@@ -49,15 +46,12 @@ class ScanRunErrorTrace extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type int $code
- * Output only.
* Indicates the error reason code.
* @type \Google\Cloud\WebSecurityScanner\V1beta\ScanConfigError $scan_config_error
- * Output only.
* If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error
* message encountered during scan configuration validation that is performed
* before each scan run.
* @type int $most_common_http_error_code
- * Output only.
* If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most
* common HTTP error code, if such is available. For example, if this code is
* 404, the scan has encountered too many NOT_FOUND responses.
@@ -69,7 +63,6 @@ public function __construct($data = NULL) {
}
/**
- * Output only.
* Indicates the error reason code.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.Code code = 1;
@@ -81,7 +74,6 @@ public function getCode()
}
/**
- * Output only.
* Indicates the error reason code.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanRunErrorTrace.Code code = 1;
@@ -97,7 +89,6 @@ public function setCode($var)
}
/**
- * Output only.
* If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error
* message encountered during scan configuration validation that is performed
* before each scan run.
@@ -111,7 +102,6 @@ public function getScanConfigError()
}
/**
- * Output only.
* If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error
* message encountered during scan configuration validation that is performed
* before each scan run.
@@ -129,7 +119,6 @@ public function setScanConfigError($var)
}
/**
- * Output only.
* If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most
* common HTTP error code, if such is available. For example, if this code is
* 404, the scan has encountered too many NOT_FOUND responses.
@@ -143,7 +132,6 @@ public function getMostCommonHttpErrorCode()
}
/**
- * Output only.
* If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most
* common HTTP error code, if such is available. For example, if this code is
* 404, the scan has encountered too many NOT_FOUND responses.
diff --git a/WebSecurityScanner/src/V1beta/ScanRunErrorTrace/Code.php b/WebSecurityScanner/src/V1beta/ScanRunErrorTrace/Code.php
index f63ab2ad00d5..f4290adb07be 100644
--- a/WebSecurityScanner/src/V1beta/ScanRunErrorTrace/Code.php
+++ b/WebSecurityScanner/src/V1beta/ScanRunErrorTrace/Code.php
@@ -57,7 +57,7 @@ class Code
/**
* Indicates that a scan encountered numerous errors from the web site
* pages. When available, most_common_http_error_code field indicates the
- * the most common HTTP error code encountered during the scan.
+ * most common HTTP error code encountered during the scan.
*
* Generated from protobuf enum TOO_MANY_HTTP_ERRORS = 6;
*/
diff --git a/WebSecurityScanner/src/V1beta/ScanRunWarningTrace.php b/WebSecurityScanner/src/V1beta/ScanRunWarningTrace.php
index b5522c2472a0..3d5462dda7f9 100644
--- a/WebSecurityScanner/src/V1beta/ScanRunWarningTrace.php
+++ b/WebSecurityScanner/src/V1beta/ScanRunWarningTrace.php
@@ -18,7 +18,6 @@
class ScanRunWarningTrace extends \Google\Protobuf\Internal\Message
{
/**
- * Output only.
* Indicates the warning code.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace.Code code = 1;
@@ -32,7 +31,6 @@ class ScanRunWarningTrace extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type int $code
- * Output only.
* Indicates the warning code.
* }
*/
@@ -42,7 +40,6 @@ public function __construct($data = NULL) {
}
/**
- * Output only.
* Indicates the warning code.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace.Code code = 1;
@@ -54,7 +51,6 @@ public function getCode()
}
/**
- * Output only.
* Indicates the warning code.
*
* Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace.Code code = 1;
diff --git a/WebSecurityScanner/src/V1beta/ScanRunWarningTrace/Code.php b/WebSecurityScanner/src/V1beta/ScanRunWarningTrace/Code.php
index efb1aeb004a0..91ec840d3170 100644
--- a/WebSecurityScanner/src/V1beta/ScanRunWarningTrace/Code.php
+++ b/WebSecurityScanner/src/V1beta/ScanRunWarningTrace/Code.php
@@ -9,7 +9,7 @@
/**
* Output only.
* Defines a warning message code.
- * Next id: 5
+ * Next id: 6
*
* Protobuf type google.cloud.websecurityscanner.v1beta.ScanRunWarningTrace.Code
*/
diff --git a/WebSecurityScanner/src/V1beta/StartScanRunRequest.php b/WebSecurityScanner/src/V1beta/StartScanRunRequest.php
index 33a4029d75b4..88c291c52f62 100644
--- a/WebSecurityScanner/src/V1beta/StartScanRunRequest.php
+++ b/WebSecurityScanner/src/V1beta/StartScanRunRequest.php
@@ -16,11 +16,10 @@
class StartScanRunRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The resource name of the ScanConfig to be used. The name follows the
+ * Required. The resource name of the ScanConfig to be used. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
*
- * 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 = '';
@@ -31,8 +30,7 @@ class StartScanRunRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $name
- * Required.
- * The resource name of the ScanConfig to be used. The name follows the
+ * Required. The resource name of the ScanConfig to be used. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
* }
*/
@@ -42,11 +40,10 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The resource name of the ScanConfig to be used. The name follows the
+ * Required. The resource name of the ScanConfig to be used. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
*
- * 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()
@@ -55,11 +52,10 @@ public function getName()
}
/**
- * Required.
- * The resource name of the ScanConfig to be used. The name follows the
+ * Required. The resource name of the ScanConfig to be used. The name follows the
* format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
*
- * 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/WebSecurityScanner/src/V1beta/StopScanRunRequest.php b/WebSecurityScanner/src/V1beta/StopScanRunRequest.php
index 28d35f749fa6..a7a8c3093ae2 100644
--- a/WebSecurityScanner/src/V1beta/StopScanRunRequest.php
+++ b/WebSecurityScanner/src/V1beta/StopScanRunRequest.php
@@ -16,12 +16,11 @@
class StopScanRunRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The resource name of the ScanRun to be stopped. The name follows the
+ * Required. The resource name of the ScanRun to be stopped. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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 = '';
@@ -32,8 +31,7 @@ class StopScanRunRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $name
- * Required.
- * The resource name of the ScanRun to be stopped. The name follows the
+ * Required. The resource name of the ScanRun to be stopped. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
* }
@@ -44,12 +42,11 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The resource name of the ScanRun to be stopped. The name follows the
+ * Required. The resource name of the ScanRun to be stopped. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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()
@@ -58,12 +55,11 @@ public function getName()
}
/**
- * Required.
- * The resource name of the ScanRun to be stopped. The name follows the
+ * Required. The resource name of the ScanRun to be stopped. The name follows the
* format of
* 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
*
- * 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/WebSecurityScanner/src/V1beta/UpdateScanConfigRequest.php b/WebSecurityScanner/src/V1beta/UpdateScanConfigRequest.php
index 46391587fc32..f8349853c365 100644
--- a/WebSecurityScanner/src/V1beta/UpdateScanConfigRequest.php
+++ b/WebSecurityScanner/src/V1beta/UpdateScanConfigRequest.php
@@ -16,21 +16,19 @@
class UpdateScanConfigRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required.
- * The ScanConfig to be updated. The name field must be set to identify the
+ * Required. The ScanConfig to be updated. The name field must be set to identify the
* resource to be updated. The values of fields not covered by the mask
* will be ignored.
*
- * Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2;
+ * Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
*/
private $scan_config = null;
/**
- * Required.
- * The update mask applies to the resource. For the `FieldMask` definition,
+ * Required. The update mask applies to the resource. For the `FieldMask` definition,
* see
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
*
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3;
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
*/
private $update_mask = null;
@@ -41,13 +39,11 @@ class UpdateScanConfigRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type \Google\Cloud\WebSecurityScanner\V1beta\ScanConfig $scan_config
- * Required.
- * The ScanConfig to be updated. The name field must be set to identify the
+ * Required. The ScanConfig to be updated. The name field must be set to identify the
* resource to be updated. The values of fields not covered by the mask
* will be ignored.
* @type \Google\Protobuf\FieldMask $update_mask
- * Required.
- * The update mask applies to the resource. For the `FieldMask` definition,
+ * Required. The update mask applies to the resource. For the `FieldMask` definition,
* see
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
* }
@@ -58,12 +54,11 @@ public function __construct($data = NULL) {
}
/**
- * Required.
- * The ScanConfig to be updated. The name field must be set to identify the
+ * Required. The ScanConfig to be updated. The name field must be set to identify the
* resource to be updated. The values of fields not covered by the mask
* will be ignored.
*
- * Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2;
+ * Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Cloud\WebSecurityScanner\V1beta\ScanConfig
*/
public function getScanConfig()
@@ -72,12 +67,11 @@ public function getScanConfig()
}
/**
- * Required.
- * The ScanConfig to be updated. The name field must be set to identify the
+ * Required. The ScanConfig to be updated. The name field must be set to identify the
* resource to be updated. The values of fields not covered by the mask
* will be ignored.
*
- * Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2;
+ * Generated from protobuf field .google.cloud.websecurityscanner.v1beta.ScanConfig scan_config = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Cloud\WebSecurityScanner\V1beta\ScanConfig $var
* @return $this
*/
@@ -90,12 +84,11 @@ public function setScanConfig($var)
}
/**
- * Required.
- * The update mask applies to the resource. For the `FieldMask` definition,
+ * Required. The update mask applies to the resource. For the `FieldMask` definition,
* see
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
*
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3;
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\FieldMask
*/
public function getUpdateMask()
@@ -104,12 +97,11 @@ public function getUpdateMask()
}
/**
- * Required.
- * The update mask applies to the resource. For the `FieldMask` definition,
+ * Required. The update mask applies to the resource. For the `FieldMask` definition,
* see
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
*
- * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3;
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Protobuf\FieldMask $var
* @return $this
*/
diff --git a/WebSecurityScanner/src/V1beta/resources/web_security_scanner_client_config.json b/WebSecurityScanner/src/V1beta/resources/web_security_scanner_client_config.json
index efac70be6b9b..ff060bac6b47 100644
--- a/WebSecurityScanner/src/V1beta/resources/web_security_scanner_client_config.json
+++ b/WebSecurityScanner/src/V1beta/resources/web_security_scanner_client_config.json
@@ -27,7 +27,7 @@
},
"DeleteScanConfig": {
"timeout_millis": 60000,
- "retry_codes_name": "idempotent",
+ "retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"GetScanConfig": {
diff --git a/WebSecurityScanner/synth.metadata b/WebSecurityScanner/synth.metadata
index 5f7f2460abf2..8a7b468e303b 100644
--- a/WebSecurityScanner/synth.metadata
+++ b/WebSecurityScanner/synth.metadata
@@ -1,19 +1,19 @@
{
- "updateTime": "2019-08-07T18:07:22.635920Z",
+ "updateTime": "2019-10-10T10:05:16.579973Z",
"sources": [
{
"generator": {
"name": "artman",
- "version": "0.29.1",
- "dockerImage": "googleapis/artman@sha256:b2a73f4dda03ef8fcaa973e3ba26d0cf34091f6c22c70add663af325931aef4d"
+ "version": "0.38.0",
+ "dockerImage": "googleapis/artman@sha256:0d2f8d429110aeb8d82df6550ef4ede59d40df9062d260a1580fce688b0512bf"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "3a1b46a6668194a527e532a2c355b404c79b0e6a",
- "internalRef": "262167956"
+ "sha": "10f91fa12f70e8e0209a45fc10807ed1f77c7e4e",
+ "internalRef": "273826591"
}
}
],