# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/datacatalog/v1/policytagmanager.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/datacatalog/v1/timestamps_pb' require 'google/iam/v1/iam_policy_pb' require 'google/iam/v1/policy_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/datacatalog/v1/policytagmanager.proto", :syntax => :proto3) do add_message "google.cloud.datacatalog.v1.Taxonomy" do optional :name, :string, 1 optional :display_name, :string, 2 optional :description, :string, 3 optional :policy_tag_count, :int32, 4 optional :taxonomy_timestamps, :message, 5, "google.cloud.datacatalog.v1.SystemTimestamps" repeated :activated_policy_types, :enum, 6, "google.cloud.datacatalog.v1.Taxonomy.PolicyType" end add_enum "google.cloud.datacatalog.v1.Taxonomy.PolicyType" do value :POLICY_TYPE_UNSPECIFIED, 0 value :FINE_GRAINED_ACCESS_CONTROL, 1 end add_message "google.cloud.datacatalog.v1.PolicyTag" do optional :name, :string, 1 optional :display_name, :string, 2 optional :description, :string, 3 optional :parent_policy_tag, :string, 4 repeated :child_policy_tags, :string, 5 end add_message "google.cloud.datacatalog.v1.CreateTaxonomyRequest" do optional :parent, :string, 1 optional :taxonomy, :message, 2, "google.cloud.datacatalog.v1.Taxonomy" end add_message "google.cloud.datacatalog.v1.DeleteTaxonomyRequest" do optional :name, :string, 1 end add_message "google.cloud.datacatalog.v1.UpdateTaxonomyRequest" do optional :taxonomy, :message, 1, "google.cloud.datacatalog.v1.Taxonomy" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.datacatalog.v1.ListTaxonomiesRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 end add_message "google.cloud.datacatalog.v1.ListTaxonomiesResponse" do repeated :taxonomies, :message, 1, "google.cloud.datacatalog.v1.Taxonomy" optional :next_page_token, :string, 2 end add_message "google.cloud.datacatalog.v1.GetTaxonomyRequest" do optional :name, :string, 1 end add_message "google.cloud.datacatalog.v1.CreatePolicyTagRequest" do optional :parent, :string, 1 optional :policy_tag, :message, 2, "google.cloud.datacatalog.v1.PolicyTag" end add_message "google.cloud.datacatalog.v1.DeletePolicyTagRequest" do optional :name, :string, 1 end add_message "google.cloud.datacatalog.v1.UpdatePolicyTagRequest" do optional :policy_tag, :message, 1, "google.cloud.datacatalog.v1.PolicyTag" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.datacatalog.v1.ListPolicyTagsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 end add_message "google.cloud.datacatalog.v1.ListPolicyTagsResponse" do repeated :policy_tags, :message, 1, "google.cloud.datacatalog.v1.PolicyTag" optional :next_page_token, :string, 2 end add_message "google.cloud.datacatalog.v1.GetPolicyTagRequest" do optional :name, :string, 1 end end end module Google module Cloud module DataCatalog module V1 Taxonomy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Taxonomy").msgclass Taxonomy::PolicyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Taxonomy.PolicyType").enummodule PolicyTag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PolicyTag").msgclass CreateTaxonomyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.CreateTaxonomyRequest").msgclass DeleteTaxonomyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DeleteTaxonomyRequest").msgclass UpdateTaxonomyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UpdateTaxonomyRequest").msgclass ListTaxonomiesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListTaxonomiesRequest").msgclass ListTaxonomiesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListTaxonomiesResponse").msgclass GetTaxonomyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.GetTaxonomyRequest").msgclass CreatePolicyTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.CreatePolicyTagRequest").msgclass DeletePolicyTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DeletePolicyTagRequest").msgclass UpdatePolicyTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UpdatePolicyTagRequest").msgclass ListPolicyTagsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListPolicyTagsRequest").msgclass ListPolicyTagsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListPolicyTagsResponse").msgclass GetPolicyTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.GetPolicyTagRequest").msgclass end end end end