Class: Google::Apis::ContainerV1::PrivateRegistryAccessConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::PrivateRegistryAccessConfig
- 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
PrivateRegistryAccessConfig contains access configuration for private container registries.
Instance Attribute Summary collapse
-
#certificate_authority_domain_config ⇒ Array<Google::Apis::ContainerV1::CertificateAuthorityDomainConfig>
Private registry access configuration.
-
#enabled ⇒ Boolean
(also: #enabled?)
Private registry access is enabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivateRegistryAccessConfig
constructor
A new instance of PrivateRegistryAccessConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivateRegistryAccessConfig
Returns a new instance of PrivateRegistryAccessConfig.
5384 5385 5386 |
# File 'lib/google/apis/container_v1/classes.rb', line 5384 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_authority_domain_config ⇒ Array<Google::Apis::ContainerV1::CertificateAuthorityDomainConfig>
Private registry access configuration.
Corresponds to the JSON property certificateAuthorityDomainConfig
5376 5377 5378 |
# File 'lib/google/apis/container_v1/classes.rb', line 5376 def @certificate_authority_domain_config end |
#enabled ⇒ Boolean Also known as: enabled?
Private registry access is enabled.
Corresponds to the JSON property enabled
5381 5382 5383 |
# File 'lib/google/apis/container_v1/classes.rb', line 5381 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5389 5390 5391 5392 |
# File 'lib/google/apis/container_v1/classes.rb', line 5389 def update!(**args) @certificate_authority_domain_config = args[:certificate_authority_domain_config] if args.key?(:certificate_authority_domain_config) @enabled = args[:enabled] if args.key?(:enabled) end |