Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class TargetResourceDetails.
The details for a target resource.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.TargetResourceDetails
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ framework_deployment |
string
The framework deployment name for the target resource. For example, |
↳ target_resource_display_name |
string
The display name of the target resource. For example, |
↳ target_resource |
string
The target resource. For example, |
↳ create_time |
Google\Protobuf\Timestamp
The create time of the target resource. |
↳ update_time |
Google\Protobuf\Timestamp
The update time of the target resource. |
↳ major_revision_id |
int|string
The major revision ID of the framework for the target resource. |
↳ minor_revision_id |
int|string
The minor revision ID of the framework for the target resource. |
getFrameworkDeployment
The framework deployment name for the target resource.
For example,
organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setFrameworkDeployment
The framework deployment name for the target resource.
For example,
organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTargetResourceDisplayName
The display name of the target resource. For example, google.com,
staging-project, or development-folder.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTargetResourceDisplayName
The display name of the target resource. For example, google.com,
staging-project, or development-folder.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTargetResource
The target resource. For example, organizations/1234567890,
projects/1234567890, or folders/1234567890.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTargetResource
The target resource. For example, organizations/1234567890,
projects/1234567890, or folders/1234567890.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
The create time of the target resource.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
The create time of the target resource.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
The update time of the target resource.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
The update time of the target resource.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMajorRevisionId
The major revision ID of the framework for the target resource.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setMajorRevisionId
The major revision ID of the framework for the target resource.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMinorRevisionId
The minor revision ID of the framework for the target resource.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setMinorRevisionId
The minor revision ID of the framework for the target resource.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|