ProjectsContacts
class ProjectsContacts extends Resource (View source)
The "contacts" collection of methods.
Typical usage is:
$essentialcontactsService = new Google\Service\Essentialcontacts(...);
$contacts = $essentialcontactsService->projects_contacts;
Methods
Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources. (contacts.compute)
Adds a new contact for a resource. (contacts.create)
Deletes a contact. (contacts.delete)
Gets a single contact. (contacts.get)
Lists the contacts that have been set on a resource.
Updates a contact. Note: A contact's email address cannot be changed.
Allows a contact admin to send a test message to contact to verify that it has been configured correctly. (contacts.sendTestMessage)
Details
GoogleCloudEssentialcontactsV1ComputeContactsResponse
compute(string $parent, array $optParams = [])
Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources. (contacts.compute)
GoogleCloudEssentialcontactsV1Contact
create(string $parent, GoogleCloudEssentialcontactsV1Contact $postBody, array $optParams = [])
Adds a new contact for a resource. (contacts.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes a contact. (contacts.delete)
GoogleCloudEssentialcontactsV1Contact
get(string $name, array $optParams = [])
Gets a single contact. (contacts.get)
GoogleCloudEssentialcontactsV1ListContactsResponse
listProjectsContacts(string $parent, array $optParams = [])
Lists the contacts that have been set on a resource.
(contacts.listProjectsContacts)
GoogleCloudEssentialcontactsV1Contact
patch(string $name, GoogleCloudEssentialcontactsV1Contact $postBody, array $optParams = [])
Updates a contact. Note: A contact's email address cannot be changed.
(contacts.patch)
GoogleProtobufEmpty
sendTestMessage(string $resource, GoogleCloudEssentialcontactsV1SendTestMessageRequest $postBody, array $optParams = [])
Allows a contact admin to send a test message to contact to verify that it has been configured correctly. (contacts.sendTestMessage)