Class: Google::Apis::ContainerV1::ContainerdConfig

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

ContainerdConfig contains configuration to customize containerd.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContainerdConfig

Returns a new instance of ContainerdConfig.



2196
2197
2198
# File 'lib/google/apis/container_v1/classes.rb', line 2196

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

Instance Attribute Details

#private_registry_access_configGoogle::Apis::ContainerV1::PrivateRegistryAccessConfig

PrivateRegistryAccessConfig contains access configuration for private container registries. Corresponds to the JSON property privateRegistryAccessConfig



2194
2195
2196
# File 'lib/google/apis/container_v1/classes.rb', line 2194

def private_registry_access_config
  @private_registry_access_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2201
2202
2203
# File 'lib/google/apis/container_v1/classes.rb', line 2201

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