Google Cloud Container V1 Client - Class PrivateRegistryAccessConfig (2.2.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class PrivateRegistryAccessConfig.

PrivateRegistryAccessConfig contains access configuration for private container registries.

Generated from protobuf message google.container.v1.ContainerdConfig.PrivateRegistryAccessConfig

Namespace

Google \ Cloud \ Container \ V1 \ ContainerdConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Private registry access is enabled.

↳ certificate_authority_domain_config array<Google\Cloud\Container\V1\ContainerdConfig\PrivateRegistryAccessConfig\CertificateAuthorityDomainConfig>

Private registry access configuration.

getEnabled

Private registry access is enabled.

Returns
Type Description
bool

setEnabled

Private registry access is enabled.

Parameter
Name Description
var bool
Returns
Type Description
$this

getCertificateAuthorityDomainConfig

Private registry access configuration.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCertificateAuthorityDomainConfig

Private registry access configuration.

Parameter
Name Description
var array<Google\Cloud\Container\V1\ContainerdConfig\PrivateRegistryAccessConfig\CertificateAuthorityDomainConfig>
Returns
Type Description
$this