lib/google/cloud/gkehub/v1/membership_pb.rb in google-cloud-gke_hub-v1-0.1.2 vs lib/google/cloud/gkehub/v1/membership_pb.rb in google-cloud-gke_hub-v1-0.2.0
- old
+ new
@@ -1,12 +1,12 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/gkehub/v1/membership.proto
+require 'google/api/annotations_pb'
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
@@ -26,11 +26,27 @@
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"
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
end
add_message "google.cloud.gkehub.v1.KubernetesMetadata" do
optional :kubernetes_api_server_version, :string, 1
@@ -64,9 +80,12 @@
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
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