public sealed class RepositoryManagerClientImpl : RepositoryManagerClient
Reference documentation and code samples for the Cloud Build v2 API class RepositoryManagerClientImpl.
RepositoryManager client wrapper implementation, for convenient use.
Namespace
Google.Cloud.CloudBuild.V2Assembly
Google.Cloud.CloudBuild.V2.dll
Remarks
Manages connections to source code repositories.
Constructors
RepositoryManagerClientImpl(RepositoryManagerClient, RepositoryManagerSettings, ILogger)
public RepositoryManagerClientImpl(RepositoryManager.RepositoryManagerClient grpcClient, RepositoryManagerSettings settings, ILogger logger)
Constructs a client wrapper for the RepositoryManager service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | RepositoryManagerRepositoryManagerClient The underlying gRPC client. |
settings | RepositoryManagerSettings The base RepositoryManagerSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
BatchCreateRepositoriesOperationsClient
public override OperationsClient BatchCreateRepositoriesOperationsClient { get; }
The long-running operations client for BatchCreateRepositories
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateConnectionOperationsClient
public override OperationsClient CreateConnectionOperationsClient { get; }
The long-running operations client for CreateConnection
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateRepositoryOperationsClient
public override OperationsClient CreateRepositoryOperationsClient { get; }
The long-running operations client for CreateRepository
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteConnectionOperationsClient
public override OperationsClient DeleteConnectionOperationsClient { get; }
The long-running operations client for DeleteConnection
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteRepositoryOperationsClient
public override OperationsClient DeleteRepositoryOperationsClient { get; }
The long-running operations client for DeleteRepository
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override RepositoryManager.RepositoryManagerClient GrpcClient { get; }
The underlying gRPC RepositoryManager client
Property Value | |
---|---|
Type | Description |
RepositoryManagerRepositoryManagerClient |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
UpdateConnectionOperationsClient
public override OperationsClient UpdateConnectionOperationsClient { get; }
The long-running operations client for UpdateConnection
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
BatchCreateRepositories(BatchCreateRepositoriesRequest, CallSettings)
public override Operation<BatchCreateRepositoriesResponse, OperationMetadata> BatchCreateRepositories(BatchCreateRepositoriesRequest request, CallSettings callSettings = null)
Creates multiple repositories inside a connection.
Parameters | |
---|---|
Name | Description |
request | BatchCreateRepositoriesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationBatchCreateRepositoriesResponseOperationMetadata | The RPC response. |
BatchCreateRepositoriesAsync(BatchCreateRepositoriesRequest, CallSettings)
public override Task<Operation<BatchCreateRepositoriesResponse, OperationMetadata>> BatchCreateRepositoriesAsync(BatchCreateRepositoriesRequest request, CallSettings callSettings = null)
Creates multiple repositories inside a connection.
Parameters | |
---|---|
Name | Description |
request | BatchCreateRepositoriesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationBatchCreateRepositoriesResponseOperationMetadata | A Task containing the RPC response. |
CreateConnection(CreateConnectionRequest, CallSettings)
public override Operation<Connection, OperationMetadata> CreateConnection(CreateConnectionRequest request, CallSettings callSettings = null)
Creates a Connection.
Parameters | |
---|---|
Name | Description |
request | CreateConnectionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationConnectionOperationMetadata | The RPC response. |
CreateConnectionAsync(CreateConnectionRequest, CallSettings)
public override Task<Operation<Connection, OperationMetadata>> CreateConnectionAsync(CreateConnectionRequest request, CallSettings callSettings = null)
Creates a Connection.
Parameters | |
---|---|
Name | Description |
request | CreateConnectionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationConnectionOperationMetadata | A Task containing the RPC response. |
CreateRepository(CreateRepositoryRequest, CallSettings)
public override Operation<Repository, OperationMetadata> CreateRepository(CreateRepositoryRequest request, CallSettings callSettings = null)
Creates a Repository.
Parameters | |
---|---|
Name | Description |
request | CreateRepositoryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationRepositoryOperationMetadata | The RPC response. |
CreateRepositoryAsync(CreateRepositoryRequest, CallSettings)
public override Task<Operation<Repository, OperationMetadata>> CreateRepositoryAsync(CreateRepositoryRequest request, CallSettings callSettings = null)
Creates a Repository.
Parameters | |
---|---|
Name | Description |
request | CreateRepositoryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationRepositoryOperationMetadata | A Task containing the RPC response. |
DeleteConnection(DeleteConnectionRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteConnection(DeleteConnectionRequest request, CallSettings callSettings = null)
Deletes a single connection.
Parameters | |
---|---|
Name | Description |
request | DeleteConnectionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
DeleteConnectionAsync(DeleteConnectionRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteConnectionAsync(DeleteConnectionRequest request, CallSettings callSettings = null)
Deletes a single connection.
Parameters | |
---|---|
Name | Description |
request | DeleteConnectionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
DeleteRepository(DeleteRepositoryRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteRepository(DeleteRepositoryRequest request, CallSettings callSettings = null)
Deletes a single repository.
Parameters | |
---|---|
Name | Description |
request | DeleteRepositoryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationEmptyOperationMetadata | The RPC response. |
DeleteRepositoryAsync(DeleteRepositoryRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteRepositoryAsync(DeleteRepositoryRequest request, CallSettings callSettings = null)
Deletes a single repository.
Parameters | |
---|---|
Name | Description |
request | DeleteRepositoryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationEmptyOperationMetadata | A Task containing the RPC response. |
FetchGitRefs(FetchGitRefsRequest, CallSettings)
public override FetchGitRefsResponse FetchGitRefs(FetchGitRefsRequest request, CallSettings callSettings = null)
Fetch the list of branches or tags for a given repository.
Parameters | |
---|---|
Name | Description |
request | FetchGitRefsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FetchGitRefsResponse | The RPC response. |
FetchGitRefsAsync(FetchGitRefsRequest, CallSettings)
public override Task<FetchGitRefsResponse> FetchGitRefsAsync(FetchGitRefsRequest request, CallSettings callSettings = null)
Fetch the list of branches or tags for a given repository.
Parameters | |
---|---|
Name | Description |
request | FetchGitRefsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskFetchGitRefsResponse | A Task containing the RPC response. |
FetchLinkableRepositories(FetchLinkableRepositoriesRequest, CallSettings)
public override PagedEnumerable<FetchLinkableRepositoriesResponse, Repository> FetchLinkableRepositories(FetchLinkableRepositoriesRequest request, CallSettings callSettings = null)
FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.
Parameters | |
---|---|
Name | Description |
request | FetchLinkableRepositoriesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableFetchLinkableRepositoriesResponseRepository | A pageable sequence of Repository resources. |
FetchLinkableRepositoriesAsync(FetchLinkableRepositoriesRequest, CallSettings)
public override PagedAsyncEnumerable<FetchLinkableRepositoriesResponse, Repository> FetchLinkableRepositoriesAsync(FetchLinkableRepositoriesRequest request, CallSettings callSettings = null)
FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.
Parameters | |
---|---|
Name | Description |
request | FetchLinkableRepositoriesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableFetchLinkableRepositoriesResponseRepository | A pageable asynchronous sequence of Repository resources. |
FetchReadToken(FetchReadTokenRequest, CallSettings)
public override FetchReadTokenResponse FetchReadToken(FetchReadTokenRequest request, CallSettings callSettings = null)
Fetches read token of a given repository.
Parameters | |
---|---|
Name | Description |
request | FetchReadTokenRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FetchReadTokenResponse | The RPC response. |
FetchReadTokenAsync(FetchReadTokenRequest, CallSettings)
public override Task<FetchReadTokenResponse> FetchReadTokenAsync(FetchReadTokenRequest request, CallSettings callSettings = null)
Fetches read token of a given repository.
Parameters | |
---|---|
Name | Description |
request | FetchReadTokenRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskFetchReadTokenResponse | A Task containing the RPC response. |
FetchReadWriteToken(FetchReadWriteTokenRequest, CallSettings)
public override FetchReadWriteTokenResponse FetchReadWriteToken(FetchReadWriteTokenRequest request, CallSettings callSettings = null)
Fetches read/write token of a given repository.
Parameters | |
---|---|
Name | Description |
request | FetchReadWriteTokenRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
FetchReadWriteTokenResponse | The RPC response. |
FetchReadWriteTokenAsync(FetchReadWriteTokenRequest, CallSettings)
public override Task<FetchReadWriteTokenResponse> FetchReadWriteTokenAsync(FetchReadWriteTokenRequest request, CallSettings callSettings = null)
Fetches read/write token of a given repository.
Parameters | |
---|---|
Name | Description |
request | FetchReadWriteTokenRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskFetchReadWriteTokenResponse | A Task containing the RPC response. |
GetConnection(GetConnectionRequest, CallSettings)
public override Connection GetConnection(GetConnectionRequest request, CallSettings callSettings = null)
Gets details of a single connection.
Parameters | |
---|---|
Name | Description |
request | GetConnectionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Connection | The RPC response. |
GetConnectionAsync(GetConnectionRequest, CallSettings)
public override Task<Connection> GetConnectionAsync(GetConnectionRequest request, CallSettings callSettings = null)
Gets details of a single connection.
Parameters | |
---|---|
Name | Description |
request | GetConnectionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskConnection | A Task containing the RPC response. |
GetRepository(GetRepositoryRequest, CallSettings)
public override Repository GetRepository(GetRepositoryRequest request, CallSettings callSettings = null)
Gets details of a single repository.
Parameters | |
---|---|
Name | Description |
request | GetRepositoryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Repository | The RPC response. |
GetRepositoryAsync(GetRepositoryRequest, CallSettings)
public override Task<Repository> GetRepositoryAsync(GetRepositoryRequest request, CallSettings callSettings = null)
Gets details of a single repository.
Parameters | |
---|---|
Name | Description |
request | GetRepositoryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskRepository | A Task containing the RPC response. |
ListConnections(ListConnectionsRequest, CallSettings)
public override PagedEnumerable<ListConnectionsResponse, Connection> ListConnections(ListConnectionsRequest request, CallSettings callSettings = null)
Lists Connections in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListConnectionsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListConnectionsResponseConnection | A pageable sequence of Connection resources. |
ListConnectionsAsync(ListConnectionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListConnectionsResponse, Connection> ListConnectionsAsync(ListConnectionsRequest request, CallSettings callSettings = null)
Lists Connections in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListConnectionsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListConnectionsResponseConnection | A pageable asynchronous sequence of Connection resources. |
ListRepositories(ListRepositoriesRequest, CallSettings)
public override PagedEnumerable<ListRepositoriesResponse, Repository> ListRepositories(ListRepositoriesRequest request, CallSettings callSettings = null)
Lists Repositories in a given connection.
Parameters | |
---|---|
Name | Description |
request | ListRepositoriesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerableListRepositoriesResponseRepository | A pageable sequence of Repository resources. |
ListRepositoriesAsync(ListRepositoriesRequest, CallSettings)
public override PagedAsyncEnumerable<ListRepositoriesResponse, Repository> ListRepositoriesAsync(ListRepositoriesRequest request, CallSettings callSettings = null)
Lists Repositories in a given connection.
Parameters | |
---|---|
Name | Description |
request | ListRepositoriesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerableListRepositoriesResponseRepository | A pageable asynchronous sequence of Repository resources. |
UpdateConnection(UpdateConnectionRequest, CallSettings)
public override Operation<Connection, OperationMetadata> UpdateConnection(UpdateConnectionRequest request, CallSettings callSettings = null)
Updates a single connection.
Parameters | |
---|---|
Name | Description |
request | UpdateConnectionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
OperationConnectionOperationMetadata | The RPC response. |
UpdateConnectionAsync(UpdateConnectionRequest, CallSettings)
public override Task<Operation<Connection, OperationMetadata>> UpdateConnectionAsync(UpdateConnectionRequest request, CallSettings callSettings = null)
Updates a single connection.
Parameters | |
---|---|
Name | Description |
request | UpdateConnectionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskOperationConnectionOperationMetadata | A Task containing the RPC response. |