Reference documentation and code samples for the Google Cloud Design Center V1 Client class AssetDetails.
Details of a Cloud Asset Inventory asset that caused the finding.
Generated from protobuf message google.cloud.designcenter.v1.AssetDetails
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ asset_id |
string
Required. Information about the Cloud Asset Inventory asset that the framework is assessed against. The full resource name of the asset in CAIS format. For details about the format of the full resource name for each asset type, see Resource name format. |
↳ asset_type |
string
Optional. The type of Cloud Asset Inventory asset. For a list of asset types, see Supported asset types. |
getAssetId
Required. Information about the Cloud Asset Inventory asset that the framework is assessed against. The full resource name of the asset in CAIS format.
For details about the format of the full resource name for each asset type, see Resource name format.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAssetId
Required. Information about the Cloud Asset Inventory asset that the framework is assessed against. The full resource name of the asset in CAIS format.
For details about the format of the full resource name for each asset type, see Resource name format.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAssetType
Optional. The type of Cloud Asset Inventory asset. For a list of asset types, see Supported asset types.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAssetType
Optional. The type of Cloud Asset Inventory asset. For a list of asset types, see Supported asset types.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|