google-cloud-data_catalog-v1 0.14.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +288 -54
  4. data/lib/google/cloud/data_catalog/v1/data_catalog/operations.rb +768 -0
  5. data/lib/google/cloud/data_catalog/v1/data_catalog/rest/client.rb +228 -54
  6. data/lib/google/cloud/data_catalog/v1/data_catalog/rest/operations.rb +792 -0
  7. data/lib/google/cloud/data_catalog/v1/data_catalog/rest/service_stub.rb +120 -0
  8. data/lib/google/cloud/data_catalog/v1/data_catalog/rest.rb +1 -0
  9. data/lib/google/cloud/data_catalog/v1/data_catalog.rb +1 -0
  10. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +6 -3
  11. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/rest/client.rb +6 -3
  12. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +6 -4
  13. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/rest/client.rb +6 -4
  14. data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
  15. data/lib/google/cloud/datacatalog/v1/bigquery_pb.rb +24 -25
  16. data/lib/google/cloud/datacatalog/v1/common_pb.rb +26 -12
  17. data/lib/google/cloud/datacatalog/v1/data_source_pb.rb +24 -18
  18. data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +55 -263
  19. data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +33 -0
  20. data/lib/google/cloud/datacatalog/v1/dataplex_spec_pb.rb +25 -21
  21. data/lib/google/cloud/datacatalog/v1/dump_content_pb.rb +49 -0
  22. data/lib/google/cloud/datacatalog/v1/gcs_fileset_spec_pb.rb +25 -10
  23. data/lib/google/cloud/datacatalog/v1/physical_schema_pb.rb +24 -26
  24. data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +28 -66
  25. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +25 -43
  26. data/lib/google/cloud/datacatalog/v1/schema_pb.rb +27 -11
  27. data/lib/google/cloud/datacatalog/v1/search_pb.rb +25 -21
  28. data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +24 -26
  29. data/lib/google/cloud/datacatalog/v1/tags_pb.rb +25 -59
  30. data/lib/google/cloud/datacatalog/v1/timestamps_pb.rb +25 -6
  31. data/lib/google/cloud/datacatalog/v1/usage_pb.rb +26 -11
  32. data/proto_docs/google/api/client.rb +67 -4
  33. data/proto_docs/google/cloud/datacatalog/v1/common.rb +25 -0
  34. data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +367 -41
  35. data/proto_docs/google/cloud/datacatalog/v1/dump_content.rb +53 -0
  36. data/proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb +2 -1
  37. data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +23 -2
  38. data/proto_docs/google/cloud/datacatalog/v1/policytagmanagerserialization.rb +6 -3
  39. data/proto_docs/google/cloud/datacatalog/v1/schema.rb +68 -3
  40. data/proto_docs/google/cloud/datacatalog/v1/search.rb +2 -2
  41. data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +5 -5
  42. data/proto_docs/google/cloud/datacatalog/v1/tags.rb +11 -8
  43. data/proto_docs/google/cloud/datacatalog/v1/usage.rb +30 -1
  44. data/proto_docs/google/longrunning/operations.rb +164 -0
  45. data/proto_docs/google/protobuf/any.rb +144 -0
  46. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  47. data/proto_docs/google/rpc/status.rb +48 -0
  48. metadata +11 -4
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto
3
4
 
@@ -6,18 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/cloud/datacatalog/v1/timestamps_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/cloud/datacatalog/v1/gcs_fileset_spec.proto", :syntax => :proto3) do
11
- add_message "google.cloud.datacatalog.v1.GcsFilesetSpec" do
12
- repeated :file_patterns, :string, 1
13
- repeated :sample_gcs_file_specs, :message, 2, "google.cloud.datacatalog.v1.GcsFileSpec"
14
- end
15
- add_message "google.cloud.datacatalog.v1.GcsFileSpec" do
16
- optional :file_path, :string, 1
17
- optional :gcs_timestamps, :message, 2, "google.cloud.datacatalog.v1.SystemTimestamps"
18
- optional :size_bytes, :int64, 4
10
+
11
+ descriptor_data = "\n2google/cloud/datacatalog/v1/gcs_fileset_spec.proto\x12\x1bgoogle.cloud.datacatalog.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a,google/cloud/datacatalog/v1/timestamps.proto\"z\n\x0eGcsFilesetSpec\x12\x1a\n\rfile_patterns\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12L\n\x15sample_gcs_file_specs\x18\x02 \x03(\x0b\x32(.google.cloud.datacatalog.v1.GcsFileSpecB\x03\xe0\x41\x03\"\x8a\x01\n\x0bGcsFileSpec\x12\x16\n\tfile_path\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12J\n\x0egcs_timestamps\x18\x02 \x01(\x0b\x32-.google.cloud.datacatalog.v1.SystemTimestampsB\x03\xe0\x41\x03\x12\x17\n\nsize_bytes\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x42\xc6\x01\n\x1f\x63om.google.cloud.datacatalog.v1P\x01ZAcloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02\x1bGoogle.Cloud.DataCatalog.V1\xca\x02\x1bGoogle\\Cloud\\DataCatalog\\V1\xea\x02\x1eGoogle::Cloud::DataCatalog::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.cloud.datacatalog.v1.SystemTimestamps", "google/cloud/datacatalog/v1/timestamps.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
19
32
  end
