google-cloud-data_catalog-v1 0.5.0 → 0.7.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +8 -8
  3. data/LICENSE.md +188 -190
  4. data/README.md +3 -3
  5. data/lib/google/cloud/data_catalog/v1.rb +2 -0
  6. data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +222 -128
  7. data/lib/google/cloud/data_catalog/v1/data_catalog/paths.rb +23 -0
  8. data/lib/google/cloud/data_catalog/v1/policy_tag_manager.rb +54 -0
  9. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +1321 -0
  10. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/credentials.rb +51 -0
  11. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/paths.rb +90 -0
  12. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization.rb +51 -0
  13. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +474 -0
  14. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/credentials.rb +51 -0
  15. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/paths.rb +69 -0
  16. data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
  17. data/lib/google/cloud/datacatalog/v1/common_pb.rb +1 -0
  18. data/lib/google/cloud/datacatalog/v1/data_source_pb.rb +30 -0
  19. data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +25 -0
  20. data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +6 -3
  21. data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +107 -0
  22. data/lib/google/cloud/datacatalog/v1/policytagmanager_services_pb.rb +86 -0
  23. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +70 -0
  24. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_services_pb.rb +62 -0
  25. data/lib/google/cloud/datacatalog/v1/search_pb.rb +2 -0
  26. data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +1 -0
  27. data/lib/google/cloud/datacatalog/v1/tags_pb.rb +1 -0
  28. data/proto_docs/google/api/field_behavior.rb +7 -1
  29. data/proto_docs/google/cloud/datacatalog/v1/common.rb +3 -0
  30. data/proto_docs/google/cloud/datacatalog/v1/data_source.rb +51 -0
  31. data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +212 -111
  32. data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +303 -0
  33. data/proto_docs/google/cloud/datacatalog/v1/policytagmanagerserialization.rb +141 -0
  34. data/proto_docs/google/cloud/datacatalog/v1/schema.rb +16 -4
  35. data/proto_docs/google/cloud/datacatalog/v1/search.rb +14 -0
  36. data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +3 -0
  37. data/proto_docs/google/cloud/datacatalog/v1/tags.rb +44 -21
  38. data/proto_docs/google/type/expr.rb +35 -12
  39. metadata +34 -12
@@ -47,6 +47,9 @@ module Google
47
47
  # Example:
48
48
  #
49
49
  # * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
50
+ # @!attribute [rw] modify_time
51
+ # @return [::Google::Protobuf::Timestamp]
52
+ # Last-modified timestamp of the entry from the managing system.
50
53
  # @!attribute [r] integrated_system
51
54
  # @return [::Google::Cloud::DataCatalog::V1::IntegratedSystem]
52
55
  # Output only. This field indicates the entry's source system that Data Catalog
@@ -55,6 +58,17 @@ module Google
55
58
  # @return [::String]
56
59
  # This field indicates the entry's source system that Data Catalog does not
57
60
  # integrate with.
61
+ # @!attribute [rw] fully_qualified_name
62
+ # @return [::String]
63
+ # Fully Qualified Name of the resource.
64
+ # There are two main forms of FQNs:
65
+ # \\{system}:\\{project}.\\{dot-separated path to resource}
66
+ # for non-regionalized resources
67
+ # \\{system}:\\{project}.\\{location id}.\\{dot-separated path to resource}
68
+ # for regionalized resources
69
+ # Examples:
70
+ # * dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId
71
+ # * bigquery:table.project_id.dataset_id.table_id
58
72
  class SearchCatalogResult
59
73
  include ::Google::Protobuf::MessageExts
60
74
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -91,6 +91,9 @@ module Google
91
91
 
92
92
  # BigQuery native table.
93
93
  BIGQUERY_TABLE = 5
94
+
95
+ # BigQuery materialized view.
96
+ BIGQUERY_MATERIALIZED_VIEW = 7
94
97
  end
95
98
  end
96
99
  end
@@ -31,15 +31,17 @@ module Google
31
31
  # @return [::String]
32
32
  # The resource name of the tag in URL format. Example:
33
33
  #
34
- # * projects/\\{project_id}/locations/\\{location}/entrygroups/\\{entry_group_id}/entries/\\{entry_id}/tags/\\{tag_id}
34
+ # `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}`
35
35
  #
36
36
  # where `tag_id` is a system-generated identifier.
