Google Cloud Security Command Center V2 Client - Class Contact (1.29.0)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class Contact.

The email address of a contact.

Generated from protobuf message google.cloud.securitycenter.v2.Contact

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ email string

An email address. For example, "person123@company.com".

getEmail

An email address. For example, "person123@company.com".

Returns
Type Description
string

setEmail

An email address. For example, "person123@company.com".

Parameter
Name Description
var string
Returns
Type Description
$this