google-cloud-data_catalog-v1 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +24 -0
- data/lib/google-cloud-data_catalog-v1.rb +1 -0
- data/lib/google/cloud/common_resources_pb.rb +15 -0
- data/lib/google/cloud/data_catalog/v1.rb +19 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog.rb +20 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +2639 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/credentials.rb +51 -0
- data/lib/google/cloud/data_catalog/v1/data_catalog/paths.rb +136 -0
- data/lib/google/cloud/data_catalog/v1/version.rb +28 -0
- data/lib/google/cloud/datacatalog/v1/common_pb.rb +24 -0
- data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +226 -0
- data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +222 -0
- data/lib/google/cloud/datacatalog/v1/gcs_fileset_spec_pb.rb +31 -0
- data/lib/google/cloud/datacatalog/v1/schema_pb.rb +31 -0
- data/lib/google/cloud/datacatalog/v1/search_pb.rb +39 -0
- data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +48 -0
- data/lib/google/cloud/datacatalog/v1/tags_pb.rb +84 -0
- data/lib/google/cloud/datacatalog/v1/timestamps_pb.rb +26 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/cloud/datacatalog/v1/common.rb +39 -0
- data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +748 -0
- data/proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb +79 -0
- data/proto_docs/google/cloud/datacatalog/v1/schema.rb +60 -0
- data/proto_docs/google/cloud/datacatalog/v1/search.rb +80 -0
- data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +98 -0
- data/proto_docs/google/cloud/datacatalog/v1/tags.rb +238 -0
- data/proto_docs/google/cloud/datacatalog/v1/timestamps.rb +42 -0
- data/proto_docs/google/iam/v1/iam_policy.rb +79 -0
- data/proto_docs/google/iam/v1/policy.rb +156 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- metadata +207 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 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 "googleauth"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module DataCatalog
|
24
|
+
module V1
|
25
|
+
module DataCatalog
|
26
|
+
# Credentials for the DataCatalog API.
|
27
|
+
class Credentials < Google::Auth::Credentials
|
28
|
+
self.scope = [
|
29
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
30
|
+
]
|
31
|
+
self.env_vars = [
|
32
|
+
"DATA_CATALOG_CREDENTIALS",
|
33
|
+
"DATA_CATALOG_KEYFILE",
|
34
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
35
|
+
"GOOGLE_CLOUD_KEYFILE",
|
36
|
+
"GCLOUD_KEYFILE",
|
37
|
+
"DATA_CATALOG_CREDENTIALS_JSON",
|
38
|
+
"DATA_CATALOG_KEYFILE_JSON",
|
39
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
40
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
41
|
+
"GCLOUD_KEYFILE_JSON"
|
42
|
+
]
|
43
|
+
self.paths = [
|
44
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
45
|
+
]
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,136 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module DataCatalog
|
23
|
+
module V1
|
24
|
+
module DataCatalog
|
25
|
+
# Path helper methods for the DataCatalog API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified Entry resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param entry_group [String]
|
37
|
+
# @param entry [String]
|
38
|
+
#
|
39
|
+
# @return [String]
|
40
|
+
def entry_path project:, location:, entry_group:, entry:
|
41
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
42
|
+
raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
43
|
+
raise ArgumentError, "entry_group cannot contain /" if entry_group.to_s.include? "/"
|
44
|
+
|
45
|
+
"projects/#{project}/locations/#{location}/entryGroups/#{entry_group}/entries/#{entry}"
|
46
|
+
end
|
47
|
+
|
48
|
+
##
|
49
|
+
# Create a fully-qualified EntryGroup resource string.
|
50
|
+
#
|
51
|
+
# The resource will be in the following format:
|
52
|
+
#
|
53
|
+
# `projects/{project}/locations/{location}/entryGroups/{entry_group}`
|
54
|
+
#
|
55
|
+
# @param project [String]
|
56
|
+
# @param location [String]
|
57
|
+
# @param entry_group [String]
|
58
|
+
#
|
59
|
+
# @return [String]
|
60
|
+
def entry_group_path project:, location:, entry_group:
|
61
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
62
|
+
raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
63
|
+
|
64
|
+
"projects/#{project}/locations/#{location}/entryGroups/#{entry_group}"
|
65
|
+
end
|
66
|
+
|
67
|
+
##
|
68
|
+
# Create a fully-qualified Tag resource string.
|
69
|
+
#
|
70
|
+
# The resource will be in the following format:
|
71
|
+
#
|
72
|
+
# `projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}/tags/{tag}`
|
73
|
+
#
|
74
|
+
# @param project [String]
|
75
|
+
# @param location [String]
|
76
|
+
# @param entry_group [String]
|
77
|
+
# @param entry [String]
|
78
|
+
# @param tag [String]
|
79
|
+
#
|
80
|
+
# @return [String]
|
81
|
+
def tag_path project:, location:, entry_group:, entry:, tag:
|
82
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
83
|
+
raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
84
|
+
raise ArgumentError, "entry_group cannot contain /" if entry_group.to_s.include? "/"
|
85
|
+
raise ArgumentError, "entry cannot contain /" if entry.to_s.include? "/"
|
86
|
+
|
87
|
+
"projects/#{project}/locations/#{location}/entryGroups/#{entry_group}/entries/#{entry}/tags/#{tag}"
|
88
|
+
end
|
89
|
+
|
90
|
+
##
|
91
|
+
# Create a fully-qualified TagTemplate resource string.
|
92
|
+
#
|
93
|
+
# The resource will be in the following format:
|
94
|
+
#
|
95
|
+
# `projects/{project}/locations/{location}/tagTemplates/{tag_template}`
|
96
|
+
#
|
97
|
+
# @param project [String]
|
98
|
+
# @param location [String]
|
99
|
+
# @param tag_template [String]
|
100
|
+
#
|
101
|
+
# @return [String]
|
102
|
+
def tag_template_path project:, location:, tag_template:
|
103
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
104
|
+
raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
105
|
+
|
106
|
+
"projects/#{project}/locations/#{location}/tagTemplates/#{tag_template}"
|
107
|
+
end
|
108
|
+
|
109
|
+
##
|
110
|
+
# Create a fully-qualified TagTemplateField resource string.
|
111
|
+
#
|
112
|
+
# The resource will be in the following format:
|
113
|
+
#
|
114
|
+
# `projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{field}`
|
115
|
+
#
|
116
|
+
# @param project [String]
|
117
|
+
# @param location [String]
|
118
|
+
# @param tag_template [String]
|
119
|
+
# @param field [String]
|
120
|
+
#
|
121
|
+
# @return [String]
|
122
|
+
def tag_template_field_path project:, location:, tag_template:, field:
|
123
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
124
|
+
raise ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
125
|
+
raise ArgumentError, "tag_template cannot contain /" if tag_template.to_s.include? "/"
|
126
|
+
|
127
|
+
"projects/#{project}/locations/#{location}/tagTemplates/#{tag_template}/fields/#{field}"
|
128
|
+
end
|
129
|
+
|
130
|
+
extend self
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 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
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module DataCatalog
|
23
|
+
module V1
|
24
|
+
VERSION = "0.1.0"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/datacatalog/v1/common.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/cloud/datacatalog/v1/common.proto", :syntax => :proto3) do
|
8
|
+
add_enum "google.cloud.datacatalog.v1.IntegratedSystem" do
|
9
|
+
value :INTEGRATED_SYSTEM_UNSPECIFIED, 0
|
10
|
+
value :BIGQUERY, 1
|
11
|
+
value :CLOUD_PUBSUB, 2
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
module Google
|
17
|
+
module Cloud
|
18
|
+
module DataCatalog
|
19
|
+
module V1
|
20
|
+
IntegratedSystem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.IntegratedSystem").enummodule
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,226 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/datacatalog/v1/datacatalog.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/client_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
require 'google/api/resource_pb'
|
10
|
+
require 'google/cloud/datacatalog/v1/common_pb'
|
11
|
+
require 'google/cloud/datacatalog/v1/gcs_fileset_spec_pb'
|
12
|
+
require 'google/cloud/datacatalog/v1/schema_pb'
|
13
|
+
require 'google/cloud/datacatalog/v1/search_pb'
|
14
|
+
require 'google/cloud/datacatalog/v1/table_spec_pb'
|
15
|
+
require 'google/cloud/datacatalog/v1/tags_pb'
|
16
|
+
require 'google/cloud/datacatalog/v1/timestamps_pb'
|
17
|
+
require 'google/iam/v1/iam_policy_pb'
|
18
|
+
require 'google/iam/v1/policy_pb'
|
19
|
+
require 'google/protobuf/empty_pb'
|
20
|
+
require 'google/protobuf/field_mask_pb'
|
21
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
22
|
+
add_file("google/cloud/datacatalog/v1/datacatalog.proto", :syntax => :proto3) do
|
23
|
+
add_message "google.cloud.datacatalog.v1.SearchCatalogRequest" do
|
24
|
+
optional :scope, :message, 6, "google.cloud.datacatalog.v1.SearchCatalogRequest.Scope"
|
25
|
+
optional :query, :string, 1
|
26
|
+
optional :page_size, :int32, 2
|
27
|
+
optional :page_token, :string, 3
|
28
|
+
optional :order_by, :string, 5
|
29
|
+
end
|
30
|
+
add_message "google.cloud.datacatalog.v1.SearchCatalogRequest.Scope" do
|
31
|
+
repeated :include_org_ids, :string, 2
|
32
|
+
repeated :include_project_ids, :string, 3
|
33
|
+
optional :include_gcp_public_datasets, :bool, 7
|
34
|
+
end
|
35
|
+
add_message "google.cloud.datacatalog.v1.SearchCatalogResponse" do
|
36
|
+
repeated :results, :message, 1, "google.cloud.datacatalog.v1.SearchCatalogResult"
|
37
|
+
optional :next_page_token, :string, 3
|
38
|
+
end
|
39
|
+
add_message "google.cloud.datacatalog.v1.CreateEntryGroupRequest" do
|
40
|
+
optional :parent, :string, 1
|
41
|
+
optional :entry_group_id, :string, 3
|
42
|
+
optional :entry_group, :message, 2, "google.cloud.datacatalog.v1.EntryGroup"
|
43
|
+
end
|
44
|
+
add_message "google.cloud.datacatalog.v1.UpdateEntryGroupRequest" do
|
45
|
+
optional :entry_group, :message, 1, "google.cloud.datacatalog.v1.EntryGroup"
|
46
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
47
|
+
end
|
48
|
+
add_message "google.cloud.datacatalog.v1.GetEntryGroupRequest" do
|
49
|
+
optional :name, :string, 1
|
50
|
+
optional :read_mask, :message, 2, "google.protobuf.FieldMask"
|
51
|
+
end
|
52
|
+
add_message "google.cloud.datacatalog.v1.DeleteEntryGroupRequest" do
|
53
|
+
optional :name, :string, 1
|
54
|
+
optional :force, :bool, 2
|
55
|
+
end
|
56
|
+
add_message "google.cloud.datacatalog.v1.ListEntryGroupsRequest" do
|
57
|
+
optional :parent, :string, 1
|
58
|
+
optional :page_size, :int32, 2
|
59
|
+
optional :page_token, :string, 3
|
60
|
+
end
|
61
|
+
add_message "google.cloud.datacatalog.v1.ListEntryGroupsResponse" do
|
62
|
+
repeated :entry_groups, :message, 1, "google.cloud.datacatalog.v1.EntryGroup"
|
63
|
+
optional :next_page_token, :string, 2
|
64
|
+
end
|
65
|
+
add_message "google.cloud.datacatalog.v1.CreateEntryRequest" do
|
66
|
+
optional :parent, :string, 1
|
67
|
+
optional :entry_id, :string, 3
|
68
|
+
optional :entry, :message, 2, "google.cloud.datacatalog.v1.Entry"
|
69
|
+
end
|
70
|
+
add_message "google.cloud.datacatalog.v1.UpdateEntryRequest" do
|
71
|
+
optional :entry, :message, 1, "google.cloud.datacatalog.v1.Entry"
|
72
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
73
|
+
end
|
74
|
+
add_message "google.cloud.datacatalog.v1.DeleteEntryRequest" do
|
75
|
+
optional :name, :string, 1
|
76
|
+
end
|
77
|
+
add_message "google.cloud.datacatalog.v1.GetEntryRequest" do
|
78
|
+
optional :name, :string, 1
|
79
|
+
end
|
80
|
+
add_message "google.cloud.datacatalog.v1.LookupEntryRequest" do
|
81
|
+
oneof :target_name do
|
82
|
+
optional :linked_resource, :string, 1
|
83
|
+
optional :sql_resource, :string, 3
|
84
|
+
end
|
85
|
+
end
|
86
|
+
add_message "google.cloud.datacatalog.v1.Entry" do
|
87
|
+
optional :name, :string, 1
|
88
|
+
optional :linked_resource, :string, 9
|
89
|
+
optional :display_name, :string, 3
|
90
|
+
optional :description, :string, 4
|
91
|
+
optional :schema, :message, 5, "google.cloud.datacatalog.v1.Schema"
|
92
|
+
optional :source_system_timestamps, :message, 7, "google.cloud.datacatalog.v1.SystemTimestamps"
|
93
|
+
oneof :entry_type do
|
94
|
+
optional :type, :enum, 2, "google.cloud.datacatalog.v1.EntryType"
|
95
|
+
optional :user_specified_type, :string, 16
|
96
|
+
end
|
97
|
+
oneof :system do
|
98
|
+
optional :integrated_system, :enum, 17, "google.cloud.datacatalog.v1.IntegratedSystem"
|
99
|
+
optional :user_specified_system, :string, 18
|
100
|
+
end
|
101
|
+
oneof :type_spec do
|
102
|
+
optional :gcs_fileset_spec, :message, 6, "google.cloud.datacatalog.v1.GcsFilesetSpec"
|
103
|
+
optional :bigquery_table_spec, :message, 12, "google.cloud.datacatalog.v1.BigQueryTableSpec"
|
104
|
+
optional :bigquery_date_sharded_spec, :message, 15, "google.cloud.datacatalog.v1.BigQueryDateShardedSpec"
|
105
|
+
end
|
106
|
+
end
|
107
|
+
add_message "google.cloud.datacatalog.v1.EntryGroup" do
|
108
|
+
optional :name, :string, 1
|
109
|
+
optional :display_name, :string, 2
|
110
|
+
optional :description, :string, 3
|
111
|
+
optional :data_catalog_timestamps, :message, 4, "google.cloud.datacatalog.v1.SystemTimestamps"
|
112
|
+
end
|
113
|
+
add_message "google.cloud.datacatalog.v1.CreateTagTemplateRequest" do
|
114
|
+
optional :parent, :string, 1
|
115
|
+
optional :tag_template_id, :string, 3
|
116
|
+
optional :tag_template, :message, 2, "google.cloud.datacatalog.v1.TagTemplate"
|
117
|
+
end
|
118
|
+
add_message "google.cloud.datacatalog.v1.GetTagTemplateRequest" do
|
119
|
+
optional :name, :string, 1
|
120
|
+
end
|
121
|
+
add_message "google.cloud.datacatalog.v1.UpdateTagTemplateRequest" do
|
122
|
+
optional :tag_template, :message, 1, "google.cloud.datacatalog.v1.TagTemplate"
|
123
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
124
|
+
end
|
125
|
+
add_message "google.cloud.datacatalog.v1.DeleteTagTemplateRequest" do
|
126
|
+
optional :name, :string, 1
|
127
|
+
optional :force, :bool, 2
|
128
|
+
end
|
129
|
+
add_message "google.cloud.datacatalog.v1.CreateTagRequest" do
|
130
|
+
optional :parent, :string, 1
|
131
|
+
optional :tag, :message, 2, "google.cloud.datacatalog.v1.Tag"
|
132
|
+
end
|
133
|
+
add_message "google.cloud.datacatalog.v1.UpdateTagRequest" do
|
134
|
+
optional :tag, :message, 1, "google.cloud.datacatalog.v1.Tag"
|
135
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
136
|
+
end
|
137
|
+
add_message "google.cloud.datacatalog.v1.DeleteTagRequest" do
|
138
|
+
optional :name, :string, 1
|
139
|
+
end
|
140
|
+
add_message "google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest" do
|
141
|
+
optional :parent, :string, 1
|
142
|
+
optional :tag_template_field_id, :string, 2
|
143
|
+
optional :tag_template_field, :message, 3, "google.cloud.datacatalog.v1.TagTemplateField"
|
144
|
+
end
|
145
|
+
add_message "google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest" do
|
146
|
+
optional :name, :string, 1
|
147
|
+
optional :tag_template_field, :message, 2, "google.cloud.datacatalog.v1.TagTemplateField"
|
148
|
+
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
149
|
+
end
|
150
|
+
add_message "google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest" do
|
151
|
+
optional :name, :string, 1
|
152
|
+
optional :new_tag_template_field_id, :string, 2
|
153
|
+
end
|
154
|
+
add_message "google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest" do
|
155
|
+
optional :name, :string, 1
|
156
|
+
optional :force, :bool, 2
|
157
|
+
end
|
158
|
+
add_message "google.cloud.datacatalog.v1.ListTagsRequest" do
|
159
|
+
optional :parent, :string, 1
|
160
|
+
optional :page_size, :int32, 2
|
161
|
+
optional :page_token, :string, 3
|
162
|
+
end
|
163
|
+
add_message "google.cloud.datacatalog.v1.ListTagsResponse" do
|
164
|
+
repeated :tags, :message, 1, "google.cloud.datacatalog.v1.Tag"
|
165
|
+
optional :next_page_token, :string, 2
|
166
|
+
end
|
167
|
+
add_message "google.cloud.datacatalog.v1.ListEntriesRequest" do
|
168
|
+
optional :parent, :string, 1
|
169
|
+
optional :page_size, :int32, 2
|
170
|
+
optional :page_token, :string, 3
|
171
|
+
optional :read_mask, :message, 4, "google.protobuf.FieldMask"
|
172
|
+
end
|
173
|
+
add_message "google.cloud.datacatalog.v1.ListEntriesResponse" do
|
174
|
+
repeated :entries, :message, 1, "google.cloud.datacatalog.v1.Entry"
|
175
|
+
optional :next_page_token, :string, 2
|
176
|
+
end
|
177
|
+
add_enum "google.cloud.datacatalog.v1.EntryType" do
|
178
|
+
value :ENTRY_TYPE_UNSPECIFIED, 0
|
179
|
+
value :TABLE, 2
|
180
|
+
value :MODEL, 5
|
181
|
+
value :DATA_STREAM, 3
|
182
|
+
value :FILESET, 4
|
183
|
+
end
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
module Google
|
188
|
+
module Cloud
|
189
|
+
module DataCatalog
|
190
|
+
module V1
|
191
|
+
SearchCatalogRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.SearchCatalogRequest").msgclass
|
192
|
+
SearchCatalogRequest::Scope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.SearchCatalogRequest.Scope").msgclass
|
193
|
+
SearchCatalogResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.SearchCatalogResponse").msgclass
|
194
|
+
CreateEntryGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.CreateEntryGroupRequest").msgclass
|
195
|
+
UpdateEntryGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UpdateEntryGroupRequest").msgclass
|
196
|
+
GetEntryGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.GetEntryGroupRequest").msgclass
|
197
|
+
DeleteEntryGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DeleteEntryGroupRequest").msgclass
|
198
|
+
ListEntryGroupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListEntryGroupsRequest").msgclass
|
199
|
+
ListEntryGroupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListEntryGroupsResponse").msgclass
|
200
|
+
CreateEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.CreateEntryRequest").msgclass
|
201
|
+
UpdateEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UpdateEntryRequest").msgclass
|
202
|
+
DeleteEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DeleteEntryRequest").msgclass
|
203
|
+
GetEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.GetEntryRequest").msgclass
|
204
|
+
LookupEntryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.LookupEntryRequest").msgclass
|
205
|
+
Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.Entry").msgclass
|
206
|
+
EntryGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.EntryGroup").msgclass
|
207
|
+
CreateTagTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.CreateTagTemplateRequest").msgclass
|
208
|
+
GetTagTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.GetTagTemplateRequest").msgclass
|
209
|
+
UpdateTagTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UpdateTagTemplateRequest").msgclass
|
210
|
+
DeleteTagTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DeleteTagTemplateRequest").msgclass
|
211
|
+
CreateTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.CreateTagRequest").msgclass
|
212
|
+
UpdateTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UpdateTagRequest").msgclass
|
213
|
+
DeleteTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DeleteTagRequest").msgclass
|
214
|
+
CreateTagTemplateFieldRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest").msgclass
|
215
|
+
UpdateTagTemplateFieldRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest").msgclass
|
216
|
+
RenameTagTemplateFieldRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest").msgclass
|
217
|
+
DeleteTagTemplateFieldRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest").msgclass
|
218
|
+
ListTagsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListTagsRequest").msgclass
|
219
|
+
ListTagsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListTagsResponse").msgclass
|
220
|
+
ListEntriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListEntriesRequest").msgclass
|
221
|
+
ListEntriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.ListEntriesResponse").msgclass
|
222
|
+
EntryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.datacatalog.v1.EntryType").enummodule
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
226
|
+
end
|