Google Cloud Security Command Center V1 Client - Class Contact (1.20.2)

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

The email address of a contact.

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

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setEmail

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this