# Cloud Security Compliance V1 API - Class Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec (v0.5.0)

0.5.0 (latest) 0.4.1 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Cloud Security Compliance V1 API class Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec.

The parameter specification for 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ParamValue)) --- Optional. The default value of the parameter.
**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::ParamValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/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 friendly name of the parameter. The maximum length is 200 characters.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The friendly name of the parameter. The maximum length is 200 characters.
**Returns**

- (::String) --- Optional. The friendly name of the parameter. The maximum length is 200 characters.

### #is_required

    def is_required() -> ::Boolean

**Returns**

- (::Boolean) --- Required. Whether the parameter is required.

### #is_required=

    def is_required=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Required. Whether the parameter is required.
**Returns**

- (::Boolean) --- Required. Whether 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ParameterSpec)\>) --- Optional. The parameter specification for `oneOf` attributes.

### #sub_parameters=

    def sub_parameters=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec>

**Parameter**

- **value** (::Array\<[::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ParameterSpec)\>) --- Optional. The parameter specification for `oneOf` attributes.
**Returns**

- (::Array\<[::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ParameterSpec)\>) --- Optional. The parameter specification for `oneOf` attributes.

### #substitution_rules

    def substitution_rules() -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSubstitutionRule>

**Returns**

- (::Array\<[::Google::Cloud::CloudSecurityCompliance::V1::ParameterSubstitutionRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ParameterSubstitutionRule)\>) --- Optional. The list of parameter substitutions.

### #substitution_rules=

    def substitution_rules=(value) -> ::Array<::Google::Cloud::CloudSecurityCompliance::V1::ParameterSubstitutionRule>

**Parameter**

- **value** (::Array\<[::Google::Cloud::CloudSecurityCompliance::V1::ParameterSubstitutionRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ParameterSubstitutionRule)\>) --- Optional. The list of parameter substitutions.
**Returns**

- (::Array\<[::Google::Cloud::CloudSecurityCompliance::V1::ParameterSubstitutionRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ParameterSubstitutionRule)\>) --- Optional. The list of parameter substitutions.

### #validation

    def validation() -> ::Google::Cloud::CloudSecurityCompliance::V1::Validation

**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::Validation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Validation)) --- Optional. The permitted set of values for the parameter.

### #validation=

    def validation=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::Validation

**Parameter**

- **value** ([::Google::Cloud::CloudSecurityCompliance::V1::Validation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Validation)) --- Optional. The permitted set of values for the parameter.
**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::Validation](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-Validation)) --- Optional. The permitted set of values for the parameter.

### #value_type

    def value_type() -> ::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec::ValueType

**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec::ValueType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ParameterSpec-ValueType)) --- Required. The parameter value type.

### #value_type=

    def value_type=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec::ValueType

**Parameter**

- **value** ([::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec::ValueType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ParameterSpec-ValueType)) --- Required. The parameter value type.
**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::ParameterSpec::ValueType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-ParameterSpec-ValueType)) --- Required. The parameter value type.