NAME

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement - Compiled Protocol Buffers messages for google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto

SYNOPSIS

use Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement;

my $msg = Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::MembershipState->new({
    cluster_name => $cluster_name,
    membership_spec => $membership_spec,
    operator_state => $operator_state,
    config_sync_state => $config_sync_state,
});

# Read or update a field
my $val = $msg->cluster_name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::MembershipState->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::MembershipState

Anthos Config Management: State for a single cluster.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::MembershipSpec

Anthos Config Management: Configuration for a single cluster. Intended to parallel the ConfigManagement CR.

Inherits from Protobuf::Message.

Accessors

  • $msg->config_sync() / $msg->config_sync($value)

    Type: Message (Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ConfigSync)

    Optional. Config Sync configuration for the cluster.

  • $msg->policy_controller() / $msg->policy_controller($value)

    Type: Message (Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::PolicyController)

    Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead.

  • $msg->binauthz() / $msg->binauthz($value)

    Type: Message (Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::BinauthzConfig)

    Optional. Deprecated: Binauthz configuration will be ignored and should not be set.

  • $msg->hierarchy_controller() / $msg->hierarchy_controller($value)

    Type: Message (Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::HierarchyControllerConfig)

    Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead.

  • $msg->version() / $msg->version($value)

    Type: String

    Optional. Version of Config Sync to install. Defaults to the latest supported Config Sync version if the config_sync field is enabled. See supported versions at https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.

  • $msg->cluster() / $msg->cluster($value)

    Type: String

    Optional. User-specified cluster name used by the Config Sync cluster-name-selector annotation or ClusterSelector object, for applying configs to only a subset of clusters. Read more about the cluster-name-selector annotation and ClusterSelector object at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs. Only set this field if a name different from the cluster's fleet membership name is used by the Config Sync cluster-name-selector annotation or ClusterSelector.

  • $msg->management() / $msg->management($value)

    Type: Enum (Google::Cloud::Gkehub::Configmanagement::V1beta::MembershipSpec::Management)

    Optional. Deprecated: From version 1.21.0, automatic Feature management is unavailable, and Config Sync only supports manual upgrades.

Enum: MembershipSpec::Management

  • MANAGEMENT_UNSPECIFIED => 0

  • MANAGEMENT_AUTOMATIC => 1

  • MANAGEMENT_MANUAL => 2

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ConfigSync

Configuration for Config Sync

Inherits from Protobuf::Message.

Accessors

  • $msg->git() / $msg->git($value)

    Type: Message (Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::GitConfig)

    Optional. Git repo configuration for the cluster.

  • $msg->source_format() / $msg->source_format($value)

    Type: String

    Optional. Specifies whether the Config Sync repo is in `hierarchical` or `unstructured` mode. Defaults to `hierarchical`. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/concepts/configs#organize-configs for an explanation.

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Optional. Enables the installation of Config Sync. If set to true, the Feature will manage Config Sync resources, and apply the other ConfigSync fields if they exist. If set to false, the Feature will ignore all other ConfigSync fields and delete the Config Sync resources. If omitted, ConfigSync is considered enabled if the git or oci field is present.

  • $msg->prevent_drift() / $msg->prevent_drift($value)

    Type: Bool

    Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts. Defaults to false. See https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/prevent-config-drift for details.

  • $msg->oci() / $msg->oci($value)

    Type: Message (Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::OciConfig)

    Optional. OCI repo configuration for the cluster

  • $msg->stop_syncing() / $msg->stop_syncing($value)

    Type: Bool

    Optional. Set to true to stop syncing configs for a single cluster. Default to false.

  • $msg->deployment_overrides() / $msg->deployment_overrides($value)

    Type: Message (Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::DeploymentOverride)

    Optional. Configuration for deployment overrides. Applies only to Config Sync deployments with containers that are not a root or namespace reconciler: `reconciler-manager`, `otel-collector`, `resource-group-controller-manager`, `admission-webhook`. To override a root or namespace reconciler, use the rootsync or reposync fields at https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/reference/rootsync-reposync-fields#override-resources instead.

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::DeploymentOverride

