google-cloud-essential-contacts overview (2.2.0)

com.google.cloud.essentialcontacts.v1

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

EssentialContactsServiceClient

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);
 }
 

com.google.cloud.essentialcontacts.v1.stub