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
The resource name for the OAuth client ID secret in Secret
Manager. Corresponds to the JSON property `oauthClientIdName` @return [String]
The resource name for the OAuth client ID secret version in Secret
Manager. Corresponds to the JSON property `oauthClientIdVersionName` @return [String]
The resource name for the OAuth secret in Secret
Manager. Corresponds to the JSON property `oauthSecretName` @return [String]
The resource name for the OAuth secret secret version in Secret
Manager. Corresponds to the JSON property `oauthSecretVersionName` @return [String]
The resource name for the private key secret. Corresponds to the JSON property `privateKeyName` @return [String]
The resource name for the private key secret version. Corresponds to the JSON property `privateKeyVersionName` @return [String]
The resource name for the webhook secret in Secret
Manager. Corresponds to the JSON property `webhookSecretName` @return [String]
The resource name for the webhook secret secret version in Secret
Manager. Corresponds to the JSON property `webhookSecretVersionName` @return [String]
Public Class Methods
# File lib/google/apis/cloudbuild_v1/classes.rb, line 1362 def initialize(**args) update!(**args) end
Public Instance Methods
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