Configuration for a deployment override.

Inherits from Protobuf::Message.

Accessors

  • $msg->deployment_name() / $msg->deployment_name($value)

    Type: String

    Required. The name of the deployment resource to be overridden.

  • $msg->deployment_namespace() / $msg->deployment_namespace($value)

    Type: String

    Required. The namespace of the deployment resource to be overridden.

  • $msg->containers() / $msg->containers($value)

    Type: Message (Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ContainerOverride)

    Optional. The containers of the deployment resource to be overridden.

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ContainerOverride

Configuration for a container override.

Inherits from Protobuf::Message.

Accessors

  • $msg->container_name() / $msg->container_name($value)

    Type: String

    Required. The name of the container.

  • $msg->cpu_request() / $msg->cpu_request($value)

    Type: String

    Optional. The cpu request of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.

  • $msg->cpu_limit() / $msg->cpu_limit($value)

    Type: String

    Optional. The cpu limit of the container. Use the following CPU resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu.

  • $msg->memory_request() / $msg->memory_request($value)

    Type: String

    Optional. The memory request of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.

  • $msg->memory_limit() / $msg->memory_limit($value)

    Type: String

    Optional. The memory limit of the container. Use the following memory resource units: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory.

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::GitConfig

Git repo configuration for a single cluster.

Inherits from Protobuf::Message.

Accessors

  • $msg->sync_repo() / $msg->sync_repo($value)

    Type: String

    Required. The URL of the Git repository to use as the source of truth.

  • $msg->sync_branch() / $msg->sync_branch($value)

    Type: String

    Optional. The branch of the repository to sync from. Default: master.

  • $msg->policy_dir() / $msg->policy_dir($value)

    Type: String

    Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.

  • $msg->sync_wait_secs() / $msg->sync_wait_secs($value)

    Type: Int64

    Optional. Period in seconds between consecutive syncs. Default: 15.

  • $msg->sync_rev() / $msg->sync_rev($value)

    Type: String

    Optional. Git revision (tag or hash) to check out. Default HEAD.

  • $msg->secret_type() / $msg->secret_type($value)

    Type: String

    Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.

  • $msg->https_proxy() / $msg->https_proxy($value)

    Type: String

    Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.

  • $msg->gcp_service_account_email() / $msg->gcp_service_account_email($value)

    Type: String

    Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::OciConfig

OCI repo configuration for a single cluster

Inherits from Protobuf::Message.

Accessors

  • $msg->sync_repo() / $msg->sync_repo($value)

    Type: String

    Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`.

  • $msg->policy_dir() / $msg->policy_dir($value)

    Type: String

    Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image.

  • $msg->sync_wait_secs() / $msg->sync_wait_secs($value)

    Type: Int64

    Optional. Period in seconds between consecutive syncs. Default: 15.

  • $msg->secret_type() / $msg->secret_type($value)

    Type: String

    Required. Type of secret configured for access to the OCI repo. Must be one of `gcenode`, `gcpserviceaccount`, `k8sserviceaccount` or `none`. The validation of this is case-sensitive.

  • $msg->gcp_service_account_email() / $msg->gcp_service_account_email($value)

    Type: String

    Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::PolicyController

Configuration for Policy Controller

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.

  • $msg->template_library_installed() / $msg->template_library_installed($value)

    Type: Bool

    Installs the default template library along with Policy Controller.

  • $msg->audit_interval_seconds() / $msg->audit_interval_seconds($value)

    Type: Int64

    Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.

  • $msg->exemptable_namespaces() / $msg->exemptable_namespaces($value)

    Type: String

    The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.

  • $msg->referential_rules_enabled() / $msg->referential_rules_enabled($value)

    Type: Bool

    Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.

  • $msg->log_denies_enabled() / $msg->log_denies_enabled($value)

    Type: Bool

    Logs all denies and dry run failures.

  • $msg->mutation_enabled() / $msg->mutation_enabled($value)

    Type: Bool

    Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster.

  • $msg->monitoring() / $msg->monitoring($value)

    Type: Message (Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::PolicyControllerMonitoring)

    Monitoring specifies the configuration of monitoring.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Last time this membership spec was updated.

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::PolicyControllerMonitoring

PolicyControllerMonitoring specifies the backends Policy Controller should export metrics to. For example, to specify metrics should be exported to Cloud Monitoring and Prometheus, specify backends: ["cloudmonitoring", "prometheus"]

Inherits from Protobuf::Message.

Accessors

Enum: PolicyControllerMonitoring::MonitoringBackend

  • MONITORING_BACKEND_UNSPECIFIED => 0

  • PROMETHEUS => 1

  • CLOUD_MONITORING => 2

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::BinauthzConfig

Configuration for Binauthz

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether binauthz is enabled in this cluster.

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::HierarchyControllerConfig

Configuration for Hierarchy Controller

Inherits from Protobuf::Message.

Accessors

  • $msg->enabled() / $msg->enabled($value)

    Type: Bool

    Whether Hierarchy Controller is enabled in this cluster.

  • $msg->enable_pod_tree_labels() / $msg->enable_pod_tree_labels($value)

    Type: Bool

    Whether pod tree labels are enabled in this cluster.

  • $msg->enable_hierarchical_resource_quota() / $msg->enable_hierarchical_resource_quota($value)

    Type: Bool

    Whether hierarchical resource quota is enabled in this cluster.

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::HierarchyControllerDeploymentState

Deployment state for Hierarchy Controller

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::HierarchyControllerVersion

Version for Hierarchy Controller

Inherits from Protobuf::Message.

Accessors

  • $msg->hnc() / $msg->hnc($value)

    Type: String

    Version for open source HNC

  • $msg->extension() / $msg->extension($value)

    Type: String

    Version for Hierarchy Controller extension

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::HierarchyControllerState

State for Hierarchy Controller

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::OperatorState

State information for an ACM's Operator

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::InstallError

Errors pertaining to the installation of ACM

Inherits from Protobuf::Message.

Accessors

  • $msg->error_message() / $msg->error_message($value)

    Type: String

    A string representing the user facing error message

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ConfigSyncState

State information for ConfigSync

Inherits from Protobuf::Message.

Accessors

Enum: ConfigSyncState::CRDState

  • CRD_STATE_UNSPECIFIED => 0

  • NOT_INSTALLED => 1

  • INSTALLED => 2

  • TERMINATING => 3

  • INSTALLING => 4

Enum: ConfigSyncState::State

  • STATE_UNSPECIFIED => 0

  • CONFIG_SYNC_NOT_INSTALLED => 1

  • CONFIG_SYNC_INSTALLED => 2

  • CONFIG_SYNC_ERROR => 3

  • CONFIG_SYNC_PENDING => 4

Enum: ConfigSyncState::StopSyncingState

  • STOP_SYNCING_STATE_UNSPECIFIED => 0

  • NOT_STOPPED => 1

  • PENDING => 2

  • STOPPED => 3

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ConfigSyncError

Errors pertaining to the installation of Config Sync

Inherits from Protobuf::Message.

Accessors

  • $msg->error_message() / $msg->error_message($value)

    Type: String

    A string representing the user facing error message

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ConfigSyncVersion

Specific versioning information pertaining to ConfigSync's Pods

Inherits from Protobuf::Message.

Accessors

  • $msg->importer() / $msg->importer($value)

    Type: String

    Version of the deployed importer pod

  • $msg->syncer() / $msg->syncer($value)

    Type: String

    Version of the deployed syncer pod

  • $msg->git_sync() / $msg->git_sync($value)

    Type: String

    Version of the deployed git-sync pod

  • $msg->monitor() / $msg->monitor($value)

    Type: String

    Version of the deployed monitor pod

  • $msg->reconciler_manager() / $msg->reconciler_manager($value)

    Type: String

    Version of the deployed reconciler-manager pod

  • $msg->root_reconciler() / $msg->root_reconciler($value)

    Type: String

    Version of the deployed reconciler container in root-reconciler pod

  • $msg->admission_webhook() / $msg->admission_webhook($value)

    Type: String

    Version of the deployed admission-webhook pod

  • $msg->resource_group_controller_manager() / $msg->resource_group_controller_manager($value)

    Type: String

    Version of the deployed resource-group-controller-manager pod

  • $msg->otel_collector() / $msg->otel_collector($value)

    Type: String

    Version of the deployed otel-collector pod

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ConfigSyncDeploymentState

The state of ConfigSync's deployment on a cluster

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::SyncState

State indicating an ACM's progress syncing configurations to a cluster

Inherits from Protobuf::Message.

Accessors

  • $msg->source_token() / $msg->source_token($value)

    Type: String

    Token indicating the state of the repo.

  • $msg->import_token() / $msg->import_token($value)

    Type: String

    Token indicating the state of the importer.

  • $msg->sync_token() / $msg->sync_token($value)

    Type: String

    Token indicating the state of the syncer.

  • $msg->last_sync() / $msg->last_sync($value)

    Type: String

    Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String

  • $msg->last_sync_time() / $msg->last_sync_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Timestamp type of when ACM last successfully synced the repo

  • $msg->code() / $msg->code($value)

    Type: Enum (Google::Cloud::Gkehub::Configmanagement::V1beta::SyncState::SyncCode)

    Sync status code

  • $msg->errors() / $msg->errors($value)

    Type: Message (Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::SyncError)

    A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.

Enum: SyncState::SyncCode

  • SYNC_CODE_UNSPECIFIED => 0

  • SYNCED => 1

  • PENDING => 2

  • ERROR => 3

  • NOT_CONFIGURED => 4

  • NOT_INSTALLED => 5

  • UNAUTHORIZED => 6

  • UNREACHABLE => 7

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::SyncError

An ACM created error representing a problem syncing configurations

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ErrorResource

Model for a config file in the git repo with an associated Sync error

Inherits from Protobuf::Message.

Accessors

  • $msg->source_path() / $msg->source_path($value)

    Type: String

    Path in the git repo of the erroneous config

  • $msg->resource_name() / $msg->resource_name($value)

    Type: String

    Metadata name of the resource that is causing an error

  • $msg->resource_namespace() / $msg->resource_namespace($value)

    Type: String

    Namespace of the resource that is causing an error

  • $msg->resource_gvk() / $msg->resource_gvk($value)

    Type: Message (Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::GroupVersionKind)

    Group/version/kind of the resource that is causing an error

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::GroupVersionKind

A Kubernetes object's GVK

Inherits from Protobuf::Message.

Accessors

  • $msg->group() / $msg->group($value)

    Type: String

    Kubernetes Group

  • $msg->version() / $msg->version($value)

    Type: String

    Kubernetes Version

  • $msg->kind() / $msg->kind($value)

    Type: String

    Kubernetes Kind

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::PolicyControllerState

State for PolicyControllerState.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::PolicyControllerVersion

The build version of Gatekeeper Policy Controller is using.

Inherits from Protobuf::Message.

Accessors

  • $msg->version() / $msg->version($value)

    Type: String

    The gatekeeper image tag that is composed of ACM version, git tag, build number.

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::PolicyControllerMigration

State for the migration of PolicyController from ACM -> PoCo Hub.

Inherits from Protobuf::Message.

Accessors

Enum: PolicyControllerMigration::Stage

  • STAGE_UNSPECIFIED => 0

  • ACM_MANAGED => 1

  • POCO_MANAGED => 2

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::BinauthzState

State for Binauthz

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::BinauthzVersion

The version of binauthz.

Inherits from Protobuf::Message.

Accessors

  • $msg->webhook_version() / $msg->webhook_version($value)

    Type: String

    The version of the binauthz webhook.

Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::GatekeeperDeploymentState

State of Policy Controller installation.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.