# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/gkehub/v1/membership.proto require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/timestamp_pb' require 'google/api/annotations_pb' require 'google/protobuf' 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" 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" end add_message "google.cloud.gkehub.v1.GkeCluster" do optional :resource_link, :string, 1 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.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 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 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