Google Cloud Service Health V1 Client - Class Product (0.2.0)

Reference documentation and code samples for the Google Cloud Service Health V1 Client class Product.

Represents the Google Cloud product impacted by the event.

Generated from protobuf message google.cloud.servicehealth.v1.Product

Namespace

Google \ Cloud \ ServiceHealth \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ product_name string

Google Cloud product impacted by the event. Example: "Google Cloud SQL"

↳ id string

Unique identifier for the product.

getProductName

Google Cloud product impacted by the event. Example: "Google Cloud SQL"

Returns
Type Description
string

setProductName

Google Cloud product impacted by the event. Example: "Google Cloud SQL"

Parameter
Name Description
var string
Returns
Type Description
$this

getId

Unique identifier for the product.

Returns
Type Description
string

setId

Unique identifier for the product.

Parameter
Name Description
var string
Returns
Type Description
$this