Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec.
A parameter spec of the cloud control.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#default_value
def default_value() -> ::Google::Cloud::CloudSecurityCompliance::V1::ParamValue
Returns
- (::Google::Cloud::CloudSecurityCompliance::V1::ParamValue) — Optional. The default value of the parameter.
#default_value=
def default_value=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::ParamValue
Parameter
- value (::Google::Cloud::CloudSecurityCompliance::V1::ParamValue) — Optional. The default value of the parameter.
Returns
- (::Google::Cloud::CloudSecurityCompliance::V1::ParamValue) — Optional. The default value of the parameter.
#description
def description() -> ::String
Returns
- (::String) — Optional. The description of the parameter. The maximum length is 2000 characters.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. The description of the parameter. The maximum length is 2000 characters.
Returns
- (::String) — Optional. The description of the parameter. The maximum length is 2000 characters.
#display_name
def display_name() -> ::String
Returns
- (::String) — Optional. The display name of the parameter. The maximum length is 200 characters.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Optional. The display name of the parameter. The maximum length is 200 characters.
Returns
- (::String) — Optional. The display name of the parameter. The maximum length is 200 characters.
#is_required
def is_required() -> ::Boolean
Returns
- (::Boolean) — Required. if the parameter is required
#is_required=
def is_required=(value) -> ::Boolean
Parameter
- value (::Boolean) — Required. if the parameter is required
Returns
- (::Boolean) — Required. if the parameter is required
#name
def name() -> ::String
Returns
- (::String) — Required. The name of the parameter.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. The name of the parameter.
Returns
- (::String) — Required. The name of the parameter.
#sub_parameters
def sub_parameters() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>) — Optional. ParameterSpec for oneof attributes.
#sub_parameters=
def sub_parameters=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>
Parameter
- value (::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>) — Optional. ParameterSpec for oneof attributes.
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>) — Optional. ParameterSpec for oneof attributes.
#substitution_rules
def substitution_rules() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSubstitutionRule>
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSubstitutionRule>) — Optional. List of parameter substitutions.
#substitution_rules=
def substitution_rules=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSubstitutionRule>
Parameter
- value (::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSubstitutionRule>) — Optional. List of parameter substitutions.
Returns
- (::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSubstitutionRule>) — Optional. List of parameter substitutions.
#validation
def validation() -> ::Google::Cloud::CloudSecurityCompliance::V1::Validation
Returns
- (::Google::Cloud::CloudSecurityCompliance::V1::Validation) — Optional. The allowed set of values for the parameter.
#validation=
def validation=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::Validation
Parameter
- value (::Google::Cloud::CloudSecurityCompliance::V1::Validation) — Optional. The allowed set of values for the parameter.
Returns
- (::Google::Cloud::CloudSecurityCompliance::V1::Validation) — Optional. The allowed set of values for the parameter.
#value_type
def value_type() -> ::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec::ValueType
Returns
- (::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec::ValueType) — Required. Parameter value type.
#value_type=
def value_type=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec::ValueType
Parameter
- value (::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec::ValueType) — Required. Parameter value type.
Returns
- (::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec::ValueType) — Required. Parameter value type.