# Class TargetResourceConfig (0.8.0)

0.8.0 (latest) 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    TargetResourceConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The name of the target resource or the configuration that's
required to create a new target resource.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `existing_target_resource` | `str` Optional. The resource hierarchy node, in one of the following formats: - `organizations/{organizationID}` - `folders/{folderID}` - `projects/{projectID}` This field is a member of `oneof`_ `resource_config`. |
| `target_resource_creation_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-cloudsecuritycompliance/latest/google.cloud.cloudsecuritycompliance_v1.types.TargetResourceCreationConfig` Optional. The details that are required to create a resource and use that resource as the target resource for deployment. This field is a member of `oneof`_ `resource_config`. |