Class ServiceHealthGrpc.ServiceHealthFutureStub (0.3.0)

public static final class ServiceHealthGrpc.ServiceHealthFutureStub extends AbstractFutureStub<ServiceHealthGrpc.ServiceHealthFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > ServiceHealthGrpc.ServiceHealthFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

getEvent(GetEventRequest request)

public ListenableFuture<Event> getEvent(GetEventRequest request)

Retrieves a resource containing information about an event.

Parameter
NameDescription
requestGetEventRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Event>

getOrganizationEvent(GetOrganizationEventRequest request)

public ListenableFuture<OrganizationEvent> getOrganizationEvent(GetOrganizationEventRequest request)

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

Parameter
NameDescription
requestGetOrganizationEventRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<OrganizationEvent>

getOrganizationImpact(GetOrganizationImpactRequest request)

public ListenableFuture<OrganizationImpact> getOrganizationImpact(GetOrganizationImpactRequest request)

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

Parameter
NameDescription
requestGetOrganizationImpactRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<OrganizationImpact>

listEvents(ListEventsRequest request)

public ListenableFuture<ListEventsResponse> listEvents(ListEventsRequest request)

Lists events under a given project and location.

Parameter
NameDescription
requestListEventsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListEventsResponse>

listOrganizationEvents(ListOrganizationEventsRequest request)

public ListenableFuture<ListOrganizationEventsResponse> listOrganizationEvents(ListOrganizationEventsRequest request)

Lists organization events under a given organization and location.

Parameter
NameDescription
requestListOrganizationEventsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListOrganizationEventsResponse>

listOrganizationImpacts(ListOrganizationImpactsRequest request)

public ListenableFuture<ListOrganizationImpactsResponse> listOrganizationImpacts(ListOrganizationImpactsRequest request)

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

Parameter
NameDescription
requestListOrganizationImpactsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListOrganizationImpactsResponse>