Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class AttributeSubstitutionRule.
Attribute at the given path is substituted entirely.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.AttributeSubstitutionRule
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ attribute |
string
Fully qualified proto attribute path (in dot notation). Example: rules[0].cel_expression.resource_types_values |
getAttribute
Fully qualified proto attribute path (in dot notation).
Example: rules[0].cel_expression.resource_types_values
Returns | |
---|---|
Type | Description |
string |
setAttribute
Fully qualified proto attribute path (in dot notation).
Example: rules[0].cel_expression.resource_types_values
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |