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.AclConfigServiceClientNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
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 |
CallInvokerThe callInvoker to use to make remote calls. |
AclConfigServiceClient(ChannelBase)
public AclConfigServiceClient(ChannelBase channel)Creates a new client for AclConfigService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe 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 |
ClientBaseClientBaseConfigurationThe 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 |
GetAclConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
GetAclConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
GetAclConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
GetAclConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
|
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 |
UpdateAclConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
UpdateAclConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
UpdateAclConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
UpdateAclConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallAclConfig |
The call object. |