Class ServiceHealthGrpc.ServiceHealthBlockingStub (0.9.0)

public static final class ServiceHealthGrpc.ServiceHealthBlockingStub extends AbstractBlockingStub<ServiceHealthGrpc.ServiceHealthBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > ServiceHealthGrpc.ServiceHealthBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected ServiceHealthGrpc.ServiceHealthBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ServiceHealthGrpc.ServiceHealthBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getEvent(GetEventRequest request)

public Event getEvent(GetEventRequest request)

Retrieves a resource containing information about an event.

Parameter
Name Description
request GetEventRequest
Returns
Type Description
Event

getOrganizationEvent(GetOrganizationEventRequest request)

public OrganizationEvent getOrganizationEvent(GetOrganizationEventRequest request)

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

Parameter
Name Description
request GetOrganizationEventRequest
Returns
Type Description
OrganizationEvent

getOrganizationImpact(GetOrganizationImpactRequest request)

public 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
OrganizationImpact

listEvents(ListEventsRequest request)

public ListEventsResponse listEvents(ListEventsRequest request)

Lists events under a given project and location.

Parameter
Name Description
request ListEventsRequest
Returns
Type Description
ListEventsResponse

listOrganizationEvents(ListOrganizationEventsRequest request)

public ListOrganizationEventsResponse listOrganizationEvents(ListOrganizationEventsRequest request)

Lists organization events under a given organization and location.

Parameter
Name Description
request ListOrganizationEventsRequest
Returns
Type Description
ListOrganizationEventsResponse

listOrganizationImpacts(ListOrganizationImpactsRequest request)

public ListOrganizationImpactsResponse listOrganizationImpacts(ListOrganizationImpactsRequest request)

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

Parameter
Name Description
request ListOrganizationImpactsRequest
Returns
Type Description
ListOrganizationImpactsResponse