Observability v1 API - Class Observability.ObservabilityBase (1.0.0-beta01)

[BindServiceMethod(typeof(Observability), "BindService")]
public abstract class Observability.ObservabilityBase

Reference documentation and code samples for the Observability v1 API class Observability.ObservabilityBase.

Base class for server-side implementations of Observability

Inheritance

object > Observability.ObservabilityBase

Namespace

Google.Cloud.Observability.V1

Assembly

Google.Cloud.Observability.V1.dll

Methods

CreateBucket(CreateBucketRequest, ServerCallContext)

public virtual Task<Operation> CreateBucket(CreateBucketRequest request, ServerCallContext context)

Create a new bucket.

Parameters
Name Description
request CreateBucketRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

public virtual Task<Operation> CreateLink(CreateLinkRequest request, ServerCallContext context)

Create a new link.

Parameters
Name Description
request CreateLinkRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

CreateTraceScope(CreateTraceScopeRequest, ServerCallContext)

public virtual Task<TraceScope> CreateTraceScope(CreateTraceScopeRequest request, ServerCallContext context)

Create a new TraceScope.

Parameters
Name Description
request CreateTraceScopeRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskTraceScope

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

public virtual Task<Operation> DeleteLink(DeleteLinkRequest request, ServerCallContext context)

Delete a link.

Parameters
Name Description
request DeleteLinkRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

DeleteTraceScope(DeleteTraceScopeRequest, ServerCallContext)

public virtual Task<Empty> DeleteTraceScope(DeleteTraceScopeRequest request, ServerCallContext context)

Delete a TraceScope.

Parameters
Name Description
request DeleteTraceScopeRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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

GetBucket(GetBucketRequest, ServerCallContext)

public virtual Task<Bucket> GetBucket(GetBucketRequest request, ServerCallContext context)

Get bucket resource.

Parameters
Name Description
request GetBucketRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskBucket

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

GetDataset(GetDatasetRequest, ServerCallContext)

public virtual Task<Dataset> GetDataset(GetDatasetRequest request, ServerCallContext context)

Get a dataset.

Parameters
Name Description
request GetDatasetRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskDataset

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

public virtual Task<Link> GetLink(GetLinkRequest request, ServerCallContext context)

Get a link.

Parameters
Name Description
request GetLinkRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskLink

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

GetScope(GetScopeRequest, ServerCallContext)

public virtual Task<Scope> GetScope(GetScopeRequest request, ServerCallContext context)

Gets details of a single Scope.

Parameters
Name Description
request GetScopeRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskScope

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

GetSettings(GetSettingsRequest, ServerCallContext)

public virtual Task<Settings> GetSettings(GetSettingsRequest request, ServerCallContext context)

Get Settings

Parameters
Name Description
request GetSettingsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskSettings

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

GetTraceScope(GetTraceScopeRequest, ServerCallContext)

public virtual Task<TraceScope> GetTraceScope(GetTraceScopeRequest request, ServerCallContext context)

Get TraceScope resource.

Parameters
Name Description
request GetTraceScopeRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskTraceScope

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

GetView(GetViewRequest, ServerCallContext)

public virtual Task<View> GetView(GetViewRequest request, ServerCallContext context)

Get a view.

Parameters
Name Description
request GetViewRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskView

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

ListBuckets(ListBucketsRequest, ServerCallContext)

public virtual Task<ListBucketsResponse> ListBuckets(ListBucketsRequest request, ServerCallContext context)

List buckets of a project in a particular location.

Parameters
Name Description
request ListBucketsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListBucketsResponse

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

ListDatasets(ListDatasetsRequest, ServerCallContext)

public virtual Task<ListDatasetsResponse> ListDatasets(ListDatasetsRequest request, ServerCallContext context)

List datasets of a bucket.

Parameters
Name Description
request ListDatasetsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListDatasetsResponse

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

public virtual Task<ListLinksResponse> ListLinks(ListLinksRequest request, ServerCallContext context)

List links of a dataset.

Parameters
Name Description
request ListLinksRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListLinksResponse

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

ListTraceScopes(ListTraceScopesRequest, ServerCallContext)

public virtual Task<ListTraceScopesResponse> ListTraceScopes(ListTraceScopesRequest request, ServerCallContext context)

List TraceScopes of a project in a particular location.

Parameters
Name Description
request ListTraceScopesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListTraceScopesResponse

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

ListViews(ListViewsRequest, ServerCallContext)

public virtual Task<ListViewsResponse> ListViews(ListViewsRequest request, ServerCallContext context)

List views of a dataset.

Parameters
Name Description
request ListViewsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListViewsResponse

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

UpdateBucket(UpdateBucketRequest, ServerCallContext)

public virtual Task<Operation> UpdateBucket(UpdateBucketRequest request, ServerCallContext context)

Update a bucket.

Parameters
Name Description
request UpdateBucketRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

public virtual Task<Operation> UpdateLink(UpdateLinkRequest request, ServerCallContext context)

Update a link.

Parameters
Name Description
request UpdateLinkRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateScope(UpdateScopeRequest, ServerCallContext)

public virtual Task<Scope> UpdateScope(UpdateScopeRequest request, ServerCallContext context)

Updates the parameters of a single Scope.

Parameters
Name Description
request UpdateScopeRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskScope

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

UpdateSettings(UpdateSettingsRequest, ServerCallContext)

public virtual Task<Operation> UpdateSettings(UpdateSettingsRequest request, ServerCallContext context)

Update Settings

Parameters
Name Description
request UpdateSettingsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskOperation

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

UpdateTraceScope(UpdateTraceScopeRequest, ServerCallContext)

public virtual Task<TraceScope> UpdateTraceScope(UpdateTraceScopeRequest request, ServerCallContext context)

Update a TraceScope.

Parameters
Name Description
request UpdateTraceScopeRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskTraceScope

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