google-cloud-data_catalog-v1beta1 0.a → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/data_catalog/v1beta1/data_catalog/client.rb +3294 -0
  6. data/lib/google/cloud/data_catalog/v1beta1/data_catalog/credentials.rb +47 -0
  7. data/lib/google/cloud/data_catalog/v1beta1/data_catalog/paths.rb +176 -0
  8. data/lib/google/cloud/data_catalog/v1beta1/data_catalog/rest/client.rb +2629 -0
  9. data/lib/google/cloud/data_catalog/v1beta1/data_catalog/rest/service_stub.rb +1782 -0
  10. data/lib/google/cloud/data_catalog/v1beta1/data_catalog/rest.rb +53 -0
  11. data/lib/google/cloud/data_catalog/v1beta1/data_catalog.rb +56 -0
  12. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager/client.rb +1581 -0
  13. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager/credentials.rb +47 -0
  14. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager/paths.rb +90 -0
  15. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager/rest/client.rb +1254 -0
  16. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager/rest/service_stub.rb +846 -0
  17. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager/rest.rb +53 -0
  18. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager.rb +56 -0
  19. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/client.rb +513 -0
  20. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/credentials.rb +47 -0
  21. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/paths.rb +69 -0
  22. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/rest/client.rb +447 -0
  23. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/rest/service_stub.rb +167 -0
  24. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/rest.rb +53 -0
  25. data/lib/google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization.rb +56 -0
  26. data/lib/google/cloud/data_catalog/v1beta1/rest.rb +39 -0
  27. data/lib/google/cloud/data_catalog/v1beta1/version.rb +7 -2
  28. data/lib/google/cloud/data_catalog/v1beta1.rb +47 -0
  29. data/lib/google/cloud/datacatalog/v1beta1/common_pb.rb +43 -0
  30. data/lib/google/cloud/datacatalog/v1beta1/datacatalog_pb.rb +99 -0
  31. data/lib/google/cloud/datacatalog/v1beta1/datacatalog_services_pb.rb +229 -0
  32. data/lib/google/cloud/datacatalog/v1beta1/gcs_fileset_spec_pb.rb +47 -0
  33. data/lib/google/cloud/datacatalog/v1beta1/policytagmanager_pb.rb +70 -0
  34. data/lib/google/cloud/datacatalog/v1beta1/policytagmanager_services_pb.rb +73 -0
  35. data/lib/google/cloud/datacatalog/v1beta1/policytagmanagerserialization_pb.rb +55 -0
  36. data/lib/google/cloud/datacatalog/v1beta1/policytagmanagerserialization_services_pb.rb +55 -0
  37. data/lib/google/cloud/datacatalog/v1beta1/schema_pb.rb +45 -0
  38. data/lib/google/cloud/datacatalog/v1beta1/search_pb.rb +47 -0
  39. data/lib/google/cloud/datacatalog/v1beta1/table_spec_pb.rb +49 -0
  40. data/lib/google/cloud/datacatalog/v1beta1/tags_pb.rb +55 -0
  41. data/lib/google/cloud/datacatalog/v1beta1/timestamps_pb.rb +46 -0
  42. data/lib/google/cloud/datacatalog/v1beta1/usage_pb.rb +46 -0
  43. data/lib/google-cloud-data_catalog-v1beta1.rb +21 -0
  44. data/proto_docs/README.md +4 -0
  45. data/proto_docs/google/api/client.rb +381 -0
  46. data/proto_docs/google/api/field_behavior.rb +71 -0
  47. data/proto_docs/google/api/launch_stage.rb +71 -0
  48. data/proto_docs/google/api/resource.rb +222 -0
  49. data/proto_docs/google/cloud/datacatalog/v1beta1/common.rb +52 -0
  50. data/proto_docs/google/cloud/datacatalog/v1beta1/datacatalog.rb +830 -0
  51. data/proto_docs/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.rb +81 -0
  52. data/proto_docs/google/cloud/datacatalog/v1beta1/policytagmanager.rb +300 -0
  53. data/proto_docs/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.rb +131 -0
  54. data/proto_docs/google/cloud/datacatalog/v1beta1/schema.rb +61 -0
  55. data/proto_docs/google/cloud/datacatalog/v1beta1/search.rb +75 -0
  56. data/proto_docs/google/cloud/datacatalog/v1beta1/table_spec.rb +102 -0
  57. data/proto_docs/google/cloud/datacatalog/v1beta1/tags.rb +242 -0
  58. data/proto_docs/google/cloud/datacatalog/v1beta1/timestamps.rb +42 -0
  59. data/proto_docs/google/cloud/datacatalog/v1beta1/usage.rb +74 -0
  60. data/proto_docs/google/protobuf/duration.rb +98 -0
  61. data/proto_docs/google/protobuf/empty.rb +34 -0
  62. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  63. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  64. data/proto_docs/google/type/expr.rb +75 -0
  65. metadata +240 -11
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/data_catalog/v1beta1/version"
24
+
25
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/credentials"
26
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/paths"
27
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/rest/client"
28
+
29
+ module Google
30
+ module Cloud
31
+ module DataCatalog
32
+ module V1beta1
33
+ ##
34
+ # Policy tag manager serialization API service allows clients to manipulate
35
+ # their taxonomies and policy tags data with serialized format.
36
+ #
37
+ # To load this service and instantiate a REST client:
38
+ #
39
+ # require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/rest"
40
+ # client = ::Google::Cloud::DataCatalog::V1beta1::PolicyTagManagerSerialization::Rest::Client.new
41
+ #
42
+ module PolicyTagManagerSerialization
43
+ # Client for the REST transport
44
+ module Rest
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+
52
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
53
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,56 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/data_catalog/v1beta1/version"
24
+
25
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/credentials"
26
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/paths"
27
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/client"
28
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/rest"
29
+
30
+ module Google
31
+ module Cloud
32
+ module DataCatalog
33
+ module V1beta1
34
+ ##
35
+ # Policy tag manager serialization API service allows clients to manipulate
36
+ # their taxonomies and policy tags data with serialized format.
37
+ #
38
+ # @example Load this service and instantiate a gRPC client
39
+ #
40
+ # require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization"
41
+ # client = ::Google::Cloud::DataCatalog::V1beta1::PolicyTagManagerSerialization::Client.new
42
+ #
43
+ # @example Load this service and instantiate a REST client
44
+ #
45
+ # require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/rest"
46
+ # client = ::Google::Cloud::DataCatalog::V1beta1::PolicyTagManagerSerialization::Rest::Client.new
47
+ #
48
+ module PolicyTagManagerSerialization
49
+ end
50
+ end
51
+ end
52
+ end
53
+ end
54
+
55
+ helper_path = ::File.join __dir__, "policy_tag_manager_serialization", "helpers.rb"
56
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/helpers" if ::File.file? helper_path
@@ -0,0 +1,39 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/data_catalog/v1beta1/data_catalog/rest"
20
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager/rest"
21
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization/rest"
22
+ require "google/cloud/data_catalog/v1beta1/version"
23
+
24
+ module Google
25
+ module Cloud
26
+ module DataCatalog
27
+ ##
28
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
29
+ #
30
+ # @example
31
+ #
32
+ # require "google/cloud/data_catalog/v1beta1/rest"
33
+ # client = ::Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
34
+ #
35
+ module V1beta1
36
+ end
37
+ end
38
+ end
39
+ end
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2023 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
5
7
  # You may obtain a copy of the License at
