Class ServiceHealthGrpc.ServiceHealthBlockingStub (0.7.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestGetEventRequest
Returns
TypeDescription
Event

getOrganizationEvent(GetOrganizationEventRequest request)

public OrganizationEvent getOrganizationEvent(GetOrganizationEventRequest request)

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

Parameter
NameDescription
requestGetOrganizationEventRequest
Returns
TypeDescription
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
NameDescription
requestGetOrganizationImpactRequest
Returns
TypeDescription
OrganizationImpact

listEvents(ListEventsRequest request)

public ListEventsResponse listEvents(ListEventsRequest request)

Lists events under a given project and location.

Parameter
NameDescription
requestListEventsRequest
Returns
TypeDescription
ListEventsResponse

listOrganizationEvents(ListOrganizationEventsRequest request)

public ListOrganizationEventsResponse listOrganizationEvents(ListOrganizationEventsRequest request)

Lists organization events under a given organization and location.

Parameter
NameDescription
requestListOrganizationEventsRequest
Returns
TypeDescription
ListOrganizationEventsResponse

listOrganizationImpacts(ListOrganizationImpactsRequest request)

public ListOrganizationImpactsResponse listOrganizationImpacts(ListOrganizationImpactsRequest request)

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

Parameter
NameDescription
requestListOrganizationImpactsRequest
Returns
TypeDescription
ListOrganizationImpactsResponse