diff --git a/SecurityCenterManagement/metadata/V1/SecurityCenterManagement.php b/SecurityCenterManagement/metadata/V1/SecurityCenterManagement.php index efa5fe1323a7..808d65fa8dab 100644 Binary files a/SecurityCenterManagement/metadata/V1/SecurityCenterManagement.php and b/SecurityCenterManagement/metadata/V1/SecurityCenterManagement.php differ diff --git a/SecurityCenterManagement/src/V1/GetSecurityCenterServiceRequest.php b/SecurityCenterManagement/src/V1/GetSecurityCenterServiceRequest.php index d84834c46546..aafec1171fef 100644 --- a/SecurityCenterManagement/src/V1/GetSecurityCenterServiceRequest.php +++ b/SecurityCenterManagement/src/V1/GetSecurityCenterServiceRequest.php @@ -31,6 +31,13 @@ class GetSecurityCenterServiceRequest extends \Google\Protobuf\Internal\Message * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { */ protected $name = ''; + /** + * Flag that, when set, will be used to filter the ModuleSettings that are + * in scope. The default setting is that all modules will be shown. + * + * Generated from protobuf field bool show_eligible_modules_only = 2; + */ + protected $show_eligible_modules_only = false; /** * @param string $name Required. The Security Command Center service to retrieve. @@ -78,6 +85,9 @@ public static function build(string $name): self * * security-health-analytics * * vm-threat-detection * * web-security-scanner + * @type bool $show_eligible_modules_only + * Flag that, when set, will be used to filter the ModuleSettings that are + * in scope. The default setting is that all modules will be shown. * } */ public function __construct($data = NULL) { @@ -131,5 +141,33 @@ public function setName($var) return $this; } + /** + * Flag that, when set, will be used to filter the ModuleSettings that are + * in scope. The default setting is that all modules will be shown. + * + * Generated from protobuf field bool show_eligible_modules_only = 2; + * @return bool + */ + public function getShowEligibleModulesOnly() + { + return $this->show_eligible_modules_only; + } + + /** + * Flag that, when set, will be used to filter the ModuleSettings that are + * in scope. The default setting is that all modules will be shown. + * + * Generated from protobuf field bool show_eligible_modules_only = 2; + * @param bool $var + * @return $this + */ + public function setShowEligibleModulesOnly($var) + { + GPBUtil::checkBool($var); + $this->show_eligible_modules_only = $var; + + return $this; + } + } diff --git a/SecurityCenterManagement/src/V1/ListSecurityCenterServicesRequest.php b/SecurityCenterManagement/src/V1/ListSecurityCenterServicesRequest.php index c4a0cd81d3af..19c23c940772 100644 --- a/SecurityCenterManagement/src/V1/ListSecurityCenterServicesRequest.php +++ b/SecurityCenterManagement/src/V1/ListSecurityCenterServicesRequest.php @@ -38,6 +38,13 @@ class ListSecurityCenterServicesRequest extends \Google\Protobuf\Internal\Messag * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; */ protected $page_token = ''; + /** + * Flag that, when set, will be used to filter the ModuleSettings that are + * in scope. The default setting is that all modules will be shown. + * + * Generated from protobuf field bool show_eligible_modules_only = 4; + */ + protected $show_eligible_modules_only = false; /** * @param string $parent Required. The name of the parent to list Security Command Center services. @@ -76,6 +83,9 @@ public static function build(string $parent): self * Default is 10, minimum is 1, maximum is 1000. * @type string $page_token * Optional. The value returned by the last call indicating a continuation. + * @type bool $show_eligible_modules_only + * Flag that, when set, will be used to filter the ModuleSettings that are + * in scope. The default setting is that all modules will be shown. * } */ public function __construct($data = NULL) { @@ -171,5 +181,33 @@ public function setPageToken($var) return $this; } + /** + * Flag that, when set, will be used to filter the ModuleSettings that are + * in scope. The default setting is that all modules will be shown. + * + * Generated from protobuf field bool show_eligible_modules_only = 4; + * @return bool + */ + public function getShowEligibleModulesOnly() + { + return $this->show_eligible_modules_only; + } + + /** + * Flag that, when set, will be used to filter the ModuleSettings that are + * in scope. The default setting is that all modules will be shown. + * + * Generated from protobuf field bool show_eligible_modules_only = 4; + * @param bool $var + * @return $this + */ + public function setShowEligibleModulesOnly($var) + { + GPBUtil::checkBool($var); + $this->show_eligible_modules_only = $var; + + return $this; + } + } diff --git a/SecurityCenterManagement/src/V1/SimulatedFinding/FindingClass.php b/SecurityCenterManagement/src/V1/SimulatedFinding/FindingClass.php index 59a0f18fdbaa..bbbf233602ea 100644 --- a/SecurityCenterManagement/src/V1/SimulatedFinding/FindingClass.php +++ b/SecurityCenterManagement/src/V1/SimulatedFinding/FindingClass.php @@ -58,6 +58,13 @@ class FindingClass * Generated from protobuf enum POSTURE_VIOLATION = 6; */ const POSTURE_VIOLATION = 6; + /** + * Describes a combination of security issues that represent a more severe + * security problem when taken together. + * + * Generated from protobuf enum TOXIC_COMBINATION = 7; + */ + const TOXIC_COMBINATION = 7; private static $valueToName = [ self::FINDING_CLASS_UNSPECIFIED => 'FINDING_CLASS_UNSPECIFIED', @@ -67,6 +74,7 @@ class FindingClass self::OBSERVATION => 'OBSERVATION', self::SCC_ERROR => 'SCC_ERROR', self::POSTURE_VIOLATION => 'POSTURE_VIOLATION', + self::TOXIC_COMBINATION => 'TOXIC_COMBINATION', ]; public static function name($value)