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.



2140
2141
2142
# File 'lib/google/apis/container_v1/classes.rb', line 2140

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



2138
2139
2140
# File 'lib/google/apis/container_v1/classes.rb', line 2138

def private_registry_access_config
  @private_registry_access_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2145
2146
2147
# File 'lib/google/apis/container_v1/classes.rb', line 2145

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