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.
2287 2288 2289 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2287 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
2250 2251 2252 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2250 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
2255 2256 2257 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2255 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
2260 2261 2262 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2260 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
2265 2266 2267 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2265 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
2270 2271 2272 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2270 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
2275 2276 2277 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2275 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
2280 2281 2282 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2280 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
2285 2286 2287 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2285 def webhook_secret_version_name @webhook_secret_version_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 2292 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 |