Service Health v1 API - Class ServiceHealth.ServiceHealthBase (1.3.0)

[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
Name Description
request GetEventRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetOrganizationEventRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetOrganizationImpactRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListEventsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListOrganizationEventsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request ListOrganizationImpactsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListOrganizationImpactsResponse

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