Reference documentation and code samples for the Google Cloud Design Center V1 Client class GenerateTerraformPlanAssessmentReportRequest.
Message for the request to generate a best practice report for a given Terraform plan at the collection level.
Generated from protobuf message google.cloud.designcenter.v1.GenerateTerraformPlanAssessmentReportRequest
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space |
↳ terraform_plan |
string
Required. The raw JSON representation of the generated Terraform plan, provided as bytes. |
↳ additional_frameworks |
string[]
Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies. |
getName
Required. The parent resource in which to generate the assessment report.
Format: projects/$project/locations/$location/spaces/$space
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The parent resource in which to generate the assessment report.
Format: projects/$project/locations/$location/spaces/$space
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTerraformPlan
Required. The raw JSON representation of the generated Terraform plan, provided as bytes.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTerraformPlan
Required. The raw JSON representation of the generated Terraform plan, provided as bytes.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAdditionalFrameworks
Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setAdditionalFrameworks
Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
name |
string
Required. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space Please see DesignCenterClient::spaceName() for help formatting this field. |
terraformPlan |
string
Required. The raw JSON representation of the generated Terraform plan, provided as bytes. |
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest |
|