Chronicle v1 API - Class DataAccessControlService.DataAccessControlServiceClient (1.0.0-beta02)

public class DataAccessControlService.DataAccessControlServiceClient : ClientBase<DataAccessControlService.DataAccessControlServiceClient>

Reference documentation and code samples for the Chronicle v1 API class DataAccessControlService.DataAccessControlServiceClient.

Client for DataAccessControlService

Inheritance

object > ClientBase > ClientBaseDataAccessControlServiceDataAccessControlServiceClient > DataAccessControlService.DataAccessControlServiceClient

Namespace

Google.Cloud.Chronicle.V1

Assembly

Google.Cloud.Chronicle.V1.dll

Constructors

DataAccessControlServiceClient()

protected DataAccessControlServiceClient()

Protected parameterless constructor to allow creation of test doubles.

DataAccessControlServiceClient(CallInvoker)

public DataAccessControlServiceClient(CallInvoker callInvoker)

Creates a new client for DataAccessControlService that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

DataAccessControlServiceClient(ChannelBase)

public DataAccessControlServiceClient(ChannelBase channel)

Creates a new client for DataAccessControlService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

DataAccessControlServiceClient(ClientBaseConfiguration)

protected DataAccessControlServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateDataAccessLabel(CreateDataAccessLabelRequest, CallOptions)

public virtual DataAccessLabel CreateDataAccessLabel(CreateDataAccessLabelRequest request, CallOptions options)

Creates a data access label. Data access labels are applied to incoming event data and selected in data access scopes (another resource), and only users with scopes containing the label can see data with that label. Currently, the data access label resource only includes custom labels, which are labels that correspond to UDM queries over event data.

Parameters
Name Description
request CreateDataAccessLabelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DataAccessLabel

The response received from the server.

CreateDataAccessLabel(CreateDataAccessLabelRequest, Metadata, DateTime?, CancellationToken)

