google-cloud-essential-contacts overview (2.3.2)

Stay organized with collections Save and categorize content based on your preferences.

The interfaces provided are listed below, along with usage samples.


Service Description: Manages contacts for important Google Cloud notifications.

Sample for EssentialContactsServiceClient:

 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 try (EssentialContactsServiceClient essentialContactsServiceClient =
     EssentialContactsServiceClient.create()) {
   FolderName parent = FolderName.of("[FOLDER]");
   Contact contact = Contact.newBuilder().build();
   Contact response = essentialContactsServiceClient.createContact(parent, contact);