Class: Google::Apis::ContainerV1::CertificateConfig

Inherits:
Object
  • Object
show all
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

CertificateConfig configures certificate for the registry.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CertificateConfig

Returns a new instance of CertificateConfig.



1024
1025
1026
# File 'lib/google/apis/container_v1/classes.rb', line 1024

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

Instance Attribute Details

#gcp_secret_manager_secret_uriString

The URI configures a secret from Secret Manager in the format "projects/$PROJECT_ID/secrets/$SECRET_NAME/ versions/$VERSION" for global secret or "projects/$PROJECT_ID/locations/$ REGION/secrets/$SECRET_NAME/versions/$VERSION" for regional secret. Version can be fixed (e.g. "2") or "latest" Corresponds to the JSON property gcpSecretManagerSecretUri

Returns:

  • (String)


1022
1023
1024
# File 'lib/google/apis/container_v1/classes.rb', line 1022

def gcp_secret_manager_secret_uri
  @gcp_secret_manager_secret_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1029
1030
1031
# File 'lib/google/apis/container_v1/classes.rb', line 1029

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