Class ServiceHealthGrpc.ServiceHealthBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ServiceHealthGrpc.ServiceHealthBlockingV2Stub>
com.google.cloud.servicehealth.v1.ServiceHealthGrpc.ServiceHealthBlockingV2Stub
- Enclosing class:
- ServiceHealthGrpc
public static final class ServiceHealthGrpc.ServiceHealthBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<ServiceHealthGrpc.ServiceHealthBlockingV2Stub>
A stub to allow clients to do synchronous 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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) getEvent(GetEventRequest request) Retrieves a resource containing information about an event.Retrieves a resource containing information about an event affecting an organization .Retrieves a resource containing information about impact to an asset under an organization affected by a service health event.listEvents(ListEventsRequest request) Lists events under a given project and location.Lists organization events under a given organization and location.Lists assets impacted by organization events under a given organization and location.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 ServiceHealthGrpc.ServiceHealthBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ServiceHealthGrpc.ServiceHealthBlockingV2Stub>
-
listEvents
Lists events under a given project and location.
- Throws:
io.grpc.StatusException
-
getEvent
Retrieves a resource containing information about an event.
- Throws:
io.grpc.StatusException
-
listOrganizationEvents
public ListOrganizationEventsResponse listOrganizationEvents(ListOrganizationEventsRequest request) throws io.grpc.StatusException Lists organization events under a given organization and location.
- Throws:
io.grpc.StatusException
-
getOrganizationEvent
public OrganizationEvent getOrganizationEvent(GetOrganizationEventRequest request) throws io.grpc.StatusException Retrieves a resource containing information about an event affecting an organization .
- Throws:
io.grpc.StatusException
-
listOrganizationImpacts
public ListOrganizationImpactsResponse listOrganizationImpacts(ListOrganizationImpactsRequest request) throws io.grpc.StatusException Lists assets impacted by organization events under a given organization and location.
- Throws:
io.grpc.StatusException
-
getOrganizationImpact
public OrganizationImpact getOrganizationImpact(GetOrganizationImpactRequest request) throws io.grpc.StatusException Retrieves a resource containing information about impact to an asset under an organization affected by a service health event.
- Throws:
io.grpc.StatusException
-