Reference documentation and code samples for the Google Cloud Service Health V1 Client class Asset.
Represents the asset impacted by the events.
Generated from protobuf message google.cloud.servicehealth.v1.Asset
Namespace
Google \ Cloud \ ServiceHealth \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ asset_name |
string
Output only. Full name of the resource as defined in Resource Names. |
↳ asset_type |
string
Output only. Type of the asset. Example: |
getAssetName
Output only. Full name of the resource as defined in Resource Names.
Returns | |
---|---|
Type | Description |
string |
setAssetName
Output only. Full name of the resource as defined in Resource Names.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAssetType
Output only. Type of the asset. Example:
"cloudresourcemanager.googleapis.com/Project"
Returns | |
---|---|
Type | Description |
string |
setAssetType
Output only. Type of the asset. Example:
"cloudresourcemanager.googleapis.com/Project"
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |