Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class TargetResourceCreationConfig.
TargetResourceCreationConfig contains the config to create a new resource to be used as the target_resource of a deployment.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.TargetResourceCreationConfig
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ folder_creation_config |
FolderCreationConfig
Optional. Config to create a new folder to be used as the target_resource of a deployment. |
↳ project_creation_config |
ProjectCreationConfig
Optional. Config to create a new project to be used as the target_resource of a deployment. |
getFolderCreationConfig
Optional. Config to create a new folder to be used as the target_resource of a deployment.
| Returns | |
|---|---|
| Type | Description |
FolderCreationConfig|null |
|
hasFolderCreationConfig
setFolderCreationConfig
Optional. Config to create a new folder to be used as the target_resource of a deployment.
| Parameter | |
|---|---|
| Name | Description |
var |
FolderCreationConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProjectCreationConfig
Optional. Config to create a new project to be used as the target_resource of a deployment.
| Returns | |
|---|---|
| Type | Description |
ProjectCreationConfig|null |
|
hasProjectCreationConfig
setProjectCreationConfig
Optional. Config to create a new project to be used as the target_resource of a deployment.
| Parameter | |
|---|---|
| Name | Description |
var |
ProjectCreationConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResourceCreationConfig
| Returns | |
|---|---|
| Type | Description |
string |
|