20
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
21
36
  end
22
37
 
23
38
  module Google
@@ -1,36 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/datacatalog/v1/physical_schema.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/cloud/datacatalog/v1/physical_schema.proto", :syntax => :proto3) do
8
- add_message "google.cloud.datacatalog.v1.PhysicalSchema" do
9
- oneof :schema do
10
- optional :avro, :message, 1, "google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema"
11
- optional :thrift, :message, 2, "google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema"
12
- optional :protobuf, :message, 3, "google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema"
13
- optional :parquet, :message, 4, "google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema"
14
- optional :orc, :message, 5, "google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema"
15
- optional :csv, :message, 6, "google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema"
16
- end
17
- end
18
- add_message "google.cloud.datacatalog.v1.PhysicalSchema.AvroSchema" do
19
- optional :text, :string, 1
20
- end
21
- add_message "google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchema" do
22
- optional :text, :string, 1
23
- end
24
- add_message "google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchema" do
25
- optional :text, :string, 1
26
- end
27
- add_message "google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchema" do
28
- end
29
- add_message "google.cloud.datacatalog.v1.PhysicalSchema.OrcSchema" do
30
- end
31
- add_message "google.cloud.datacatalog.v1.PhysicalSchema.CsvSchema" do
7
+
8
+ descriptor_data = "\n1google/cloud/datacatalog/v1/physical_schema.proto\x12\x1bgoogle.cloud.datacatalog.v1\"\xdd\x04\n\x0ePhysicalSchema\x12\x46\n\x04\x61vro\x18\x01 \x01(\x0b\x32\x36.google.cloud.datacatalog.v1.PhysicalSchema.AvroSchemaH\x00\x12J\n\x06thrift\x18\x02 \x01(\x0b\x32\x38.google.cloud.datacatalog.v1.PhysicalSchema.ThriftSchemaH\x00\x12N\n\x08protobuf\x18\x03 \x01(\x0b\x32:.google.cloud.datacatalog.v1.PhysicalSchema.ProtobufSchemaH\x00\x12L\n\x07parquet\x18\x04 \x01(\x0b\x32\x39.google.cloud.datacatalog.v1.PhysicalSchema.ParquetSchemaH\x00\x12\x44\n\x03orc\x18\x05 \x01(\x0b\x32\x35.google.cloud.datacatalog.v1.PhysicalSchema.OrcSchemaH\x00\x12\x44\n\x03\x63sv\x18\x06 \x01(\x0b\x32\x35.google.cloud.datacatalog.v1.PhysicalSchema.CsvSchemaH\x00\x1a\x1a\n\nAvroSchema\x12\x0c\n\x04text\x18\x01 \x01(\t\x1a\x1c\n\x0cThriftSchema\x12\x0c\n\x04text\x18\x01 \x01(\t\x1a\x1e\n\x0eProtobufSchema\x12\x0c\n\x04text\x18\x01 \x01(\t\x1a\x0f\n\rParquetSchema\x1a\x0b\n\tOrcSchema\x1a\x0b\n\tCsvSchemaB\x08\n\x06schemaB\xdb\x01\n\x1f\x63om.google.cloud.datacatalog.v1B\x13PhysicalSchemaProtoP\x01ZAcloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02\x1bGoogle.Cloud.DataCatalog.V1\xca\x02\x1bGoogle\\Cloud\\DataCatalog\\V1\xea\x02\x1eGoogle::Cloud::DataCatalog::V1b\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
32
28
  end
33
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
34
32
  end
35
33
 
36
34
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/datacatalog/v1/policytagmanager.proto
3
4
 
@@ -7,80 +8,40 @@ require 'google/api/annotations_pb'
7
8
  require 'google/api/client_pb'
8
9
  require 'google/api/field_behavior_pb'
9
10
  require 'google/api/resource_pb'
11
+ require 'google/cloud/datacatalog/v1/common_pb'
10
12
  require 'google/cloud/datacatalog/v1/timestamps_pb'
11
13
  require 'google/iam/v1/iam_policy_pb'
12
14
  require 'google/iam/v1/policy_pb'
13
15
  require 'google/protobuf/empty_pb'
14
16
  require 'google/protobuf/field_mask_pb'
15
17
 
