Google Cloud Service Health V1 Client - Class Asset (0.1.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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: "cloudresourcemanager.googleapis.com/Project"

getAssetName

Output only. Full name of the resource as defined in Resource Names.

Returns
TypeDescription
string

setAssetName

Output only. Full name of the resource as defined in Resource Names.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAssetType

Output only. Type of the asset. Example: "cloudresourcemanager.googleapis.com/Project"

Returns
TypeDescription
string

setAssetType

Output only. Type of the asset. Example: "cloudresourcemanager.googleapis.com/Project"

Parameter
NameDescription
var string
Returns
TypeDescription
$this