Apigee Registry v1 API - Class Registry.RegistryClient (1.0.0-beta06)

public class Registry.RegistryClient : ClientBase<Registry.RegistryClient>

Reference documentation and code samples for the Apigee Registry v1 API class Registry.RegistryClient.

Client for Registry

Inheritance

object > ClientBase > ClientBaseRegistryRegistryClient > Registry.RegistryClient

Namespace

Google.Cloud.ApigeeRegistry.V1

Assembly

Google.Cloud.ApigeeRegistry.V1.dll

Constructors

RegistryClient()

protected RegistryClient()

Protected parameterless constructor to allow creation of test doubles.

RegistryClient(CallInvoker)

public RegistryClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

RegistryClient(ChannelBase)

public RegistryClient(ChannelBase channel)

Creates a new client for Registry

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

RegistryClient(ClientBaseConfiguration)

protected RegistryClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateApi(CreateApiRequest, CallOptions)

public virtual Api CreateApi(CreateApiRequest request, CallOptions options)

Creates a specified API.

Parameters
Name Description
request CreateApiRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Api

The response received from the server.

CreateApi(CreateApiRequest, Metadata, DateTime?, CancellationToken)

public virtual Api CreateApi(CreateApiRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a specified API.

Parameters
Name Description
request CreateApiRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
Api

The response received from the server.

CreateApiAsync(CreateApiRequest, CallOptions)

public virtual AsyncUnaryCall<Api> CreateApiAsync(CreateApiRequest request, CallOptions options)

Creates a specified API.

Parameters
Name Description
request CreateApiRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApi

The call object.

CreateApiAsync(CreateApiRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Api> CreateApiAsync(CreateApiRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a specified API.

Parameters
Name Description
request CreateApiRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApi

The call object.

CreateApiDeployment(CreateApiDeploymentRequest, CallOptions)

public virtual ApiDeployment CreateApiDeployment(CreateApiDeploymentRequest request, CallOptions options)

Creates a specified deployment.

Parameters
Name Description
request CreateApiDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiDeployment

The response received from the server.

CreateApiDeployment(CreateApiDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiDeployment CreateApiDeployment(CreateApiDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a specified deployment.

Parameters
Name Description
request CreateApiDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiDeployment

The response received from the server.

CreateApiDeploymentAsync(CreateApiDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<ApiDeployment> CreateApiDeploymentAsync(CreateApiDeploymentRequest request, CallOptions options)

Creates a specified deployment.

Parameters
Name Description
request CreateApiDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiDeployment

The call object.

CreateApiDeploymentAsync(CreateApiDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiDeployment> CreateApiDeploymentAsync(CreateApiDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a specified deployment.

Parameters
Name Description
request CreateApiDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiDeployment

The call object.

CreateApiSpec(CreateApiSpecRequest, CallOptions)

public virtual ApiSpec CreateApiSpec(CreateApiSpecRequest request, CallOptions options)

Creates a specified spec.

Parameters
Name Description
request CreateApiSpecRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiSpec

The response received from the server.

CreateApiSpec(CreateApiSpecRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiSpec CreateApiSpec(CreateApiSpecRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a specified spec.

Parameters
Name Description
request CreateApiSpecRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiSpec

The response received from the server.

CreateApiSpecAsync(CreateApiSpecRequest, CallOptions)

public virtual AsyncUnaryCall<ApiSpec> CreateApiSpecAsync(CreateApiSpecRequest request, CallOptions options)

Creates a specified spec.

Parameters
Name Description
request CreateApiSpecRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiSpec

The call object.

CreateApiSpecAsync(CreateApiSpecRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiSpec> CreateApiSpecAsync(CreateApiSpecRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a specified spec.

Parameters
Name Description
request CreateApiSpecRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiSpec

The call object.

CreateApiVersion(CreateApiVersionRequest, CallOptions)

public virtual ApiVersion CreateApiVersion(CreateApiVersionRequest request, CallOptions options)

Creates a specified version.

Parameters
Name Description
request CreateApiVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiVersion

The response received from the server.

CreateApiVersion(CreateApiVersionRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiVersion CreateApiVersion(CreateApiVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a specified version.

Parameters
Name Description
request CreateApiVersionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiVersion

The response received from the server.

CreateApiVersionAsync(CreateApiVersionRequest, CallOptions)

public virtual AsyncUnaryCall<ApiVersion> CreateApiVersionAsync(CreateApiVersionRequest request, CallOptions options)

Creates a specified version.

Parameters
Name Description
request CreateApiVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiVersion

The call object.

CreateApiVersionAsync(CreateApiVersionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiVersion> CreateApiVersionAsync(CreateApiVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a specified version.

Parameters
Name Description
request CreateApiVersionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiVersion

The call object.

CreateArtifact(CreateArtifactRequest, CallOptions)

public virtual Artifact CreateArtifact(CreateArtifactRequest request, CallOptions options)

Creates a specified artifact.

Parameters
Name Description
request CreateArtifactRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Artifact

The response received from the server.

CreateArtifact(CreateArtifactRequest, Metadata, DateTime?, CancellationToken)

public virtual Artifact CreateArtifact(CreateArtifactRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a specified artifact.

Parameters
Name Description
request CreateArtifactRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
Artifact

The response received from the server.

CreateArtifactAsync(CreateArtifactRequest, CallOptions)

public virtual AsyncUnaryCall<Artifact> CreateArtifactAsync(CreateArtifactRequest request, CallOptions options)

Creates a specified artifact.

Parameters
Name Description
request CreateArtifactRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallArtifact

The call object.

CreateArtifactAsync(CreateArtifactRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Artifact> CreateArtifactAsync(CreateArtifactRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a specified artifact.

Parameters
Name Description
request CreateArtifactRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallArtifact

The call object.

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.

DeleteApi(DeleteApiRequest, CallOptions)

public virtual Empty DeleteApi(DeleteApiRequest request, CallOptions options)

Removes a specified API and all of the resources that it owns.

Parameters
Name Description
request DeleteApiRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteApi(DeleteApiRequest, Metadata, DateTime?, CancellationToken)

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

Removes a specified API and all of the resources that it owns.

Parameters
Name Description
request DeleteApiRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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.

DeleteApiAsync(DeleteApiRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteApiAsync(DeleteApiRequest request, CallOptions options)

Removes a specified API and all of the resources that it owns.

Parameters
Name Description
request DeleteApiRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteApiAsync(DeleteApiRequest, Metadata, DateTime?, CancellationToken)

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

Removes a specified API and all of the resources that it owns.

Parameters
Name Description
request DeleteApiRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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.

DeleteApiDeployment(DeleteApiDeploymentRequest, CallOptions)

public virtual Empty DeleteApiDeployment(DeleteApiDeploymentRequest request, CallOptions options)

Removes a specified deployment, all revisions, and all child resources (e.g., artifacts).

Parameters
Name Description
request DeleteApiDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteApiDeployment(DeleteApiDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Removes a specified deployment, all revisions, and all child resources (e.g., artifacts).

Parameters
Name Description
request DeleteApiDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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.

DeleteApiDeploymentAsync(DeleteApiDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteApiDeploymentAsync(DeleteApiDeploymentRequest request, CallOptions options)

Removes a specified deployment, all revisions, and all child resources (e.g., artifacts).

Parameters
Name Description
request DeleteApiDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteApiDeploymentAsync(DeleteApiDeploymentRequest, Metadata, DateTime?, CancellationToken)

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

Removes a specified deployment, all revisions, and all child resources (e.g., artifacts).

Parameters
Name Description
request DeleteApiDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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.

DeleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest, CallOptions)

public virtual ApiDeployment DeleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request, CallOptions options)

Deletes a revision of a deployment.

Parameters
Name Description
request DeleteApiDeploymentRevisionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiDeployment

The response received from the server.

DeleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiDeployment DeleteApiDeploymentRevision(DeleteApiDeploymentRevisionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a revision of a deployment.

Parameters
Name Description
request DeleteApiDeploymentRevisionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiDeployment

The response received from the server.

DeleteApiDeploymentRevisionAsync(DeleteApiDeploymentRevisionRequest, CallOptions)

public virtual AsyncUnaryCall<ApiDeployment> DeleteApiDeploymentRevisionAsync(DeleteApiDeploymentRevisionRequest request, CallOptions options)

Deletes a revision of a deployment.

Parameters
Name Description
request DeleteApiDeploymentRevisionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiDeployment

The call object.

DeleteApiDeploymentRevisionAsync(DeleteApiDeploymentRevisionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiDeployment> DeleteApiDeploymentRevisionAsync(DeleteApiDeploymentRevisionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a revision of a deployment.

Parameters
Name Description
request DeleteApiDeploymentRevisionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiDeployment

The call object.

DeleteApiSpec(DeleteApiSpecRequest, CallOptions)

public virtual Empty DeleteApiSpec(DeleteApiSpecRequest request, CallOptions options)

Removes a specified spec, all revisions, and all child resources (e.g., artifacts).

Parameters
Name Description
request DeleteApiSpecRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteApiSpec(DeleteApiSpecRequest, Metadata, DateTime?, CancellationToken)

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

Removes a specified spec, all revisions, and all child resources (e.g., artifacts).

Parameters
Name Description
request DeleteApiSpecRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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.

DeleteApiSpecAsync(DeleteApiSpecRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteApiSpecAsync(DeleteApiSpecRequest request, CallOptions options)

Removes a specified spec, all revisions, and all child resources (e.g., artifacts).

Parameters
Name Description
request DeleteApiSpecRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteApiSpecAsync(DeleteApiSpecRequest, Metadata, DateTime?, CancellationToken)

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

Removes a specified spec, all revisions, and all child resources (e.g., artifacts).

Parameters
Name Description
request DeleteApiSpecRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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.

DeleteApiSpecRevision(DeleteApiSpecRevisionRequest, CallOptions)

public virtual ApiSpec DeleteApiSpecRevision(DeleteApiSpecRevisionRequest request, CallOptions options)

Deletes a revision of a spec.

Parameters
Name Description
request DeleteApiSpecRevisionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiSpec

The response received from the server.

DeleteApiSpecRevision(DeleteApiSpecRevisionRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiSpec DeleteApiSpecRevision(DeleteApiSpecRevisionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a revision of a spec.

Parameters
Name Description
request DeleteApiSpecRevisionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiSpec

The response received from the server.

DeleteApiSpecRevisionAsync(DeleteApiSpecRevisionRequest, CallOptions)

public virtual AsyncUnaryCall<ApiSpec> DeleteApiSpecRevisionAsync(DeleteApiSpecRevisionRequest request, CallOptions options)

Deletes a revision of a spec.

Parameters
Name Description
request DeleteApiSpecRevisionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiSpec

The call object.

DeleteApiSpecRevisionAsync(DeleteApiSpecRevisionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiSpec> DeleteApiSpecRevisionAsync(DeleteApiSpecRevisionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a revision of a spec.

Parameters
Name Description
request DeleteApiSpecRevisionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiSpec

The call object.

DeleteApiVersion(DeleteApiVersionRequest, CallOptions)

public virtual Empty DeleteApiVersion(DeleteApiVersionRequest request, CallOptions options)

Removes a specified version and all of the resources that it owns.

Parameters
Name Description
request DeleteApiVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteApiVersion(DeleteApiVersionRequest, Metadata, DateTime?, CancellationToken)

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

Removes a specified version and all of the resources that it owns.

Parameters
Name Description
request DeleteApiVersionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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.

DeleteApiVersionAsync(DeleteApiVersionRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteApiVersionAsync(DeleteApiVersionRequest request, CallOptions options)

Removes a specified version and all of the resources that it owns.

Parameters
Name Description
request DeleteApiVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteApiVersionAsync(DeleteApiVersionRequest, Metadata, DateTime?, CancellationToken)

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

Removes a specified version and all of the resources that it owns.

Parameters
Name Description
request DeleteApiVersionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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.

DeleteArtifact(DeleteArtifactRequest, CallOptions)

public virtual Empty DeleteArtifact(DeleteArtifactRequest request, CallOptions options)

Removes a specified artifact.

Parameters
Name Description
request DeleteArtifactRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteArtifact(DeleteArtifactRequest, Metadata, DateTime?, CancellationToken)

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

Removes a specified artifact.

Parameters
Name Description
request DeleteArtifactRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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.

DeleteArtifactAsync(DeleteArtifactRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteArtifactAsync(DeleteArtifactRequest request, CallOptions options)

Removes a specified artifact.

Parameters
Name Description
request DeleteArtifactRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteArtifactAsync(DeleteArtifactRequest, Metadata, DateTime?, CancellationToken)

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

Removes a specified artifact.

Parameters
Name Description
request DeleteArtifactRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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.

GetApi(GetApiRequest, CallOptions)

public virtual Api GetApi(GetApiRequest request, CallOptions options)

Returns a specified API.

Parameters
Name Description
request GetApiRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Api

The response received from the server.

GetApi(GetApiRequest, Metadata, DateTime?, CancellationToken)

public virtual Api GetApi(GetApiRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a specified API.

Parameters
Name Description
request GetApiRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
Api

The response received from the server.

GetApiAsync(GetApiRequest, CallOptions)

public virtual AsyncUnaryCall<Api> GetApiAsync(GetApiRequest request, CallOptions options)

Returns a specified API.

Parameters
Name Description
request GetApiRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApi

The call object.

GetApiAsync(GetApiRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Api> GetApiAsync(GetApiRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a specified API.

Parameters
Name Description
request GetApiRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApi

The call object.

GetApiDeployment(GetApiDeploymentRequest, CallOptions)

public virtual ApiDeployment GetApiDeployment(GetApiDeploymentRequest request, CallOptions options)

Returns a specified deployment.

Parameters
Name Description
request GetApiDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiDeployment

The response received from the server.

GetApiDeployment(GetApiDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiDeployment GetApiDeployment(GetApiDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a specified deployment.

Parameters
Name Description
request GetApiDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiDeployment

The response received from the server.

GetApiDeploymentAsync(GetApiDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<ApiDeployment> GetApiDeploymentAsync(GetApiDeploymentRequest request, CallOptions options)

Returns a specified deployment.

Parameters
Name Description
request GetApiDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiDeployment

The call object.

GetApiDeploymentAsync(GetApiDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiDeployment> GetApiDeploymentAsync(GetApiDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a specified deployment.

Parameters
Name Description
request GetApiDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiDeployment

The call object.

GetApiSpec(GetApiSpecRequest, CallOptions)

public virtual ApiSpec GetApiSpec(GetApiSpecRequest request, CallOptions options)

Returns a specified spec.

Parameters
Name Description
request GetApiSpecRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiSpec

The response received from the server.

GetApiSpec(GetApiSpecRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiSpec GetApiSpec(GetApiSpecRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a specified spec.

Parameters
Name Description
request GetApiSpecRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiSpec

The response received from the server.

GetApiSpecAsync(GetApiSpecRequest, CallOptions)

public virtual AsyncUnaryCall<ApiSpec> GetApiSpecAsync(GetApiSpecRequest request, CallOptions options)

Returns a specified spec.

Parameters
Name Description
request GetApiSpecRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiSpec

The call object.

GetApiSpecAsync(GetApiSpecRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiSpec> GetApiSpecAsync(GetApiSpecRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a specified spec.

Parameters
Name Description
request GetApiSpecRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiSpec

The call object.

GetApiSpecContents(GetApiSpecContentsRequest, CallOptions)

public virtual HttpBody GetApiSpecContents(GetApiSpecContentsRequest request, CallOptions options)

Returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned).

Parameters
Name Description
request GetApiSpecContentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
HttpBody

The response received from the server.

GetApiSpecContents(GetApiSpecContentsRequest, Metadata, DateTime?, CancellationToken)

public virtual HttpBody GetApiSpecContents(GetApiSpecContentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned).

Parameters
Name Description
request GetApiSpecContentsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
HttpBody

The response received from the server.

GetApiSpecContentsAsync(GetApiSpecContentsRequest, CallOptions)

public virtual AsyncUnaryCall<HttpBody> GetApiSpecContentsAsync(GetApiSpecContentsRequest request, CallOptions options)

Returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned).

Parameters
Name Description
request GetApiSpecContentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallHttpBody

The call object.

GetApiSpecContentsAsync(GetApiSpecContentsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<HttpBody> GetApiSpecContentsAsync(GetApiSpecContentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the contents of a specified spec. If specs are stored with GZip compression, the default behavior is to return the spec uncompressed (the mime_type response field indicates the exact format returned).

Parameters
Name Description
request GetApiSpecContentsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallHttpBody

The call object.

GetApiVersion(GetApiVersionRequest, CallOptions)

public virtual ApiVersion GetApiVersion(GetApiVersionRequest request, CallOptions options)

Returns a specified version.

Parameters
Name Description
request GetApiVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiVersion

The response received from the server.

GetApiVersion(GetApiVersionRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiVersion GetApiVersion(GetApiVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a specified version.

Parameters
Name Description
request GetApiVersionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiVersion

The response received from the server.

GetApiVersionAsync(GetApiVersionRequest, CallOptions)

public virtual AsyncUnaryCall<ApiVersion> GetApiVersionAsync(GetApiVersionRequest request, CallOptions options)

Returns a specified version.

Parameters
Name Description
request GetApiVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiVersion

The call object.

GetApiVersionAsync(GetApiVersionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiVersion> GetApiVersionAsync(GetApiVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a specified version.

Parameters
Name Description
request GetApiVersionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiVersion

The call object.

GetArtifact(GetArtifactRequest, CallOptions)

public virtual Artifact GetArtifact(GetArtifactRequest request, CallOptions options)

Returns a specified artifact.

Parameters
Name Description
request GetArtifactRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Artifact

The response received from the server.

GetArtifact(GetArtifactRequest, Metadata, DateTime?, CancellationToken)

public virtual Artifact GetArtifact(GetArtifactRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a specified artifact.

Parameters
Name Description
request GetArtifactRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
Artifact

The response received from the server.

GetArtifactAsync(GetArtifactRequest, CallOptions)

public virtual AsyncUnaryCall<Artifact> GetArtifactAsync(GetArtifactRequest request, CallOptions options)

Returns a specified artifact.

Parameters
Name Description
request GetArtifactRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallArtifact

The call object.

GetArtifactAsync(GetArtifactRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Artifact> GetArtifactAsync(GetArtifactRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns a specified artifact.

Parameters
Name Description
request GetArtifactRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallArtifact

The call object.

GetArtifactContents(GetArtifactContentsRequest, CallOptions)

public virtual HttpBody GetArtifactContents(GetArtifactContentsRequest request, CallOptions options)

Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).

Parameters
Name Description
request GetArtifactContentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
HttpBody

The response received from the server.

GetArtifactContents(GetArtifactContentsRequest, Metadata, DateTime?, CancellationToken)

public virtual HttpBody GetArtifactContents(GetArtifactContentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).

Parameters
Name Description
request GetArtifactContentsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
HttpBody

The response received from the server.

GetArtifactContentsAsync(GetArtifactContentsRequest, CallOptions)

public virtual AsyncUnaryCall<HttpBody> GetArtifactContentsAsync(GetArtifactContentsRequest request, CallOptions options)

Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).

Parameters
Name Description
request GetArtifactContentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallHttpBody

The call object.

GetArtifactContentsAsync(GetArtifactContentsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<HttpBody> GetArtifactContentsAsync(GetArtifactContentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the contents of a specified artifact. If artifacts are stored with GZip compression, the default behavior is to return the artifact uncompressed (the mime_type response field indicates the exact format returned).

Parameters
Name Description
request GetArtifactContentsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallHttpBody

The call object.

ListApiDeploymentRevisions(ListApiDeploymentRevisionsRequest, CallOptions)

public virtual ListApiDeploymentRevisionsResponse ListApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request, CallOptions options)

Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.

Parameters
Name Description
request ListApiDeploymentRevisionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListApiDeploymentRevisionsResponse

The response received from the server.

ListApiDeploymentRevisions(ListApiDeploymentRevisionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListApiDeploymentRevisionsResponse ListApiDeploymentRevisions(ListApiDeploymentRevisionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.

Parameters
Name Description
request ListApiDeploymentRevisionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ListApiDeploymentRevisionsResponse

The response received from the server.

ListApiDeploymentRevisionsAsync(ListApiDeploymentRevisionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListApiDeploymentRevisionsResponse> ListApiDeploymentRevisionsAsync(ListApiDeploymentRevisionsRequest request, CallOptions options)

Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.

Parameters
Name Description
request ListApiDeploymentRevisionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListApiDeploymentRevisionsResponse

The call object.

ListApiDeploymentRevisionsAsync(ListApiDeploymentRevisionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListApiDeploymentRevisionsResponse> ListApiDeploymentRevisionsAsync(ListApiDeploymentRevisionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all revisions of a deployment. Revisions are returned in descending order of revision creation time.

Parameters
Name Description
request ListApiDeploymentRevisionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallListApiDeploymentRevisionsResponse

The call object.

ListApiDeployments(ListApiDeploymentsRequest, CallOptions)

public virtual ListApiDeploymentsResponse ListApiDeployments(ListApiDeploymentsRequest request, CallOptions options)

Returns matching deployments.

Parameters
Name Description
request ListApiDeploymentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListApiDeploymentsResponse

The response received from the server.

ListApiDeployments(ListApiDeploymentsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListApiDeploymentsResponse ListApiDeployments(ListApiDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns matching deployments.

Parameters
Name Description
request ListApiDeploymentsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ListApiDeploymentsResponse

The response received from the server.

ListApiDeploymentsAsync(ListApiDeploymentsRequest, CallOptions)

public virtual AsyncUnaryCall<ListApiDeploymentsResponse> ListApiDeploymentsAsync(ListApiDeploymentsRequest request, CallOptions options)

Returns matching deployments.

Parameters
Name Description
request ListApiDeploymentsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListApiDeploymentsResponse

The call object.

ListApiDeploymentsAsync(ListApiDeploymentsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListApiDeploymentsResponse> ListApiDeploymentsAsync(ListApiDeploymentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns matching deployments.

Parameters
Name Description
request ListApiDeploymentsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallListApiDeploymentsResponse

The call object.

ListApiSpecRevisions(ListApiSpecRevisionsRequest, CallOptions)

public virtual ListApiSpecRevisionsResponse ListApiSpecRevisions(ListApiSpecRevisionsRequest request, CallOptions options)

Lists all revisions of a spec. Revisions are returned in descending order of revision creation time.

Parameters
Name Description
request ListApiSpecRevisionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListApiSpecRevisionsResponse

The response received from the server.

ListApiSpecRevisions(ListApiSpecRevisionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListApiSpecRevisionsResponse ListApiSpecRevisions(ListApiSpecRevisionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all revisions of a spec. Revisions are returned in descending order of revision creation time.

Parameters
Name Description
request ListApiSpecRevisionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ListApiSpecRevisionsResponse

The response received from the server.

ListApiSpecRevisionsAsync(ListApiSpecRevisionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListApiSpecRevisionsResponse> ListApiSpecRevisionsAsync(ListApiSpecRevisionsRequest request, CallOptions options)

Lists all revisions of a spec. Revisions are returned in descending order of revision creation time.

Parameters
Name Description
request ListApiSpecRevisionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListApiSpecRevisionsResponse

The call object.

ListApiSpecRevisionsAsync(ListApiSpecRevisionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListApiSpecRevisionsResponse> ListApiSpecRevisionsAsync(ListApiSpecRevisionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all revisions of a spec. Revisions are returned in descending order of revision creation time.

Parameters
Name Description
request ListApiSpecRevisionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallListApiSpecRevisionsResponse

The call object.

ListApiSpecs(ListApiSpecsRequest, CallOptions)

public virtual ListApiSpecsResponse ListApiSpecs(ListApiSpecsRequest request, CallOptions options)

Returns matching specs.

Parameters
Name Description
request ListApiSpecsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListApiSpecsResponse

The response received from the server.

ListApiSpecs(ListApiSpecsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListApiSpecsResponse ListApiSpecs(ListApiSpecsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns matching specs.

Parameters
Name Description
request ListApiSpecsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ListApiSpecsResponse

The response received from the server.

ListApiSpecsAsync(ListApiSpecsRequest, CallOptions)

public virtual AsyncUnaryCall<ListApiSpecsResponse> ListApiSpecsAsync(ListApiSpecsRequest request, CallOptions options)

Returns matching specs.

Parameters
Name Description
request ListApiSpecsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListApiSpecsResponse

The call object.

ListApiSpecsAsync(ListApiSpecsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListApiSpecsResponse> ListApiSpecsAsync(ListApiSpecsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns matching specs.

Parameters
Name Description
request ListApiSpecsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallListApiSpecsResponse

The call object.

ListApiVersions(ListApiVersionsRequest, CallOptions)

public virtual ListApiVersionsResponse ListApiVersions(ListApiVersionsRequest request, CallOptions options)

Returns matching versions.

Parameters
Name Description
request ListApiVersionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListApiVersionsResponse

The response received from the server.

ListApiVersions(ListApiVersionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListApiVersionsResponse ListApiVersions(ListApiVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns matching versions.

Parameters
Name Description
request ListApiVersionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ListApiVersionsResponse

The response received from the server.

ListApiVersionsAsync(ListApiVersionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListApiVersionsResponse> ListApiVersionsAsync(ListApiVersionsRequest request, CallOptions options)

Returns matching versions.

Parameters
Name Description
request ListApiVersionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListApiVersionsResponse

The call object.

ListApiVersionsAsync(ListApiVersionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListApiVersionsResponse> ListApiVersionsAsync(ListApiVersionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns matching versions.

Parameters
Name Description
request ListApiVersionsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallListApiVersionsResponse

The call object.

ListApis(ListApisRequest, CallOptions)

public virtual ListApisResponse ListApis(ListApisRequest request, CallOptions options)

Returns matching APIs.

Parameters
Name Description
request ListApisRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListApisResponse

The response received from the server.

ListApis(ListApisRequest, Metadata, DateTime?, CancellationToken)

public virtual ListApisResponse ListApis(ListApisRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns matching APIs.

Parameters
Name Description
request ListApisRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ListApisResponse

The response received from the server.

ListApisAsync(ListApisRequest, CallOptions)

public virtual AsyncUnaryCall<ListApisResponse> ListApisAsync(ListApisRequest request, CallOptions options)

Returns matching APIs.

Parameters
Name Description
request ListApisRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListApisResponse

The call object.

ListApisAsync(ListApisRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListApisResponse> ListApisAsync(ListApisRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns matching APIs.

Parameters
Name Description
request ListApisRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallListApisResponse

The call object.

ListArtifacts(ListArtifactsRequest, CallOptions)

public virtual ListArtifactsResponse ListArtifacts(ListArtifactsRequest request, CallOptions options)

Returns matching artifacts.

Parameters
Name Description
request ListArtifactsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListArtifactsResponse

The response received from the server.

ListArtifacts(ListArtifactsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListArtifactsResponse ListArtifacts(ListArtifactsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns matching artifacts.

Parameters
Name Description
request ListArtifactsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ListArtifactsResponse

The response received from the server.

ListArtifactsAsync(ListArtifactsRequest, CallOptions)

public virtual AsyncUnaryCall<ListArtifactsResponse> ListArtifactsAsync(ListArtifactsRequest request, CallOptions options)

Returns matching artifacts.

Parameters
Name Description
request ListArtifactsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListArtifactsResponse

The call object.

ListArtifactsAsync(ListArtifactsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListArtifactsResponse> ListArtifactsAsync(ListArtifactsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns matching artifacts.

Parameters
Name Description
request ListArtifactsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallListArtifactsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override Registry.RegistryClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
RegistryRegistryClient
Overrides

ReplaceArtifact(ReplaceArtifactRequest, CallOptions)

public virtual Artifact ReplaceArtifact(ReplaceArtifactRequest request, CallOptions options)

Used to replace a specified artifact.

Parameters
Name Description
request ReplaceArtifactRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Artifact

The response received from the server.

ReplaceArtifact(ReplaceArtifactRequest, Metadata, DateTime?, CancellationToken)

public virtual Artifact ReplaceArtifact(ReplaceArtifactRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Used to replace a specified artifact.

Parameters
Name Description
request ReplaceArtifactRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
Artifact

The response received from the server.

ReplaceArtifactAsync(ReplaceArtifactRequest, CallOptions)

public virtual AsyncUnaryCall<Artifact> ReplaceArtifactAsync(ReplaceArtifactRequest request, CallOptions options)

Used to replace a specified artifact.

Parameters
Name Description
request ReplaceArtifactRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallArtifact

The call object.

ReplaceArtifactAsync(ReplaceArtifactRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Artifact> ReplaceArtifactAsync(ReplaceArtifactRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Used to replace a specified artifact.

Parameters
Name Description
request ReplaceArtifactRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallArtifact

The call object.

RollbackApiDeployment(RollbackApiDeploymentRequest, CallOptions)

public virtual ApiDeployment RollbackApiDeployment(RollbackApiDeploymentRequest request, CallOptions options)

Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

Parameters
Name Description
request RollbackApiDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiDeployment

The response received from the server.

RollbackApiDeployment(RollbackApiDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiDeployment RollbackApiDeployment(RollbackApiDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

Parameters
Name Description
request RollbackApiDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiDeployment

The response received from the server.

RollbackApiDeploymentAsync(RollbackApiDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<ApiDeployment> RollbackApiDeploymentAsync(RollbackApiDeploymentRequest request, CallOptions options)

Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

Parameters
Name Description
request RollbackApiDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiDeployment

The call object.

RollbackApiDeploymentAsync(RollbackApiDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiDeployment> RollbackApiDeploymentAsync(RollbackApiDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

Parameters
Name Description
request RollbackApiDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiDeployment

The call object.

RollbackApiSpec(RollbackApiSpecRequest, CallOptions)

public virtual ApiSpec RollbackApiSpec(RollbackApiSpecRequest request, CallOptions options)

Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

Parameters
Name Description
request RollbackApiSpecRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiSpec

The response received from the server.

RollbackApiSpec(RollbackApiSpecRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiSpec RollbackApiSpec(RollbackApiSpecRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

Parameters
Name Description
request RollbackApiSpecRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiSpec

The response received from the server.

RollbackApiSpecAsync(RollbackApiSpecRequest, CallOptions)

public virtual AsyncUnaryCall<ApiSpec> RollbackApiSpecAsync(RollbackApiSpecRequest request, CallOptions options)

Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

Parameters
Name Description
request RollbackApiSpecRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiSpec

The call object.

RollbackApiSpecAsync(RollbackApiSpecRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiSpec> RollbackApiSpecAsync(RollbackApiSpecRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the current revision to a specified prior revision. Note that this creates a new revision with a new revision ID.

Parameters
Name Description
request RollbackApiSpecRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiSpec

The call object.

TagApiDeploymentRevision(TagApiDeploymentRevisionRequest, CallOptions)

public virtual ApiDeployment TagApiDeploymentRevision(TagApiDeploymentRevisionRequest request, CallOptions options)

Adds a tag to a specified revision of a deployment.

Parameters
Name Description
request TagApiDeploymentRevisionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiDeployment

The response received from the server.

TagApiDeploymentRevision(TagApiDeploymentRevisionRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiDeployment TagApiDeploymentRevision(TagApiDeploymentRevisionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds a tag to a specified revision of a deployment.

Parameters
Name Description
request TagApiDeploymentRevisionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiDeployment

The response received from the server.

TagApiDeploymentRevisionAsync(TagApiDeploymentRevisionRequest, CallOptions)

public virtual AsyncUnaryCall<ApiDeployment> TagApiDeploymentRevisionAsync(TagApiDeploymentRevisionRequest request, CallOptions options)

Adds a tag to a specified revision of a deployment.

Parameters
Name Description
request TagApiDeploymentRevisionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiDeployment

The call object.

TagApiDeploymentRevisionAsync(TagApiDeploymentRevisionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiDeployment> TagApiDeploymentRevisionAsync(TagApiDeploymentRevisionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds a tag to a specified revision of a deployment.

Parameters
Name Description
request TagApiDeploymentRevisionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiDeployment

The call object.

TagApiSpecRevision(TagApiSpecRevisionRequest, CallOptions)

public virtual ApiSpec TagApiSpecRevision(TagApiSpecRevisionRequest request, CallOptions options)

Adds a tag to a specified revision of a spec.

Parameters
Name Description
request TagApiSpecRevisionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiSpec

The response received from the server.

TagApiSpecRevision(TagApiSpecRevisionRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiSpec TagApiSpecRevision(TagApiSpecRevisionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds a tag to a specified revision of a spec.

Parameters
Name Description
request TagApiSpecRevisionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiSpec

The response received from the server.

TagApiSpecRevisionAsync(TagApiSpecRevisionRequest, CallOptions)

public virtual AsyncUnaryCall<ApiSpec> TagApiSpecRevisionAsync(TagApiSpecRevisionRequest request, CallOptions options)

Adds a tag to a specified revision of a spec.

Parameters
Name Description
request TagApiSpecRevisionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiSpec

The call object.

TagApiSpecRevisionAsync(TagApiSpecRevisionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiSpec> TagApiSpecRevisionAsync(TagApiSpecRevisionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds a tag to a specified revision of a spec.

Parameters
Name Description
request TagApiSpecRevisionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiSpec

The call object.

UpdateApi(UpdateApiRequest, CallOptions)

public virtual Api UpdateApi(UpdateApiRequest request, CallOptions options)

Used to modify a specified API.

Parameters
Name Description
request UpdateApiRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Api

The response received from the server.

UpdateApi(UpdateApiRequest, Metadata, DateTime?, CancellationToken)

public virtual Api UpdateApi(UpdateApiRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Used to modify a specified API.

Parameters
Name Description
request UpdateApiRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
Api

The response received from the server.

UpdateApiAsync(UpdateApiRequest, CallOptions)

public virtual AsyncUnaryCall<Api> UpdateApiAsync(UpdateApiRequest request, CallOptions options)

Used to modify a specified API.

Parameters
Name Description
request UpdateApiRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApi

The call object.

UpdateApiAsync(UpdateApiRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Api> UpdateApiAsync(UpdateApiRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Used to modify a specified API.

Parameters
Name Description
request UpdateApiRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApi

The call object.

UpdateApiDeployment(UpdateApiDeploymentRequest, CallOptions)

public virtual ApiDeployment UpdateApiDeployment(UpdateApiDeploymentRequest request, CallOptions options)

Used to modify a specified deployment.

Parameters
Name Description
request UpdateApiDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiDeployment

The response received from the server.

UpdateApiDeployment(UpdateApiDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiDeployment UpdateApiDeployment(UpdateApiDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Used to modify a specified deployment.

Parameters
Name Description
request UpdateApiDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiDeployment

The response received from the server.

UpdateApiDeploymentAsync(UpdateApiDeploymentRequest, CallOptions)

public virtual AsyncUnaryCall<ApiDeployment> UpdateApiDeploymentAsync(UpdateApiDeploymentRequest request, CallOptions options)

Used to modify a specified deployment.

Parameters
Name Description
request UpdateApiDeploymentRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiDeployment

The call object.

UpdateApiDeploymentAsync(UpdateApiDeploymentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiDeployment> UpdateApiDeploymentAsync(UpdateApiDeploymentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Used to modify a specified deployment.

Parameters
Name Description
request UpdateApiDeploymentRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiDeployment

The call object.

UpdateApiSpec(UpdateApiSpecRequest, CallOptions)

public virtual ApiSpec UpdateApiSpec(UpdateApiSpecRequest request, CallOptions options)

Used to modify a specified spec.

Parameters
Name Description
request UpdateApiSpecRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiSpec

The response received from the server.

UpdateApiSpec(UpdateApiSpecRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiSpec UpdateApiSpec(UpdateApiSpecRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Used to modify a specified spec.

Parameters
Name Description
request UpdateApiSpecRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiSpec

The response received from the server.

UpdateApiSpecAsync(UpdateApiSpecRequest, CallOptions)

public virtual AsyncUnaryCall<ApiSpec> UpdateApiSpecAsync(UpdateApiSpecRequest request, CallOptions options)

Used to modify a specified spec.

Parameters
Name Description
request UpdateApiSpecRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiSpec

The call object.

UpdateApiSpecAsync(UpdateApiSpecRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiSpec> UpdateApiSpecAsync(UpdateApiSpecRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Used to modify a specified spec.

Parameters
Name Description
request UpdateApiSpecRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiSpec

The call object.

UpdateApiVersion(UpdateApiVersionRequest, CallOptions)

public virtual ApiVersion UpdateApiVersion(UpdateApiVersionRequest request, CallOptions options)

Used to modify a specified version.

Parameters
Name Description
request UpdateApiVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApiVersion

The response received from the server.

UpdateApiVersion(UpdateApiVersionRequest, Metadata, DateTime?, CancellationToken)

public virtual ApiVersion UpdateApiVersion(UpdateApiVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Used to modify a specified version.

Parameters
Name Description
request UpdateApiVersionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
ApiVersion

The response received from the server.

UpdateApiVersionAsync(UpdateApiVersionRequest, CallOptions)

public virtual AsyncUnaryCall<ApiVersion> UpdateApiVersionAsync(UpdateApiVersionRequest request, CallOptions options)

Used to modify a specified version.

Parameters
Name Description
request UpdateApiVersionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApiVersion

The call object.

UpdateApiVersionAsync(UpdateApiVersionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApiVersion> UpdateApiVersionAsync(UpdateApiVersionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Used to modify a specified version.

Parameters
Name Description
request UpdateApiVersionRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline 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
AsyncUnaryCallApiVersion

The call object.