public virtual DataAccessLabel CreateDataAccessLabel(CreateDataAccessLabelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a data access label. Data access labels are applied to incoming event data and selected in data access scopes (another resource), and only users with scopes containing the label can see data with that label. Currently, the data access label resource only includes custom labels, which are labels that correspond to UDM queries over event data.

Parameters
Name Description
request CreateDataAccessLabelRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DataAccessLabel

The response received from the server.

CreateDataAccessLabelAsync(CreateDataAccessLabelRequest, CallOptions)

public virtual AsyncUnaryCall<DataAccessLabel> CreateDataAccessLabelAsync(CreateDataAccessLabelRequest request, CallOptions options)

Creates a data access label. Data access labels are applied to incoming event data and selected in data access scopes (another resource), and only users with scopes containing the label can see data with that label. Currently, the data access label resource only includes custom labels, which are labels that correspond to UDM queries over event data.

Parameters
Name Description
request CreateDataAccessLabelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDataAccessLabel

The call object.

CreateDataAccessLabelAsync(CreateDataAccessLabelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DataAccessLabel> CreateDataAccessLabelAsync(CreateDataAccessLabelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a data access label. Data access labels are applied to incoming event data and selected in data access scopes (another resource), and only users with scopes containing the label can see data with that label. Currently, the data access label resource only includes custom labels, which are labels that correspond to UDM queries over event data.

Parameters
Name Description
request CreateDataAccessLabelRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDataAccessLabel

The call object.

CreateDataAccessScope(CreateDataAccessScopeRequest, CallOptions)

public virtual DataAccessScope CreateDataAccessScope(CreateDataAccessScopeRequest request, CallOptions options)

Creates a data access scope. Data access scope is a combination of allowed and denied labels attached to a permission group. If a scope has allowed labels A and B and denied labels C and D, then the group of people attached to the scope will have permissions to see all events labeled with A or B (or both) and not labeled with either C or D.

Parameters
Name Description
request CreateDataAccessScopeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DataAccessScope

The response received from the server.

CreateDataAccessScope(CreateDataAccessScopeRequest, Metadata, DateTime?, CancellationToken)

public virtual DataAccessScope CreateDataAccessScope(CreateDataAccessScopeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a data access scope. Data access scope is a combination of allowed and denied labels attached to a permission group. If a scope has allowed labels A and B and denied labels C and D, then the group of people attached to the scope will have permissions to see all events labeled with A or B (or both) and not labeled with either C or D.

Parameters
Name Description
request CreateDataAccessScopeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DataAccessScope

The response received from the server.

CreateDataAccessScopeAsync(CreateDataAccessScopeRequest, CallOptions)

public virtual AsyncUnaryCall<DataAccessScope> CreateDataAccessScopeAsync(CreateDataAccessScopeRequest request, CallOptions options)

Creates a data access scope. Data access scope is a combination of allowed and denied labels attached to a permission group. If a scope has allowed labels A and B and denied labels C and D, then the group of people attached to the scope will have permissions to see all events labeled with A or B (or both) and not labeled with either C or D.

Parameters
Name Description
request CreateDataAccessScopeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDataAccessScope

The call object.

CreateDataAccessScopeAsync(CreateDataAccessScopeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DataAccessScope> CreateDataAccessScopeAsync(CreateDataAccessScopeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a data access scope. Data access scope is a combination of allowed and denied labels attached to a permission group. If a scope has allowed labels A and B and denied labels C and D, then the group of people attached to the scope will have permissions to see all events labeled with A or B (or both) and not labeled with either C or D.

Parameters
Name Description
request CreateDataAccessScopeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDataAccessScope

The call object.

DeleteDataAccessLabel(DeleteDataAccessLabelRequest, CallOptions)

public virtual Empty DeleteDataAccessLabel(DeleteDataAccessLabelRequest request, CallOptions options)

Deletes a data access label. When a label is deleted, new data that enters in the system will not receive the label, but the label will not be removed from old data that still refers to it.

Parameters
Name Description
request DeleteDataAccessLabelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteDataAccessLabel(DeleteDataAccessLabelRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteDataAccessLabel(DeleteDataAccessLabelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a data access label. When a label is deleted, new data that enters in the system will not receive the label, but the label will not be removed from old data that still refers to it.

Parameters
Name Description
request DeleteDataAccessLabelRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteDataAccessLabelAsync(DeleteDataAccessLabelRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteDataAccessLabelAsync(DeleteDataAccessLabelRequest request, CallOptions options)

Deletes a data access label. When a label is deleted, new data that enters in the system will not receive the label, but the label will not be removed from old data that still refers to it.

Parameters
Name Description
request DeleteDataAccessLabelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteDataAccessLabelAsync(DeleteDataAccessLabelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteDataAccessLabelAsync(DeleteDataAccessLabelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a data access label. When a label is deleted, new data that enters in the system will not receive the label, but the label will not be removed from old data that still refers to it.

Parameters
Name Description
request DeleteDataAccessLabelRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteDataAccessScope(DeleteDataAccessScopeRequest, CallOptions)

public virtual Empty DeleteDataAccessScope(DeleteDataAccessScopeRequest request, CallOptions options)

Deletes a data access scope.

Parameters
Name Description
request DeleteDataAccessScopeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteDataAccessScope(DeleteDataAccessScopeRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteDataAccessScope(DeleteDataAccessScopeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a data access scope.

Parameters
Name Description
request DeleteDataAccessScopeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteDataAccessScopeAsync(DeleteDataAccessScopeRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteDataAccessScopeAsync(DeleteDataAccessScopeRequest request, CallOptions options)

Deletes a data access scope.

Parameters
Name Description
request DeleteDataAccessScopeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteDataAccessScopeAsync(DeleteDataAccessScopeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteDataAccessScopeAsync(DeleteDataAccessScopeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a data access scope.

Parameters
Name Description
request DeleteDataAccessScopeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

GetDataAccessLabel(GetDataAccessLabelRequest, CallOptions)

public virtual DataAccessLabel GetDataAccessLabel(GetDataAccessLabelRequest request, CallOptions options)

Gets a data access label.

Parameters
Name Description
request GetDataAccessLabelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DataAccessLabel

The response received from the server.

GetDataAccessLabel(GetDataAccessLabelRequest, Metadata, DateTime?, CancellationToken)

public virtual DataAccessLabel GetDataAccessLabel(GetDataAccessLabelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a data access label.

Parameters
Name Description
request GetDataAccessLabelRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DataAccessLabel

The response received from the server.

GetDataAccessLabelAsync(GetDataAccessLabelRequest, CallOptions)

public virtual AsyncUnaryCall<DataAccessLabel> GetDataAccessLabelAsync(GetDataAccessLabelRequest request, CallOptions options)

Gets a data access label.

Parameters
Name Description
request GetDataAccessLabelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDataAccessLabel

The call object.

GetDataAccessLabelAsync(GetDataAccessLabelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DataAccessLabel> GetDataAccessLabelAsync(GetDataAccessLabelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a data access label.

Parameters
Name Description
request GetDataAccessLabelRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDataAccessLabel

The call object.

GetDataAccessScope(GetDataAccessScopeRequest, CallOptions)

public virtual DataAccessScope GetDataAccessScope(GetDataAccessScopeRequest request, CallOptions options)

Retrieves an existing data access scope.

Parameters
Name Description
request GetDataAccessScopeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DataAccessScope

The response received from the server.

GetDataAccessScope(GetDataAccessScopeRequest, Metadata, DateTime?, CancellationToken)

public virtual DataAccessScope GetDataAccessScope(GetDataAccessScopeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves an existing data access scope.

Parameters
Name Description
request GetDataAccessScopeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DataAccessScope

The response received from the server.

GetDataAccessScopeAsync(GetDataAccessScopeRequest, CallOptions)

public virtual AsyncUnaryCall<DataAccessScope> GetDataAccessScopeAsync(GetDataAccessScopeRequest request, CallOptions options)

Retrieves an existing data access scope.

Parameters
Name Description
request GetDataAccessScopeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDataAccessScope

The call object.

GetDataAccessScopeAsync(GetDataAccessScopeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DataAccessScope> GetDataAccessScopeAsync(GetDataAccessScopeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves an existing data access scope.

Parameters
Name Description
request GetDataAccessScopeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDataAccessScope

The call object.

ListDataAccessLabels(ListDataAccessLabelsRequest, CallOptions)

public virtual ListDataAccessLabelsResponse ListDataAccessLabels(ListDataAccessLabelsRequest request, CallOptions options)

Lists all data access labels for the customer.

Parameters
Name Description
request ListDataAccessLabelsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListDataAccessLabelsResponse

The response received from the server.

ListDataAccessLabels(ListDataAccessLabelsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListDataAccessLabelsResponse ListDataAccessLabels(ListDataAccessLabelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all data access labels for the customer.

Parameters
Name Description
request ListDataAccessLabelsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListDataAccessLabelsResponse

The response received from the server.

ListDataAccessLabelsAsync(ListDataAccessLabelsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDataAccessLabelsResponse> ListDataAccessLabelsAsync(ListDataAccessLabelsRequest request, CallOptions options)

Lists all data access labels for the customer.

Parameters
Name Description
request ListDataAccessLabelsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListDataAccessLabelsResponse

The call object.

ListDataAccessLabelsAsync(ListDataAccessLabelsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListDataAccessLabelsResponse> ListDataAccessLabelsAsync(ListDataAccessLabelsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all data access labels for the customer.

Parameters
Name Description
request ListDataAccessLabelsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListDataAccessLabelsResponse

The call object.

ListDataAccessScopes(ListDataAccessScopesRequest, CallOptions)

public virtual ListDataAccessScopesResponse ListDataAccessScopes(ListDataAccessScopesRequest request, CallOptions options)

Lists all existing data access scopes for the customer.

Parameters
Name Description
request ListDataAccessScopesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListDataAccessScopesResponse

The response received from the server.

ListDataAccessScopes(ListDataAccessScopesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListDataAccessScopesResponse ListDataAccessScopes(ListDataAccessScopesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all existing data access scopes for the customer.

Parameters
Name Description
request ListDataAccessScopesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListDataAccessScopesResponse

The response received from the server.

ListDataAccessScopesAsync(ListDataAccessScopesRequest, CallOptions)

public virtual AsyncUnaryCall<ListDataAccessScopesResponse> ListDataAccessScopesAsync(ListDataAccessScopesRequest request, CallOptions options)

Lists all existing data access scopes for the customer.

Parameters
Name Description
request ListDataAccessScopesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListDataAccessScopesResponse

The call object.

ListDataAccessScopesAsync(ListDataAccessScopesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListDataAccessScopesResponse> ListDataAccessScopesAsync(ListDataAccessScopesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all existing data access scopes for the customer.

Parameters
Name Description
request ListDataAccessScopesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListDataAccessScopesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override DataAccessControlService.DataAccessControlServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
DataAccessControlServiceDataAccessControlServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Chronicle.V1.DataAccessControlService.DataAccessControlServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateDataAccessLabel(UpdateDataAccessLabelRequest, CallOptions)

public virtual DataAccessLabel UpdateDataAccessLabel(UpdateDataAccessLabelRequest request, CallOptions options)

Updates a data access label.

Parameters
Name Description
request UpdateDataAccessLabelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DataAccessLabel

The response received from the server.

UpdateDataAccessLabel(UpdateDataAccessLabelRequest, Metadata, DateTime?, CancellationToken)

public virtual DataAccessLabel UpdateDataAccessLabel(UpdateDataAccessLabelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a data access label.

Parameters
Name Description
request UpdateDataAccessLabelRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DataAccessLabel

The response received from the server.

UpdateDataAccessLabelAsync(UpdateDataAccessLabelRequest, CallOptions)

public virtual AsyncUnaryCall<DataAccessLabel> UpdateDataAccessLabelAsync(UpdateDataAccessLabelRequest request, CallOptions options)

Updates a data access label.

Parameters
Name Description
request UpdateDataAccessLabelRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDataAccessLabel

The call object.

UpdateDataAccessLabelAsync(UpdateDataAccessLabelRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DataAccessLabel> UpdateDataAccessLabelAsync(UpdateDataAccessLabelRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a data access label.

Parameters
Name Description
request UpdateDataAccessLabelRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDataAccessLabel

The call object.

UpdateDataAccessScope(UpdateDataAccessScopeRequest, CallOptions)

public virtual DataAccessScope UpdateDataAccessScope(UpdateDataAccessScopeRequest request, CallOptions options)

Updates a data access scope.

Parameters
Name Description
request UpdateDataAccessScopeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DataAccessScope

The response received from the server.

UpdateDataAccessScope(UpdateDataAccessScopeRequest, Metadata, DateTime?, CancellationToken)

public virtual DataAccessScope UpdateDataAccessScope(UpdateDataAccessScopeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a data access scope.

Parameters
Name Description
request UpdateDataAccessScopeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DataAccessScope

The response received from the server.

UpdateDataAccessScopeAsync(UpdateDataAccessScopeRequest, CallOptions)

public virtual AsyncUnaryCall<DataAccessScope> UpdateDataAccessScopeAsync(UpdateDataAccessScopeRequest request, CallOptions options)

Updates a data access scope.

Parameters
Name Description
request UpdateDataAccessScopeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDataAccessScope

The call object.

UpdateDataAccessScopeAsync(UpdateDataAccessScopeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DataAccessScope> UpdateDataAccessScopeAsync(UpdateDataAccessScopeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a data access scope.

Parameters
Name Description
request UpdateDataAccessScopeRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDataAccessScope

The call object.