Class ServiceHealthGrpc.ServiceHealthStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ServiceHealthGrpc.ServiceHealthStub>
com.google.cloud.servicehealth.v1.ServiceHealthGrpc.ServiceHealthStub
- Enclosing class:
- ServiceHealthGrpc
public static final class ServiceHealthGrpc.ServiceHealthStub
extends io.grpc.stub.AbstractAsyncStub<ServiceHealthGrpc.ServiceHealthStub>
A stub to allow clients to do asynchronous rpc calls to service ServiceHealth.
Request service health events relevant to your Google Cloud project.
-
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 TypeMethodDescriptionprotected ServiceHealthGrpc.ServiceHealthStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidgetEvent(GetEventRequest request, io.grpc.stub.StreamObserver<Event> responseObserver) Retrieves a resource containing information about an event.voidgetOrganizationEvent(GetOrganizationEventRequest request, io.grpc.stub.StreamObserver<OrganizationEvent> responseObserver) Retrieves a resource containing information about an event affecting an organization .voidgetOrganizationImpact(GetOrganizationImpactRequest request, io.grpc.stub.StreamObserver<OrganizationImpact> responseObserver) Retrieves a resource containing information about impact to an asset under an organization affected by a service health event.voidlistEvents(ListEventsRequest request, io.grpc.stub.StreamObserver<ListEventsResponse> responseObserver) Lists events under a given project and location.voidlistOrganizationEvents(ListOrganizationEventsRequest request, io.grpc.stub.StreamObserver<ListOrganizationEventsResponse> responseObserver) Lists organization events under a given organization and location.voidlistOrganizationImpacts(ListOrganizationImpactsRequest request, io.grpc.stub.StreamObserver<ListOrganizationImpactsResponse> responseObserver) Lists assets impacted by organization events under a given organization and location.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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 ServiceHealthGrpc.ServiceHealthStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ServiceHealthGrpc.ServiceHealthStub>
-
listEvents
public void listEvents(ListEventsRequest request, io.grpc.stub.StreamObserver<ListEventsResponse> responseObserver) Lists events under a given project and location.
-
getEvent
Retrieves a resource containing information about an event.
-
listOrganizationEvents
public void listOrganizationEvents(ListOrganizationEventsRequest request, io.grpc.stub.StreamObserver<ListOrganizationEventsResponse> responseObserver) Lists organization events under a given organization and location.
-
getOrganizationEvent
public void getOrganizationEvent(GetOrganizationEventRequest request, io.grpc.stub.StreamObserver<OrganizationEvent> responseObserver) Retrieves a resource containing information about an event affecting an organization .
-
listOrganizationImpacts
public void listOrganizationImpacts(ListOrganizationImpactsRequest request, io.grpc.stub.StreamObserver<ListOrganizationImpactsResponse> responseObserver) Lists assets impacted by organization events under a given organization and location.
-
getOrganizationImpact
public void getOrganizationImpact(GetOrganizationImpactRequest request, io.grpc.stub.StreamObserver<OrganizationImpact> responseObserver) Retrieves a resource containing information about impact to an asset under an organization affected by a service health event.
-