Class: Google::Apis::CloudbuildV1::GitHubEnterpriseSecrets
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::GitHubEnterpriseSecrets
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v1/classes.rb,
lib/google/apis/cloudbuild_v1/representations.rb,
lib/google/apis/cloudbuild_v1/representations.rb
Overview
GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/.
Instance Attribute Summary collapse
-
#oauth_client_id_name ⇒ String
The resource name for the OAuth client ID secret in Secret Manager.
-
#oauth_client_id_version_name ⇒ String
The resource name for the OAuth client ID secret version in Secret Manager.
-
#oauth_secret_name ⇒ String
The resource name for the OAuth secret in Secret Manager.
-
#oauth_secret_version_name ⇒ String
The resource name for the OAuth secret secret version in Secret Manager.
-
#private_key_name ⇒ String
The resource name for the private key secret.
-
#private_key_version_name ⇒ String
The resource name for the private key secret version.
-
#webhook_secret_name ⇒ String
The resource name for the webhook secret in Secret Manager.
-
#webhook_secret_version_name ⇒ String
The resource name for the webhook secret secret version in Secret Manager.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GitHubEnterpriseSecrets
constructor
A new instance of GitHubEnterpriseSecrets.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GitHubEnterpriseSecrets
Returns a new instance of GitHubEnterpriseSecrets.
2253 2254 2255 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2253 def initialize(**args) update!(**args) end |
Instance Attribute Details
#oauth_client_id_name ⇒ String
The resource name for the OAuth client ID secret in Secret Manager.
Corresponds to the JSON property oauthClientIdName
2216 2217 2218 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2216 def oauth_client_id_name @oauth_client_id_name end |
#oauth_client_id_version_name ⇒ String
The resource name for the OAuth client ID secret version in Secret Manager.
Corresponds to the JSON property oauthClientIdVersionName
2221 2222 2223 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2221 def oauth_client_id_version_name @oauth_client_id_version_name end |
#oauth_secret_name ⇒ String
The resource name for the OAuth secret in Secret Manager.
Corresponds to the JSON property oauthSecretName
2226 2227 2228 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2226 def oauth_secret_name @oauth_secret_name end |
#oauth_secret_version_name ⇒ String
The resource name for the OAuth secret secret version in Secret Manager.
Corresponds to the JSON property oauthSecretVersionName
2231 2232 2233 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2231 def oauth_secret_version_name @oauth_secret_version_name end |
#private_key_name ⇒ String
The resource name for the private key secret.
Corresponds to the JSON property privateKeyName
2236 2237 2238 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2236 def private_key_name @private_key_name end |
#private_key_version_name ⇒ String
The resource name for the private key secret version.
Corresponds to the JSON property privateKeyVersionName
2241 2242 2243 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2241 def private_key_version_name @private_key_version_name end |
#webhook_secret_name ⇒ String
The resource name for the webhook secret in Secret Manager.
Corresponds to the JSON property webhookSecretName
2246 2247 2248 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2246 def webhook_secret_name @webhook_secret_name end |
#webhook_secret_version_name ⇒ String
The resource name for the webhook secret secret version in Secret Manager.
Corresponds to the JSON property webhookSecretVersionName
2251 2252 2253 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2251 def webhook_secret_version_name @webhook_secret_version_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2258 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 |