Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Contact.
Representa a single contact's email address
Generated from protobuf message google.cloud.securitycenter.v1.Contact
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ email |
string
An email address e.g. "person123@company.com" |
getEmail
An email address e.g. "person123@company.com"
Generated from protobuf field string email = 1;
| Returns | |
|---|---|
| Type | Description |
string |
|
setEmail
An email address e.g. "person123@company.com"
Generated from protobuf field string email = 1;
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|