Service Health v1 API - Class ServiceHealth.ServiceHealthBase (1.0.0-beta02)

[BindServiceMethod(typeof(ServiceHealth), "BindService")]
public abstract class ServiceHealth.ServiceHealthBase

Reference documentation and code samples for the Service Health v1 API class ServiceHealth.ServiceHealthBase.

Base class for server-side implementations of ServiceHealth

Inheritance

object > ServiceHealth.ServiceHealthBase

Namespace

Google.Cloud.ServiceHealth.V1

Assembly

Google.Cloud.ServiceHealth.V1.dll

Methods

GetEvent(GetEventRequest, ServerCallContext)

public virtual Task<Event> GetEvent(GetEventRequest request, ServerCallContext context)

Retrieves a resource containing information about an event.

Parameters
NameDescription
requestGetEventRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskEvent

The response to send back to the client (wrapped by a task).

GetOrganizationEvent(GetOrganizationEventRequest, ServerCallContext)

public virtual Task<OrganizationEvent> GetOrganizationEvent(GetOrganizationEventRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestGetOrganizationEventRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOrganizationEvent

The response to send back to the client (wrapped by a task).

GetOrganizationImpact(GetOrganizationImpactRequest, ServerCallContext)

public virtual Task<OrganizationImpact> GetOrganizationImpact(GetOrganizationImpactRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestGetOrganizationImpactRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOrganizationImpact

The response to send back to the client (wrapped by a task).

ListEvents(ListEventsRequest, ServerCallContext)

public virtual Task<ListEventsResponse> ListEvents(ListEventsRequest request, ServerCallContext context)

Lists events under a given project and location.

Parameters
NameDescription
requestListEventsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListEventsResponse

The response to send back to the client (wrapped by a task).

ListOrganizationEvents(ListOrganizationEventsRequest, ServerCallContext)

public virtual Task<ListOrganizationEventsResponse> ListOrganizationEvents(ListOrganizationEventsRequest request, ServerCallContext context)

Lists organization events under a given organization and location.

Parameters
NameDescription
requestListOrganizationEventsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListOrganizationEventsResponse

The response to send back to the client (wrapped by a task).

ListOrganizationImpacts(ListOrganizationImpactsRequest, ServerCallContext)

public virtual Task<ListOrganizationImpactsResponse> ListOrganizationImpacts(ListOrganizationImpactsRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestListOrganizationImpactsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListOrganizationImpactsResponse

The response to send back to the client (wrapped by a task).