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.RepositoryManagerClientNamespace
Google.Cloud.CloudBuild.V2Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
RepositoryManagerClient(ChannelBase)
public RepositoryManagerClient(ChannelBase channel)
Creates a new client for RepositoryManager
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
RepositoryManagerClient(ClientBaseConfiguration)
protected RepositoryManagerClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
BatchCreateRepositories(BatchCreateRepositoriesRequest, CallOptions)
public virtual Operation BatchCreateRepositories(BatchCreateRepositoriesRequest request, CallOptions options)
Creates multiple repositories inside a connection.
Parameters | |
---|---|
Name | Description |
request | BatchCreateRepositoriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | BatchCreateRepositoriesRequest 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 |
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 | |
---|---|
Name | Description |
request | BatchCreateRepositoriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | BatchCreateRepositoriesRequest 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 |
AsyncUnaryCallOperation | The call object. |
CreateConnection(CreateConnectionRequest, CallOptions)
public virtual Operation CreateConnection(CreateConnectionRequest request, CallOptions options)
Creates a Connection.
Parameters | |
---|---|
Name | Description |
request | CreateConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateConnectionRequest 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 |
Operation | The response received from the server. |
CreateConnectionAsync(CreateConnectionRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateConnectionAsync(CreateConnectionRequest request, CallOptions options)
Creates a Connection.
Parameters | |
---|---|
Name | Description |
request | CreateConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateConnectionRequest 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 |
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 | |
---|---|
Type | Description |
IAMPolicyIAMPolicyClient | A new IAMPolicy.IAMPolicyClient for the same target as this client. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()
Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
LocationsLocationsClient | A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient | A new Operations client for the same target as this client. |
CreateRepository(CreateRepositoryRequest, CallOptions)
public virtual Operation CreateRepository(CreateRepositoryRequest request, CallOptions options)
Creates a Repository.
Parameters | |
---|---|
Name | Description |
request | CreateRepositoryRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateRepositoryRequest 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 |
Operation | The response received from the server. |
CreateRepositoryAsync(CreateRepositoryRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateRepositoryAsync(CreateRepositoryRequest request, CallOptions options)
Creates a Repository.
Parameters | |
---|---|
Name | Description |
request | CreateRepositoryRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateRepositoryRequest 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 |
AsyncUnaryCallOperation | The call object. |
DeleteConnection(DeleteConnectionRequest, CallOptions)
public virtual Operation DeleteConnection(DeleteConnectionRequest request, CallOptions options)
Deletes a single connection.
Parameters | |
---|---|
Name | Description |
request | DeleteConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteConnectionRequest 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 |
Operation | The response received from the server. |
DeleteConnectionAsync(DeleteConnectionRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteConnectionAsync(DeleteConnectionRequest request, CallOptions options)
Deletes a single connection.
Parameters | |
---|---|
Name | Description |
request | DeleteConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteConnectionRequest 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 |
AsyncUnaryCallOperation | The call object. |
DeleteRepository(DeleteRepositoryRequest, CallOptions)
public virtual Operation DeleteRepository(DeleteRepositoryRequest request, CallOptions options)
Deletes a single repository.
Parameters | |
---|---|
Name | Description |
request | DeleteRepositoryRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteRepositoryRequest 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 |
Operation | The response received from the server. |
DeleteRepositoryAsync(DeleteRepositoryRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteRepositoryAsync(DeleteRepositoryRequest request, CallOptions options)
Deletes a single repository.
Parameters | |
---|---|
Name | Description |
request | DeleteRepositoryRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteRepositoryRequest 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 |
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 | |
---|---|
Name | Description |
request | FetchGitRefsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | FetchGitRefsRequest 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 |
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 | |
---|---|
Name | Description |
request | FetchGitRefsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | FetchGitRefsRequest 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 |
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 | |
---|---|
Name | Description |
request | FetchLinkableRepositoriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | FetchLinkableRepositoriesRequest 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 |
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 | |
---|---|
Name | Description |
request | FetchLinkableRepositoriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | FetchLinkableRepositoriesRequest 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 |
AsyncUnaryCallFetchLinkableRepositoriesResponse | The call object. |
FetchReadToken(FetchReadTokenRequest, CallOptions)
public virtual FetchReadTokenResponse FetchReadToken(FetchReadTokenRequest request, CallOptions options)
Fetches read token of a given repository.
Parameters | |
---|---|
Name | Description |
request | FetchReadTokenRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | FetchReadTokenRequest 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 |
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 | |
---|---|
Name | Description |
request | FetchReadTokenRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | FetchReadTokenRequest 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 |
AsyncUnaryCallFetchReadTokenResponse | The call object. |
FetchReadWriteToken(FetchReadWriteTokenRequest, CallOptions)
public virtual FetchReadWriteTokenResponse FetchReadWriteToken(FetchReadWriteTokenRequest request, CallOptions options)
Fetches read/write token of a given repository.
Parameters | |
---|---|
Name | Description |
request | FetchReadWriteTokenRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | FetchReadWriteTokenRequest 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 |
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 | |
---|---|
Name | Description |
request | FetchReadWriteTokenRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | FetchReadWriteTokenRequest 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 |
AsyncUnaryCallFetchReadWriteTokenResponse | The call object. |
GetConnection(GetConnectionRequest, CallOptions)
public virtual Connection GetConnection(GetConnectionRequest request, CallOptions options)
Gets details of a single connection.
Parameters | |
---|---|
Name | Description |
request | GetConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetConnectionRequest 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 |
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 | |
---|---|
Name | Description |
request | GetConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetConnectionRequest 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 |
AsyncUnaryCallConnection | The call object. |
GetRepository(GetRepositoryRequest, CallOptions)
public virtual Repository GetRepository(GetRepositoryRequest request, CallOptions options)
Gets details of a single repository.
Parameters | |
---|---|
Name | Description |
request | GetRepositoryRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetRepositoryRequest 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 |
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 | |
---|---|
Name | Description |
request | GetRepositoryRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetRepositoryRequest 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 |
AsyncUnaryCallRepository | The call object. |
ListConnections(ListConnectionsRequest, CallOptions)
public virtual ListConnectionsResponse ListConnections(ListConnectionsRequest request, CallOptions options)
Lists Connections in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListConnectionsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListConnectionsRequest 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 |
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 | |
---|---|
Name | Description |
request | ListConnectionsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListConnectionsRequest 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 |
AsyncUnaryCallListConnectionsResponse | The call object. |
ListRepositories(ListRepositoriesRequest, CallOptions)
public virtual ListRepositoriesResponse ListRepositories(ListRepositoriesRequest request, CallOptions options)
Lists Repositories in a given connection.
Parameters | |
---|---|
Name | Description |
request | ListRepositoriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListRepositoriesRequest 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 |
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 | |
---|---|
Name | Description |
request | ListRepositoriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListRepositoriesRequest 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 |
AsyncUnaryCallListRepositoriesResponse | The call object. |
NewInstance(ClientBaseConfiguration)
protected override RepositoryManager.RepositoryManagerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RepositoryManagerRepositoryManagerClient |
UpdateConnection(UpdateConnectionRequest, CallOptions)
public virtual Operation UpdateConnection(UpdateConnectionRequest request, CallOptions options)
Updates a single connection.
Parameters | |
---|---|
Name | Description |
request | UpdateConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateConnectionRequest 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 |
Operation | The response received from the server. |
UpdateConnectionAsync(UpdateConnectionRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateConnectionAsync(UpdateConnectionRequest request, CallOptions options)
Updates a single connection.
Parameters | |
---|---|
Name | Description |
request | UpdateConnectionRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateConnectionRequest 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 |
AsyncUnaryCallOperation | The call object. |