Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class ParameterSpec.
The parameter specification for the cloud control.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.ParameterSpec
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the parameter.
↳ display_name
string
Optional. The friendly name of the parameter. The maximum length is 200 characters.
↳ description
string
Optional. The description of the parameter. The maximum length is 2000 characters.
↳ is_required
bool
Required. Whether the parameter is required.
↳ value_type
int
Required. The parameter value type.
↳ default_value
↳ substitution_rules
↳ sub_parameters
↳ validation
getName
Required. The name of the parameter.
string
setName
Required. The name of the parameter.
var
string
$this
getDisplayName
Optional. The friendly name of the parameter. The maximum length is 200 characters.
string
setDisplayName
Optional. The friendly name of the parameter. The maximum length is 200 characters.
var
string
$this
getDescription
Optional. The description of the parameter. The maximum length is 2000 characters.
string
setDescription
Optional. The description of the parameter. The maximum length is 2000 characters.
var
string
$this
getIsRequired
Required. Whether the parameter is required.
bool
setIsRequired
Required. Whether the parameter is required.
var
bool
$this
getValueType
Required. The parameter value type.
setValueType
Required. The parameter value type.
$this
getDefaultValue
Optional. The default value of the parameter.
hasDefaultValue
clearDefaultValue
setDefaultValue
Optional. The default value of the parameter.
$this
getSubstitutionRules
Optional. The list of parameter substitutions.
setSubstitutionRules
Optional. The list of parameter substitutions.
$this
getSubParameters
Optional. The parameter specification for oneOf
attributes.
setSubParameters
Optional. The parameter specification for oneOf
attributes.
$this
getValidation
Optional. The permitted set of values for the parameter.
hasValidation
clearValidation
setValidation
Optional. The permitted set of values for the parameter.
$this

