Google Cloud Container V1 Client - Class SecurityPostureConfig (2.10.0)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Container V1 Client class SecurityPostureConfig.
SecurityPostureConfig defines the flags needed to enable/disable features for
the Security Posture API.
Generated from protobuf messagegoogle.container.v1.SecurityPostureConfig
Namespace
Google \ Cloud \ Container \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ mode
int
Sets which mode to use for Security Posture features.
↳ vulnerability_mode
int
Sets which mode to use for vulnerability scanning.
getMode
Sets which mode to use for Security Posture features.
Returns
Type
Description
int
hasMode
clearMode
setMode
Sets which mode to use for Security Posture features.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getVulnerabilityMode
Sets which mode to use for vulnerability scanning.
Returns
Type
Description
int
hasVulnerabilityMode
clearVulnerabilityMode
setVulnerabilityMode
Sets which mode to use for vulnerability scanning.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-09 UTC."],[],[]]