Discovery Engine v1beta API - Class SampleQuerySetService.SampleQuerySetServiceClient (1.0.0-beta18)

public class SampleQuerySetService.SampleQuerySetServiceClient : ClientBase<SampleQuerySetService.SampleQuerySetServiceClient>

Reference documentation and code samples for the Discovery Engine v1beta API class SampleQuerySetService.SampleQuerySetServiceClient.

Client for SampleQuerySetService

Inheritance

object > ClientBase > ClientBaseSampleQuerySetServiceSampleQuerySetServiceClient > SampleQuerySetService.SampleQuerySetServiceClient

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

SampleQuerySetServiceClient()

protected SampleQuerySetServiceClient()

Protected parameterless constructor to allow creation of test doubles.

SampleQuerySetServiceClient(CallInvoker)

public SampleQuerySetServiceClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

SampleQuerySetServiceClient(ChannelBase)

public SampleQuerySetServiceClient(ChannelBase channel)

Creates a new client for SampleQuerySetService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

SampleQuerySetServiceClient(ClientBaseConfiguration)

protected SampleQuerySetServiceClient(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.

CreateSampleQuerySet(CreateSampleQuerySetRequest, CallOptions)

public virtual SampleQuerySet CreateSampleQuerySet(CreateSampleQuerySetRequest request, CallOptions options)

Creates a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]

Parameters
Name Description
request CreateSampleQuerySetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SampleQuerySet

The response received from the server.

CreateSampleQuerySet(CreateSampleQuerySetRequest, Metadata, DateTime?, CancellationToken)

public virtual SampleQuerySet CreateSampleQuerySet(CreateSampleQuerySetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]

Parameters
Name Description
request CreateSampleQuerySetRequest

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
SampleQuerySet

The response received from the server.

CreateSampleQuerySetAsync(CreateSampleQuerySetRequest, CallOptions)

public virtual AsyncUnaryCall<SampleQuerySet> CreateSampleQuerySetAsync(CreateSampleQuerySetRequest request, CallOptions options)

Creates a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]

Parameters
Name Description
request CreateSampleQuerySetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSampleQuerySet

The call object.

CreateSampleQuerySetAsync(CreateSampleQuerySetRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SampleQuerySet> CreateSampleQuerySetAsync(CreateSampleQuerySetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]

Parameters
Name Description
request CreateSampleQuerySetRequest

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
AsyncUnaryCallSampleQuerySet

The call object.

DeleteSampleQuerySet(DeleteSampleQuerySetRequest, CallOptions)

public virtual Empty DeleteSampleQuerySet(DeleteSampleQuerySetRequest request, CallOptions options)

Deletes a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].

Parameters
Name Description
request DeleteSampleQuerySetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteSampleQuerySet(DeleteSampleQuerySetRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].

Parameters
Name Description
request DeleteSampleQuerySetRequest

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.

DeleteSampleQuerySetAsync(DeleteSampleQuerySetRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteSampleQuerySetAsync(DeleteSampleQuerySetRequest request, CallOptions options)

Deletes a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].

Parameters
Name Description
request DeleteSampleQuerySetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteSampleQuerySetAsync(DeleteSampleQuerySetRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].

Parameters
Name Description
request DeleteSampleQuerySetRequest

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.

GetSampleQuerySet(GetSampleQuerySetRequest, CallOptions)

public virtual SampleQuerySet GetSampleQuerySet(GetSampleQuerySetRequest request, CallOptions options)

Gets a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].

Parameters
Name Description
request GetSampleQuerySetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SampleQuerySet

The response received from the server.

GetSampleQuerySet(GetSampleQuerySetRequest, Metadata, DateTime?, CancellationToken)

public virtual SampleQuerySet GetSampleQuerySet(GetSampleQuerySetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].

Parameters
Name Description
request GetSampleQuerySetRequest

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
SampleQuerySet

The response received from the server.

GetSampleQuerySetAsync(GetSampleQuerySetRequest, CallOptions)

public virtual AsyncUnaryCall<SampleQuerySet> GetSampleQuerySetAsync(GetSampleQuerySetRequest request, CallOptions options)

Gets a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].

Parameters
Name Description
request GetSampleQuerySetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSampleQuerySet

The call object.

GetSampleQuerySetAsync(GetSampleQuerySetRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SampleQuerySet> GetSampleQuerySetAsync(GetSampleQuerySetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].

Parameters
Name Description
request GetSampleQuerySetRequest

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
AsyncUnaryCallSampleQuerySet

The call object.

ListSampleQuerySets(ListSampleQuerySetsRequest, CallOptions)

public virtual ListSampleQuerySetsResponse ListSampleQuerySets(ListSampleQuerySetsRequest request, CallOptions options)

Gets a list of [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]s.

Parameters
Name Description
request ListSampleQuerySetsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSampleQuerySetsResponse

The response received from the server.

ListSampleQuerySets(ListSampleQuerySetsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSampleQuerySetsResponse ListSampleQuerySets(ListSampleQuerySetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a list of [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]s.

Parameters
Name Description
request ListSampleQuerySetsRequest

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
ListSampleQuerySetsResponse

The response received from the server.

ListSampleQuerySetsAsync(ListSampleQuerySetsRequest, CallOptions)

public virtual AsyncUnaryCall<ListSampleQuerySetsResponse> ListSampleQuerySetsAsync(ListSampleQuerySetsRequest request, CallOptions options)

Gets a list of [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]s.

Parameters
Name Description
request ListSampleQuerySetsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSampleQuerySetsResponse

The call object.

ListSampleQuerySetsAsync(ListSampleQuerySetsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSampleQuerySetsResponse> ListSampleQuerySetsAsync(ListSampleQuerySetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets a list of [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]s.

Parameters
Name Description
request ListSampleQuerySetsRequest

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
AsyncUnaryCallListSampleQuerySetsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override SampleQuerySetService.SampleQuerySetServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
SampleQuerySetServiceSampleQuerySetServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetService.SampleQuerySetServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateSampleQuerySet(UpdateSampleQuerySetRequest, CallOptions)

public virtual SampleQuerySet UpdateSampleQuerySet(UpdateSampleQuerySetRequest request, CallOptions options)

Updates a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].

Parameters
Name Description
request UpdateSampleQuerySetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SampleQuerySet

The response received from the server.

UpdateSampleQuerySet(UpdateSampleQuerySetRequest, Metadata, DateTime?, CancellationToken)

public virtual SampleQuerySet UpdateSampleQuerySet(UpdateSampleQuerySetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].

Parameters
Name Description
request UpdateSampleQuerySetRequest

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
SampleQuerySet

The response received from the server.

UpdateSampleQuerySetAsync(UpdateSampleQuerySetRequest, CallOptions)

public virtual AsyncUnaryCall<SampleQuerySet> UpdateSampleQuerySetAsync(UpdateSampleQuerySetRequest request, CallOptions options)

Updates a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].

Parameters
Name Description
request UpdateSampleQuerySetRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSampleQuerySet

The call object.

UpdateSampleQuerySetAsync(UpdateSampleQuerySetRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SampleQuerySet> UpdateSampleQuerySetAsync(UpdateSampleQuerySetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].

Parameters
Name Description
request UpdateSampleQuerySetRequest

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
AsyncUnaryCallSampleQuerySet

The call object.