Google Cloud Build V1 Client - Class GitHubEnterpriseSecrets (0.14.0)

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
NameDescription
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
TypeDescription
string

setPrivateKeyVersionName

The resource name for the private key secret version.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWebhookSecretVersionName

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

Returns
TypeDescription
string

setWebhookSecretVersionName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOauthSecretVersionName

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

Returns
TypeDescription
string

setOauthSecretVersionName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOauthClientIdVersionName

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

Returns
TypeDescription
string

setOauthClientIdVersionName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this