Class: Google::Apis::ContainerV1::GcpSecretManagerCertificateConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::GcpSecretManagerCertificateConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
GCPSecretManagerCertificateConfig configures a secret from Google Secret Manager.
Instance Attribute Summary collapse
-
#secret_uri ⇒ String
Secret URI, in the form "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$ VERSION".
Instance Method Summary collapse
-
#initialize(**args) ⇒ GcpSecretManagerCertificateConfig
constructor
A new instance of GcpSecretManagerCertificateConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GcpSecretManagerCertificateConfig
Returns a new instance of GcpSecretManagerCertificateConfig.
2587 2588 2589 |
# File 'lib/google/apis/container_v1/classes.rb', line 2587 def initialize(**args) update!(**args) end |
Instance Attribute Details
#secret_uri ⇒ String
Secret URI, in the form "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$
VERSION". Version can be fixed (e.g. "2") or "latest"
Corresponds to the JSON property secretUri
2585 2586 2587 |
# File 'lib/google/apis/container_v1/classes.rb', line 2585 def secret_uri @secret_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2592 2593 2594 |
# File 'lib/google/apis/container_v1/classes.rb', line 2592 def update!(**args) @secret_uri = args[:secret_uri] if args.key?(:secret_uri) end |