# Cloud Security Compliance V1 API - Class Google::Cloud::CloudSecurityCompliance::V1::ParameterSubstitutionRule (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::ParameterSubstitutionRule.

The parameter substitution rules.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #attribute_substitution_rule

    def attribute_substitution_rule() -> ::Google::Cloud::CloudSecurityCompliance::V1::AttributeSubstitutionRule

**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::AttributeSubstitutionRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-AttributeSubstitutionRule)) --- The attribute substitution rule.


  Note: The following fields are mutually exclusive: `attribute_substitution_rule`, `placeholder_substitution_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #attribute_substitution_rule=

    def attribute_substitution_rule=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::AttributeSubstitutionRule

**Parameter**

- **value** ([::Google::Cloud::CloudSecurityCompliance::V1::AttributeSubstitutionRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-AttributeSubstitutionRule)) --- The attribute substitution rule.


  Note: The following fields are mutually exclusive: `attribute_substitution_rule`, `placeholder_substitution_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::AttributeSubstitutionRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-AttributeSubstitutionRule)) --- The attribute substitution rule.


  Note: The following fields are mutually exclusive: `attribute_substitution_rule`, `placeholder_substitution_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #placeholder_substitution_rule

    def placeholder_substitution_rule() -> ::Google::Cloud::CloudSecurityCompliance::V1::PlaceholderSubstitutionRule

**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::PlaceholderSubstitutionRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-PlaceholderSubstitutionRule)) --- The placeholder substitution rule.


  Note: The following fields are mutually exclusive: `placeholder_substitution_rule`, `attribute_substitution_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #placeholder_substitution_rule=

    def placeholder_substitution_rule=(value) -> ::Google::Cloud::CloudSecurityCompliance::V1::PlaceholderSubstitutionRule

**Parameter**

- **value** ([::Google::Cloud::CloudSecurityCompliance::V1::PlaceholderSubstitutionRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-PlaceholderSubstitutionRule)) --- The placeholder substitution rule.


  Note: The following fields are mutually exclusive: `placeholder_substitution_rule`, `attribute_substitution_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::CloudSecurityCompliance::V1::PlaceholderSubstitutionRule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_security_compliance-v1/latest/Google-Cloud-CloudSecurityCompliance-V1-PlaceholderSubstitutionRule)) --- The placeholder substitution rule.


  Note: The following fields are mutually exclusive: `placeholder_substitution_rule`, `attribute_substitution_rule`. If a field in that set is populated, all other fields in the set will automatically be cleared.