public class DeveloperConnect.DeveloperConnectClient : ClientBase<DeveloperConnect.DeveloperConnectClient>
Reference documentation and code samples for the Developer Connect v1 API class DeveloperConnect.DeveloperConnectClient.
Client for DeveloperConnect
Inheritance
object > ClientBase > ClientBaseDeveloperConnectDeveloperConnectClient > DeveloperConnect.DeveloperConnectClientNamespace
Google.Cloud.DeveloperConnect.V1Assembly
Google.Cloud.DeveloperConnect.V1.dll
Constructors
DeveloperConnectClient()
protected DeveloperConnectClient()
Protected parameterless constructor to allow creation of test doubles.
DeveloperConnectClient(CallInvoker)
public DeveloperConnectClient(CallInvoker callInvoker)
Creates a new client for DeveloperConnect that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
DeveloperConnectClient(ChannelBase)
public DeveloperConnectClient(ChannelBase channel)
Creates a new client for DeveloperConnect
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
DeveloperConnectClient(ClientBaseConfiguration)
protected DeveloperConnectClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateConnection(CreateConnectionRequest, CallOptions)
public virtual Operation CreateConnection(CreateConnectionRequest request, CallOptions options)
Creates a new Connection in a given project and location.
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 new Connection in a given project and location.
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateConnectionAsync(CreateConnectionRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateConnectionAsync(CreateConnectionRequest request, CallOptions options)
Creates a new Connection in a given project and location.
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 new Connection in a given project and location.
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateGitRepositoryLink(CreateGitRepositoryLinkRequest, CallOptions)
public virtual Operation CreateGitRepositoryLink(CreateGitRepositoryLinkRequest request, CallOptions options)
Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. All other Connections will have events forwarded to Cloud Build.
Parameters | |
---|---|
Name | Description |
request |
CreateGitRepositoryLinkRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateGitRepositoryLink(CreateGitRepositoryLinkRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateGitRepositoryLink(CreateGitRepositoryLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. All other Connections will have events forwarded to Cloud Build.
Parameters | |
---|---|
Name | Description |
request |
CreateGitRepositoryLinkRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateGitRepositoryLinkAsync(CreateGitRepositoryLinkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateGitRepositoryLinkAsync(CreateGitRepositoryLinkRequest request, CallOptions options)
Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. All other Connections will have events forwarded to Cloud Build.
Parameters | |
---|---|
Name | Description |
request |
CreateGitRepositoryLinkRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateGitRepositoryLinkAsync(CreateGitRepositoryLinkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateGitRepositoryLinkAsync(CreateGitRepositoryLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. All other Connections will have events forwarded to Cloud Build.
Parameters | |
---|---|
Name | Description |
request |
CreateGitRepositoryLinkRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
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. |
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteGitRepositoryLink(DeleteGitRepositoryLinkRequest, CallOptions)
public virtual Operation DeleteGitRepositoryLink(DeleteGitRepositoryLinkRequest request, CallOptions options)
Deletes a single GitRepositoryLink.
Parameters | |
---|---|
Name | Description |
request |
DeleteGitRepositoryLinkRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteGitRepositoryLink(DeleteGitRepositoryLinkRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteGitRepositoryLink(DeleteGitRepositoryLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single GitRepositoryLink.
Parameters | |
---|---|
Name | Description |
request |
DeleteGitRepositoryLinkRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteGitRepositoryLinkAsync(DeleteGitRepositoryLinkRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteGitRepositoryLinkAsync(DeleteGitRepositoryLinkRequest request, CallOptions options)
Deletes a single GitRepositoryLink.
Parameters | |
---|---|
Name | Description |
request |
DeleteGitRepositoryLinkRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteGitRepositoryLinkAsync(DeleteGitRepositoryLinkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteGitRepositoryLinkAsync(DeleteGitRepositoryLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single GitRepositoryLink.
Parameters | |
---|---|
Name | Description |
request |
DeleteGitRepositoryLinkRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
FetchGitHubInstallations(FetchGitHubInstallationsRequest, CallOptions)
public virtual FetchGitHubInstallationsResponse FetchGitHubInstallations(FetchGitHubInstallationsRequest request, CallOptions options)
FetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection. For github.com, only installations accessible to the authorizer token are returned. For GitHub Enterprise, all installations are returned.
Parameters | |
---|---|
Name | Description |
request |
FetchGitHubInstallationsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
FetchGitHubInstallationsResponse |
The response received from the server. |
FetchGitHubInstallations(FetchGitHubInstallationsRequest, Metadata, DateTime?, CancellationToken)
public virtual FetchGitHubInstallationsResponse FetchGitHubInstallations(FetchGitHubInstallationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
FetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection. For github.com, only installations accessible to the authorizer token are returned. For GitHub Enterprise, all installations are returned.
Parameters | |
---|---|
Name | Description |
request |
FetchGitHubInstallationsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
FetchGitHubInstallationsResponse |
The response received from the server. |
FetchGitHubInstallationsAsync(FetchGitHubInstallationsRequest, CallOptions)
public virtual AsyncUnaryCall<FetchGitHubInstallationsResponse> FetchGitHubInstallationsAsync(FetchGitHubInstallationsRequest request, CallOptions options)
FetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection. For github.com, only installations accessible to the authorizer token are returned. For GitHub Enterprise, all installations are returned.
Parameters | |
---|---|
Name | Description |
request |
FetchGitHubInstallationsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFetchGitHubInstallationsResponse |
The call object. |
FetchGitHubInstallationsAsync(FetchGitHubInstallationsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FetchGitHubInstallationsResponse> FetchGitHubInstallationsAsync(FetchGitHubInstallationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
FetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection. For github.com, only installations accessible to the authorizer token are returned. For GitHub Enterprise, all installations are returned.
Parameters | |
---|---|
Name | Description |
request |
FetchGitHubInstallationsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFetchGitHubInstallationsResponse |
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFetchGitRefsResponse |
The call object. |
FetchLinkableGitRepositories(FetchLinkableGitRepositoriesRequest, CallOptions)
public virtual FetchLinkableGitRepositoriesResponse FetchLinkableGitRepositories(FetchLinkableGitRepositoriesRequest request, CallOptions options)
FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.
Parameters | |
---|---|
Name | Description |
request |
FetchLinkableGitRepositoriesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
FetchLinkableGitRepositoriesResponse |
The response received from the server. |
FetchLinkableGitRepositories(FetchLinkableGitRepositoriesRequest, Metadata, DateTime?, CancellationToken)
public virtual FetchLinkableGitRepositoriesResponse FetchLinkableGitRepositories(FetchLinkableGitRepositoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.
Parameters | |
---|---|
Name | Description |
request |
FetchLinkableGitRepositoriesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
FetchLinkableGitRepositoriesResponse |
The response received from the server. |
FetchLinkableGitRepositoriesAsync(FetchLinkableGitRepositoriesRequest, CallOptions)
public virtual AsyncUnaryCall<FetchLinkableGitRepositoriesResponse> FetchLinkableGitRepositoriesAsync(FetchLinkableGitRepositoriesRequest request, CallOptions options)
FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.
Parameters | |
---|---|
Name | Description |
request |
FetchLinkableGitRepositoriesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFetchLinkableGitRepositoriesResponse |
The call object. |
FetchLinkableGitRepositoriesAsync(FetchLinkableGitRepositoriesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FetchLinkableGitRepositoriesResponse> FetchLinkableGitRepositoriesAsync(FetchLinkableGitRepositoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.
Parameters | |
---|---|
Name | Description |
request |
FetchLinkableGitRepositoriesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFetchLinkableGitRepositoriesResponse |
The call object. |
FetchReadToken(FetchReadTokenRequest, CallOptions)
public virtual FetchReadTokenResponse FetchReadToken(FetchReadTokenRequest request, CallOptions options)
Fetches read token of a given gitRepositoryLink.
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 gitRepositoryLink.
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 gitRepositoryLink.
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 gitRepositoryLink.
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFetchReadTokenResponse |
The call object. |
FetchReadWriteToken(FetchReadWriteTokenRequest, CallOptions)
public virtual FetchReadWriteTokenResponse FetchReadWriteToken(FetchReadWriteTokenRequest request, CallOptions options)
Fetches read/write token of a given gitRepositoryLink.
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 gitRepositoryLink.
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 gitRepositoryLink.
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 gitRepositoryLink.
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallConnection |
The call object. |
GetGitRepositoryLink(GetGitRepositoryLinkRequest, CallOptions)
public virtual GitRepositoryLink GetGitRepositoryLink(GetGitRepositoryLinkRequest request, CallOptions options)
Gets details of a single GitRepositoryLink.
Parameters | |
---|---|
Name | Description |
request |
GetGitRepositoryLinkRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
GitRepositoryLink |
The response received from the server. |
GetGitRepositoryLink(GetGitRepositoryLinkRequest, Metadata, DateTime?, CancellationToken)
public virtual GitRepositoryLink GetGitRepositoryLink(GetGitRepositoryLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single GitRepositoryLink.
Parameters | |
---|---|
Name | Description |
request |
GetGitRepositoryLinkRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
GitRepositoryLink |
The response received from the server. |
GetGitRepositoryLinkAsync(GetGitRepositoryLinkRequest, CallOptions)
public virtual AsyncUnaryCall<GitRepositoryLink> GetGitRepositoryLinkAsync(GetGitRepositoryLinkRequest request, CallOptions options)
Gets details of a single GitRepositoryLink.
Parameters | |
---|---|
Name | Description |
request |
GetGitRepositoryLinkRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallGitRepositoryLink |
The call object. |
GetGitRepositoryLinkAsync(GetGitRepositoryLinkRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<GitRepositoryLink> GetGitRepositoryLinkAsync(GetGitRepositoryLinkRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single GitRepositoryLink.
Parameters | |
---|---|
Name | Description |
request |
GetGitRepositoryLinkRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallGitRepositoryLink |
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListConnectionsResponse |
The call object. |
ListGitRepositoryLinks(ListGitRepositoryLinksRequest, CallOptions)
public virtual ListGitRepositoryLinksResponse ListGitRepositoryLinks(ListGitRepositoryLinksRequest request, CallOptions options)
Lists GitRepositoryLinks in a given project, location, and connection.
Parameters | |
---|---|
Name | Description |
request |
ListGitRepositoryLinksRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListGitRepositoryLinksResponse |
The response received from the server. |
ListGitRepositoryLinks(ListGitRepositoryLinksRequest, Metadata, DateTime?, CancellationToken)
public virtual ListGitRepositoryLinksResponse ListGitRepositoryLinks(ListGitRepositoryLinksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists GitRepositoryLinks in a given project, location, and connection.
Parameters | |
---|---|
Name | Description |
request |
ListGitRepositoryLinksRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListGitRepositoryLinksResponse |
The response received from the server. |
ListGitRepositoryLinksAsync(ListGitRepositoryLinksRequest, CallOptions)
public virtual AsyncUnaryCall<ListGitRepositoryLinksResponse> ListGitRepositoryLinksAsync(ListGitRepositoryLinksRequest request, CallOptions options)
Lists GitRepositoryLinks in a given project, location, and connection.
Parameters | |
---|---|
Name | Description |
request |
ListGitRepositoryLinksRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListGitRepositoryLinksResponse |
The call object. |
ListGitRepositoryLinksAsync(ListGitRepositoryLinksRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListGitRepositoryLinksResponse> ListGitRepositoryLinksAsync(ListGitRepositoryLinksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists GitRepositoryLinks in a given project, location, and connection.
Parameters | |
---|---|
Name | Description |
request |
ListGitRepositoryLinksRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListGitRepositoryLinksResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override DeveloperConnect.DeveloperConnectClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
DeveloperConnectDeveloperConnectClient |
UpdateConnection(UpdateConnectionRequest, CallOptions)
public virtual Operation UpdateConnection(UpdateConnectionRequest request, CallOptions options)
Updates the parameters of 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 the parameters of 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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateConnectionAsync(UpdateConnectionRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateConnectionAsync(UpdateConnectionRequest request, CallOptions options)
Updates the parameters of 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 the parameters of 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 |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |