NAME

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

SYNOPSIS

use Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement;

my $msg = Google::Cloud::Gkehub::Configmanagement::V1::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::V1::Configmanagement::MembershipState->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/gkehub/v1/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::V1::Configmanagement::MembershipState

Anthos Config Management: State for a single cluster.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::MembershipSpec

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

Inherits from Protobuf::Message.

Accessors

Enum: MembershipSpec::Management

  • MANAGEMENT_UNSPECIFIED => 0

  • MANAGEMENT_AUTOMATIC => 1

  • MANAGEMENT_MANUAL => 2

Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSync

Configuration for Config Sync

Inherits from Protobuf::Message.

Accessors

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

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

    Git repo configuration for the cluster.

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

    Type: String

    Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode.

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

    Type: Bool

    Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field.

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

    Type: Bool

    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.

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

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

    OCI repo configuration for the cluster

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

    Type: String

    The Email of the Google Cloud Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring when Workload Identity is enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA.

Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::GitConfig

Git repo configuration for a single cluster.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: String

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

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

    Type: String

    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

    Period in seconds between consecutive syncs. Default: 15.

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

    Type: String

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

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

    Type: String

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

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

    Type: String

    URL for the HTTPS proxy to be used when communicating with the Git repo.

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

    Type: String

    The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.

Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::OciConfig

OCI repo configuration for a single cluster

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    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

    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

    Period in seconds between consecutive syncs. Default: 15.

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

    Type: String

    Type of secret configured for access to the Git repo.

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

    Type: String

    The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.

Google::Cloud::Gkehub::Configmanagement::V1::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.

Google::Cloud::Gkehub::Configmanagement::V1::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::V1::Configmanagement::HierarchyControllerDeploymentState

Deployment state for Hierarchy Controller

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1::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::V1::Configmanagement::HierarchyControllerState

State for Hierarchy Controller

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::OperatorState

State information for an ACM's Operator

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1::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::V1::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

Google::Cloud::Gkehub::Configmanagement::V1::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::V1::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

Google::Cloud::Gkehub::Configmanagement::V1::Configmanagement::ConfigSyncDeploymentState

The state of ConfigSync's deployment on a cluster

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1::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::V1::SyncState::SyncCode)

    Sync status code

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

    Type: Message (Google::Cloud::Gkehub::Configmanagement::V1::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::V1::Configmanagement::SyncError

An ACM created error representing a problem syncing configurations

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1::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::V1::Configmanagement::GroupVersionKind)

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

Google::Cloud::Gkehub::Configmanagement::V1::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::V1::Configmanagement::PolicyControllerState

State for PolicyControllerState.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Gkehub::Configmanagement::V1::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::V1::Configmanagement::GatekeeperDeploymentState

State of Policy Controller installation.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.