37
- # Note that this Tag may not actually be stored in the location in this name.
37
+ #
38
+ # Note: The tag itself might not be stored in the location specified in its
39
+ # name.
38
40
  # @!attribute [rw] template
39
41
  # @return [::String]
40
42
  # Required. The resource name of the tag template that this tag uses. Example:
41
43
  #
42
- # * projects/\\{project_id}/locations/\\{location}/tagTemplates/\\{tag_template_id}
44
+ # `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
43
45
  #
44
46
  # This field cannot be modified after creation.
45
47
  # @!attribute [r] template_display_name
@@ -47,13 +49,11 @@ module Google
47
49
  # Output only. The display name of the tag template.
48
50
  # @!attribute [rw] column
49
51
  # @return [::String]
50
- # Resources like Entry can have schemas associated with them. This scope
52
+ # Resources like entry can have schemas associated with them. This scope
51
53
  # allows users to attach tags to an individual column based on that schema.
52
54
  #
53
- # For attaching a tag to a nested column, use `.` to separate the column
54
- # names. Example:
55
- #
56
- # * `outer_column.inner_column`
55
+ # To attach a tag to a nested column, separate column names with a dot
56
+ # (`.`). Example: `column.nested_column`.
57
57
  # @!attribute [rw] fields
58
58
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DataCatalog::V1::TagField}]
59
59
  # Required. This maps the ID of a tag field to the value of and additional information
@@ -84,6 +84,7 @@ module Google
84
84
  # @!attribute [rw] string_value
85
85
  # @return [::String]
86
86
  # Holds the value for a tag field with string type.
87
+ # The maximum length is 2000 UTF-8 characters.
87
88
  # @!attribute [rw] bool_value
88
89
  # @return [::Boolean]
89
90
  # Holds the value for a tag field with boolean type.
@@ -127,13 +128,17 @@ module Google
127
128
  # @return [::String]
128
129
  # The resource name of the tag template in URL format. Example:
129
130
  #
130
- # * projects/\\{project_id}/locations/\\{location}/tagTemplates/\\{tag_template_id}
131
+ # `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
131
132
  #
132
- # Note that this TagTemplate and its child resources may not actually be
133
- # stored in the location in this name.
133
+ # Note: The tag template itself and its child resources might not be
134
+ # stored in the location specified in its name.
134
135
  # @!attribute [rw] display_name
135
136
  # @return [::String]
136
- # The display name for this template. Defaults to an empty string.
137
+ # Display name for this template. Defaults to an empty string.
138
+ #
139
+ # The name must contain only Unicode letters, numbers (0-9), underscores (_),
140
+ # dashes (-), spaces ( ), and can't start or end with spaces.
141
+ # The maximum length is 200 characters.
137
142
  # @!attribute [rw] fields
138
143
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DataCatalog::V1::TagTemplateField}]
139
144
  # Required. Map of tag template field IDs to the settings for the field.
@@ -163,19 +168,30 @@ module Google
163
168
  # @return [::String]
164
169
  # Output only. The resource name of the tag template field in URL format. Example:
165
170
  #
166
- # * projects/\\{project_id}/locations/\\{location}/tagTemplates/\\{tag_template}/fields/\\{field}
171
+ # `projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}`
167
172
  #
168
- # Note that this TagTemplateField may not actually be stored in the location
169
- # in this name.
173
+ # Note: The `TagTemplateField` itself might not be stored in the location
174
+ # specified in its name.
175
+ #
176
+ # The name must contain only letters (a-z, A-Z), numbers (0-9),
177
+ # or underscores (_), and must start with a letter or underscore.
178
+ # The maximum length is 64 characters.
170
179
  # @!attribute [rw] display_name
171
180
  # @return [::String]
172
181
  # The display name for this field. Defaults to an empty string.
182
+ #
183
+ # The name must contain only Unicode letters, numbers (0-9), underscores (_),
184
+ # dashes (-), spaces ( ), and can't start or end with spaces.
185
+ # The maximum length is 200 characters.
173
186
  # @!attribute [rw] type
174
187
  # @return [::Google::Cloud::DataCatalog::V1::FieldType]
175
188
  # Required. The type of value this tag field can contain.
176
189
  # @!attribute [rw] is_required
177
190
  # @return [::Boolean]
178
191
  # Whether this is a required field. Defaults to false.
192
+ # @!attribute [rw] description
193
+ # @return [::String]
194
+ # The description for this field. Defaults to an empty string.
179
195
  # @!attribute [rw] order
180
196
  # @return [::Integer]
