Class ServiceHealthGrpc.ServiceHealthStub (0.1.0)

public static final class ServiceHealthGrpc.ServiceHealthStub extends 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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ServiceHealthGrpc.ServiceHealthStub

Methods

build(Channel channel, CallOptions callOptions)

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

getEvent(GetEventRequest request, StreamObserver<Event> responseObserver)

public void getEvent(GetEventRequest request, StreamObserver<Event> responseObserver)

Retrieves a resource containing information about an event.

Parameters
NameDescription
requestGetEventRequest
responseObserverio.grpc.stub.StreamObserver<Event>

getOrganizationEvent(GetOrganizationEventRequest request, StreamObserver<OrganizationEvent> responseObserver)

public void getOrganizationEvent(GetOrganizationEventRequest request, StreamObserver<OrganizationEvent> responseObserver)

Retrieves a resource containing information about an event affecting an organization .

Parameters
NameDescription
requestGetOrganizationEventRequest
responseObserverio.grpc.stub.StreamObserver<OrganizationEvent>

getOrganizationImpact(GetOrganizationImpactRequest request, StreamObserver<OrganizationImpact> responseObserver)

public void getOrganizationImpact(GetOrganizationImpactRequest request, StreamObserver<OrganizationImpact> responseObserver)

Retrieves a resource containing information about impact to an asset under an organization affected by a service health event.

Parameters
NameDescription
requestGetOrganizationImpactRequest
responseObserverio.grpc.stub.StreamObserver<OrganizationImpact>

listEvents(ListEventsRequest request, StreamObserver<ListEventsResponse> responseObserver)

public void listEvents(ListEventsRequest request, StreamObserver<ListEventsResponse> responseObserver)

Lists events under a given project and location.

Parameters
NameDescription
requestListEventsRequest
responseObserverio.grpc.stub.StreamObserver<ListEventsResponse>

listOrganizationEvents(ListOrganizationEventsRequest request, StreamObserver<ListOrganizationEventsResponse> responseObserver)

public void listOrganizationEvents(ListOrganizationEventsRequest request, StreamObserver<ListOrganizationEventsResponse> responseObserver)

Lists organization events under a given organization and location.

Parameters
NameDescription
requestListOrganizationEventsRequest
responseObserverio.grpc.stub.StreamObserver<ListOrganizationEventsResponse>

listOrganizationImpacts(ListOrganizationImpactsRequest request, StreamObserver<ListOrganizationImpactsResponse> responseObserver)

public void listOrganizationImpacts(ListOrganizationImpactsRequest request, StreamObserver<ListOrganizationImpactsResponse> responseObserver)

Lists assets impacted by organization events under a given organization and location.

Parameters
NameDescription
requestListOrganizationImpactsRequest
responseObserverio.grpc.stub.StreamObserver<ListOrganizationImpactsResponse>