Class: Google::Apis::ContainerV1::PrivateRegistryAccessConfig

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

PrivateRegistryAccessConfig contains access configuration for private container registries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrivateRegistryAccessConfig

Returns a new instance of PrivateRegistryAccessConfig.



5757
5758
5759
# File 'lib/google/apis/container_v1/classes.rb', line 5757

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

Instance Attribute Details

#certificate_authority_domain_configArray<Google::Apis::ContainerV1::CertificateAuthorityDomainConfig>

Private registry access configuration. Corresponds to the JSON property certificateAuthorityDomainConfig



5749
5750
5751
# File 'lib/google/apis/container_v1/classes.rb', line 5749

def certificate_authority_domain_config
  @certificate_authority_domain_config
end

#enabledBoolean Also known as: enabled?

Private registry access is enabled. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


5754
5755
5756
# File 'lib/google/apis/container_v1/classes.rb', line 5754

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5762
5763
5764
5765
# File 'lib/google/apis/container_v1/classes.rb', line 5762

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