181
197
  # The order of this field with respect to other fields in this tag
@@ -199,12 +215,15 @@ module Google
199
215
 
200
216
  # @!attribute [rw] allowed_values
201
217
  # @return [::Array<::Google::Cloud::DataCatalog::V1::FieldType::EnumType::EnumValue>]
202
- # Required on create; optional on update. The set of allowed values for
203
- # this enum. This set must not be empty, the display names of the values in
204
- # this set must not be empty and the display names of the values must be
205
- # case-insensitively unique within this set. Currently, enum values can
206
- # only be added to the list of allowed values. Deletion and renaming of
207
- # enum values are not supported. Can have up to 500 allowed values.
218
+ # The set of allowed values for this enum.
219
+ #
220
+ # This set must not be empty and can include up to 100 allowed values.
221
+ # The display names of the values in this set must not be empty and must
222
+ # be case-insensitively unique within this set.
223
+ #
224
+ # The order of items in this set is preserved. This field can be used to
225
+ # create, remove and reorder enum values. To rename enum values, use the
226
+ # `RenameTagTemplateFieldEnumValue` method.
208
227
  class EnumType
209
228
  include ::Google::Protobuf::MessageExts
210
229
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -212,6 +231,10 @@ module Google
212
231
  # @!attribute [rw] display_name
213
232
  # @return [::String]
214
233
  # Required. The display name of the enum value. Must not be an empty string.
234
+ #
235
+ # The name must contain only Unicode letters, numbers (0-9), underscores
236
+ # (_), dashes (-), spaces ( ), and can't start or end with spaces. The
237
+ # maximum length is 200 characters.
215
238
  class EnumValue
216
239
  include ::Google::Protobuf::MessageExts
217
240
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -19,30 +19,53 @@
19
19
 
20
20
  module Google
21
21
  module Type
22
- # Represents an expression text. Example:
22
+ # Represents a textual expression in the Common Expression Language (CEL)
23
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
24
+ # are documented at https://github.com/google/cel-spec.
23
25
  #
24
- # title: "User account presence"
25
- # description: "Determines whether the request has a user account"
26
- # expression: "size(request.user) > 0"
26
+ # Example (Comparison):
27
+ #
28
+ # title: "Summary size limit"
29
+ # description: "Determines if a summary is less than 100 chars"
30
+ # expression: "document.summary.size() < 100"
31
+ #
32
+ # Example (Equality):
33
+ #
34
+ # title: "Requestor is owner"
35
+ # description: "Determines if requestor is the document owner"
36
+ # expression: "document.owner == request.auth.claims.email"
37
+ #
38
+ # Example (Logic):
39
+ #
40
+ # title: "Public documents"
41
+ # description: "Determine whether the document should be publicly visible"
42
+ # expression: "document.type != 'private' && document.type != 'internal'"
43
+ #
44
+ # Example (Data Manipulation):
45
+ #
46
+ # title: "Notification string"
47
+ # description: "Create a notification string with a timestamp."
48
+ # expression: "'New message received at ' + string(document.create_time)"
49
+ #
50
+ # The exact variables and functions that may be referenced within an expression
51
+ # are determined by the service that evaluates it. See the service
52
+ # documentation for additional information.
27
53
  # @!attribute [rw] expression
28
54
  # @return [::String]
29
- # Textual representation of an expression in
30
- # Common Expression Language syntax.
31
- #
32
- # The application context of the containing message determines which
33
- # well-known feature set of CEL is supported.
55
+ # Textual representation of an expression in Common Expression Language
56
+ # syntax.
34
57
  # @!attribute [rw] title
35
58
  # @return [::String]
36
- # An optional title for the expression, i.e. a short string describing
59
+ # Optional. Title for the expression, i.e. a short string describing
37
60
  # its purpose. This can be used e.g. in UIs which allow to enter the
38
61
  # expression.
39
62
  # @!attribute [rw] description
40
63
  # @return [::String]
41
- # An optional description of the expression. This is a longer text which
64
+ # Optional. Description of the expression. This is a longer text which
42
65
  # describes the expression, e.g. when hovered over it in a UI.
43
66
  # @!attribute [rw] location
44
67
  # @return [::String]
45
- # An optional string indicating the location of the expression for error
68
+ # Optional. String indicating the location of the expression for error
46
69
  # reporting, e.g. a file name and a position in the file.
47
70
  class Expr
