Google Cloud Security Compliance V1 Client - Class TargetResourceConfig (0.2.0)

Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class TargetResourceConfig.

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

Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.TargetResourceConfig

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ existing_target_resource string

Optional. The resource hierarchy node, in one of the following formats: - organizations/{organizationID} - folders/{folderID} - projects/{projectID}

↳ target_resource_creation_config TargetResourceCreationConfig

Optional. The details that are required to create a resource and use that resource as the target resource for deployment.

getExistingTargetResource

Optional. The resource hierarchy node, in one of the following formats:

  • organizations/{organizationID}
  • folders/{folderID}
  • projects/{projectID}
Returns
Type Description
string

hasExistingTargetResource

setExistingTargetResource

Optional. The resource hierarchy node, in one of the following formats:

  • organizations/{organizationID}
  • folders/{folderID}
  • projects/{projectID}
Parameter
Name Description
var string
Returns
Type Description
$this

getTargetResourceCreationConfig

Optional. The details that are required to create a resource and use that resource as the target resource for deployment.

Returns
Type Description
TargetResourceCreationConfig|null

hasTargetResourceCreationConfig

setTargetResourceCreationConfig

Optional. The details that are required to create a resource and use that resource as the target resource for deployment.

Parameter
Name Description
var TargetResourceCreationConfig
Returns
Type Description
$this

getResourceConfig

Returns
Type Description
string