Interface GitHubConfigOrBuilder (3.37.0)

public interface GitHubConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAppInstallationId()

public abstract long getAppInstallationId()

GitHub App installation id.

int64 app_installation_id = 2;

Returns
TypeDescription
long

The appInstallationId.

getAuthorizerCredential()

public abstract OAuthCredential getAuthorizerCredential()

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.

.google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1;

Returns
TypeDescription
OAuthCredential

The authorizerCredential.

getAuthorizerCredentialOrBuilder()

public abstract OAuthCredentialOrBuilder getAuthorizerCredentialOrBuilder()

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.

.google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1;

Returns
TypeDescription
OAuthCredentialOrBuilder

hasAuthorizerCredential()

public abstract boolean hasAuthorizerCredential()

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.

.google.devtools.cloudbuild.v2.OAuthCredential authorizer_credential = 1;

Returns
TypeDescription
boolean

Whether the authorizerCredential field is set.