Interface GitHubConfigOrBuilder (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface GitHubConfigOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getAppInstallationId()
publicabstractlonggetAppInstallationId()Optional. GitHub App installation id.
int64 app_installation_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The appInstallationId. |
getAuthorizerCredential()
publicabstractOAuthCredentialgetAuthorizerCredential()Optional. OAuth credential of the account that authorized the GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the GitHub App of this config.
.google.cloud.developerconnect.v1.OAuthCredential authorizer_credential = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OAuthCredential |
The authorizerCredential. |
getAuthorizerCredentialOrBuilder()
publicabstractOAuthCredentialOrBuildergetAuthorizerCredentialOrBuilder()Optional. OAuth credential of the account that authorized the GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the GitHub App of this config.
.google.cloud.developerconnect.v1.OAuthCredential authorizer_credential = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OAuthCredentialOrBuilder |
|
getGithubApp()
publicabstractGitHubConfig.GitHubAppgetGithubApp()Required. Immutable. The GitHub Application that was installed to the GitHub user or organization.
.google.cloud.developerconnect.v1.GitHubConfig.GitHubApp github_app = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
GitHubConfig.GitHubApp |
The githubApp. |
getGithubAppValue()
publicabstractintgetGithubAppValue()Required. Immutable. The GitHub Application that was installed to the GitHub user or organization.
.google.cloud.developerconnect.v1.GitHubConfig.GitHubApp github_app = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for githubApp. |
getInstallationUri()
publicabstractStringgetInstallationUri()Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.
string installation_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The installationUri. |
getInstallationUriBytes()
publicabstractByteStringgetInstallationUriBytes()Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.
string installation_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for installationUri. |
hasAuthorizerCredential()
publicabstractbooleanhasAuthorizerCredential()Optional. OAuth credential of the account that authorized the GitHub App. It is recommended to use a robot account instead of a human user account. The OAuth token must be tied to the GitHub App of this config.
.google.cloud.developerconnect.v1.OAuthCredential authorizer_credential = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the authorizerCredential field is set. |