Cloud AI Platform v1beta1 API - Class ExtensionRegistryService.ExtensionRegistryServiceClient (1.0.0-beta01)

public class ExtensionRegistryService.ExtensionRegistryServiceClient : ClientBase<ExtensionRegistryService.ExtensionRegistryServiceClient>

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class ExtensionRegistryService.ExtensionRegistryServiceClient.

Client for ExtensionRegistryService

Inheritance

object > ClientBase > ClientBaseExtensionRegistryServiceExtensionRegistryServiceClient > ExtensionRegistryService.ExtensionRegistryServiceClient

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

ExtensionRegistryServiceClient()

protected ExtensionRegistryServiceClient()

Protected parameterless constructor to allow creation of test doubles.

ExtensionRegistryServiceClient(CallInvoker)

public ExtensionRegistryServiceClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

ExtensionRegistryServiceClient(ChannelBase)

public ExtensionRegistryServiceClient(ChannelBase channel)

Creates a new client for ExtensionRegistryService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

ExtensionRegistryServiceClient(ClientBaseConfiguration)

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

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.

DeleteExtension(DeleteExtensionRequest, CallOptions)

public virtual Operation DeleteExtension(DeleteExtensionRequest request, CallOptions options)

Deletes an Extension.

Parameters
Name Description
request DeleteExtensionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteExtension(DeleteExtensionRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteExtension(DeleteExtensionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an Extension.

Parameters
Name Description
request DeleteExtensionRequest

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.

DeleteExtensionAsync(DeleteExtensionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteExtensionAsync(DeleteExtensionRequest request, CallOptions options)

Deletes an Extension.

Parameters
Name Description
request DeleteExtensionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteExtensionAsync(DeleteExtensionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteExtensionAsync(DeleteExtensionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an Extension.

Parameters
Name Description
request DeleteExtensionRequest

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.

GetExtension(GetExtensionRequest, CallOptions)

public virtual Extension GetExtension(GetExtensionRequest request, CallOptions options)

Gets an Extension.

Parameters
Name Description
request GetExtensionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Extension

The response received from the server.

GetExtension(GetExtensionRequest, Metadata, DateTime?, CancellationToken)

public virtual Extension GetExtension(GetExtensionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets an Extension.

Parameters
Name Description
request GetExtensionRequest

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
Extension

The response received from the server.

GetExtensionAsync(GetExtensionRequest, CallOptions)

public virtual AsyncUnaryCall<Extension> GetExtensionAsync(GetExtensionRequest request, CallOptions options)

Gets an Extension.

Parameters
Name Description
request GetExtensionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallExtension

The call object.

GetExtensionAsync(GetExtensionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Extension> GetExtensionAsync(GetExtensionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets an Extension.

Parameters
Name Description
request GetExtensionRequest

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
AsyncUnaryCallExtension

The call object.

ImportExtension(ImportExtensionRequest, CallOptions)

public virtual Operation ImportExtension(ImportExtensionRequest request, CallOptions options)

Imports an Extension.

Parameters
Name Description
request ImportExtensionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

ImportExtension(ImportExtensionRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ImportExtension(ImportExtensionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Imports an Extension.

Parameters
Name Description
request ImportExtensionRequest

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.

ImportExtensionAsync(ImportExtensionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ImportExtensionAsync(ImportExtensionRequest request, CallOptions options)

Imports an Extension.

Parameters
Name Description
request ImportExtensionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ImportExtensionAsync(ImportExtensionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ImportExtensionAsync(ImportExtensionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Imports an Extension.

Parameters
Name Description
request ImportExtensionRequest

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.

ListExtensions(ListExtensionsRequest, CallOptions)

public virtual ListExtensionsResponse ListExtensions(ListExtensionsRequest request, CallOptions options)

Lists Extensions in a location.

Parameters
Name Description
request ListExtensionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListExtensionsResponse

The response received from the server.

ListExtensions(ListExtensionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListExtensionsResponse ListExtensions(ListExtensionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Extensions in a location.

Parameters
Name Description
request ListExtensionsRequest

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
ListExtensionsResponse

The response received from the server.

ListExtensionsAsync(ListExtensionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListExtensionsResponse> ListExtensionsAsync(ListExtensionsRequest request, CallOptions options)

Lists Extensions in a location.

Parameters
Name Description
request ListExtensionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListExtensionsResponse

The call object.

ListExtensionsAsync(ListExtensionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListExtensionsResponse> ListExtensionsAsync(ListExtensionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Extensions in a location.

Parameters
Name Description
request ListExtensionsRequest

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
AsyncUnaryCallListExtensionsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override ExtensionRegistryService.ExtensionRegistryServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
ExtensionRegistryServiceExtensionRegistryServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.AIPlatform.V1Beta1.ExtensionRegistryService.ExtensionRegistryServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateExtension(UpdateExtensionRequest, CallOptions)

public virtual Extension UpdateExtension(UpdateExtensionRequest request, CallOptions options)

Updates an Extension.

Parameters
Name Description
request UpdateExtensionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Extension

The response received from the server.

UpdateExtension(UpdateExtensionRequest, Metadata, DateTime?, CancellationToken)

public virtual Extension UpdateExtension(UpdateExtensionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an Extension.

Parameters
Name Description
request UpdateExtensionRequest

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
Extension

The response received from the server.

UpdateExtensionAsync(UpdateExtensionRequest, CallOptions)

public virtual AsyncUnaryCall<Extension> UpdateExtensionAsync(UpdateExtensionRequest request, CallOptions options)

Updates an Extension.

Parameters
Name Description
request UpdateExtensionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallExtension

The call object.

UpdateExtensionAsync(UpdateExtensionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Extension> UpdateExtensionAsync(UpdateExtensionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an Extension.

Parameters
Name Description
request UpdateExtensionRequest

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
AsyncUnaryCallExtension

The call object.