# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/gkehub/v1/membership.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/gkehub/v1/membership.proto", :syntax => :proto3) do add_message "google.cloud.gkehub.v1.Membership" do optional :name, :string, 1 map :labels, :string, :string, 2 optional :description, :string, 3 optional :state, :message, 5, "google.cloud.gkehub.v1.MembershipState" optional :create_time, :message, 6, "google.protobuf.Timestamp" optional :update_time, :message, 7, "google.protobuf.Timestamp" optional :delete_time, :message, 8, "google.protobuf.Timestamp" optional :external_id, :string, 9 optional :last_connection_time, :message, 10, "google.protobuf.Timestamp" optional :unique_id, :string, 11 optional :authority, :message, 12, "google.cloud.gkehub.v1.Authority" optional :monitoring_config, :message, 14, "google.cloud.gkehub.v1.MonitoringConfig" oneof :type do optional :endpoint, :message, 4, "google.cloud.gkehub.v1.MembershipEndpoint" end end add_message "google.cloud.gkehub.v1.MembershipEndpoint" do optional :gke_cluster, :message, 1, "google.cloud.gkehub.v1.GkeCluster" optional :kubernetes_metadata, :message, 2, "google.cloud.gkehub.v1.KubernetesMetadata" optional :kubernetes_resource, :message, 3, "google.cloud.gkehub.v1.KubernetesResource" optional :google_managed, :bool, 8 end add_message "google.cloud.gkehub.v1.KubernetesResource" do optional :membership_cr_manifest, :string, 1 repeated :membership_resources, :message, 2, "google.cloud.gkehub.v1.ResourceManifest" repeated :connect_resources, :message, 3, "google.cloud.gkehub.v1.ResourceManifest" optional :resource_options, :message, 4, "google.cloud.gkehub.v1.ResourceOptions" end add_message "google.cloud.gkehub.v1.ResourceOptions" do optional :connect_version, :string, 1 optional :v1beta1_crd, :bool, 2 optional :k8s_version, :string, 3 end add_message "google.cloud.gkehub.v1.ResourceManifest" do optional :manifest, :string, 1 optional :cluster_scoped, :bool, 2 end add_message "google.cloud.gkehub.v1.GkeCluster" do optional :resource_link, :string, 1 optional :cluster_missing, :bool, 2 end add_message "google.cloud.gkehub.v1.KubernetesMetadata" do optional :kubernetes_api_server_version, :string, 1 optional :node_provider_id, :string, 2 optional :node_count, :int32, 3 optional :vcpu_count, :int32, 4 optional :memory_mb, :int32, 5 optional :update_time, :message, 100, "google.protobuf.Timestamp" end add_message "google.cloud.gkehub.v1.MonitoringConfig" do optional :project_id, :string, 1 optional :location, :string, 2 optional :cluster, :string, 3 optional :kubernetes_metrics_prefix, :string, 4 optional :cluster_hash, :string, 5 end add_message "google.cloud.gkehub.v1.MembershipState" do optional :code, :enum, 1, "google.cloud.gkehub.v1.MembershipState.Code" end add_enum "google.cloud.gkehub.v1.MembershipState.Code" do value :CODE_UNSPECIFIED, 0 value :CREATING, 1 value :READY, 2 value :DELETING, 3 value :UPDATING, 4 value :SERVICE_UPDATING, 5 end add_message "google.cloud.gkehub.v1.Authority" do optional :issuer, :string, 1 optional :workload_identity_pool, :string, 2 optional :identity_provider, :string, 3 optional :oidc_jwks, :bytes, 4 end end end module Google module Cloud module GkeHub module V1 Membership = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.Membership").msgclass MembershipEndpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.MembershipEndpoint").msgclass KubernetesResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.KubernetesResource").msgclass ResourceOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.ResourceOptions").msgclass ResourceManifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.ResourceManifest").msgclass GkeCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.GkeCluster").msgclass KubernetesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.KubernetesMetadata").msgclass MonitoringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.MonitoringConfig").msgclass MembershipState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.MembershipState").msgclass MembershipState::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.MembershipState.Code").enummodule Authority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gkehub.v1.Authority").msgclass end end end end