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.
2254 2255 2256 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2254 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
2217 2218 2219 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2217 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
2222 2223 2224 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2222 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
2227 2228 2229 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2227 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
2232 2233 2234 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2232 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
2237 2238 2239 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2237 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
2242 2243 2244 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2242 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
2247 2248 2249 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2247 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
2252 2253 2254 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2252 def webhook_secret_version_name @webhook_secret_version_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2259 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 |