Class: Google::Apis::ContainerV1beta1::GcpSecretManagerCertificateConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb

Overview

GCPSecretManagerCertificateConfig configures a secret from Google Secret Manager.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GcpSecretManagerCertificateConfig

Returns a new instance of GcpSecretManagerCertificateConfig.



2862
2863
2864
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2862

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#secret_uriString

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

Returns:

  • (String)


2860
2861
2862
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2860

def secret_uri
  @secret_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2867
2868
2869
# File 'lib/google/apis/container_v1beta1/classes.rb', line 2867

def update!(**args)
  @secret_uri = args[:secret_uri] if args.key?(:secret_uri)
end