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.
1170 1171 1172 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1170 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
1133 1134 1135 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1133 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
1138 1139 1140 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1138 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
1143 1144 1145 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1143 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
1148 1149 1150 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1148 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
1153 1154 1155 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1153 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
1158 1159 1160 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1158 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
1163 1164 1165 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1163 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
1168 1169 1170 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1168 def webhook_secret_version_name @webhook_secret_version_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 |
# File 'lib/google/apis/cloudbuild_v1/classes.rb', line 1175 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 |