# Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostConfig (v0.57.0)

0.57.0 (latest) 0.56.0 0.55.0 0.54.0 0.53.0 0.52.0 0.51.1 0.50.0 0.49.1 0.48.0 0.47.0 0.46.0 0.45.1 0.44.0 0.43.0 0.42.1 0.41.0 0.40.1 0.39.0 0.38.0 0.37.0 0.36.0 0.35.0 0.34.3 0.33.0 0.32.0 0.31.0 0.30.0 0.29.0 0.28.0 0.27.0 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.1 0.20.0 0.19.0 0.18.0 0.17.0 0.16.3 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.3 Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostConfig.

HostConfig configures the registry host under a given Server.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ca

    def ca() -> ::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::CertificateConfig>

**Returns**

- (::Array\<[::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::CertificateConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Cloud-Container-V1beta1-ContainerdConfig-RegistryHostConfig-CertificateConfig)\>) --- CA configures the registry host certificate.

### #ca=

    def ca=(value) -> ::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::CertificateConfig>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::CertificateConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Cloud-Container-V1beta1-ContainerdConfig-RegistryHostConfig-CertificateConfig)\>) --- CA configures the registry host certificate.
**Returns**

- (::Array\<[::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::CertificateConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Cloud-Container-V1beta1-ContainerdConfig-RegistryHostConfig-CertificateConfig)\>) --- CA configures the registry host certificate.

### #capabilities

    def capabilities() -> ::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostCapability>

**Returns**

- (::Array\<[::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostCapability](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Cloud-Container-V1beta1-ContainerdConfig-RegistryHostConfig-HostCapability)\>) --- Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.

### #capabilities=

    def capabilities=(value) -> ::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostCapability>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostCapability](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Cloud-Container-V1beta1-ContainerdConfig-RegistryHostConfig-HostCapability)\>) --- Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.
**Returns**

- (::Array\<[::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::HostCapability](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Cloud-Container-V1beta1-ContainerdConfig-RegistryHostConfig-HostCapability)\>) --- Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.

### #client

    def client() -> ::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::CertificateConfigPair>

**Returns**

- (::Array\<[::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::CertificateConfigPair](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Cloud-Container-V1beta1-ContainerdConfig-RegistryHostConfig-CertificateConfigPair)\>) --- Client configures the registry host client certificate and key.

### #client=

    def client=(value) -> ::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::CertificateConfigPair>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::CertificateConfigPair](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Cloud-Container-V1beta1-ContainerdConfig-RegistryHostConfig-CertificateConfigPair)\>) --- Client configures the registry host client certificate and key.
**Returns**

- (::Array\<[::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::CertificateConfigPair](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Cloud-Container-V1beta1-ContainerdConfig-RegistryHostConfig-CertificateConfigPair)\>) --- Client configures the registry host client certificate and key.

### #dial_timeout

    def dial_timeout() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Protobuf-Duration)) --- Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an `s` suffix.

### #dial_timeout=

    def dial_timeout=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Protobuf-Duration)) --- Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an `s` suffix.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Protobuf-Duration)) --- Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an `s` suffix.

### #header

    def header() -> ::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::RegistryHeader>

**Returns**

- (::Array\<[::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::RegistryHeader](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Cloud-Container-V1beta1-ContainerdConfig-RegistryHostConfig-RegistryHeader)\>) --- Header configures the registry host headers.

### #header=

    def header=(value) -> ::Array<::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::RegistryHeader>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::RegistryHeader](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Cloud-Container-V1beta1-ContainerdConfig-RegistryHostConfig-RegistryHeader)\>) --- Header configures the registry host headers.
**Returns**

- (::Array\<[::Google::Cloud::Container::V1beta1::ContainerdConfig::RegistryHostConfig::RegistryHeader](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-container-v1beta1/latest/Google-Cloud-Container-V1beta1-ContainerdConfig-RegistryHostConfig-RegistryHeader)\>) --- Header configures the registry host headers.

### #host

    def host() -> ::String

**Returns**

- (::String) --- Host configures the registry host/mirror.
  It supports fully qualified domain names (FQDNs) and IP addresses.
  Specifying scheme, port or path is supported. Scheme can only be http
  or https.
  Wildcards are NOT supported.
  Examples:

  - `my.customdomain.com`
  - `https://my.customdomain.com/path`
  - `10.0.1.2:5000`

### #host=

    def host=(value) -> ::String

**Parameter**

- **value** (::String) ---

  Host configures the registry host/mirror.
  It supports fully qualified domain names (FQDNs) and IP addresses.
  Specifying scheme, port or path is supported. Scheme can only be http
  or https.
  Wildcards are NOT supported.
  Examples:
  - `my.customdomain.com`
  - `https://my.customdomain.com/path`
  - `10.0.1.2:5000`
**Returns**

- (::String) --- Host configures the registry host/mirror.
  It supports fully qualified domain names (FQDNs) and IP addresses.
  Specifying scheme, port or path is supported. Scheme can only be http
  or https.
  Wildcards are NOT supported.
  Examples:

  - `my.customdomain.com`
  - `https://my.customdomain.com/path`
  - `10.0.1.2:5000`

### #override_path

    def override_path() -> ::Boolean

**Returns**

- (::Boolean) --- OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification. This may be used with non-compliant OCI registries which are missing the /v2 prefix. If not set, containerd sets default false.

### #override_path=

    def override_path=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification. This may be used with non-compliant OCI registries which are missing the /v2 prefix. If not set, containerd sets default false.
**Returns**

- (::Boolean) --- OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification. This may be used with non-compliant OCI registries which are missing the /v2 prefix. If not set, containerd sets default false.