# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/gkehub/v1/configmanagement/configmanagement.proto require 'google/protobuf' require 'google/protobuf/timestamp_pb' require 'google/api/annotations_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/gkehub/v1/configmanagement/configmanagement.proto", :syntax => :proto3) do add_message "google.cloud.gkehub.configmanagement.v1.MembershipState" do optional :cluster_name, :string, 1 optional :membership_spec, :message, 2, "google.cloud.gkehub.configmanagement.v1.MembershipSpec" optional :operator_state, :message, 3, "google.cloud.gkehub.configmanagement.v1.OperatorState" optional :config_sync_state, :message, 4, "google.cloud.gkehub.configmanagement.v1.ConfigSyncState" optional :policy_controller_state, :message, 5, "google.cloud.gkehub.configmanagement.v1.PolicyControllerState" optional :hierarchy_controller_state, :message, 7, "google.cloud.gkehub.configmanagement.v1.HierarchyControllerState" end add_message "google.cloud.gkehub.configmanagement.v1.MembershipSpec" do optional :config_sync, :message, 1, "google.cloud.gkehub.configmanagement.v1.ConfigSync" optional :policy_controller, :message, 2, "google.cloud.gkehub.configmanagement.v1.PolicyController" optional :hierarchy_controller, :message, 4, "google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig" optional :version, :string, 10 end add_message "google.cloud.gkehub.configmanagement.v1.ConfigSync" do optional :git, :message, 7, "google.cloud.gkehub.configmanagement.v1.GitConfig" optional :source_format, :string, 8 end add_message "google.cloud.gkehub.configmanagement.v1.GitConfig" do optional :sync_repo, :string, 1 optional :sync_branch, :string, 2 optional :policy_dir, :string, 3 optional :sync_wait_secs, :int64, 4 optional :sync_rev, :string, 5 optional :secret_type, :string, 6 optional :https_proxy, :string, 7 optional :gcp_service_account_email, :string, 8 end add_message "google.cloud.gkehub.configmanagement.v1.PolicyController" do optional :enabled, :bool, 1 proto3_optional :template_library_installed, :bool, 2 proto3_optional :audit_interval_seconds, :int64, 3 repeated :exemptable_namespaces, :string, 4 optional :referential_rules_enabled, :bool, 5 optional :log_denies_enabled, :bool, 6 end add_message "google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig" do optional :enabled, :bool, 1 optional :enable_pod_tree_labels, :bool, 2 optional :enable_hierarchical_resource_quota, :bool, 3 end add_message "google.cloud.gkehub.configmanagement.v1.HierarchyControllerDeploymentState" do optional :hnc, :enum, 1, "google.cloud.gkehub.configmanagement.v1.DeploymentState" optional :extension, :enum, 2, "google.cloud.gkehub.configmanagement.v1.DeploymentState" end add_message "google.cloud.gkehub.configmanagement.v1.HierarchyControllerVersion" do optional :hnc, :string, 1 optional :extension, :string, 2 end add_message "google.cloud.gkehub.configmanagement.v1.HierarchyControllerState" do optional :version, :message, 1, "google.cloud.gkehub.configmanagement.v1.HierarchyControllerVersion" optional :state, :message, 2, "google.cloud.gkehub.configmanagement.v1.HierarchyControllerDeploymentState" end add_message "google.cloud.gkehub.configmanagement.v1.OperatorState" do optional :version, :string, 1 optional :deployment_state, :enum, 2, "google.cloud.gkehub.configmanagement.v1.DeploymentState" repeated :errors, :message, 3, "google.cloud.gkehub.configmanagement.v1.InstallError" end add_message "google.cloud.gkehub.configmanagement.v1.InstallError" do optional :error_message, :string, 1 end add_message "google.cloud.gkehub.configmanagement.v1.ConfigSyncState" do optional :version, :message, 1, "google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion" optional :deployment_state, :message, 2, "google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState" optional :sync_state, :message, 3, "google.cloud.gkehub.configmanagement.v1.SyncState" end add_message "google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion" do optional :importer, :string, 1 optional :syncer, :string, 2 optional :git_sync, :string, 3 optional :monitor, :string, 4 optional :reconciler_manager, :string, 5 optional :root_reconciler, :string, 6 end add_message "google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState" do optional :importer, :enum, 1, "google.cloud.gkehub.configmanagement.v1.DeploymentState" optional :syncer, :enum, 2, "google.cloud.gkehub.configmanagement.v1.DeploymentState" optional :git_sync, :enum, 3, "google.cloud.gkehub.configmanagement.v1.DeploymentState" optional :monitor, :enum, 4, "google.cloud.gkehub.configmanagement.v1.DeploymentState" optional :reconciler_manager, :enum, 5, "google.cloud.gkehub.configmanagement.v1.DeploymentState" optional :root_reconciler, :enum, 6, "google.cloud.gkehub.configmanagement.v1.DeploymentState" end add_message "google.cloud.gkehub.configmanagement.v1.SyncState" do optional :source_token, :string, 1 optional :import_token, :string, 2 optional :sync_token, :string, 3 optional :last_sync, :string, 4 optional :last_sync_time, :message, 7, "google.protobuf.Timestamp" optional :code, :enum, 5, "google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode" repeated :errors, :message, 6, "google.cloud.gkehub.configmanagement.v1.SyncError" end add_enum "google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode" do value :SYNC_CODE_UNSPECIFIED, 0 value :SYNCED, 1 value :PENDING, 2 value :ERROR, 3 value :NOT_CONFIGURED, 4 value :NOT_INSTALLED, 5 value :UNAUTHORIZED, 6 value :UNREACHABLE, 7 end add_message "google.cloud.gkehub.configmanagement.v1.SyncError" do optional :code, :string, 1 optional :error_message, :string, 2 repeated :error_resources, :message, 3, "google.cloud.gkehub.configmanagement.v1.ErrorResource" end add_message "google.cloud.gkehub.configmanagement.v1.ErrorResource" do optional :source_path, :string, 1 optional :resource_name, :string, 2 optional :resource_namespace, :string, 3 optional :resource_gvk, :message, 4, "google.cloud.gkehub.configmanagement.v1.GroupVersionKind" end add_message "google.cloud.gkehub.configmanagement.v1.GroupVersionKind" do optional :group, :string, 1 optional :version, :string, 2 optional :kind, :string, 3 end add_message "google.cloud.gkehub.configmanagement.v1.PolicyControllerState" do optional :version, :message, 1, "google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion" optional :deployment_state, :message, 2, "google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState" end add_message "google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion" do optional :version, :string, 1 end add_message "google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState" do optional :gatekeeper_controller_manager_state, :enum, 1, "google.cloud.gkehub.configmanagement.v1.DeploymentState" optional :gatekeeper_audit, :enum, 2, "google.cloud.gkehub.configmanagement.v1.DeploymentState" end add_enum "google.cloud.gkehub.configmanagement.v1.DeploymentState" do value :DEPLOYMENT_STATE_UNSPECIFIED, 0 value :NOT_INSTALLED, 1 value :INSTALLED, 2 value :ERROR, 3 end end end module Google module Cloud module GkeHub module ConfigManagement module V1 MembershipState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.MembershipState").msgclass MembershipSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.MembershipSpec").msgclass ConfigSync = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.ConfigSync").msgclass GitConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.GitConfig").msgclass PolicyController = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.PolicyController").msgclass HierarchyControllerConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig").msgclass HierarchyControllerDeploymentState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.HierarchyControllerDeploymentState").msgclass HierarchyControllerVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.HierarchyControllerVersion").msgclass HierarchyControllerState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.HierarchyControllerState").msgclass OperatorState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.OperatorState").msgclass InstallError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.InstallError").msgclass ConfigSyncState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.ConfigSyncState").msgclass ConfigSyncVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.ConfigSyncVersion").msgclass ConfigSyncDeploymentState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.ConfigSyncDeploymentState").msgclass SyncState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.SyncState").msgclass SyncState::SyncCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode").enummodule SyncError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.SyncError").msgclass ErrorResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.ErrorResource").msgclass GroupVersionKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.GroupVersionKind").msgclass PolicyControllerState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.PolicyControllerState").msgclass PolicyControllerVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.PolicyControllerVersion").msgclass GatekeeperDeploymentState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.GatekeeperDeploymentState").msgclass DeploymentState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.configmanagement.v1.DeploymentState").enummodule end end end end end