Class ProjectsResource.LocationsResource.ConnectionsResource
The "connections" collection of methods.
Inherited Members
Namespace: Google.Apis.DeveloperConnect.v1
Assembly: Google.Apis.DeveloperConnect.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource
Constructors
ConnectionsResource(IClientService)
Constructs a new resource.
Declaration
public ConnectionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
GitRepositoryLinks
Gets the GitRepositoryLinks resource.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource GitRepositoryLinks { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.GitRepositoryLinksResource |
Methods
Create(Connection, string)
Creates a new Connection in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.CreateRequest Create(Connection body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Connection | body | The body of the request. |
string | parent | Required. Value for parent. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.CreateRequest |
Delete(string)
Deletes a single Connection.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the resource |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.DeleteRequest |
FetchGitHubInstallations(string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.FetchGitHubInstallationsRequest FetchGitHubInstallations(string connection)
Parameters
Type | Name | Description |
---|---|---|
string | connection | Required. The resource name of the connection in the format |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.FetchGitHubInstallationsRequest |
FetchLinkableGitRepositories(string)
FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.FetchLinkableGitRepositoriesRequest FetchLinkableGitRepositories(string connection)
Parameters
Type | Name | Description |
---|---|---|
string | connection | Required. The name of the Connection. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.FetchLinkableGitRepositoriesRequest |
Get(string)
Gets details of a single Connection.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the resource |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.GetRequest |
List(string)
Lists Connections in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent value for ListConnectionsRequest |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.ListRequest |
Patch(Connection, string)
Updates the parameters of a single Connection.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.PatchRequest Patch(Connection body, string name)
Parameters
Type | Name | Description |
---|---|---|
Connection | body | The body of the request. |
string | name | Identifier. The resource name of the connection, in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.PatchRequest |
ProcessGitHubEnterpriseWebhook(ProcessGitHubEnterpriseWebhookRequest, string)
ProcessGitHubEnterpriseWebhook is called by the external GitHub Enterprise instances for notifying events.
Declaration
public virtual ProjectsResource.LocationsResource.ConnectionsResource.ProcessGitHubEnterpriseWebhookRequest ProcessGitHubEnterpriseWebhook(ProcessGitHubEnterpriseWebhookRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ProcessGitHubEnterpriseWebhookRequest | body | The body of the request. |
string | parent | Required. Project and location where the webhook will be received. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConnectionsResource.ProcessGitHubEnterpriseWebhookRequest |