16
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("google/cloud/datacatalog/v1/policytagmanager.proto", :syntax => :proto3) do
18
- add_message "google.cloud.datacatalog.v1.Taxonomy" do
19
- optional :name, :string, 1
20
- optional :display_name, :string, 2
21
- optional :description, :string, 3
22
- optional :policy_tag_count, :int32, 4
23
- optional :taxonomy_timestamps, :message, 5, "google.cloud.datacatalog.v1.SystemTimestamps"
24
- repeated :activated_policy_types, :enum, 6, "google.cloud.datacatalog.v1.Taxonomy.PolicyType"
25
- end
26
- add_enum "google.cloud.datacatalog.v1.Taxonomy.PolicyType" do
27
- value :POLICY_TYPE_UNSPECIFIED, 0
28
- value :FINE_GRAINED_ACCESS_CONTROL, 1
29
- end
30
- add_message "google.cloud.datacatalog.v1.PolicyTag" do
31
- optional :name, :string, 1
32
- optional :display_name, :string, 2
33
- optional :description, :string, 3
34
- optional :parent_policy_tag, :string, 4
35
- repeated :child_policy_tags, :string, 5
36
- end
37
- add_message "google.cloud.datacatalog.v1.CreateTaxonomyRequest" do
38
- optional :parent, :string, 1
39
- optional :taxonomy, :message, 2, "google.cloud.datacatalog.v1.Taxonomy"
40
- end
41
- add_message "google.cloud.datacatalog.v1.DeleteTaxonomyRequest" do
42
- optional :name, :string, 1
43
- end
44
- add_message "google.cloud.datacatalog.v1.UpdateTaxonomyRequest" do
45
- optional :taxonomy, :message, 1, "google.cloud.datacatalog.v1.Taxonomy"
46
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
47
- end
48
- add_message "google.cloud.datacatalog.v1.ListTaxonomiesRequest" do
49
- optional :parent, :string, 1
50
- optional :page_size, :int32, 2
51
- optional :page_token, :string, 3
52
- end
53
- add_message "google.cloud.datacatalog.v1.ListTaxonomiesResponse" do
54
- repeated :taxonomies, :message, 1, "google.cloud.datacatalog.v1.Taxonomy"
55
- optional :next_page_token, :string, 2
56
- end
57
- add_message "google.cloud.datacatalog.v1.GetTaxonomyRequest" do
58
- optional :name, :string, 1
59
- end
60
- add_message "google.cloud.datacatalog.v1.CreatePolicyTagRequest" do
61
- optional :parent, :string, 1
62
- optional :policy_tag, :message, 2, "google.cloud.datacatalog.v1.PolicyTag"
63
- end
64
- add_message "google.cloud.datacatalog.v1.DeletePolicyTagRequest" do
65
- optional :name, :string, 1
66
- end
67
- add_message "google.cloud.datacatalog.v1.UpdatePolicyTagRequest" do
68
- optional :policy_tag, :message, 1, "google.cloud.datacatalog.v1.PolicyTag"
69
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
70
- end
71
- add_message "google.cloud.datacatalog.v1.ListPolicyTagsRequest" do
72
- optional :parent, :string, 1
73
- optional :page_size, :int32, 2
74
- optional :page_token, :string, 3
75
- end
76
- add_message "google.cloud.datacatalog.v1.ListPolicyTagsResponse" do
77
- repeated :policy_tags, :message, 1, "google.cloud.datacatalog.v1.PolicyTag"
78
- optional :next_page_token, :string, 2
79
- end
80
- add_message "google.cloud.datacatalog.v1.GetPolicyTagRequest" do
81
- optional :name, :string, 1
18
+
19
+ descriptor_data = "\n2google/cloud/datacatalog/v1/policytagmanager.proto\x12\x1bgoogle.cloud.datacatalog.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/datacatalog/v1/common.proto\x1a,google/cloud/datacatalog/v1/timestamps.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xeb\x04\n\x08Taxonomy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10policy_tag_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x03\x12O\n\x13taxonomy_timestamps\x18\x05 \x01(\x0b\x32-.google.cloud.datacatalog.v1.SystemTimestampsB\x03\xe0\x41\x03\x12U\n\x16\x61\x63tivated_policy_types\x18\x06 \x03(\x0e\x32\x30.google.cloud.datacatalog.v1.Taxonomy.PolicyTypeB\x03\xe0\x41\x01\x12\x43\n\x07service\x18\x07 \x01(\x0b\x32-.google.cloud.datacatalog.v1.Taxonomy.ServiceB\x03\xe0\x41\x03\x1aV\n\x07Service\x12\x39\n\x04name\x18\x01 \x01(\x0e\x32+.google.cloud.datacatalog.v1.ManagingSystem\x12\x10\n\x08identity\x18\x02 \x01(\t\"J\n\nPolicyType\x12\x1b\n\x17POLICY_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x46INE_GRAINED_ACCESS_CONTROL\x10\x01:g\xea\x41\x64\n#datacatalog.googleapis.com/Taxonomy\x12=projects/{project}/locations/{location}/taxonomies/{taxonomy}\"\x8c\x02\n\tPolicyTag\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x19\n\x11parent_policy_tag\x18\x04 \x01(\t\x12\x1e\n\x11\x63hild_policy_tags\x18\x05 \x03(\tB\x03\xe0\x41\x03:\x80\x01\xea\x41}\n$datacatalog.googleapis.com/PolicyTag\x12Uprojects/{project}/locations/{location}/taxonomies/{taxonomy}/policyTags/{policy_tag}\"\x8d\x01\n\x15\x43reateTaxonomyRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#datacatalog.googleapis.com/Taxonomy\x12\x37\n\x08taxonomy\x18\x02 \x01(\x0b\x32%.google.cloud.datacatalog.v1.Taxonomy\"R\n\x15\x44\x65leteTaxonomyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datacatalog.googleapis.com/Taxonomy\"\x81\x01\n\x15UpdateTaxonomyRequest\x12\x37\n\x08taxonomy\x18\x01 \x01(\x0b\x32%.google.cloud.datacatalog.v1.Taxonomy\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x8b\x01\n\x15ListTaxonomiesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#datacatalog.googleapis.com/Taxonomy\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"l\n\x16ListTaxonomiesResponse\x12\x39\n\ntaxonomies\x18\x01 \x03(\x0b\x32%.google.cloud.datacatalog.v1.Taxonomy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x12GetTaxonomyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datacatalog.googleapis.com/Taxonomy\"\x92\x01\n\x16\x43reatePolicyTagRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$datacatalog.googleapis.com/PolicyTag\x12:\n\npolicy_tag\x18\x02 \x01(\x0b\x32&.google.cloud.datacatalog.v1.PolicyTag\"T\n\x16\x44\x65letePolicyTagRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$datacatalog.googleapis.com/PolicyTag\"\x85\x01\n\x16UpdatePolicyTagRequest\x12:\n\npolicy_tag\x18\x01 \x01(\x0b\x32&.google.cloud.datacatalog.v1.PolicyTag\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"|\n\x15ListPolicyTagsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\x12$datacatalog.googleapis.com/PolicyTag\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"n\n\x16ListPolicyTagsResponse\x12;\n\x0bpolicy_tags\x18\x01 \x03(\x0b\x32&.google.cloud.datacatalog.v1.PolicyTag\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x13GetPolicyTagRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$datacatalog.googleapis.com/PolicyTag2\xbb\x15\n\x10PolicyTagManager\x12\xbf\x01\n\x0e\x43reateTaxonomy\x12\x32.google.cloud.datacatalog.v1.CreateTaxonomyRequest\x1a%.google.cloud.datacatalog.v1.Taxonomy\"R\x82\xd3\xe4\x93\x02:\"./v1/{parent=projects/*/locations/*}/taxonomies:\x08taxonomy\xda\x41\x0fparent,taxonomy\x12\x9b\x01\n\x0e\x44\x65leteTaxonomy\x12\x32.google.cloud.datacatalog.v1.DeleteTaxonomyRequest\x1a\x16.google.protobuf.Empty\"=\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/taxonomies/*}\xda\x41\x04name\x12\xc1\x01\n\x0eUpdateTaxonomy\x12\x32.google.cloud.datacatalog.v1.UpdateTaxonomyRequest\x1a%.google.cloud.datacatalog.v1.Taxonomy\"T\x82\xd3\xe4\x93\x02\x43\x32\x37/v1/{taxonomy.name=projects/*/locations/*/taxonomies/*}:\x08taxonomy\xda\x41\x08taxonomy\x12\xba\x01\n\x0eListTaxonomies\x12\x32.google.cloud.datacatalog.v1.ListTaxonomiesRequest\x1a\x33.google.cloud.datacatalog.v1.ListTaxonomiesResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/taxonomies\xda\x41\x06parent\x12\xa4\x01\n\x0bGetTaxonomy\x12/.google.cloud.datacatalog.v1.GetTaxonomyRequest\x1a%.google.cloud.datacatalog.v1.Taxonomy\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/taxonomies/*}\xda\x41\x04name\x12\xd3\x01\n\x0f\x43reatePolicyTag\x12\x33.google.cloud.datacatalog.v1.CreatePolicyTagRequest\x1a&.google.cloud.datacatalog.v1.PolicyTag\"c\x82\xd3\xe4\x93\x02I\";/v1/{parent=projects/*/locations/*/taxonomies/*}/policyTags:\npolicy_tag\xda\x41\x11parent,policy_tag\x12\xaa\x01\n\x0f\x44\x65letePolicyTag\x12\x33.google.cloud.datacatalog.v1.DeletePolicyTagRequest\x1a\x16.google.protobuf.Empty\"J\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}\xda\x41\x04name\x12\xd7\x01\n\x0fUpdatePolicyTag\x12\x33.google.cloud.datacatalog.v1.UpdatePolicyTagRequest\x1a&.google.cloud.datacatalog.v1.PolicyTag\"g\x82\xd3\xe4\x93\x02T2F/v1/{policy_tag.name=projects/*/locations/*/taxonomies/*/policyTags/*}:\npolicy_tag\xda\x41\npolicy_tag\x12\xc7\x01\n\x0eListPolicyTags\x12\x32.google.cloud.datacatalog.v1.ListPolicyTagsRequest\x1a\x33.google.cloud.datacatalog.v1.ListPolicyTagsResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/taxonomies/*}/policyTags\xda\x41\x06parent\x12\xb4\x01\n\x0cGetPolicyTag\x12\x30.google.cloud.datacatalog.v1.GetPolicyTagRequest\x1a&.google.cloud.datacatalog.v1.PolicyTag\"J\x82\xd3\xe4\x93\x02=\x12;/v1/{name=projects/*/locations/*/taxonomies/*/policyTags/*}\xda\x41\x04name\x12\xea\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x9e\x01\x82\xd3\xe4\x93\x02\x97\x01\"?/v1/{resource=projects/*/locations/*/taxonomies/*}:getIamPolicy:\x01*ZQ\"L/v1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:getIamPolicy:\x01*\x12\xea\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\x9e\x01\x82\xd3\xe4\x93\x02\x97\x01\"?/v1/{resource=projects/*/locations/*/taxonomies/*}:setIamPolicy:\x01*ZQ\"L/v1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:setIamPolicy:\x01*\x12\x96\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xaa\x01\x82\xd3\xe4\x93\x02\xa3\x01\"E/v1/{resource=projects/*/locations/*/taxonomies/*}:testIamPermissions:\x01*ZW\"R/v1/{resource=projects/*/locations/*/taxonomies/*/policyTags/*}:testIamPermissions:\x01*\x1aN\xca\x41\x1a\x64\x61tacatalog.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdd\x01\n\x1f\x63om.google.cloud.datacatalog.v1B\x15PolicyTagManagerProtoP\x01ZAcloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02\x1bGoogle.Cloud.DataCatalog.V1\xca\x02\x1bGoogle\\Cloud\\DataCatalog\\V1\xea\x02\x1eGoogle::Cloud::DataCatalog::V1b\x06proto3"
20
+
21
+ pool = Google::Protobuf::DescriptorPool.generated_pool
22
+
23
+ begin
24
+ pool.add_serialized_file(descriptor_data)
25
+ rescue TypeError => e
26
+ # Compatibility code: will be removed in the next major version.
27
+ require 'google/protobuf/descriptor_pb'
28
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
29
+ parsed.clear_dependency
30
+ serialized = parsed.class.encode(parsed)
31
+ file = pool.add_serialized_file(serialized)
32
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
33
+ imports = [
34
+ ["google.cloud.datacatalog.v1.SystemTimestamps", "google/cloud/datacatalog/v1/timestamps.proto"],
35
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
36
+ ]
37
+ imports.each do |type_name, expected_filename|
38
+ import_file = pool.lookup(type_name).file_descriptor
39
+ if import_file.name != expected_filename
40
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
82
41
  end
83
42
  end
43
+ warn "Each proto file must use a consistent fully-qualified name."
44
+ warn "This will become an error in the next major version."
84
45
  end
85
46
 
86
47
  module Google
@@ -88,6 +49,7 @@ module Google
88
49
  module DataCatalog
89
50
  module V1
90
51
  Taxonomy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Taxonomy").msgclass
52
+ Taxonomy::Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Taxonomy.Service").msgclass
91
53
  Taxonomy::PolicyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Taxonomy.PolicyType").enummodule
92
54
  PolicyTag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.PolicyTag").msgclass
93
55
  CreateTaxonomyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.CreateTaxonomyRequest").msgclass
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto
3
4
 
@@ -9,51 +10,32 @@ require 'google/api/field_behavior_pb'
9
10
  require 'google/api/resource_pb'
10
11
  require 'google/cloud/datacatalog/v1/policytagmanager_pb'
11
12
 
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("google/cloud/datacatalog/v1/policytagmanagerserialization.proto", :syntax => :proto3) do
14
- add_message "google.cloud.datacatalog.v1.SerializedTaxonomy" do
15
- optional :display_name, :string, 1
16
- optional :description, :string, 2
17
- repeated :policy_tags, :message, 3, "google.cloud.datacatalog.v1.SerializedPolicyTag"
18
- repeated :activated_policy_types, :enum, 4, "google.cloud.datacatalog.v1.Taxonomy.PolicyType"
19
- end
20
- add_message "google.cloud.datacatalog.v1.SerializedPolicyTag" do
21
- optional :policy_tag, :string, 1
22
- optional :display_name, :string, 2
23
- optional :description, :string, 3
24
- repeated :child_policy_tags, :message, 4, "google.cloud.datacatalog.v1.SerializedPolicyTag"
25
- end
26
- add_message "google.cloud.datacatalog.v1.ReplaceTaxonomyRequest" do
27
- optional :name, :string, 1
28
- optional :serialized_taxonomy, :message, 2, "google.cloud.datacatalog.v1.SerializedTaxonomy"
29
- end
30
- add_message "google.cloud.datacatalog.v1.ImportTaxonomiesRequest" do
31
- optional :parent, :string, 1
32
- oneof :source do
33
- optional :inline_source, :message, 2, "google.cloud.datacatalog.v1.InlineSource"
34
- optional :cross_regional_source, :message, 3, "google.cloud.datacatalog.v1.CrossRegionalSource"
35
- end
36
- end
37
- add_message "google.cloud.datacatalog.v1.InlineSource" do
38
- repeated :taxonomies, :message, 1, "google.cloud.datacatalog.v1.SerializedTaxonomy"
39
- end
40
- add_message "google.cloud.datacatalog.v1.CrossRegionalSource" do
41
- optional :taxonomy, :string, 1
42
- end
43
- add_message "google.cloud.datacatalog.v1.ImportTaxonomiesResponse" do
44
- repeated :taxonomies, :message, 1, "google.cloud.datacatalog.v1.Taxonomy"
45
- end
46
- add_message "google.cloud.datacatalog.v1.ExportTaxonomiesRequest" do
47
- optional :parent, :string, 1
48
- repeated :taxonomies, :string, 2
49
- oneof :destination do
50
- optional :serialized_taxonomies, :bool, 3
51
- end
52
- end
53
- add_message "google.cloud.datacatalog.v1.ExportTaxonomiesResponse" do
54
- repeated :taxonomies, :message, 1, "google.cloud.datacatalog.v1.SerializedTaxonomy"
13
+
14
+ descriptor_data = "\n?google/cloud/datacatalog/v1/policytagmanagerserialization.proto\x12\x1bgoogle.cloud.datacatalog.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/datacatalog/v1/policytagmanager.proto\"\xdd\x01\n\x12SerializedTaxonomy\x12\x19\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x45\n\x0bpolicy_tags\x18\x03 \x03(\x0b\x32\x30.google.cloud.datacatalog.v1.SerializedPolicyTag\x12P\n\x16\x61\x63tivated_policy_types\x18\x04 \x03(\x0e\x32\x30.google.cloud.datacatalog.v1.Taxonomy.PolicyType\"\xa6\x01\n\x13SerializedPolicyTag\x12\x12\n\npolicy_tag\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12K\n\x11\x63hild_policy_tags\x18\x04 \x03(\x0b\x32\x30.google.cloud.datacatalog.v1.SerializedPolicyTag\"\xa6\x01\n\x16ReplaceTaxonomyRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datacatalog.googleapis.com/Taxonomy\x12Q\n\x13serialized_taxonomy\x18\x02 \x01(\x0b\x32/.google.cloud.datacatalog.v1.SerializedTaxonomyB\x03\xe0\x41\x02\"\xf7\x01\n\x17ImportTaxonomiesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#datacatalog.googleapis.com/Taxonomy\x12\x42\n\rinline_source\x18\x02 \x01(\x0b\x32).google.cloud.datacatalog.v1.InlineSourceH\x00\x12Q\n\x15\x63ross_regional_source\x18\x03 \x01(\x0b\x32\x30.google.cloud.datacatalog.v1.CrossRegionalSourceH\x00\x42\x08\n\x06source\"X\n\x0cInlineSource\x12H\n\ntaxonomies\x18\x01 \x03(\x0b\x32/.google.cloud.datacatalog.v1.SerializedTaxonomyB\x03\xe0\x41\x02\"T\n\x13\x43rossRegionalSource\x12=\n\x08taxonomy\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datacatalog.googleapis.com/Taxonomy\"U\n\x18ImportTaxonomiesResponse\x12\x39\n\ntaxonomies\x18\x01 \x03(\x0b\x32%.google.cloud.datacatalog.v1.Taxonomy\"\xc7\x01\n\x17\x45xportTaxonomiesRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#datacatalog.googleapis.com/Taxonomy\x12?\n\ntaxonomies\x18\x02 \x03(\tB+\xe0\x41\x02\xfa\x41%\n#datacatalog.googleapis.com/Taxonomy\x12\x1f\n\x15serialized_taxonomies\x18\x03 \x01(\x08H\x00\x42\r\n\x0b\x64\x65stination\"_\n\x18\x45xportTaxonomiesResponse\x12\x43\n\ntaxonomies\x18\x01 \x03(\x0b\x32/.google.cloud.datacatalog.v1.SerializedTaxonomy2\xa7\x05\n\x1dPolicyTagManagerSerialization\x12\xb0\x01\n\x0fReplaceTaxonomy\x12\x33.google.cloud.datacatalog.v1.ReplaceTaxonomyRequest\x1a%.google.cloud.datacatalog.v1.Taxonomy\"A\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/taxonomies/*}:replace:\x01*\x12\xc1\x01\n\x10ImportTaxonomies\x12\x34.google.cloud.datacatalog.v1.ImportTaxonomiesRequest\x1a\x35.google.cloud.datacatalog.v1.ImportTaxonomiesResponse\"@\x82\xd3\xe4\x93\x02:\"5/v1/{parent=projects/*/locations/*}/taxonomies:import:\x01*\x12\xbe\x01\n\x10\x45xportTaxonomies\x12\x34.google.cloud.datacatalog.v1.ExportTaxonomiesRequest\x1a\x35.google.cloud.datacatalog.v1.ExportTaxonomiesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/taxonomies:export\x1aN\xca\x41\x1a\x64\x61tacatalog.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xea\x01\n\x1f\x63om.google.cloud.datacatalog.v1B\"PolicyTagManagerSerializationProtoP\x01ZAcloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02\x1bGoogle.Cloud.DataCatalog.V1\xca\x02\x1bGoogle\\Cloud\\DataCatalog\\V1\xea\x02\x1eGoogle::Cloud::DataCatalog::V1b\x06proto3"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError => e
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.cloud.datacatalog.v1.Taxonomy", "google/cloud/datacatalog/v1/policytagmanager.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
55
35
  end
56
36
  end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
57
39
  end
58
40
 
59
41
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/datacatalog/v1/schema.proto
3
4
 
@@ -5,19 +6,31 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/api/field_behavior_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/datacatalog/v1/schema.proto", :syntax => :proto3) do
10
- add_message "google.cloud.datacatalog.v1.Schema" do
11
- repeated :columns, :message, 2, "google.cloud.datacatalog.v1.ColumnSchema"
12
- end
13
- add_message "google.cloud.datacatalog.v1.ColumnSchema" do
14
- optional :column, :string, 6
15
- optional :type, :string, 1
16
- optional :description, :string, 2
17
- optional :mode, :string, 3
18
- repeated :subcolumns, :message, 7, "google.cloud.datacatalog.v1.ColumnSchema"
9
+
10
+ descriptor_data = "\n(google/cloud/datacatalog/v1/schema.proto\x12\x1bgoogle.cloud.datacatalog.v1\x1a\x1fgoogle/api/field_behavior.proto\"D\n\x06Schema\x12:\n\x07\x63olumns\x18\x02 \x03(\x0b\x32).google.cloud.datacatalog.v1.ColumnSchema\"\xd1\x06\n\x0c\x43olumnSchema\x12\x13\n\x06\x63olumn\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04type\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04mode\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rdefault_value\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10ordinal_position\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12Z\n\x15highest_indexing_type\x18\n \x01(\x0e\x32\x36.google.cloud.datacatalog.v1.ColumnSchema.IndexingTypeB\x03\xe0\x41\x01\x12\x42\n\nsubcolumns\x18\x07 \x03(\x0b\x32).google.cloud.datacatalog.v1.ColumnSchemaB\x03\xe0\x41\x01\x12X\n\x12looker_column_spec\x18\x12 \x01(\x0b\x32:.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpecH\x00\x12\x14\n\x07gc_rule\x18\x0b \x01(\tB\x03\xe0\x41\x01\x1a\xf2\x01\n\x10LookerColumnSpec\x12Y\n\x04type\x18\x01 \x01(\x0e\x32K.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType\"\x82\x01\n\x10LookerColumnType\x12\"\n\x1eLOOKER_COLUMN_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tDIMENSION\x10\x01\x12\x13\n\x0f\x44IMENSION_GROUP\x10\x02\x12\n\n\x06\x46ILTER\x10\x03\x12\x0b\n\x07MEASURE\x10\x04\x12\r\n\tPARAMETER\x10\x05\"\x9c\x01\n\x0cIndexingType\x12\x1d\n\x19INDEXING_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12INDEXING_TYPE_NONE\x10\x01\x12\x1c\n\x18INDEXING_TYPE_NON_UNIQUE\x10\x02\x12\x18\n\x14INDEXING_TYPE_UNIQUE\x10\x03\x12\x1d\n\x19INDEXING_TYPE_PRIMARY_KEY\x10\x04\x42\r\n\x0bsystem_specB\xc6\x01\n\x1f\x63om.google.cloud.datacatalog.v1P\x01ZAcloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02\x1bGoogle.Cloud.DataCatalog.V1\xca\x02\x1bGoogle\\Cloud\\DataCatalog\\V1\xea\x02\x1eGoogle::Cloud::DataCatalog::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
19
30
  end
20
31
  end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
21
34
  end
22
35
 
23
36
  module Google
@@ -26,6 +39,9 @@ module Google
26
39
  module V1
27
40
  Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Schema").msgclass
28
41
  ColumnSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ColumnSchema").msgclass
42
+ ColumnSchema::LookerColumnSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec").msgclass
43
+ ColumnSchema::LookerColumnSpec::LookerColumnType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec.LookerColumnType").enummodule
44
+ ColumnSchema::IndexingType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ColumnSchema.IndexingType").enummodule
29
45
  end
30
46
  end
31
47
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/datacatalog/v1/search.proto
3
4
 
@@ -7,29 +8,32 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/cloud/datacatalog/v1/common_pb'
8
9
  require 'google/protobuf/timestamp_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/datacatalog/v1/search.proto", :syntax => :proto3) do
12
- add_message "google.cloud.datacatalog.v1.SearchCatalogResult" do
13
- optional :search_result_type, :enum, 1, "google.cloud.datacatalog.v1.SearchResultType"
14
- optional :search_result_subtype, :string, 2
15
- optional :relative_resource_name, :string, 3
16
- optional :linked_resource, :string, 4
17
- optional :modify_time, :message, 7, "google.protobuf.Timestamp"
18
- optional :fully_qualified_name, :string, 10
19
- optional :display_name, :string, 12
20
- optional :description, :string, 13
21
- oneof :system do
22
- optional :integrated_system, :enum, 8, "google.cloud.datacatalog.v1.IntegratedSystem"
23
- optional :user_specified_system, :string, 9
24
- end
25
- end
26
- add_enum "google.cloud.datacatalog.v1.SearchResultType" do
27
- value :SEARCH_RESULT_TYPE_UNSPECIFIED, 0
28
- value :ENTRY, 1
29
- value :TAG_TEMPLATE, 2
30
- value :ENTRY_GROUP, 3
11
+
12
+ descriptor_data = "\n(google/cloud/datacatalog/v1/search.proto\x12\x1bgoogle.cloud.datacatalog.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a(google/cloud/datacatalog/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xae\x03\n\x13SearchCatalogResult\x12I\n\x12search_result_type\x18\x01 \x01(\x0e\x32-.google.cloud.datacatalog.v1.SearchResultType\x12\x1d\n\x15search_result_subtype\x18\x02 \x01(\t\x12\x1e\n\x16relative_resource_name\x18\x03 \x01(\t\x12\x17\n\x0flinked_resource\x18\x04 \x01(\t\x12/\n\x0bmodify_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12O\n\x11integrated_system\x18\x08 \x01(\x0e\x32-.google.cloud.datacatalog.v1.IntegratedSystemB\x03\xe0\x41\x03H\x00\x12\x1f\n\x15user_specified_system\x18\t \x01(\tH\x00\x12\x1c\n\x14\x66ully_qualified_name\x18\n \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x0c \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\r \x01(\tB\x08\n\x06system*d\n\x10SearchResultType\x12\"\n\x1eSEARCH_RESULT_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45NTRY\x10\x01\x12\x10\n\x0cTAG_TEMPLATE\x10\x02\x12\x0f\n\x0b\x45NTRY_GROUP\x10\x03\x42\xc6\x01\n\x1f\x63om.google.cloud.datacatalog.v1P\x01ZAcloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02\x1bGoogle.Cloud.DataCatalog.V1\xca\x02\x1bGoogle\\Cloud\\DataCatalog\\V1\xea\x02\x1eGoogle::Cloud::DataCatalog::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
33
  end
32
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
33
37
  end
34
38
 
35
39
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/datacatalog/v1/table_spec.proto
3
4
 
@@ -6,34 +7,31 @@ require 'google/protobuf'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/api/resource_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/cloud/datacatalog/v1/table_spec.proto", :syntax => :proto3) do
11
- add_message "google.cloud.datacatalog.v1.BigQueryTableSpec" do
12
- optional :table_source_type, :enum, 1, "google.cloud.datacatalog.v1.TableSourceType"
13
- oneof :type_spec do
14
- optional :view_spec, :message, 2, "google.cloud.datacatalog.v1.ViewSpec"
15
- optional :table_spec, :message, 3, "google.cloud.datacatalog.v1.TableSpec"
16
- end
17
- end
18
- add_message "google.cloud.datacatalog.v1.ViewSpec" do
19
- optional :view_query, :string, 1
20
- end
21
- add_message "google.cloud.datacatalog.v1.TableSpec" do
22
- optional :grouped_entry, :string, 1
23
- end
24
- add_message "google.cloud.datacatalog.v1.BigQueryDateShardedSpec" do
25
- optional :dataset, :string, 1
26
- optional :table_prefix, :string, 2
27
- optional :shard_count, :int64, 3
28
- optional :latest_shard_resource, :string, 4
29
- end
30
- add_enum "google.cloud.datacatalog.v1.TableSourceType" do
31
- value :TABLE_SOURCE_TYPE_UNSPECIFIED, 0
32
- value :BIGQUERY_VIEW, 2
33
- value :BIGQUERY_TABLE, 5
34
- value :BIGQUERY_MATERIALIZED_VIEW, 7
10
+
11
+ descriptor_data = "\n,google/cloud/datacatalog/v1/table_spec.proto\x12\x1bgoogle.cloud.datacatalog.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xe8\x01\n\x11\x42igQueryTableSpec\x12L\n\x11table_source_type\x18\x01 \x01(\x0e\x32,.google.cloud.datacatalog.v1.TableSourceTypeB\x03\xe0\x41\x03\x12:\n\tview_spec\x18\x02 \x01(\x0b\x32%.google.cloud.datacatalog.v1.ViewSpecH\x00\x12<\n\ntable_spec\x18\x03 \x01(\x0b\x32&.google.cloud.datacatalog.v1.TableSpecH\x00\x42\x0b\n\ttype_spec\"#\n\x08ViewSpec\x12\x17\n\nview_query\x18\x01 \x01(\tB\x03\xe0\x41\x03\"L\n\tTableSpec\x12?\n\rgrouped_entry\x18\x01 \x01(\tB(\xe0\x41\x03\xfa\x41\"\n datacatalog.googleapis.com/Entry\"\xad\x01\n\x17\x42igQueryDateShardedSpec\x12\x39\n\x07\x64\x61taset\x18\x01 \x01(\tB(\xe0\x41\x03\xfa\x41\"\n datacatalog.googleapis.com/Entry\x12\x19\n\x0ctable_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0bshard_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12\"\n\x15latest_shard_resource\x18\x04 \x01(\tB\x03\xe0\x41\x03*{\n\x0fTableSourceType\x12!\n\x1dTABLE_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rBIGQUERY_VIEW\x10\x02\x12\x12\n\x0e\x42IGQUERY_TABLE\x10\x05\x12\x1e\n\x1a\x42IGQUERY_MATERIALIZED_VIEW\x10\x07\x42\xc6\x01\n\x1f\x63om.google.cloud.datacatalog.v1P\x01ZAcloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02\x1bGoogle.Cloud.DataCatalog.V1\xca\x02\x1bGoogle\\Cloud\\DataCatalog\\V1\xea\x02\x1eGoogle::Cloud::DataCatalog::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
31
  end
36
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
37
35
  end
38
36
 
39
37
  module Google