Class EssentialContactsServiceGrpc.EssentialContactsServiceBlockingStub (2.34.0)

public static final class EssentialContactsServiceGrpc.EssentialContactsServiceBlockingStub extends AbstractBlockingStub<EssentialContactsServiceGrpc.EssentialContactsServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service EssentialContactsService.

Manages contacts for important Google Cloud notifications.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > EssentialContactsServiceGrpc.EssentialContactsServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected EssentialContactsServiceGrpc.EssentialContactsServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
EssentialContactsServiceGrpc.EssentialContactsServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

computeContacts(ComputeContactsRequest request)

public ComputeContactsResponse computeContacts(ComputeContactsRequest request)

Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.

Parameter
NameDescription
requestComputeContactsRequest
Returns
TypeDescription
ComputeContactsResponse

createContact(CreateContactRequest request)

public Contact createContact(CreateContactRequest request)

Adds a new contact for a resource.

Parameter
NameDescription
requestCreateContactRequest
Returns
TypeDescription
Contact

deleteContact(DeleteContactRequest request)

public Empty deleteContact(DeleteContactRequest request)

Deletes a contact.

Parameter
NameDescription
requestDeleteContactRequest
Returns
TypeDescription
Empty

getContact(GetContactRequest request)

public Contact getContact(GetContactRequest request)

Gets a single contact.

Parameter
NameDescription
requestGetContactRequest
Returns
TypeDescription
Contact

listContacts(ListContactsRequest request)

public ListContactsResponse listContacts(ListContactsRequest request)

Lists the contacts that have been set on a resource.

Parameter
NameDescription
requestListContactsRequest
Returns
TypeDescription
ListContactsResponse

sendTestMessage(SendTestMessageRequest request)

public Empty sendTestMessage(SendTestMessageRequest request)

Allows a contact admin to send a test message to contact to verify that it has been configured correctly.

Parameter
NameDescription
requestSendTestMessageRequest
Returns
TypeDescription
Empty

updateContact(UpdateContactRequest request)

public Contact updateContact(UpdateContactRequest request)

Updates a contact. Note: A contact's email address cannot be changed.

Parameter
NameDescription
requestUpdateContactRequest
Returns
TypeDescription
Contact