Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class ParameterSpec.
A parameter spec of 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 display 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. if the parameter is required
↳ value_type
int
Required. 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 display name of the parameter. The maximum length is 200 characters.
string
setDisplayName
Optional. The display 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. if the parameter is required
bool
setIsRequired
Required. if the parameter is required
var
bool
$this
getValueType
Required. Parameter value type.
setValueType
Required. 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. List of parameter substitutions.
setSubstitutionRules
Optional. List of parameter substitutions.
$this
getSubParameters
Optional. ParameterSpec for oneof attributes.
setSubParameters
Optional. ParameterSpec for oneof attributes.
$this
getValidation
Optional. The allowed set of values for the parameter.
hasValidation
clearValidation
setValidation
Optional. The allowed set of values for the parameter.
$this

