Class ServiceHealthGrpc.ServiceHealthFutureStub (0.21.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request GetEventRequest
Returns
Type Description
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
Name Description
request GetOrganizationEventRequest
Returns
Type Description
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
Name Description
request GetOrganizationImpactRequest
Returns
Type Description
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
Name Description
request ListEventsRequest
Returns
Type Description
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
Name Description
request ListOrganizationEventsRequest
Returns
Type Description
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
Name Description
request ListOrganizationImpactsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListOrganizationImpactsResponse>