Discovery Engine v1beta API - Class AclConfigService.AclConfigServiceClient (1.0.0-beta24)

public class AclConfigService.AclConfigServiceClient : ClientBase<AclConfigService.AclConfigServiceClient>

Reference documentation and code samples for the Discovery Engine v1beta API class AclConfigService.AclConfigServiceClient.

Client for AclConfigService

Inheritance

object > ClientBase > ClientBaseAclConfigServiceAclConfigServiceClient > AclConfigService.AclConfigServiceClient

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

AclConfigServiceClient()

protected AclConfigServiceClient()

Protected parameterless constructor to allow creation of test doubles.

AclConfigServiceClient(CallInvoker)

public AclConfigServiceClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

AclConfigServiceClient(ChannelBase)

public AclConfigServiceClient(ChannelBase channel)

Creates a new client for AclConfigService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

AclConfigServiceClient(ClientBaseConfiguration)

protected AclConfigServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
Type Description
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

GetAclConfig(GetAclConfigRequest, CallOptions)

public virtual AclConfig GetAclConfig(GetAclConfigRequest request, CallOptions options)

Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig].

Parameters
Name Description
request GetAclConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AclConfig

The response received from the server.

GetAclConfig(GetAclConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AclConfig GetAclConfig(GetAclConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig].

Parameters
Name Description
request GetAclConfigRequest

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
AclConfig

The response received from the server.

GetAclConfigAsync(GetAclConfigRequest, CallOptions)

public virtual AsyncUnaryCall<AclConfig> GetAclConfigAsync(GetAclConfigRequest request, CallOptions options)

Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig].

Parameters
Name Description
request GetAclConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallAclConfig

The call object.

GetAclConfigAsync(GetAclConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AclConfig> GetAclConfigAsync(GetAclConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the [AclConfig][google.cloud.discoveryengine.v1beta.AclConfig].

Parameters
Name Description
request GetAclConfigRequest

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
AsyncUnaryCallAclConfig

The call object.

NewInstance(ClientBaseConfiguration)

protected override AclConfigService.AclConfigServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
AclConfigServiceAclConfigServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.DiscoveryEngine.V1Beta.AclConfigService.AclConfigServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateAclConfig(UpdateAclConfigRequest, CallOptions)

public virtual AclConfig UpdateAclConfig(UpdateAclConfigRequest request, CallOptions options)

Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.

Parameters
Name Description
request UpdateAclConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AclConfig

The response received from the server.

UpdateAclConfig(UpdateAclConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AclConfig UpdateAclConfig(UpdateAclConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.

Parameters
Name Description
request UpdateAclConfigRequest

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
AclConfig

The response received from the server.

UpdateAclConfigAsync(UpdateAclConfigRequest, CallOptions)

public virtual AsyncUnaryCall<AclConfig> UpdateAclConfigAsync(UpdateAclConfigRequest request, CallOptions options)

Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.

Parameters
Name Description
request UpdateAclConfigRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallAclConfig

The call object.

UpdateAclConfigAsync(UpdateAclConfigRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AclConfig> UpdateAclConfigAsync(UpdateAclConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.

Parameters
Name Description
request UpdateAclConfigRequest

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
AsyncUnaryCallAclConfig

The call object.