Cloud Build v2 API - Class RepositoryManager.RepositoryManagerClient (1.2.0)

public class RepositoryManager.RepositoryManagerClient : ClientBase<RepositoryManager.RepositoryManagerClient>

Reference documentation and code samples for the Cloud Build v2 API class RepositoryManager.RepositoryManagerClient.

Client for RepositoryManager

Inheritance

object > ClientBase > ClientBaseRepositoryManagerRepositoryManagerClient > RepositoryManager.RepositoryManagerClient

Namespace

Google.Cloud.CloudBuild.V2

Assembly

Google.Cloud.CloudBuild.V2.dll

Constructors

RepositoryManagerClient()

protected RepositoryManagerClient()

Protected parameterless constructor to allow creation of test doubles.

RepositoryManagerClient(CallInvoker)

public RepositoryManagerClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

RepositoryManagerClient(ChannelBase)

public RepositoryManagerClient(ChannelBase channel)

Creates a new client for RepositoryManager

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

RepositoryManagerClient(ClientBaseConfiguration)

protected RepositoryManagerClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

BatchCreateRepositories(BatchCreateRepositoriesRequest, CallOptions)

public virtual Operation BatchCreateRepositories(BatchCreateRepositoriesRequest request, CallOptions options)

Creates multiple repositories inside a connection.

Parameters
NameDescription
requestBatchCreateRepositoriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

BatchCreateRepositories(BatchCreateRepositoriesRequest, Metadata, DateTime?, CancellationToken)

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

Creates multiple repositories inside a connection.

Parameters
NameDescription
requestBatchCreateRepositoriesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

