Class ServiceHealthGrpc.ServiceHealthStub (0.11.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request GetEventRequest
responseObserver io.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
Name Description
request GetOrganizationEventRequest
responseObserver io.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
Name Description
request GetOrganizationImpactRequest
responseObserver io.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
Name Description
request ListEventsRequest
responseObserver io.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
Name Description
request ListOrganizationEventsRequest
responseObserver io.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
Name Description
request ListOrganizationImpactsRequest
responseObserver io.grpc.stub.StreamObserver<ListOrganizationImpactsResponse>