lib/google/cloud/gkehub/v1/membership_pb.rb in google-cloud-gke_hub-v1-0.4.0 vs lib/google/cloud/gkehub/v1/membership_pb.rb in google-cloud-gke_hub-v1-0.5.0
- old
+ new
@@ -19,18 +19,20 @@
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"
@@ -45,19 +47,27 @@
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
@@ -85,9 +95,10 @@
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