Interface GitHubConfigOrBuilder (3.50.0)

public interface GitHubConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAppInstallationId()

public abstract long getAppInstallationId()

GitHub App installation id.

int64 app_installation_id = 2;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the authorizerCredential field is set.