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
$msg->cluster_name()/$msg->cluster_name($value)Type:
StringOutput only. This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.
$msg->membership_spec()/$msg->membership_spec($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::MembershipSpec)Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state
$msg->operator_state()/$msg->operator_state($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::OperatorState)Output only. Current install status of ACM's Operator
$msg->config_sync_state()/$msg->config_sync_state($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ConfigSyncState)Output only. Current sync status
$msg->policy_controller_state()/$msg->policy_controller_state($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::PolicyControllerState)Output only. PolicyController status
$msg->binauthz_state()/$msg->binauthz_state($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::BinauthzState)Output only. Binauthz status
$msg->hierarchy_controller_state()/$msg->hierarchy_controller_state($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::HierarchyControllerState)Output only. Hierarchy Controller status
$msg->kubernetes_api_server_version()/$msg->kubernetes_api_server_version($value)Type:
StringOutput only. The Kubernetes API server version of the cluster.
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:
StringOptional. 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:
StringOptional. 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=>0MANAGEMENT_AUTOMATIC=>1MANAGEMENT_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:
StringOptional. 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:
BoolOptional. 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:
BoolOptional. 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:
BoolOptional. 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:
StringRequired. The name of the deployment resource to be overridden.
$msg->deployment_namespace()/$msg->deployment_namespace($value)Type:
StringRequired. 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:
StringRequired. The name of the container.
$msg->cpu_request()/$msg->cpu_request($value)Type:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringRequired. The URL of the Git repository to use as the source of truth.
$msg->sync_branch()/$msg->sync_branch($value)Type:
StringOptional. The branch of the repository to sync from. Default: master.
$msg->policy_dir()/$msg->policy_dir($value)Type:
StringOptional. 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:
Int64Optional. Period in seconds between consecutive syncs. Default: 15.
$msg->sync_rev()/$msg->sync_rev($value)Type:
StringOptional. Git revision (tag or hash) to check out. Default HEAD.
$msg->secret_type()/$msg->secret_type($value)Type:
StringRequired. 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:
StringOptional. 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:
StringOptional. 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:
StringRequired. 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:
StringOptional. 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:
Int64Optional. Period in seconds between consecutive syncs. Default: 15.
$msg->secret_type()/$msg->secret_type($value)Type:
StringRequired. 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:
StringOptional. 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:
BoolEnables 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:
BoolInstalls the default template library along with Policy Controller.
$msg->audit_interval_seconds()/$msg->audit_interval_seconds($value)Type:
Int64Sets 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:
StringThe 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:
BoolEnables 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:
BoolLogs all denies and dry run failures.
$msg->mutation_enabled()/$msg->mutation_enabled($value)Type:
BoolEnable 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
$msg->backends()/$msg->backends($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::PolicyControllerMonitoring::MonitoringBackend)Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.
Enum: PolicyControllerMonitoring::MonitoringBackend
MONITORING_BACKEND_UNSPECIFIED=>0PROMETHEUS=>1CLOUD_MONITORING=>2
Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::BinauthzConfig
Configuration for Binauthz
Inherits from Protobuf::Message.
Accessors
$msg->enabled()/$msg->enabled($value)Type:
BoolWhether 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:
BoolWhether Hierarchy Controller is enabled in this cluster.
$msg->enable_pod_tree_labels()/$msg->enable_pod_tree_labels($value)Type:
BoolWhether pod tree labels are enabled in this cluster.
$msg->enable_hierarchical_resource_quota()/$msg->enable_hierarchical_resource_quota($value)Type:
BoolWhether 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
$msg->hnc()/$msg->hnc($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)The deployment state for open source HNC (e.g. v0.7.0-hc.0)
$msg->extension()/$msg->extension($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1)
Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::HierarchyControllerVersion
Version for Hierarchy Controller
Inherits from Protobuf::Message.
Accessors
$msg->hnc()/$msg->hnc($value)Type:
StringVersion for open source HNC
$msg->extension()/$msg->extension($value)Type:
StringVersion for Hierarchy Controller extension
Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::HierarchyControllerState
State for Hierarchy Controller
Inherits from Protobuf::Message.
Accessors
$msg->version()/$msg->version($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::HierarchyControllerVersion)The version for Hierarchy Controller
$msg->state()/$msg->state($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::HierarchyControllerDeploymentState)The deployment state for Hierarchy Controller
Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::OperatorState
State information for an ACM's Operator
Inherits from Protobuf::Message.
Accessors
$msg->version()/$msg->version($value)Type:
StringThe semenatic version number of the operator
$msg->deployment_state()/$msg->deployment_state($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)The state of the Operator's deployment
$msg->errors()/$msg->errors($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::InstallError)Install errors.
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:
StringA string representing the user facing error message
Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ConfigSyncState
State information for ConfigSync
Inherits from Protobuf::Message.
Accessors
$msg->version()/$msg->version($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ConfigSyncVersion)Output only. The version of ConfigSync deployed
$msg->deployment_state()/$msg->deployment_state($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ConfigSyncDeploymentState)Output only. Information about the deployment of ConfigSync, including the version of the various Pods deployed
$msg->sync_state()/$msg->sync_state($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::SyncState)Output only. The state of ConfigSync's process to sync configs to a cluster
$msg->errors()/$msg->errors($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ConfigSyncError)Output only. Errors pertaining to the installation of Config Sync.
$msg->rootsync_crd()/$msg->rootsync_crd($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::ConfigSyncState::CRDState)Output only. The state of the RootSync CRD
$msg->reposync_crd()/$msg->reposync_crd($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::ConfigSyncState::CRDState)Output only. The state of the Reposync CRD
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::ConfigSyncState::State)Output only. The state of CS This field summarizes the other fields in this message.
$msg->cluster_level_stop_syncing_state()/$msg->cluster_level_stop_syncing_state($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::ConfigSyncState::StopSyncingState)Output only. Whether syncing resources to the cluster is stopped at the cluster level.
$msg->cr_count()/$msg->cr_count($value)Type:
Int32Output only. The number of RootSync and RepoSync CRs in the cluster.
Enum: ConfigSyncState::CRDState
CRD_STATE_UNSPECIFIED=>0NOT_INSTALLED=>1INSTALLED=>2TERMINATING=>3INSTALLING=>4
Enum: ConfigSyncState::State
STATE_UNSPECIFIED=>0CONFIG_SYNC_NOT_INSTALLED=>1CONFIG_SYNC_INSTALLED=>2CONFIG_SYNC_ERROR=>3CONFIG_SYNC_PENDING=>4
Enum: ConfigSyncState::StopSyncingState
STOP_SYNCING_STATE_UNSPECIFIED=>0NOT_STOPPED=>1PENDING=>2STOPPED=>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:
StringA 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:
StringVersion of the deployed importer pod
$msg->syncer()/$msg->syncer($value)Type:
StringVersion of the deployed syncer pod
$msg->git_sync()/$msg->git_sync($value)Type:
StringVersion of the deployed git-sync pod
$msg->monitor()/$msg->monitor($value)Type:
StringVersion of the deployed monitor pod
$msg->reconciler_manager()/$msg->reconciler_manager($value)Type:
StringVersion of the deployed reconciler-manager pod
$msg->root_reconciler()/$msg->root_reconciler($value)Type:
StringVersion of the deployed reconciler container in root-reconciler pod
$msg->admission_webhook()/$msg->admission_webhook($value)Type:
StringVersion of the deployed admission-webhook pod
$msg->resource_group_controller_manager()/$msg->resource_group_controller_manager($value)Type:
StringVersion of the deployed resource-group-controller-manager pod
$msg->otel_collector()/$msg->otel_collector($value)Type:
StringVersion 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
$msg->importer()/$msg->importer($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)Deployment state of the importer pod
$msg->syncer()/$msg->syncer($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)Deployment state of the syncer pod
$msg->git_sync()/$msg->git_sync($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)Deployment state of the git-sync pod
$msg->monitor()/$msg->monitor($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)Deployment state of the monitor pod
$msg->reconciler_manager()/$msg->reconciler_manager($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)Deployment state of reconciler-manager pod
$msg->root_reconciler()/$msg->root_reconciler($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)Deployment state of root-reconciler
$msg->admission_webhook()/$msg->admission_webhook($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)Deployment state of admission-webhook
$msg->resource_group_controller_manager()/$msg->resource_group_controller_manager($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)Deployment state of resource-group-controller-manager
$msg->otel_collector()/$msg->otel_collector($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)Deployment state of otel-collector
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:
StringToken indicating the state of the repo.
$msg->import_token()/$msg->import_token($value)Type:
StringToken indicating the state of the importer.
$msg->sync_token()/$msg->sync_token($value)Type:
StringToken indicating the state of the syncer.
$msg->last_sync()/$msg->last_sync($value)Type:
StringDeprecated: 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=>0SYNCED=>1PENDING=>2ERROR=>3NOT_CONFIGURED=>4NOT_INSTALLED=>5UNAUTHORIZED=>6UNREACHABLE=>7
Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::SyncError
An ACM created error representing a problem syncing configurations
Inherits from Protobuf::Message.
Accessors
$msg->code()/$msg->code($value)Type:
StringAn ACM defined error code
$msg->error_message()/$msg->error_message($value)Type:
StringA description of the error
$msg->error_resources()/$msg->error_resources($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::ErrorResource)A list of config(s) associated with the error, if any
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:
StringPath in the git repo of the erroneous config
$msg->resource_name()/$msg->resource_name($value)Type:
StringMetadata name of the resource that is causing an error
$msg->resource_namespace()/$msg->resource_namespace($value)Type:
StringNamespace 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:
StringKubernetes Group
$msg->version()/$msg->version($value)Type:
StringKubernetes Version
$msg->kind()/$msg->kind($value)Type:
StringKubernetes Kind
Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::PolicyControllerState
State for PolicyControllerState.
Inherits from Protobuf::Message.
Accessors
$msg->version()/$msg->version($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::PolicyControllerVersion)The version of Gatekeeper Policy Controller deployed.
$msg->deployment_state()/$msg->deployment_state($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::GatekeeperDeploymentState)The state about the policy controller installation.
$msg->migration()/$msg->migration($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::PolicyControllerMigration)Record state of ACM -> PoCo Hub migration for this feature.
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:
StringThe 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
$msg->stage()/$msg->stage($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::PolicyControllerMigration::Stage)Stage of the migration.
$msg->copy_time()/$msg->copy_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Last time this membership spec was copied to PoCo feature.
Enum: PolicyControllerMigration::Stage
STAGE_UNSPECIFIED=>0ACM_MANAGED=>1POCO_MANAGED=>2
Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::BinauthzState
State for Binauthz
Inherits from Protobuf::Message.
Accessors
$msg->webhook()/$msg->webhook($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)The state of the binauthz webhook.
$msg->version()/$msg->version($value)Type:
Message(Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::BinauthzVersion)The version of binauthz that is installed.
Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::BinauthzVersion
The version of binauthz.
Inherits from Protobuf::Message.
Accessors
$msg->webhook_version()/$msg->webhook_version($value)Type:
StringThe version of the binauthz webhook.
Google::Cloud::Gkehub::Configmanagement::V1beta::Configmanagement::GatekeeperDeploymentState
State of Policy Controller installation.
Inherits from Protobuf::Message.
Accessors
$msg->gatekeeper_controller_manager_state()/$msg->gatekeeper_controller_manager_state($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)Status of gatekeeper-controller-manager pod.
$msg->gatekeeper_audit()/$msg->gatekeeper_audit($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)Status of gatekeeper-audit deployment.
$msg->gatekeeper_mutation()/$msg->gatekeeper_mutation($value)Type:
Enum(Google::Cloud::Gkehub::Configmanagement::V1beta::DeploymentState)Status of the pod serving the mutation webhook.
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.