public class MemoryBankService.MemoryBankServiceClient : ClientBase<MemoryBankService.MemoryBankServiceClient>
Reference documentation and code samples for the Vertex AI v1beta1 API class MemoryBankService.MemoryBankServiceClient.
Client for MemoryBankService
Inheritance
object > ClientBase > ClientBaseMemoryBankServiceMemoryBankServiceClient > MemoryBankService.MemoryBankServiceClientNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
MemoryBankServiceClient()
protected MemoryBankServiceClient()
Protected parameterless constructor to allow creation of test doubles.
MemoryBankServiceClient(CallInvoker)
public MemoryBankServiceClient(CallInvoker callInvoker)
Creates a new client for MemoryBankService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
MemoryBankServiceClient(ChannelBase)
public MemoryBankServiceClient(ChannelBase channel)
Creates a new client for MemoryBankService
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
MemoryBankServiceClient(ClientBaseConfiguration)
protected MemoryBankServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateIAMPolicyClient()
public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()
Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
IAMPolicyIAMPolicyClient |
A new IAMPolicy.IAMPolicyClient for the same target as this client. |
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. |
CreateMemory(CreateMemoryRequest, CallOptions)
public virtual Operation CreateMemory(CreateMemoryRequest request, CallOptions options)
Create a Memory.
Parameters | |
---|---|
Name | Description |
request |
CreateMemoryRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateMemory(CreateMemoryRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateMemory(CreateMemoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Create a Memory.
Parameters | |
---|---|
Name | Description |
request |
CreateMemoryRequest 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 |
Operation |
The response received from the server. |
CreateMemoryAsync(CreateMemoryRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateMemoryAsync(CreateMemoryRequest request, CallOptions options)
Create a Memory.
Parameters | |
---|---|
Name | Description |
request |
CreateMemoryRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateMemoryAsync(CreateMemoryRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateMemoryAsync(CreateMemoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Create a Memory.
Parameters | |
---|---|
Name | Description |
request |
CreateMemoryRequest 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 |
AsyncUnaryCallOperation |
The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
DeleteMemory(DeleteMemoryRequest, CallOptions)
public virtual Operation DeleteMemory(DeleteMemoryRequest request, CallOptions options)
Delete a Memory.
Parameters | |
---|---|
Name | Description |
request |
DeleteMemoryRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteMemory(DeleteMemoryRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteMemory(DeleteMemoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Delete a Memory.
Parameters | |
---|---|
Name | Description |
request |
DeleteMemoryRequest 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 |
Operation |
The response received from the server. |
DeleteMemoryAsync(DeleteMemoryRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteMemoryAsync(DeleteMemoryRequest request, CallOptions options)
Delete a Memory.
Parameters | |
---|---|
Name | Description |
request |
DeleteMemoryRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteMemoryAsync(DeleteMemoryRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteMemoryAsync(DeleteMemoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Delete a Memory.
Parameters | |
---|---|
Name | Description |
request |
DeleteMemoryRequest 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 |
AsyncUnaryCallOperation |
The call object. |
GenerateMemories(GenerateMemoriesRequest, CallOptions)
public virtual Operation GenerateMemories(GenerateMemoriesRequest request, CallOptions options)
Generate memories.
Parameters | |
---|---|
Name | Description |
request |
GenerateMemoriesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
GenerateMemories(GenerateMemoriesRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation GenerateMemories(GenerateMemoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Generate memories.
Parameters | |
---|---|
Name | Description |
request |
GenerateMemoriesRequest 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 |
Operation |
The response received from the server. |
GenerateMemoriesAsync(GenerateMemoriesRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> GenerateMemoriesAsync(GenerateMemoriesRequest request, CallOptions options)
Generate memories.
Parameters | |
---|---|
Name | Description |
request |
GenerateMemoriesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
GenerateMemoriesAsync(GenerateMemoriesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> GenerateMemoriesAsync(GenerateMemoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Generate memories.
Parameters | |
---|---|
Name | Description |
request |
GenerateMemoriesRequest 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 |
AsyncUnaryCallOperation |
The call object. |
GetMemory(GetMemoryRequest, CallOptions)
public virtual Memory GetMemory(GetMemoryRequest request, CallOptions options)
Get a Memory.
Parameters | |
---|---|
Name | Description |
request |
GetMemoryRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Memory |
The response received from the server. |
GetMemory(GetMemoryRequest, Metadata, DateTime?, CancellationToken)
public virtual Memory GetMemory(GetMemoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Get a Memory.
Parameters | |
---|---|
Name | Description |
request |
GetMemoryRequest 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 |
Memory |
The response received from the server. |
GetMemoryAsync(GetMemoryRequest, CallOptions)
public virtual AsyncUnaryCall<Memory> GetMemoryAsync(GetMemoryRequest request, CallOptions options)
Get a Memory.
Parameters | |
---|---|
Name | Description |
request |
GetMemoryRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallMemory |
The call object. |
GetMemoryAsync(GetMemoryRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Memory> GetMemoryAsync(GetMemoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Get a Memory.
Parameters | |
---|---|
Name | Description |
request |
GetMemoryRequest 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 |
AsyncUnaryCallMemory |
The call object. |
ListMemories(ListMemoriesRequest, CallOptions)
public virtual ListMemoriesResponse ListMemories(ListMemoriesRequest request, CallOptions options)
List Memories.
Parameters | |
---|---|
Name | Description |
request |
ListMemoriesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListMemoriesResponse |
The response received from the server. |
ListMemories(ListMemoriesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListMemoriesResponse ListMemories(ListMemoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
List Memories.
Parameters | |
---|---|
Name | Description |
request |
ListMemoriesRequest 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 |
ListMemoriesResponse |
The response received from the server. |
ListMemoriesAsync(ListMemoriesRequest, CallOptions)
public virtual AsyncUnaryCall<ListMemoriesResponse> ListMemoriesAsync(ListMemoriesRequest request, CallOptions options)
List Memories.
Parameters | |
---|---|
Name | Description |
request |
ListMemoriesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListMemoriesResponse |
The call object. |
ListMemoriesAsync(ListMemoriesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListMemoriesResponse> ListMemoriesAsync(ListMemoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
List Memories.
Parameters | |
---|---|
Name | Description |
request |
ListMemoriesRequest 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 |
AsyncUnaryCallListMemoriesResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override MemoryBankService.MemoryBankServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
MemoryBankServiceMemoryBankServiceClient |
RetrieveMemories(RetrieveMemoriesRequest, CallOptions)
public virtual RetrieveMemoriesResponse RetrieveMemories(RetrieveMemoriesRequest request, CallOptions options)
Retrieve memories.
Parameters | |
---|---|
Name | Description |
request |
RetrieveMemoriesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
RetrieveMemoriesResponse |
The response received from the server. |
RetrieveMemories(RetrieveMemoriesRequest, Metadata, DateTime?, CancellationToken)
public virtual RetrieveMemoriesResponse RetrieveMemories(RetrieveMemoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieve memories.
Parameters | |
---|---|
Name | Description |
request |
RetrieveMemoriesRequest 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 |
RetrieveMemoriesResponse |
The response received from the server. |
RetrieveMemoriesAsync(RetrieveMemoriesRequest, CallOptions)
public virtual AsyncUnaryCall<RetrieveMemoriesResponse> RetrieveMemoriesAsync(RetrieveMemoriesRequest request, CallOptions options)
Retrieve memories.
Parameters | |
---|---|
Name | Description |
request |
RetrieveMemoriesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallRetrieveMemoriesResponse |
The call object. |
RetrieveMemoriesAsync(RetrieveMemoriesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<RetrieveMemoriesResponse> RetrieveMemoriesAsync(RetrieveMemoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieve memories.
Parameters | |
---|---|
Name | Description |
request |
RetrieveMemoriesRequest 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 |
AsyncUnaryCallRetrieveMemoriesResponse |
The call object. |
UpdateMemory(UpdateMemoryRequest, CallOptions)
public virtual Operation UpdateMemory(UpdateMemoryRequest request, CallOptions options)
Update a Memory.
Parameters | |
---|---|
Name | Description |
request |
UpdateMemoryRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateMemory(UpdateMemoryRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateMemory(UpdateMemoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Update a Memory.
Parameters | |
---|---|
Name | Description |
request |
UpdateMemoryRequest 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 |
Operation |
The response received from the server. |
UpdateMemoryAsync(UpdateMemoryRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateMemoryAsync(UpdateMemoryRequest request, CallOptions options)
Update a Memory.
Parameters | |
---|---|
Name | Description |
request |
UpdateMemoryRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateMemoryAsync(UpdateMemoryRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateMemoryAsync(UpdateMemoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Update a Memory.
Parameters | |
---|---|
Name | Description |
request |
UpdateMemoryRequest 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 |
AsyncUnaryCallOperation |
The call object. |