public sealed class GitHubConfig : IMessage<GitHubConfig>, IEquatable<GitHubConfig>, IDeepCloneable<GitHubConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class GitHubConfig.
Configuration for connections to github.com.
Implements
IMessageGitHubConfig, IEquatableGitHubConfig, IDeepCloneableGitHubConfig, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V2Assembly
Google.Cloud.CloudBuild.V2.dll
Constructors
GitHubConfig()
public GitHubConfig()
GitHubConfig(GitHubConfig)
public GitHubConfig(GitHubConfig other)
Parameter | |
---|---|
Name | Description |
other | GitHubConfig |
Properties
AppInstallationId
public long AppInstallationId { get; set; }
GitHub App installation id.
Property Value | |
---|---|
Type | Description |
long |
AuthorizerCredential
public OAuthCredential AuthorizerCredential { get; set; }
OAuth credential of the account that authorized the Cloud Build GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the Cloud Build GitHub App.
Property Value | |
---|---|
Type | Description |
OAuthCredential |