class Google::Apis::CloudbuildV1::GitHubEnterpriseSecrets

GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/.

Attributes

oauth_client_id_name[RW]

The resource name for the OAuth client ID secret in Secret Manager. Corresponds to the JSON property `oauthClientIdName` @return [String]

oauth_client_id_version_name[RW]

The resource name for the OAuth client ID secret version in Secret Manager. Corresponds to the JSON property `oauthClientIdVersionName` @return [String]

oauth_secret_name[RW]

The resource name for the OAuth secret in Secret Manager. Corresponds to the JSON property `oauthSecretName` @return [String]

oauth_secret_version_name[RW]

The resource name for the OAuth secret secret version in Secret Manager. Corresponds to the JSON property `oauthSecretVersionName` @return [String]

private_key_name[RW]

The resource name for the private key secret. Corresponds to the JSON property `privateKeyName` @return [String]

private_key_version_name[RW]

The resource name for the private key secret version. Corresponds to the JSON property `privateKeyVersionName` @return [String]

webhook_secret_name[RW]

The resource name for the webhook secret in Secret Manager. Corresponds to the JSON property `webhookSecretName` @return [String]

webhook_secret_version_name[RW]

The resource name for the webhook secret secret version in Secret Manager. Corresponds to the JSON property `webhookSecretVersionName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudbuild_v1/classes.rb, line 1362
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudbuild_v1/classes.rb, line 1367
def update!(**args)
  @oauth_client_id_name = args[:oauth_client_id_name] if args.key?(:oauth_client_id_name)
  @oauth_client_id_version_name = args[:oauth_client_id_version_name] if args.key?(:oauth_client_id_version_name)
  @oauth_secret_name = args[:oauth_secret_name] if args.key?(:oauth_secret_name)
  @oauth_secret_version_name = args[:oauth_secret_version_name] if args.key?(:oauth_secret_version_name)
  @private_key_name = args[:private_key_name] if args.key?(:private_key_name)
  @private_key_version_name = args[:private_key_version_name] if args.key?(:private_key_version_name)
  @webhook_secret_name = args[:webhook_secret_name] if args.key?(:webhook_secret_name)
  @webhook_secret_version_name = args[:webhook_secret_version_name] if args.key?(:webhook_secret_version_name)
end