BatchCreateRepositoriesAsync(BatchCreateRepositoriesRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> BatchCreateRepositoriesAsync(BatchCreateRepositoriesRequest request, CallOptions options)

Creates multiple repositories inside a connection.

Parameters
NameDescription
requestBatchCreateRepositoriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

BatchCreateRepositoriesAsync(BatchCreateRepositoriesRequest, Metadata, DateTime?, CancellationToken)

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

Creates multiple repositories inside a connection.

Parameters
NameDescription
requestBatchCreateRepositoriesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateConnection(CreateConnectionRequest, CallOptions)

public virtual Operation CreateConnection(CreateConnectionRequest request, CallOptions options)

Creates a Connection.

Parameters
NameDescription
requestCreateConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateConnection(CreateConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Creates a Connection.

Parameters
NameDescription
requestCreateConnectionRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateConnectionAsync(CreateConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateConnectionAsync(CreateConnectionRequest request, CallOptions options)

Creates a Connection.

Parameters
NameDescription
requestCreateConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateConnectionAsync(CreateConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Creates a Connection.

Parameters
NameDescription
requestCreateConnectionRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

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
TypeDescription
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
TypeDescription
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
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

CreateRepository(CreateRepositoryRequest, CallOptions)

public virtual Operation CreateRepository(CreateRepositoryRequest request, CallOptions options)

Creates a Repository.

Parameters
NameDescription
requestCreateRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateRepository(CreateRepositoryRequest, Metadata, DateTime?, CancellationToken)

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

Creates a Repository.

Parameters
NameDescription
requestCreateRepositoryRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateRepositoryAsync(CreateRepositoryRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateRepositoryAsync(CreateRepositoryRequest request, CallOptions options)

Creates a Repository.

Parameters
NameDescription
requestCreateRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateRepositoryAsync(CreateRepositoryRequest, Metadata, DateTime?, CancellationToken)

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

Creates a Repository.

Parameters
NameDescription
requestCreateRepositoryRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteConnection(DeleteConnectionRequest, CallOptions)

public virtual Operation DeleteConnection(DeleteConnectionRequest request, CallOptions options)

Deletes a single connection.

Parameters
NameDescription
requestDeleteConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteConnection(DeleteConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single connection.

Parameters
NameDescription
requestDeleteConnectionRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteConnectionAsync(DeleteConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteConnectionAsync(DeleteConnectionRequest request, CallOptions options)

Deletes a single connection.

Parameters
NameDescription
requestDeleteConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteConnectionAsync(DeleteConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single connection.

Parameters
NameDescription
requestDeleteConnectionRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteRepository(DeleteRepositoryRequest, CallOptions)

public virtual Operation DeleteRepository(DeleteRepositoryRequest request, CallOptions options)

Deletes a single repository.

Parameters
NameDescription
requestDeleteRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteRepository(DeleteRepositoryRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single repository.

Parameters
NameDescription
requestDeleteRepositoryRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteRepositoryAsync(DeleteRepositoryRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteRepositoryAsync(DeleteRepositoryRequest request, CallOptions options)

Deletes a single repository.

Parameters
NameDescription
requestDeleteRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteRepositoryAsync(DeleteRepositoryRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single repository.

Parameters
NameDescription
requestDeleteRepositoryRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

FetchGitRefs(FetchGitRefsRequest, CallOptions)

public virtual FetchGitRefsResponse FetchGitRefs(FetchGitRefsRequest request, CallOptions options)

Fetch the list of branches or tags for a given repository.

Parameters
NameDescription
requestFetchGitRefsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FetchGitRefsResponse

The response received from the server.

FetchGitRefs(FetchGitRefsRequest, Metadata, DateTime?, CancellationToken)

public virtual FetchGitRefsResponse FetchGitRefs(FetchGitRefsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Fetch the list of branches or tags for a given repository.

Parameters
NameDescription
requestFetchGitRefsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
FetchGitRefsResponse

The response received from the server.

FetchGitRefsAsync(FetchGitRefsRequest, CallOptions)

public virtual AsyncUnaryCall<FetchGitRefsResponse> FetchGitRefsAsync(FetchGitRefsRequest request, CallOptions options)

Fetch the list of branches or tags for a given repository.

Parameters
NameDescription
requestFetchGitRefsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallFetchGitRefsResponse

The call object.

FetchGitRefsAsync(FetchGitRefsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<FetchGitRefsResponse> FetchGitRefsAsync(FetchGitRefsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Fetch the list of branches or tags for a given repository.

Parameters
NameDescription
requestFetchGitRefsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallFetchGitRefsResponse

The call object.

FetchLinkableRepositories(FetchLinkableRepositoriesRequest, CallOptions)

public virtual FetchLinkableRepositoriesResponse FetchLinkableRepositories(FetchLinkableRepositoriesRequest request, CallOptions options)

FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.

Parameters
NameDescription
requestFetchLinkableRepositoriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FetchLinkableRepositoriesResponse

The response received from the server.

FetchLinkableRepositories(FetchLinkableRepositoriesRequest, Metadata, DateTime?, CancellationToken)

public virtual FetchLinkableRepositoriesResponse FetchLinkableRepositories(FetchLinkableRepositoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.

Parameters
NameDescription
requestFetchLinkableRepositoriesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
FetchLinkableRepositoriesResponse

The response received from the server.

FetchLinkableRepositoriesAsync(FetchLinkableRepositoriesRequest, CallOptions)

public virtual AsyncUnaryCall<FetchLinkableRepositoriesResponse> FetchLinkableRepositoriesAsync(FetchLinkableRepositoriesRequest request, CallOptions options)

FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.

Parameters
NameDescription
requestFetchLinkableRepositoriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallFetchLinkableRepositoriesResponse

The call object.

FetchLinkableRepositoriesAsync(FetchLinkableRepositoriesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<FetchLinkableRepositoriesResponse> FetchLinkableRepositoriesAsync(FetchLinkableRepositoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.

Parameters
NameDescription
requestFetchLinkableRepositoriesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallFetchLinkableRepositoriesResponse

The call object.

FetchReadToken(FetchReadTokenRequest, CallOptions)

public virtual FetchReadTokenResponse FetchReadToken(FetchReadTokenRequest request, CallOptions options)

Fetches read token of a given repository.

Parameters
NameDescription
requestFetchReadTokenRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FetchReadTokenResponse

The response received from the server.

FetchReadToken(FetchReadTokenRequest, Metadata, DateTime?, CancellationToken)

public virtual FetchReadTokenResponse FetchReadToken(FetchReadTokenRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Fetches read token of a given repository.

Parameters
NameDescription
requestFetchReadTokenRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
FetchReadTokenResponse

The response received from the server.

FetchReadTokenAsync(FetchReadTokenRequest, CallOptions)

public virtual AsyncUnaryCall<FetchReadTokenResponse> FetchReadTokenAsync(FetchReadTokenRequest request, CallOptions options)

Fetches read token of a given repository.

Parameters
NameDescription
requestFetchReadTokenRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallFetchReadTokenResponse

The call object.

FetchReadTokenAsync(FetchReadTokenRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<FetchReadTokenResponse> FetchReadTokenAsync(FetchReadTokenRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Fetches read token of a given repository.

Parameters
NameDescription
requestFetchReadTokenRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallFetchReadTokenResponse

The call object.

FetchReadWriteToken(FetchReadWriteTokenRequest, CallOptions)

public virtual FetchReadWriteTokenResponse FetchReadWriteToken(FetchReadWriteTokenRequest request, CallOptions options)

Fetches read/write token of a given repository.

Parameters
NameDescription
requestFetchReadWriteTokenRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
FetchReadWriteTokenResponse

The response received from the server.

FetchReadWriteToken(FetchReadWriteTokenRequest, Metadata, DateTime?, CancellationToken)

public virtual FetchReadWriteTokenResponse FetchReadWriteToken(FetchReadWriteTokenRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Fetches read/write token of a given repository.

Parameters
NameDescription
requestFetchReadWriteTokenRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
FetchReadWriteTokenResponse

The response received from the server.

FetchReadWriteTokenAsync(FetchReadWriteTokenRequest, CallOptions)

public virtual AsyncUnaryCall<FetchReadWriteTokenResponse> FetchReadWriteTokenAsync(FetchReadWriteTokenRequest request, CallOptions options)

Fetches read/write token of a given repository.

Parameters
NameDescription
requestFetchReadWriteTokenRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallFetchReadWriteTokenResponse

The call object.

FetchReadWriteTokenAsync(FetchReadWriteTokenRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<FetchReadWriteTokenResponse> FetchReadWriteTokenAsync(FetchReadWriteTokenRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Fetches read/write token of a given repository.

Parameters
NameDescription
requestFetchReadWriteTokenRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallFetchReadWriteTokenResponse

The call object.

GetConnection(GetConnectionRequest, CallOptions)

public virtual Connection GetConnection(GetConnectionRequest request, CallOptions options)

Gets details of a single connection.

Parameters
NameDescription
requestGetConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Connection

The response received from the server.

GetConnection(GetConnectionRequest, Metadata, DateTime?, CancellationToken)

public virtual Connection GetConnection(GetConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single connection.

Parameters
NameDescription
requestGetConnectionRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Connection

The response received from the server.

GetConnectionAsync(GetConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<Connection> GetConnectionAsync(GetConnectionRequest request, CallOptions options)

Gets details of a single connection.

Parameters
NameDescription
requestGetConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallConnection

The call object.

GetConnectionAsync(GetConnectionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Connection> GetConnectionAsync(GetConnectionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single connection.

Parameters
NameDescription
requestGetConnectionRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallConnection

The call object.

GetRepository(GetRepositoryRequest, CallOptions)

public virtual Repository GetRepository(GetRepositoryRequest request, CallOptions options)

Gets details of a single repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Repository

The response received from the server.

GetRepository(GetRepositoryRequest, Metadata, DateTime?, CancellationToken)

public virtual Repository GetRepository(GetRepositoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Repository

The response received from the server.

GetRepositoryAsync(GetRepositoryRequest, CallOptions)

public virtual AsyncUnaryCall<Repository> GetRepositoryAsync(GetRepositoryRequest request, CallOptions options)

Gets details of a single repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallRepository

The call object.

GetRepositoryAsync(GetRepositoryRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Repository> GetRepositoryAsync(GetRepositoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single repository.

Parameters
NameDescription
requestGetRepositoryRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallRepository

The call object.

ListConnections(ListConnectionsRequest, CallOptions)

public virtual ListConnectionsResponse ListConnections(ListConnectionsRequest request, CallOptions options)

Lists Connections in a given project and location.

Parameters
NameDescription
requestListConnectionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListConnectionsResponse

The response received from the server.

ListConnections(ListConnectionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListConnectionsResponse ListConnections(ListConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Connections in a given project and location.

Parameters
NameDescription
requestListConnectionsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListConnectionsResponse

The response received from the server.

ListConnectionsAsync(ListConnectionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListConnectionsResponse> ListConnectionsAsync(ListConnectionsRequest request, CallOptions options)

Lists Connections in a given project and location.

Parameters
NameDescription
requestListConnectionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListConnectionsResponse

The call object.

ListConnectionsAsync(ListConnectionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListConnectionsResponse> ListConnectionsAsync(ListConnectionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Connections in a given project and location.

Parameters
NameDescription
requestListConnectionsRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListConnectionsResponse

The call object.

ListRepositories(ListRepositoriesRequest, CallOptions)

public virtual ListRepositoriesResponse ListRepositories(ListRepositoriesRequest request, CallOptions options)

Lists Repositories in a given connection.

Parameters
NameDescription
requestListRepositoriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListRepositoriesResponse

The response received from the server.

ListRepositories(ListRepositoriesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListRepositoriesResponse ListRepositories(ListRepositoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Repositories in a given connection.

Parameters
NameDescription
requestListRepositoriesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListRepositoriesResponse

The response received from the server.

ListRepositoriesAsync(ListRepositoriesRequest, CallOptions)

public virtual AsyncUnaryCall<ListRepositoriesResponse> ListRepositoriesAsync(ListRepositoriesRequest request, CallOptions options)

Lists Repositories in a given connection.

Parameters
NameDescription
requestListRepositoriesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListRepositoriesResponse

The call object.

ListRepositoriesAsync(ListRepositoriesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListRepositoriesResponse> ListRepositoriesAsync(ListRepositoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Repositories in a given connection.

Parameters
NameDescription
requestListRepositoriesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListRepositoriesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override RepositoryManager.RepositoryManagerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
RepositoryManagerRepositoryManagerClient
Overrides

UpdateConnection(UpdateConnectionRequest, CallOptions)

public virtual Operation UpdateConnection(UpdateConnectionRequest request, CallOptions options)

Updates a single connection.

Parameters
NameDescription
requestUpdateConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateConnection(UpdateConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Updates a single connection.

Parameters
NameDescription
requestUpdateConnectionRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateConnectionAsync(UpdateConnectionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateConnectionAsync(UpdateConnectionRequest request, CallOptions options)

Updates a single connection.

Parameters
NameDescription
requestUpdateConnectionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateConnectionAsync(UpdateConnectionRequest, Metadata, DateTime?, CancellationToken)

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

Updates a single connection.

Parameters
NameDescription
requestUpdateConnectionRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.