6
8
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
9
+ # https://www.apache.org/licenses/LICENSE-2.0
8
10
  #
9
11
  # Unless required by applicable law or agreed to in writing, software
10
12
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,11 +14,14 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
15
20
  module Google
16
21
  module Cloud
17
22
  module DataCatalog
18
23
  module V1beta1
19
- VERSION = "0.a"
24
+ VERSION = "0.1.1"
20
25
  end
21
26
  end
22
27
  end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/data_catalog/v1beta1/data_catalog"
20
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager"
21
+ require "google/cloud/data_catalog/v1beta1/policy_tag_manager_serialization"
22
+ require "google/cloud/data_catalog/v1beta1/version"
23
+
24
+ module Google
25
+ module Cloud
26
+ module DataCatalog
27
+ ##
28
+ # API client module.
29
+ #
30
+ # @example Load this package, including all its services, and instantiate a gRPC client
31
+ #
32
+ # require "google/cloud/data_catalog/v1beta1"
33
+ # client = ::Google::Cloud::DataCatalog::V1beta1::DataCatalog::Client.new
34
+ #
35
+ # @example Load this package, including all its services, and instantiate a REST client
36
+ #
37
+ # require "google/cloud/data_catalog/v1beta1"
38
+ # client = ::Google::Cloud::DataCatalog::V1beta1::DataCatalog::Rest::Client.new
39
+ #
40
+ module V1beta1
41
+ end
42
+ end
43
+ end
44
+ end
45
+
46
+ helper_path = ::File.join __dir__, "v1beta1", "_helpers.rb"
47
+ require "google/cloud/data_catalog/v1beta1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/datacatalog/v1beta1/common.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n-google/cloud/datacatalog/v1beta1/common.proto\x12 google.cloud.datacatalog.v1beta1*U\n\x10IntegratedSystem\x12!\n\x1dINTEGRATED_SYSTEM_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x42IGQUERY\x10\x01\x12\x10\n\x0c\x43LOUD_PUBSUB\x10\x02*j\n\x0eManagingSystem\x12\x1f\n\x1bMANAGING_SYSTEM_UNSPECIFIED\x10\x00\x12\x1c\n\x18MANAGING_SYSTEM_DATAPLEX\x10\x01\x12\x19\n\x15MANAGING_SYSTEM_OTHER\x10\x02\x42\xdf\x01\n$com.google.cloud.datacatalog.v1beta1P\x01ZFcloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02 Google.Cloud.DataCatalog.V1Beta1\xca\x02 Google\\Cloud\\DataCatalog\\V1beta1\xea\x02#Google::Cloud::DataCatalog::V1beta1b\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}"
28
+ end
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."
32
+ end
33
+
34
+ module Google
35
+ module Cloud
36
+ module DataCatalog
37
+ module V1beta1
38
+ IntegratedSystem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.IntegratedSystem").enummodule
39
+ ManagingSystem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.ManagingSystem").enummodule
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,99 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/datacatalog/v1beta1/datacatalog.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/resource_pb'
11
+ require 'google/cloud/datacatalog/v1beta1/common_pb'
12
+ require 'google/cloud/datacatalog/v1beta1/gcs_fileset_spec_pb'
13
+ require 'google/cloud/datacatalog/v1beta1/schema_pb'
14
+ require 'google/cloud/datacatalog/v1beta1/search_pb'
15
+ require 'google/cloud/datacatalog/v1beta1/table_spec_pb'
16
+ require 'google/cloud/datacatalog/v1beta1/tags_pb'
17
+ require 'google/cloud/datacatalog/v1beta1/timestamps_pb'
18
+ require 'google/cloud/datacatalog/v1beta1/usage_pb'
19
+ require 'google/iam/v1/iam_policy_pb'
20
+ require 'google/iam/v1/policy_pb'
21
+ require 'google/protobuf/empty_pb'
22
+ require 'google/protobuf/field_mask_pb'
23
+
24
+
25
+ descriptor_data = "\n2google/cloud/datacatalog/v1beta1/datacatalog.proto\x12 google.cloud.datacatalog.v1beta1\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/v1beta1/common.proto\x1a\x37google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto\x1a-google/cloud/datacatalog/v1beta1/schema.proto\x1a-google/cloud/datacatalog/v1beta1/search.proto\x1a\x31google/cloud/datacatalog/v1beta1/table_spec.proto\x1a+google/cloud/datacatalog/v1beta1/tags.proto\x1a\x31google/cloud/datacatalog/v1beta1/timestamps.proto\x1a,google/cloud/datacatalog/v1beta1/usage.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\"\xc2\x02\n\x14SearchCatalogRequest\x12P\n\x05scope\x18\x06 \x01(\x0b\x32<.google.cloud.datacatalog.v1beta1.SearchCatalogRequest.ScopeB\x03\xe0\x41\x02\x12\x12\n\x05query\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x10\n\x08order_by\x18\x05 \x01(\t\x1a\x85\x01\n\x05Scope\x12\x17\n\x0finclude_org_ids\x18\x02 \x03(\t\x12\x1b\n\x13include_project_ids\x18\x03 \x03(\t\x12#\n\x1binclude_gcp_public_datasets\x18\x07 \x01(\x08\x12!\n\x14restricted_locations\x18\x10 \x03(\tB\x03\xe0\x41\x01\"\xa1\x01\n\x15SearchCatalogResponse\x12\x46\n\x07results\x18\x01 \x03(\x0b\x32\x35.google.cloud.datacatalog.v1beta1.SearchCatalogResult\x12\x12\n\ntotal_size\x18\x02 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12\x13\n\x0bunreachable\x18\x06 \x03(\t\"\xb8\x01\n\x17\x43reateEntryGroupRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%datacatalog.googleapis.com/EntryGroup\x12\x1b\n\x0e\x65ntry_group_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x0b\x65ntry_group\x18\x02 \x01(\x0b\x32,.google.cloud.datacatalog.v1beta1.EntryGroup\"\x92\x01\n\x17UpdateEntryGroupRequest\x12\x46\n\x0b\x65ntry_group\x18\x01 \x01(\x0b\x32,.google.cloud.datacatalog.v1beta1.EntryGroupB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x82\x01\n\x14GetEntryGroupRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%datacatalog.googleapis.com/EntryGroup\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"j\n\x17\x44\x65leteEntryGroupRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%datacatalog.googleapis.com/EntryGroup\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x88\x01\n\x16ListEntryGroupsRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\x12%datacatalog.googleapis.com/EntryGroup\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"v\n\x17ListEntryGroupsResponse\x12\x42\n\x0c\x65ntry_groups\x18\x01 \x03(\x0b\x32,.google.cloud.datacatalog.v1beta1.EntryGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa7\x01\n\x12\x43reateEntryRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%datacatalog.googleapis.com/EntryGroup\x12\x15\n\x08\x65ntry_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12;\n\x05\x65ntry\x18\x02 \x01(\x0b\x32\'.google.cloud.datacatalog.v1beta1.EntryB\x03\xe0\x41\x02\"\x82\x01\n\x12UpdateEntryRequest\x12;\n\x05\x65ntry\x18\x01 \x01(\x0b\x32\'.google.cloud.datacatalog.v1beta1.EntryB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"L\n\x12\x44\x65leteEntryRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n datacatalog.googleapis.com/Entry\"I\n\x0fGetEntryRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n datacatalog.googleapis.com/Entry\"V\n\x12LookupEntryRequest\x12\x19\n\x0flinked_resource\x18\x01 \x01(\tH\x00\x12\x16\n\x0csql_resource\x18\x03 \x01(\tH\x00\x42\r\n\x0btarget_name\"\xdc\x07\n\x05\x45ntry\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%datacatalog.googleapis.com/EntryGroup\x12\x17\n\x0flinked_resource\x18\t \x01(\t\x12;\n\x04type\x18\x02 \x01(\x0e\x32+.google.cloud.datacatalog.v1beta1.EntryTypeH\x00\x12\x1d\n\x13user_specified_type\x18\x10 \x01(\tH\x00\x12T\n\x11integrated_system\x18\x11 \x01(\x0e\x32\x32.google.cloud.datacatalog.v1beta1.IntegratedSystemB\x03\xe0\x41\x03H\x01\x12\x1f\n\x15user_specified_system\x18\x12 \x01(\tH\x01\x12L\n\x10gcs_fileset_spec\x18\x06 \x01(\x0b\x32\x30.google.cloud.datacatalog.v1beta1.GcsFilesetSpecH\x02\x12R\n\x13\x62igquery_table_spec\x18\x0c \x01(\x0b\x32\x33.google.cloud.datacatalog.v1beta1.BigQueryTableSpecH\x02\x12_\n\x1a\x62igquery_date_sharded_spec\x18\x0f \x01(\x0b\x32\x39.google.cloud.datacatalog.v1beta1.BigQueryDateShardedSpecH\x02\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x38\n\x06schema\x18\x05 \x01(\x0b\x32(.google.cloud.datacatalog.v1beta1.Schema\x12Y\n\x18source_system_timestamps\x18\x07 \x01(\x0b\x32\x32.google.cloud.datacatalog.v1beta1.SystemTimestampsB\x03\xe0\x41\x03\x12H\n\x0cusage_signal\x18\r \x01(\x0b\x32-.google.cloud.datacatalog.v1beta1.UsageSignalB\x03\xe0\x41\x03:x\xea\x41u\n datacatalog.googleapis.com/Entry\x12Qprojects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}B\x0c\n\nentry_typeB\x08\n\x06systemB\x0b\n\ttype_spec\"\x8e\x02\n\nEntryGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12X\n\x17\x64\x61ta_catalog_timestamps\x18\x04 \x01(\x0b\x32\x32.google.cloud.datacatalog.v1beta1.SystemTimestampsB\x03\xe0\x41\x03:m\xea\x41j\n%datacatalog.googleapis.com/EntryGroup\x12\x41projects/{project}/locations/{location}/entryGroups/{entry_group}\"\xc2\x01\n\x18\x43reateTagTemplateRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&datacatalog.googleapis.com/TagTemplate\x12\x1c\n\x0ftag_template_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12H\n\x0ctag_template\x18\x02 \x01(\x0b\x32-.google.cloud.datacatalog.v1beta1.TagTemplateB\x03\xe0\x41\x02\"U\n\x15GetTagTemplateRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&datacatalog.googleapis.com/TagTemplate\"\x95\x01\n\x18UpdateTagTemplateRequest\x12H\n\x0ctag_template\x18\x01 \x01(\x0b\x32-.google.cloud.datacatalog.v1beta1.TagTemplateB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"l\n\x18\x44\x65leteTagTemplateRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&datacatalog.googleapis.com/TagTemplate\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02\"\x83\x01\n\x10\x43reateTagRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64\x61tacatalog.googleapis.com/Tag\x12\x37\n\x03tag\x18\x02 \x01(\x0b\x32%.google.cloud.datacatalog.v1beta1.TagB\x03\xe0\x41\x02\"|\n\x10UpdateTagRequest\x12\x37\n\x03tag\x18\x01 \x01(\x0b\x32%.google.cloud.datacatalog.v1beta1.TagB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"H\n\x10\x44\x65leteTagRequest\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64\x61tacatalog.googleapis.com/Tag\"\xd8\x01\n\x1d\x43reateTagTemplateFieldRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&datacatalog.googleapis.com/TagTemplate\x12\"\n\x15tag_template_field_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12S\n\x12tag_template_field\x18\x03 \x01(\x0b\x32\x32.google.cloud.datacatalog.v1beta1.TagTemplateFieldB\x03\xe0\x41\x02\"\xed\x01\n\x1dUpdateTagTemplateFieldRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+datacatalog.googleapis.com/TagTemplateField\x12S\n\x12tag_template_field\x18\x02 \x01(\x0b\x32\x32.google.cloud.datacatalog.v1beta1.TagTemplateFieldB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\x8a\x01\n\x1dRenameTagTemplateFieldRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+datacatalog.googleapis.com/TagTemplateField\x12&\n\x19new_tag_template_field_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x9e\x01\n&RenameTagTemplateFieldEnumValueRequest\x12J\n\x04name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4datacatalog.googleapis.com/TagTemplateFieldEnumValue\x12(\n\x1bnew_enum_value_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\"v\n\x1d\x44\x65leteTagTemplateFieldRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+datacatalog.googleapis.com/TagTemplateField\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02\"p\n\x0fListTagsRequest\x12\x36\n\x06parent\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \x12\x1e\x64\x61tacatalog.googleapis.com/Tag\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"`\n\x10ListTagsResponse\x12\x33\n\x04tags\x18\x01 \x03(\x0b\x32%.google.cloud.datacatalog.v1beta1.Tag\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa9\x01\n\x12ListEntriesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%datacatalog.googleapis.com/EntryGroup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12-\n\tread_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"h\n\x13ListEntriesResponse\x12\x38\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\'.google.cloud.datacatalog.v1beta1.Entry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t*[\n\tEntryType\x12\x1a\n\x16\x45NTRY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05TABLE\x10\x02\x12\t\n\x05MODEL\x10\x05\x12\x0f\n\x0b\x44\x41TA_STREAM\x10\x03\x12\x0b\n\x07\x46ILESET\x10\x04\x32\xe1\x34\n\x0b\x44\x61taCatalog\x12\xb2\x01\n\rSearchCatalog\x12\x36.google.cloud.datacatalog.v1beta1.SearchCatalogRequest\x1a\x37.google.cloud.datacatalog.v1beta1.SearchCatalogResponse\"0\x82\xd3\xe4\x93\x02\x1c\"\x17/v1beta1/catalog:search:\x01*\xda\x41\x0bscope,query\x12\xea\x01\n\x10\x43reateEntryGroup\x12\x39.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest\x1a,.google.cloud.datacatalog.v1beta1.EntryGroup\"m\x82\xd3\xe4\x93\x02\x43\"4/v1beta1/{parent=projects/*/locations/*}/entryGroups:\x0b\x65ntry_group\xda\x41!parent,entry_group_id,entry_group\x12\xfa\x01\n\x10UpdateEntryGroup\x12\x39.google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest\x1a,.google.cloud.datacatalog.v1beta1.EntryGroup\"}\x82\xd3\xe4\x93\x02O2@/v1beta1/{entry_group.name=projects/*/locations/*/entryGroups/*}:\x0b\x65ntry_group\xda\x41\x0b\x65ntry_group\xda\x41\x17\x65ntry_group,update_mask\x12\xcb\x01\n\rGetEntryGroup\x12\x36.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest\x1a,.google.cloud.datacatalog.v1beta1.EntryGroup\"T\x82\xd3\xe4\x93\x02\x36\x12\x34/v1beta1/{name=projects/*/locations/*/entryGroups/*}\xda\x41\x04name\xda\x41\x0ename,read_mask\x12\xaa\x01\n\x10\x44\x65leteEntryGroup\x12\x39.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest\x1a\x16.google.protobuf.Empty\"C\x82\xd3\xe4\x93\x02\x36*4/v1beta1/{name=projects/*/locations/*/entryGroups/*}\xda\x41\x04name\x12\xcd\x01\n\x0fListEntryGroups\x12\x38.google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest\x1a\x39.google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse\"E\x82\xd3\xe4\x93\x02\x36\x12\x34/v1beta1/{parent=projects/*/locations/*}/entryGroups\xda\x41\x06parent\x12\xd3\x01\n\x0b\x43reateEntry\x12\x34.google.cloud.datacatalog.v1beta1.CreateEntryRequest\x1a\'.google.cloud.datacatalog.v1beta1.Entry\"e\x82\xd3\xe4\x93\x02G\">/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/entries:\x05\x65ntry\xda\x41\x15parent,entry_id,entry\x12\xdd\x01\n\x0bUpdateEntry\x12\x34.google.cloud.datacatalog.v1beta1.UpdateEntryRequest\x1a\'.google.cloud.datacatalog.v1beta1.Entry\"o\x82\xd3\xe4\x93\x02M2D/v1beta1/{entry.name=projects/*/locations/*/entryGroups/*/entries/*}:\x05\x65ntry\xda\x41\x05\x65ntry\xda\x41\x11\x65ntry,update_mask\x12\xaa\x01\n\x0b\x44\x65leteEntry\x12\x34.google.cloud.datacatalog.v1beta1.DeleteEntryRequest\x1a\x16.google.protobuf.Empty\"M\x82\xd3\xe4\x93\x02@*>/v1beta1/{name=projects/*/locations/*/entryGroups/*/entries/*}\xda\x41\x04name\x12\xb5\x01\n\x08GetEntry\x12\x31.google.cloud.datacatalog.v1beta1.GetEntryRequest\x1a\'.google.cloud.datacatalog.v1beta1.Entry\"M\x82\xd3\xe4\x93\x02@\x12>/v1beta1/{name=projects/*/locations/*/entryGroups/*/entries/*}\xda\x41\x04name\x12\x8d\x01\n\x0bLookupEntry\x12\x34.google.cloud.datacatalog.v1beta1.LookupEntryRequest\x1a\'.google.cloud.datacatalog.v1beta1.Entry\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/v1beta1/entries:lookup\x12\xcb\x01\n\x0bListEntries\x12\x34.google.cloud.datacatalog.v1beta1.ListEntriesRequest\x1a\x35.google.cloud.datacatalog.v1beta1.ListEntriesResponse\"O\x82\xd3\xe4\x93\x02@\x12>/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/entries\xda\x41\x06parent\x12\xf1\x01\n\x11\x43reateTagTemplate\x12:.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest\x1a-.google.cloud.datacatalog.v1beta1.TagTemplate\"q\x82\xd3\xe4\x93\x02\x45\"5/v1beta1/{parent=projects/*/locations/*}/tagTemplates:\x0ctag_template\xda\x41#parent,tag_template_id,tag_template\x12\xbe\x01\n\x0eGetTagTemplate\x12\x37.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest\x1a-.google.cloud.datacatalog.v1beta1.TagTemplate\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta1/{name=projects/*/locations/*/tagTemplates/*}\xda\x41\x04name\x12\x83\x02\n\x11UpdateTagTemplate\x12:.google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest\x1a-.google.cloud.datacatalog.v1beta1.TagTemplate\"\x82\x01\x82\xd3\xe4\x93\x02R2B/v1beta1/{tag_template.name=projects/*/locations/*/tagTemplates/*}:\x0ctag_template\xda\x41\x0ctag_template\xda\x41\x18tag_template,update_mask\x12\xb3\x01\n\x11\x44\x65leteTagTemplate\x12:.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest\x1a\x16.google.protobuf.Empty\"J\x82\xd3\xe4\x93\x02\x37*5/v1beta1/{name=projects/*/locations/*/tagTemplates/*}\xda\x41\nname,force\x12\x9c\x02\n\x16\x43reateTagTemplateField\x12?.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest\x1a\x32.google.cloud.datacatalog.v1beta1.TagTemplateField\"\x8c\x01\x82\xd3\xe4\x93\x02T\">/v1beta1/{parent=projects/*/locations/*/tagTemplates/*}/fields:\x12tag_template_field\xda\x41/parent,tag_template_field_id,tag_template_field\x12\xaa\x02\n\x16UpdateTagTemplateField\x12?.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest\x1a\x32.google.cloud.datacatalog.v1beta1.TagTemplateField\"\x9a\x01\x82\xd3\xe4\x93\x02T2>/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:\x12tag_template_field\xda\x41\x17name,tag_template_field\xda\x41#name,tag_template_field,update_mask\x12\x80\x02\n\x16RenameTagTemplateField\x12?.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest\x1a\x32.google.cloud.datacatalog.v1beta1.TagTemplateField\"q\x82\xd3\xe4\x93\x02J\"E/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:rename:\x01*\xda\x41\x1ename,new_tag_template_field_id\x12\xa2\x02\n\x1fRenameTagTemplateFieldEnumValue\x12H.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest\x1a\x32.google.cloud.datacatalog.v1beta1.TagTemplateField\"\x80\x01\x82\xd3\xe4\x93\x02W\"R/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*/enumValues/*}:rename:\x01*\xda\x41 name,new_enum_value_display_name\x12\xc6\x01\n\x16\x44\x65leteTagTemplateField\x12?.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest\x1a\x16.google.protobuf.Empty\"S\x82\xd3\xe4\x93\x02@*>/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}\xda\x41\nname,force\x12\x8d\x02\n\tCreateTag\x12\x32.google.cloud.datacatalog.v1beta1.CreateTagRequest\x1a%.google.cloud.datacatalog.v1beta1.Tag\"\xa4\x01\x82\xd3\xe4\x93\x02\x90\x01\"E/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags:\x03tagZB\";/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/tags:\x03tag\xda\x41\nparent,tag\x12\xa0\x02\n\tUpdateTag\x12\x32.google.cloud.datacatalog.v1beta1.UpdateTagRequest\x1a%.google.cloud.datacatalog.v1beta1.Tag\"\xb7\x01\x82\xd3\xe4\x93\x02\x98\x01\x32I/v1beta1/{tag.name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}:\x03tagZF2?/v1beta1/{tag.name=projects/*/locations/*/entryGroups/*/tags/*}:\x03tag\xda\x41\x03tag\xda\x41\x0ftag,update_mask\x12\xee\x01\n\tDeleteTag\x12\x32.google.cloud.datacatalog.v1beta1.DeleteTagRequest\x1a\x16.google.protobuf.Empty\"\x94\x01\x82\xd3\xe4\x93\x02\x86\x01*E/v1beta1/{name=projects/*/locations/*/entryGroups/*/entries/*/tags/*}Z=*;/v1beta1/{name=projects/*/locations/*/entryGroups/*/tags/*}\xda\x41\x04name\x12\x8a\x02\n\x08ListTags\x12\x31.google.cloud.datacatalog.v1beta1.ListTagsRequest\x1a\x32.google.cloud.datacatalog.v1beta1.ListTagsResponse\"\x96\x01\x82\xd3\xe4\x93\x02\x86\x01\x12\x45/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tagsZ=\x12;/v1beta1/{parent=projects/*/locations/*/entryGroups/*}/tags\xda\x41\x06parent\x12\xfc\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xb0\x01\x82\xd3\xe4\x93\x02\x97\x01\"F/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:setIamPolicy:\x01*ZJ\"E/v1beta1/{resource=projects/*/locations/*/entryGroups/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xcb\x02\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xff\x01\x82\xd3\xe4\x93\x02\xed\x01\"F/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:getIamPolicy:\x01*ZJ\"E/v1beta1/{resource=projects/*/locations/*/entryGroups/*}:getIamPolicy:\x01*ZT\"O/v1beta1/{resource=projects/*/locations/*/entryGroups/*/entries/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xf2\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\x86\x02\x82\xd3\xe4\x93\x02\xff\x01\"L/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:testIamPermissions:\x01*ZP\"K/v1beta1/{resource=projects/*/locations/*/entryGroups/*}:testIamPermissions:\x01*ZZ\"U/v1beta1/{resource=projects/*/locations/*/entryGroups/*/entries/*}:testIamPermissions:\x01*\x1aN\xca\x41\x1a\x64\x61tacatalog.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa3\x03\n$com.google.cloud.datacatalog.v1beta1P\x01ZFcloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb\xf8\x01\x01\xaa\x02 Google.Cloud.DataCatalog.V1Beta1\xca\x02 Google\\Cloud\\DataCatalog\\V1beta1\xea\x02#Google::Cloud::DataCatalog::V1beta1\xea\x41\xc0\x01\n4datacatalog.googleapis.com/TagTemplateFieldEnumValue\x12\x87\x01projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}b\x06proto3"
26
+
27
+ pool = Google::Protobuf::DescriptorPool.generated_pool
28
+
29
+ begin
30
+ pool.add_serialized_file(descriptor_data)
31
+ rescue TypeError => e
32
+ # Compatibility code: will be removed in the next major version.
33
+ require 'google/protobuf/descriptor_pb'
34
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
35
+ parsed.clear_dependency
36
+ serialized = parsed.class.encode(parsed)
37
+ file = pool.add_serialized_file(serialized)
38
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
39
+ imports = [
40
+ ["google.cloud.datacatalog.v1beta1.SearchCatalogResult", "google/cloud/datacatalog/v1beta1/search.proto"],
41
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
42
+ ["google.cloud.datacatalog.v1beta1.GcsFilesetSpec", "google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto"],
43
+ ["google.cloud.datacatalog.v1beta1.BigQueryTableSpec", "google/cloud/datacatalog/v1beta1/table_spec.proto"],
44
+ ["google.cloud.datacatalog.v1beta1.Schema", "google/cloud/datacatalog/v1beta1/schema.proto"],
45
+ ["google.cloud.datacatalog.v1beta1.SystemTimestamps", "google/cloud/datacatalog/v1beta1/timestamps.proto"],
46
+ ["google.cloud.datacatalog.v1beta1.UsageSignal", "google/cloud/datacatalog/v1beta1/usage.proto"],
47
+ ["google.cloud.datacatalog.v1beta1.TagTemplate", "google/cloud/datacatalog/v1beta1/tags.proto"],
48
+ ]
49
+ imports.each do |type_name, expected_filename|
50
+ import_file = pool.lookup(type_name).file_descriptor
51
+ if import_file.name != expected_filename
52
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
53
+ end
54
+ end
55
+ warn "Each proto file must use a consistent fully-qualified name."
56
+ warn "This will become an error in the next major version."
57
+ end
58
+
59
+ module Google
60
+ module Cloud
61
+ module DataCatalog
62
+ module V1beta1
63
+ SearchCatalogRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.SearchCatalogRequest").msgclass
64
+ SearchCatalogRequest::Scope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.SearchCatalogRequest.Scope").msgclass
65
+ SearchCatalogResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.SearchCatalogResponse").msgclass
66
+ CreateEntryGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest").msgclass
67
+ UpdateEntryGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.UpdateEntryGroupRequest").msgclass
68
+ GetEntryGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.GetEntryGroupRequest").msgclass
69
+ DeleteEntryGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest").msgclass
70
+ ListEntryGroupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest").msgclass
71
+ ListEntryGroupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.ListEntryGroupsResponse").msgclass
72
+ CreateEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.CreateEntryRequest").msgclass
73
+ UpdateEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.UpdateEntryRequest").msgclass
74
+ DeleteEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.DeleteEntryRequest").msgclass
75
+ GetEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.GetEntryRequest").msgclass
76
+ LookupEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.LookupEntryRequest").msgclass
77
+ Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.Entry").msgclass
78
+ EntryGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.EntryGroup").msgclass
79
+ CreateTagTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest").msgclass
80
+ GetTagTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.GetTagTemplateRequest").msgclass
81
+ UpdateTagTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.UpdateTagTemplateRequest").msgclass
82
+ DeleteTagTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest").msgclass
83
+ CreateTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.CreateTagRequest").msgclass
84
+ UpdateTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.UpdateTagRequest").msgclass
85
+ DeleteTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.DeleteTagRequest").msgclass
86
+ CreateTagTemplateFieldRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest").msgclass
87
+ UpdateTagTemplateFieldRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest").msgclass
88
+ RenameTagTemplateFieldRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest").msgclass
89
+ RenameTagTemplateFieldEnumValueRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldEnumValueRequest").msgclass
90
+ DeleteTagTemplateFieldRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest").msgclass
91
+ ListTagsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.ListTagsRequest").msgclass
92
+ ListTagsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.ListTagsResponse").msgclass
93
+ ListEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.ListEntriesRequest").msgclass
94
+ ListEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.ListEntriesResponse").msgclass
95
+ EntryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1beta1.EntryType").enummodule
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,229 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/datacatalog/v1beta1/datacatalog.proto for package 'Google.Cloud.DataCatalog.V1beta1'
3
+ # Original file comments:
4
+ # Copyright 2023 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/datacatalog/v1beta1/datacatalog_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module DataCatalog
25
+ module V1beta1
26
+ module DataCatalog
27
+ # Data Catalog API service allows clients to discover, understand, and manage
28
+ # their data.
29
+ class Service
30
+
31
+ include ::GRPC::GenericService
32
+
33
+ self.marshal_class_method = :encode
34
+ self.unmarshal_class_method = :decode
35
+ self.service_name = 'google.cloud.datacatalog.v1beta1.DataCatalog'
36
+
37
+ # Searches Data Catalog for multiple resources like entries, tags that
38
+ # match a query.
39
+ #
40
+ # This is a custom method
41
+ # (https://cloud.google.com/apis/design/custom_methods) and does not return
42
+ # the complete resource, only the resource identifier and high level
43
+ # fields. Clients can subsequently call `Get` methods.
44
+ #
45
+ # Note that Data Catalog search queries do not guarantee full recall. Query
46
+ # results that match your query may not be returned, even in subsequent
47
+ # result pages. Also note that results returned (and not returned) can vary
48
+ # across repeated search queries.
49
+ #
50
+ # See [Data Catalog Search
51
+ # Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
52
+ # for more information.
53
+ rpc :SearchCatalog, ::Google::Cloud::DataCatalog::V1beta1::SearchCatalogRequest, ::Google::Cloud::DataCatalog::V1beta1::SearchCatalogResponse
54
+ # A maximum of 10,000 entry groups may be created per organization across all
55
+ # locations.
56
+ #
57
+ # Users should enable the Data Catalog API in the project identified by
58
+ # the `parent` parameter (see [Data Catalog Resource Project]
59
+ # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
60
+ # more information).
61
+ rpc :CreateEntryGroup, ::Google::Cloud::DataCatalog::V1beta1::CreateEntryGroupRequest, ::Google::Cloud::DataCatalog::V1beta1::EntryGroup
62
+ # Updates an EntryGroup. The user should enable the Data Catalog API in the
63
+ # project identified by the `entry_group.name` parameter (see [Data Catalog
64
+ # Resource Project]
65
+ # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
66
+ # more information).
67
+ rpc :UpdateEntryGroup, ::Google::Cloud::DataCatalog::V1beta1::UpdateEntryGroupRequest, ::Google::Cloud::DataCatalog::V1beta1::EntryGroup
68
+ # Gets an EntryGroup.
69
+ rpc :GetEntryGroup, ::Google::Cloud::DataCatalog::V1beta1::GetEntryGroupRequest, ::Google::Cloud::DataCatalog::V1beta1::EntryGroup
70
+ # Deletes an EntryGroup. Only entry groups that do not contain entries can be
71
+ # deleted. Users should enable the Data Catalog API in the project
72
+ # identified by the `name` parameter (see [Data Catalog Resource Project]
73
+ # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
74
+ # more information).
75
+ rpc :DeleteEntryGroup, ::Google::Cloud::DataCatalog::V1beta1::DeleteEntryGroupRequest, ::Google::Protobuf::Empty
76
+ # Lists entry groups.
77
+ rpc :ListEntryGroups, ::Google::Cloud::DataCatalog::V1beta1::ListEntryGroupsRequest, ::Google::Cloud::DataCatalog::V1beta1::ListEntryGroupsResponse
78
+ # Creates an entry. Only entries of 'FILESET' type or user-specified type can
79
+ # be created.
80
+ #
81
+ # Users should enable the Data Catalog API in the project identified by
82
+ # the `parent` parameter (see [Data Catalog Resource Project]
83
+ # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
84
+ # more information).
85
+ #
86
+ # A maximum of 100,000 entries may be created per entry group.
87
+ rpc :CreateEntry, ::Google::Cloud::DataCatalog::V1beta1::CreateEntryRequest, ::Google::Cloud::DataCatalog::V1beta1::Entry
88
+ # Updates an existing entry.
89
+ # Users should enable the Data Catalog API in the project identified by
90
+ # the `entry.name` parameter (see [Data Catalog Resource Project]
91
+ # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
92
+ # more information).
93
+ rpc :UpdateEntry, ::Google::Cloud::DataCatalog::V1beta1::UpdateEntryRequest, ::Google::Cloud::DataCatalog::V1beta1::Entry
94
+ # Deletes an existing entry. Only entries created through
95
+ # [CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry]
96
+ # method can be deleted.
97
+ # Users should enable the Data Catalog API in the project identified by
98
+ # the `name` parameter (see [Data Catalog Resource Project]
99
+ # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
100
+ # more information).
101
+ rpc :DeleteEntry, ::Google::Cloud::DataCatalog::V1beta1::DeleteEntryRequest, ::Google::Protobuf::Empty
102
+ # Gets an entry.
103
+ rpc :GetEntry, ::Google::Cloud::DataCatalog::V1beta1::GetEntryRequest, ::Google::Cloud::DataCatalog::V1beta1::Entry
104
+ # Get an entry by target resource name. This method allows clients to use
105
+ # the resource name from the source Google Cloud Platform service to get the
106
+ # Data Catalog Entry.
107
+ rpc :LookupEntry, ::Google::Cloud::DataCatalog::V1beta1::LookupEntryRequest, ::Google::Cloud::DataCatalog::V1beta1::Entry
108
+ # Lists entries.
109
+ rpc :ListEntries, ::Google::Cloud::DataCatalog::V1beta1::ListEntriesRequest, ::Google::Cloud::DataCatalog::V1beta1::ListEntriesResponse
110
+ # Creates a tag template. The user should enable the Data Catalog API in
111
+ # the project identified by the `parent` parameter (see [Data Catalog
112
+ # Resource
113
+ # Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
114
+ # for more information).
115
+ rpc :CreateTagTemplate, ::Google::Cloud::DataCatalog::V1beta1::CreateTagTemplateRequest, ::Google::Cloud::DataCatalog::V1beta1::TagTemplate
116
+ # Gets a tag template.
117
+ rpc :GetTagTemplate, ::Google::Cloud::DataCatalog::V1beta1::GetTagTemplateRequest, ::Google::Cloud::DataCatalog::V1beta1::TagTemplate
118
+ # Updates a tag template. This method cannot be used to update the fields of
119
+ # a template. The tag template fields are represented as separate resources
120
+ # and should be updated using their own create/update/delete methods.
121
+ # Users should enable the Data Catalog API in the project identified by
122
+ # the `tag_template.name` parameter (see [Data Catalog Resource Project]
123
+ # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
124
+ # more information).
125
+ rpc :UpdateTagTemplate, ::Google::Cloud::DataCatalog::V1beta1::UpdateTagTemplateRequest, ::Google::Cloud::DataCatalog::V1beta1::TagTemplate
126
+ # Deletes a tag template and all tags using the template.
127
+ # Users should enable the Data Catalog API in the project identified by
128
+ # the `name` parameter (see [Data Catalog Resource Project]
129
+ # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
130
+ # more information).
131
+ rpc :DeleteTagTemplate, ::Google::Cloud::DataCatalog::V1beta1::DeleteTagTemplateRequest, ::Google::Protobuf::Empty
132
+ # Creates a field in a tag template. The user should enable the Data Catalog
133
+ # API in the project identified by the `parent` parameter (see
134
+ # [Data Catalog Resource
135
+ # Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
136
+ # for more information).
137
+ rpc :CreateTagTemplateField, ::Google::Cloud::DataCatalog::V1beta1::CreateTagTemplateFieldRequest, ::Google::Cloud::DataCatalog::V1beta1::TagTemplateField
138
+ # Updates a field in a tag template. This method cannot be used to update the
139
+ # field type. Users should enable the Data Catalog API in the project
140
+ # identified by the `name` parameter (see [Data Catalog Resource Project]
141
+ # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
142
+ # more information).
143
+ rpc :UpdateTagTemplateField, ::Google::Cloud::DataCatalog::V1beta1::UpdateTagTemplateFieldRequest, ::Google::Cloud::DataCatalog::V1beta1::TagTemplateField
144
+ # Renames a field in a tag template. The user should enable the Data Catalog
145
+ # API in the project identified by the `name` parameter (see [Data Catalog
146
+ # Resource
147
+ # Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project)
148
+ # for more information).
149
+ rpc :RenameTagTemplateField, ::Google::Cloud::DataCatalog::V1beta1::RenameTagTemplateFieldRequest, ::Google::Cloud::DataCatalog::V1beta1::TagTemplateField
150
+ # Renames an enum value in a tag template. The enum values have to be unique
151
+ # within one enum field. Thus, an enum value cannot be renamed with a name
152
+ # used in any other enum value within the same enum field.
153
+ rpc :RenameTagTemplateFieldEnumValue, ::Google::Cloud::DataCatalog::V1beta1::RenameTagTemplateFieldEnumValueRequest, ::Google::Cloud::DataCatalog::V1beta1::TagTemplateField
154
+ # Deletes a field in a tag template and all uses of that field.
155
+ # Users should enable the Data Catalog API in the project identified by
156
+ # the `name` parameter (see [Data Catalog Resource Project]
157
+ # (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for
158
+ # more information).
159
+ rpc :DeleteTagTemplateField, ::Google::Cloud::DataCatalog::V1beta1::DeleteTagTemplateFieldRequest, ::Google::Protobuf::Empty
160
+ # Creates a tag on an [Entry][google.cloud.datacatalog.v1beta1.Entry].
161
+ # Note: The project identified by the `parent` parameter for the
162
+ # [tag](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters)
163
+ # and the
164
+ # [tag
165
+ # template](https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters)
166
+ # used to create the tag must be from the same organization.
167
+ rpc :CreateTag, ::Google::Cloud::DataCatalog::V1beta1::CreateTagRequest, ::Google::Cloud::DataCatalog::V1beta1::Tag
168
+ # Updates an existing tag.
169
+ rpc :UpdateTag, ::Google::Cloud::DataCatalog::V1beta1::UpdateTagRequest, ::Google::Cloud::DataCatalog::V1beta1::Tag
170
+ # Deletes a tag.
171
+ rpc :DeleteTag, ::Google::Cloud::DataCatalog::V1beta1::DeleteTagRequest, ::Google::Protobuf::Empty
172
+ # Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry].
173
+ # The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response
174
+ # are lowercased.
175
+ rpc :ListTags, ::Google::Cloud::DataCatalog::V1beta1::ListTagsRequest, ::Google::Cloud::DataCatalog::V1beta1::ListTagsResponse
176
+ # Sets the access control policy for a resource. Replaces any existing
177
+ # policy.
178
+ # Supported resources are:
179
+ # - Tag templates.
180
+ # - Entries.
181
+ # - Entry groups.
182
+ # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
183
+ # and any external Google Cloud Platform resources synced to Data Catalog.
184
+ #
185
+ # Callers must have following Google IAM permission
186
+ # - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
187
+ # templates.
188
+ # - `datacatalog.entries.setIamPolicy` to set policies on entries.
189
+ # - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
190
+ rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
191
+ # Gets the access control policy for a resource. A `NOT_FOUND` error
192
+ # is returned if the resource does not exist. An empty policy is returned
193
+ # if the resource exists but does not have a policy set on it.
194
+ #
195
+ # Supported resources are:
196
+ # - Tag templates.
197
+ # - Entries.
198
+ # - Entry groups.
199
+ # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
200
+ # and any external Google Cloud Platform resources synced to Data Catalog.
201
+ #
202
+ # Callers must have following Google IAM permission
203
+ # - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
204
+ # templates.
205
+ # - `datacatalog.entries.getIamPolicy` to get policies on entries.
206
+ # - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
207
+ rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
208
+ # Returns the caller's permissions on a resource.
209
+ # If the resource does not exist, an empty set of permissions is returned
210
+ # (We don't return a `NOT_FOUND` error).
211
+ #
212
+ # Supported resources are:
213
+ # - Tag templates.
214
+ # - Entries.
215
+ # - Entry groups.
216
+ # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
217
+ # and any external Google Cloud Platform resources synced to Data Catalog.
218
+ #
219
+ # A caller is not required to have Google IAM permission to make this
220
+ # request.
221
+ rpc :TestIamPermissions, ::Google::Iam::V1::TestIamPermissionsRequest, ::Google::Iam::V1::TestIamPermissionsResponse
222
+ end
223
+
224
+ Stub = Service.rpc_stub_class
225
+ end
226
+ end
227
+ end
228
+ end
229
+ end