[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class protos.google.cloud.gkehub.policycontroller.v1beta.HubConfig (6.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [6.1.0 (latest)](/nodejs/docs/reference/gke-hub/latest/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [6.0.1](/nodejs/docs/reference/gke-hub/6.0.1/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [5.0.0](/nodejs/docs/reference/gke-hub/5.0.0/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [4.5.0](/nodejs/docs/reference/gke-hub/4.5.0/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [4.4.0](/nodejs/docs/reference/gke-hub/4.4.0/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [4.2.0](/nodejs/docs/reference/gke-hub/4.2.0/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [3.4.0](/nodejs/docs/reference/gke-hub/3.4.0/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [3.3.1](/nodejs/docs/reference/gke-hub/3.3.1/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [3.2.2](/nodejs/docs/reference/gke-hub/3.2.2/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [2.2.0](/nodejs/docs/reference/gke-hub/2.2.0/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [2.1.0](/nodejs/docs/reference/gke-hub/2.1.0/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [2.0.0](/nodejs/docs/reference/gke-hub/2.0.0/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [1.4.0](/nodejs/docs/reference/gke-hub/1.4.0/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [1.3.0](/nodejs/docs/reference/gke-hub/1.3.0/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [1.2.1](/nodejs/docs/reference/gke-hub/1.2.1/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class)\n- [1.1.4](/nodejs/docs/reference/gke-hub/1.1.4/gke-hub/protos.google.cloud.gkehub.policycontroller.v1beta.hubconfig-class) \nRepresents a HubConfig.\n\nPackage\n-------\n\n[@google-cloud/gke-hub](../overview.html)\n\nConstructors\n------------\n\n### (constructor)(properties)\n\n constructor(properties?: google.cloud.gkehub.policycontroller.v1beta.IHubConfig);\n\nConstructs a new HubConfig.\n\nProperties\n----------\n\n### auditIntervalSeconds\n\n public auditIntervalSeconds?: (number|Long|string|null);\n\nHubConfig auditIntervalSeconds.\n\n### constraintViolationLimit\n\n public constraintViolationLimit?: (number|Long|string|null);\n\nHubConfig constraintViolationLimit.\n\n### deploymentConfigs\n\n public deploymentConfigs: { [k: string]: google.cloud.gkehub.policycontroller.v1beta.IPolicyControllerDeploymentConfig };\n\nHubConfig deploymentConfigs.\n\n### exemptableNamespaces\n\n public exemptableNamespaces: string[];\n\nHubConfig exemptableNamespaces.\n\n### installSpec\n\n public installSpec: (google.cloud.gkehub.policycontroller.v1beta.HubConfig.InstallSpec|keyof typeof google.cloud.gkehub.policycontroller.v1beta.HubConfig.InstallSpec);\n\nHubConfig installSpec.\n\n### logDeniesEnabled\n\n public logDeniesEnabled: boolean;\n\nHubConfig logDeniesEnabled.\n\n### monitoring\n\n public monitoring?: (google.cloud.gkehub.policycontroller.v1beta.IMonitoringConfig|null);\n\nHubConfig monitoring.\n\n### mutationEnabled\n\n public mutationEnabled: boolean;\n\nHubConfig mutationEnabled.\n\n### policyContent\n\n public policyContent?: (google.cloud.gkehub.policycontroller.v1beta.IPolicyContentSpec|null);\n\nHubConfig policyContent.\n\n### referentialRulesEnabled\n\n public referentialRulesEnabled: boolean;\n\nHubConfig referentialRulesEnabled.\n\nMethods\n-------\n\n### create(properties)\n\n public static create(properties?: google.cloud.gkehub.policycontroller.v1beta.IHubConfig): google.cloud.gkehub.policycontroller.v1beta.HubConfig;\n\nCreates a new HubConfig instance using the specified properties.\n\n### decode(reader, length)\n\n public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gkehub.policycontroller.v1beta.HubConfig;\n\nDecodes a HubConfig message from the specified reader or buffer.\n\n### decodeDelimited(reader)\n\n public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gkehub.policycontroller.v1beta.HubConfig;\n\nDecodes a HubConfig message from the specified reader or buffer, length delimited.\n\n### encode(message, writer)\n\n public static encode(message: google.cloud.gkehub.policycontroller.v1beta.IHubConfig, writer?: $protobuf.Writer): $protobuf.Writer;\n\nEncodes the specified HubConfig message. Does not implicitly messages.\n\n### encodeDelimited(message, writer)\n\n public static encodeDelimited(message: google.cloud.gkehub.policycontroller.v1beta.IHubConfig, writer?: $protobuf.Writer): $protobuf.Writer;\n\nEncodes the specified HubConfig message, length delimited. Does not implicitly messages.\n\n### fromObject(object)\n\n public static fromObject(object: { [k: string]: any }): google.cloud.gkehub.policycontroller.v1beta.HubConfig;\n\nCreates a HubConfig message from a plain object. Also converts values to their respective internal types.\n\n### getTypeUrl(typeUrlPrefix)\n\n public static getTypeUrl(typeUrlPrefix?: string): string;\n\nGets the default type url for HubConfig\n\n### toJSON()\n\n public toJSON(): { [k: string]: any };\n\nConverts this HubConfig to JSON.\n\n### toObject(message, options)\n\n public static toObject(message: google.cloud.gkehub.policycontroller.v1beta.HubConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };\n\nCreates a plain object from a HubConfig message. Also converts values to other types if specified.\n\n### verify(message)\n\n public static verify(message: { [k: string]: any }): (string|null);\n\nVerifies a HubConfig message."]]