public class CloudBuild.Projects.GithubEnterpriseConfigs extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudBuild.Projects.GithubEnterpriseConfigs.Create |
class |
CloudBuild.Projects.GithubEnterpriseConfigs.Delete |
class |
CloudBuild.Projects.GithubEnterpriseConfigs.Get |
class |
CloudBuild.Projects.GithubEnterpriseConfigs.List |
class |
CloudBuild.Projects.GithubEnterpriseConfigs.Patch |
| Constructor and Description |
|---|
GithubEnterpriseConfigs() |
| Modifier and Type | Method and Description |
|---|---|
CloudBuild.Projects.GithubEnterpriseConfigs.Create |
create(String parent,
GitHubEnterpriseConfig content)
Create an association between a GCP project and a GitHub Enterprise server.
|
CloudBuild.Projects.GithubEnterpriseConfigs.Delete |
delete(String name)
Delete an association between a GCP project and a GitHub Enterprise server.
|
CloudBuild.Projects.GithubEnterpriseConfigs.Get |
get(String name)
Retrieve a GitHubEnterpriseConfig.
|
CloudBuild.Projects.GithubEnterpriseConfigs.List |
list(String parent)
List all GitHubEnterpriseConfigs for a given project.
|
CloudBuild.Projects.GithubEnterpriseConfigs.Patch |
patch(String name,
GitHubEnterpriseConfig content)
Update an association between a GCP project and a GitHub Enterprise server.
|
public CloudBuild.Projects.GithubEnterpriseConfigs.Create create(String parent, GitHubEnterpriseConfig content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}content - the GitHubEnterpriseConfigIOExceptionpublic CloudBuild.Projects.GithubEnterpriseConfigs.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - This field should contain the name of the enterprise config resource. For example:
"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"IOExceptionpublic CloudBuild.Projects.GithubEnterpriseConfigs.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - This field should contain the name of the enterprise config resource. For example:
"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"IOExceptionpublic CloudBuild.Projects.GithubEnterpriseConfigs.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Name of the parent project. For example: projects/{$project_number} or projects/{$project_id}IOExceptionpublic CloudBuild.Projects.GithubEnterpriseConfigs.Patch patch(String name, GitHubEnterpriseConfig content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Optional. The full resource name for the GitHubEnterpriseConfig For example:
"projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"content - the GitHubEnterpriseConfigIOExceptionCopyright © 2011–2024 Google. All rights reserved.