Service Health v1 API - Class ServiceHealthClientImpl (1.0.0-beta02)

public sealed class ServiceHealthClientImpl : ServiceHealthClient

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

ServiceHealth client wrapper implementation, for convenient use.

Inheritance

object > ServiceHealthClient > ServiceHealthClientImpl

Namespace

Google.Cloud.ServiceHealth.V1

Assembly

Google.Cloud.ServiceHealth.V1.dll

Remarks

Request service health events relevant to your Google Cloud project.

Constructors

ServiceHealthClientImpl(ServiceHealthClient, ServiceHealthSettings, ILogger)

public ServiceHealthClientImpl(ServiceHealth.ServiceHealthClient grpcClient, ServiceHealthSettings settings, ILogger logger)

Constructs a client wrapper for the ServiceHealth service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientServiceHealthServiceHealthClient

The underlying gRPC client.

settingsServiceHealthSettings

The base ServiceHealthSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ServiceHealth.ServiceHealthClient GrpcClient { get; }

The underlying gRPC ServiceHealth client

Property Value
TypeDescription
ServiceHealthServiceHealthClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

GetEvent(GetEventRequest, CallSettings)

public override Event GetEvent(GetEventRequest request, CallSettings callSettings = null)

Retrieves a resource containing information about an event.

Parameters
NameDescription
requestGetEventRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Event

The RPC response.

Overrides

GetEventAsync(GetEventRequest, CallSettings)

public override Task<Event> GetEventAsync(GetEventRequest request, CallSettings callSettings = null)

Retrieves a resource containing information about an event.

Parameters
NameDescription
requestGetEventRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEvent

A Task containing the RPC response.

Overrides

GetOrganizationEvent(GetOrganizationEventRequest, CallSettings)

public override OrganizationEvent GetOrganizationEvent(GetOrganizationEventRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetOrganizationEventRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OrganizationEvent

The RPC response.

Overrides

GetOrganizationEventAsync(GetOrganizationEventRequest, CallSettings)

public override Task<OrganizationEvent> GetOrganizationEventAsync(GetOrganizationEventRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetOrganizationEventRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOrganizationEvent

A Task containing the RPC response.

Overrides

GetOrganizationImpact(GetOrganizationImpactRequest, CallSettings)

public override OrganizationImpact GetOrganizationImpact(GetOrganizationImpactRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetOrganizationImpactRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OrganizationImpact

The RPC response.

Overrides

GetOrganizationImpactAsync(GetOrganizationImpactRequest, CallSettings)

public override Task<OrganizationImpact> GetOrganizationImpactAsync(GetOrganizationImpactRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetOrganizationImpactRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOrganizationImpact

A Task containing the RPC response.

Overrides

ListEvents(ListEventsRequest, CallSettings)

public override PagedEnumerable<ListEventsResponse, Event> ListEvents(ListEventsRequest request, CallSettings callSettings = null)

Lists events under a given project and location.

Parameters
NameDescription
requestListEventsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListEventsResponseEvent

A pageable sequence of Event resources.

Overrides

ListEventsAsync(ListEventsRequest, CallSettings)

public override PagedAsyncEnumerable<ListEventsResponse, Event> ListEventsAsync(ListEventsRequest request, CallSettings callSettings = null)

Lists events under a given project and location.

Parameters
NameDescription
requestListEventsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListEventsResponseEvent

A pageable asynchronous sequence of Event resources.

Overrides

ListOrganizationEvents(ListOrganizationEventsRequest, CallSettings)

public override PagedEnumerable<ListOrganizationEventsResponse, OrganizationEvent> ListOrganizationEvents(ListOrganizationEventsRequest request, CallSettings callSettings = null)

Lists organization events under a given organization and location.

Parameters
NameDescription
requestListOrganizationEventsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListOrganizationEventsResponseOrganizationEvent

A pageable sequence of OrganizationEvent resources.

Overrides

ListOrganizationEventsAsync(ListOrganizationEventsRequest, CallSettings)

public override PagedAsyncEnumerable<ListOrganizationEventsResponse, OrganizationEvent> ListOrganizationEventsAsync(ListOrganizationEventsRequest request, CallSettings callSettings = null)

Lists organization events under a given organization and location.

Parameters
NameDescription
requestListOrganizationEventsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListOrganizationEventsResponseOrganizationEvent

A pageable asynchronous sequence of OrganizationEvent resources.

Overrides

ListOrganizationImpacts(ListOrganizationImpactsRequest, CallSettings)

public override PagedEnumerable<ListOrganizationImpactsResponse, OrganizationImpact> ListOrganizationImpacts(ListOrganizationImpactsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListOrganizationImpactsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableListOrganizationImpactsResponseOrganizationImpact

A pageable sequence of OrganizationImpact resources.

Overrides

ListOrganizationImpactsAsync(ListOrganizationImpactsRequest, CallSettings)

public override PagedAsyncEnumerable<ListOrganizationImpactsResponse, OrganizationImpact> ListOrganizationImpactsAsync(ListOrganizationImpactsRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListOrganizationImpactsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableListOrganizationImpactsResponseOrganizationImpact

A pageable asynchronous sequence of OrganizationImpact resources.

Overrides