48
71
  include ::Google::Protobuf::MessageExts
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-data_catalog-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.5'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '0.3'
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.5'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.3'
32
+ version: 2.a
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: google-cloud-errors
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,7 +53,7 @@ dependencies:
47
53
  version: 0.6.10
48
54
  - - "<"
49
55
  - !ruby/object:Gem::Version
50
- version: '2.0'
56
+ version: 2.a
51
57
  type: :runtime
52
58
  prerelease: false
53
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,21 +63,21 @@ dependencies:
57
63
  version: 0.6.10
58
64
  - - "<"
59
65
  - !ruby/object:Gem::Version
60
- version: '2.0'
66
+ version: 2.a
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: google-style
63
69
  requirement: !ruby/object:Gem::Requirement
64
70
  requirements:
65
71
  - - "~>"
66
72
  - !ruby/object:Gem::Version
67
- version: 1.24.0
73
+ version: 1.25.1
68
74
  type: :development
69
75
  prerelease: false
70
76
  version_requirements: !ruby/object:Gem::Requirement
71
77
  requirements:
72
78
  - - "~>"
73
79
  - !ruby/object:Gem::Version
74
- version: 1.24.0
80
+ version: 1.25.1
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: minitest
77
83
  requirement: !ruby/object:Gem::Requirement
@@ -191,11 +197,24 @@ files:
191
197
  - lib/google/cloud/data_catalog/v1/data_catalog/client.rb
192
198
  - lib/google/cloud/data_catalog/v1/data_catalog/credentials.rb
193
199
  - lib/google/cloud/data_catalog/v1/data_catalog/paths.rb
200
+ - lib/google/cloud/data_catalog/v1/policy_tag_manager.rb
201
+ - lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb
202
+ - lib/google/cloud/data_catalog/v1/policy_tag_manager/credentials.rb
203
+ - lib/google/cloud/data_catalog/v1/policy_tag_manager/paths.rb
204
+ - lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization.rb
205
+ - lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb
206
+ - lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/credentials.rb
207
+ - lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/paths.rb
194
208
  - lib/google/cloud/data_catalog/v1/version.rb
195
209
  - lib/google/cloud/datacatalog/v1/common_pb.rb
210
+ - lib/google/cloud/datacatalog/v1/data_source_pb.rb
196
211
  - lib/google/cloud/datacatalog/v1/datacatalog_pb.rb
197
212
  - lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb
198
213
  - lib/google/cloud/datacatalog/v1/gcs_fileset_spec_pb.rb
214
+ - lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb
215
+ - lib/google/cloud/datacatalog/v1/policytagmanager_services_pb.rb
216
+ - lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb
217
+ - lib/google/cloud/datacatalog/v1/policytagmanagerserialization_services_pb.rb
199
218
  - lib/google/cloud/datacatalog/v1/schema_pb.rb
200
219
  - lib/google/cloud/datacatalog/v1/search_pb.rb
201
220
  - lib/google/cloud/datacatalog/v1/table_spec_pb.rb
@@ -205,8 +224,11 @@ files:
205
224
  - proto_docs/google/api/field_behavior.rb
206
225
  - proto_docs/google/api/resource.rb
207
226
  - proto_docs/google/cloud/datacatalog/v1/common.rb
227
+ - proto_docs/google/cloud/datacatalog/v1/data_source.rb
208
228
  - proto_docs/google/cloud/datacatalog/v1/datacatalog.rb
209
229
  - proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb
230
+ - proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb
231
+ - proto_docs/google/cloud/datacatalog/v1/policytagmanagerserialization.rb
210
232
  - proto_docs/google/cloud/datacatalog/v1/schema.rb
211
233
  - proto_docs/google/cloud/datacatalog/v1/search.rb
212
234
  - proto_docs/google/cloud/datacatalog/v1/table_spec.rb
@@ -231,14 +253,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
231
253
  requirements:
232
254
  - - ">="
233
255
  - !ruby/object:Gem::Version
234
- version: '2.4'
256
+ version: '2.5'
235
257
  required_rubygems_version: !ruby/object:Gem::Requirement
236
258
  requirements:
237
259
  - - ">="
238
260
  - !ruby/object:Gem::Version
239
261
  version: '0'
240
262
  requirements: []
241
- rubygems_version: 3.2.6
263
+ rubygems_version: 3.2.17
242
264
  signing_key:
243
265
  specification_version: 4
244
266
  summary: API Client library for the Data Catalog V1 API