Class EssentialContactsServiceGrpc.EssentialContactsServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<EssentialContactsServiceGrpc.EssentialContactsServiceBlockingV2Stub>
com.google.cloud.essentialcontacts.v1.EssentialContactsServiceGrpc.EssentialContactsServiceBlockingV2Stub
- Enclosing class:
- EssentialContactsServiceGrpc
public static final class EssentialContactsServiceGrpc.EssentialContactsServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<EssentialContactsServiceGrpc.EssentialContactsServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service EssentialContactsService.
Manages contacts for important Google Cloud notifications.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) computeContacts(ComputeContactsRequest request) Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.createContact(CreateContactRequest request) Adds a new contact for a resource.com.google.protobuf.EmptydeleteContact(DeleteContactRequest request) Deletes a contact.getContact(GetContactRequest request) Gets a single contact.listContacts(ListContactsRequest request) Lists the contacts that have been set on a resource.com.google.protobuf.EmptysendTestMessage(SendTestMessageRequest request) Allows a contact admin to send a test message to contact to verify that it has been configured correctly.updateContact(UpdateContactRequest request) Updates a contact.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected EssentialContactsServiceGrpc.EssentialContactsServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EssentialContactsServiceGrpc.EssentialContactsServiceBlockingV2Stub>
-
createContact
Adds a new contact for a resource.
- Throws:
io.grpc.StatusException
-
updateContact
Updates a contact. Note: A contact's email address cannot be changed.
- Throws:
io.grpc.StatusException
-
listContacts
public ListContactsResponse listContacts(ListContactsRequest request) throws io.grpc.StatusException Lists the contacts that have been set on a resource.
- Throws:
io.grpc.StatusException
-
getContact
Gets a single contact.
- Throws:
io.grpc.StatusException
-
deleteContact
public com.google.protobuf.Empty deleteContact(DeleteContactRequest request) throws io.grpc.StatusException Deletes a contact.
- Throws:
io.grpc.StatusException
-
computeContacts
public ComputeContactsResponse computeContacts(ComputeContactsRequest request) throws io.grpc.StatusException Lists all contacts for the resource that are subscribed to the specified notification categories, including contacts inherited from any parent resources.
- Throws:
io.grpc.StatusException
-
sendTestMessage
public com.google.protobuf.Empty sendTestMessage(SendTestMessageRequest request) throws io.grpc.StatusException Allows a contact admin to send a test message to contact to verify that it has been configured correctly.
- Throws:
io.grpc.StatusException
-