public static final class EssentialContactsServiceGrpc.EssentialContactsServiceBlockingV2Stub extends AbstractBlockingStub<EssentialContactsServiceGrpc.EssentialContactsServiceBlockingV2Stub>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.EssentialContactsServiceBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected EssentialContactsServiceGrpc.EssentialContactsServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
EssentialContactsServiceGrpc.EssentialContactsServiceBlockingV2Stub |
|
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 | |
|---|---|
| Name | Description |
request |
ComputeContactsRequest |
| Returns | |
|---|---|
| Type | Description |
ComputeContactsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
createContact(CreateContactRequest request)
public Contact createContact(CreateContactRequest request)Adds a new contact for a resource.
| Parameter | |
|---|---|
| Name | Description |
request |
CreateContactRequest |
| Returns | |
|---|---|
| Type | Description |
Contact |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
deleteContact(DeleteContactRequest request)
public Empty deleteContact(DeleteContactRequest request)Deletes a contact.
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteContactRequest |
| Returns | |
|---|---|
| Type | Description |
Empty |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getContact(GetContactRequest request)
public Contact getContact(GetContactRequest request)Gets a single contact.
| Parameter | |
|---|---|
| Name | Description |
request |
GetContactRequest |
| Returns | |
|---|---|
| Type | Description |
Contact |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listContacts(ListContactsRequest request)
public ListContactsResponse listContacts(ListContactsRequest request)Lists the contacts that have been set on a resource.
| Parameter | |
|---|---|
| Name | Description |
request |
ListContactsRequest |
| Returns | |
|---|---|
| Type | Description |
ListContactsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
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 | |
|---|---|
| Name | Description |
request |
SendTestMessageRequest |
| Returns | |
|---|---|
| Type | Description |
Empty |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
updateContact(UpdateContactRequest request)
public Contact updateContact(UpdateContactRequest request)Updates a contact. Note: A contact's email address cannot be changed.
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateContactRequest |
| Returns | |
|---|---|
| Type | Description |
Contact |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|