Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource

The "githubEnterpriseConfigs" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudBuild.v1
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource

Constructors

GithubEnterpriseConfigsResource(IClientService)

Constructs a new resource.

Declaration
public GithubEnterpriseConfigsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(GitHubEnterpriseConfig, string)

Create an association between a GCP project and a GitHub Enterprise server.

Declaration
public virtual ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.CreateRequest Create(GitHubEnterpriseConfig body, string parent)
Parameters
Type Name Description
GitHubEnterpriseConfig body

The body of the request.

string parent

Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}

Returns
Type Description
ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.CreateRequest

Delete(string)

Delete an association between a GCP project and a GitHub Enterprise server.

Declaration
public virtual ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

This field should contain the name of the enterprise config resource. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

Returns
Type Description
ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.DeleteRequest

Get(string)

Retrieve a GitHubEnterpriseConfig.

Declaration
public virtual ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

This field should contain the name of the enterprise config resource. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

Returns
Type Description
ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.GetRequest

List(string)

List all GitHubEnterpriseConfigs for a given project.

Declaration
public virtual ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}

Returns
Type Description
ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.ListRequest

Patch(GitHubEnterpriseConfig, string)

Update an association between a GCP project and a GitHub Enterprise server.

Declaration
public virtual ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.PatchRequest Patch(GitHubEnterpriseConfig body, string name)
Parameters
Type Name Description
GitHubEnterpriseConfig body

The body of the request.

string name

The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

Returns
Type Description
ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.PatchRequest
In this article
Back to top Generated by DocFX