Google Cloud Build V1 Client - Class GitHubEnterpriseSecrets (0.16.3)

Reference documentation and code samples for the Google Cloud Build V1 Client class GitHubEnterpriseSecrets.

GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server.

Format is: projects/

Generated from protobuf message google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ private_key_version_name string

The resource name for the private key secret version.

↳ webhook_secret_version_name string

The resource name for the webhook secret secret version in Secret Manager.

↳ oauth_secret_version_name string

The resource name for the OAuth secret secret version in Secret Manager.

↳ oauth_client_id_version_name string

The resource name for the OAuth client ID secret version in Secret Manager.

getPrivateKeyVersionName

The resource name for the private key secret version.

Returns
Type Description
string

setPrivateKeyVersionName

The resource name for the private key secret version.

Parameter
Name Description
var string
Returns
Type Description
$this

getWebhookSecretVersionName

The resource name for the webhook secret secret version in Secret Manager.

Returns
Type Description
string

setWebhookSecretVersionName

The resource name for the webhook secret secret version in Secret Manager.

Parameter
Name Description
var string
Returns
Type Description
$this

getOauthSecretVersionName

The resource name for the OAuth secret secret version in Secret Manager.

Returns
Type Description
string

setOauthSecretVersionName

The resource name for the OAuth secret secret version in Secret Manager.

Parameter
Name Description
var string
Returns
Type Description
$this

getOauthClientIdVersionName

The resource name for the OAuth client ID secret version in Secret Manager.

Returns
Type Description
string

setOauthClientIdVersionName

The resource name for the OAuth client ID secret version in Secret Manager.

Parameter
Name Description
var string
Returns
Type Description
$this