Cloud Build v2 API - Class GitHubConfig (1.2.0)

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.

Inheritance

object > GitHubConfig

Namespace

Google.Cloud.CloudBuild.V2

Assembly

Google.Cloud.CloudBuild.V2.dll

Constructors

GitHubConfig()

public GitHubConfig()

GitHubConfig(GitHubConfig)

public GitHubConfig(GitHubConfig other)
Parameter
NameDescription
otherGitHubConfig

Properties

AppInstallationId

public long AppInstallationId { get; set; }

GitHub App installation id.

Property Value
TypeDescription
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
TypeDescription
OAuthCredential