google-cloud-data_catalog-v1 0.7.3 → 0.8.3

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.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/data_catalog/v1/data_catalog/client.rb +989 -432
  3. data/lib/google/cloud/data_catalog/v1/data_catalog.rb +2 -2
  4. data/lib/google/cloud/data_catalog/v1/policy_tag_manager/client.rb +394 -133
  5. data/lib/google/cloud/data_catalog/v1/policy_tag_manager.rb +1 -1
  6. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/client.rb +198 -61
  7. data/lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization.rb +4 -3
  8. data/lib/google/cloud/data_catalog/v1/version.rb +1 -1
  9. data/lib/google/cloud/datacatalog/v1/bigquery_pb.rb +48 -0
  10. data/lib/google/cloud/datacatalog/v1/data_source_pb.rb +1 -1
  11. data/lib/google/cloud/datacatalog/v1/datacatalog_pb.rb +46 -2
  12. data/lib/google/cloud/datacatalog/v1/datacatalog_services_pb.rb +180 -143
  13. data/lib/google/cloud/datacatalog/v1/gcs_fileset_spec_pb.rb +2 -2
  14. data/lib/google/cloud/datacatalog/v1/policytagmanager_pb.rb +2 -2
  15. data/lib/google/cloud/datacatalog/v1/policytagmanager_services_pb.rb +16 -15
  16. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_pb.rb +7 -2
  17. data/lib/google/cloud/datacatalog/v1/policytagmanagerserialization_services_pb.rb +29 -15
  18. data/lib/google/cloud/datacatalog/v1/schema_pb.rb +1 -1
  19. data/lib/google/cloud/datacatalog/v1/search_pb.rb +2 -2
  20. data/lib/google/cloud/datacatalog/v1/table_spec_pb.rb +2 -2
  21. data/lib/google/cloud/datacatalog/v1/tags_pb.rb +5 -2
  22. data/lib/google/cloud/datacatalog/v1/timestamps_pb.rb +2 -2
  23. data/lib/google/cloud/datacatalog/v1/usage_pb.rb +31 -0
  24. data/proto_docs/google/cloud/datacatalog/v1/bigquery.rb +87 -0
  25. data/proto_docs/google/cloud/datacatalog/v1/common.rb +1 -2
  26. data/proto_docs/google/cloud/datacatalog/v1/data_source.rb +6 -5
  27. data/proto_docs/google/cloud/datacatalog/v1/datacatalog.rb +370 -246
  28. data/proto_docs/google/cloud/datacatalog/v1/gcs_fileset_spec.rb +16 -15
  29. data/proto_docs/google/cloud/datacatalog/v1/policytagmanager.rb +87 -71
  30. data/proto_docs/google/cloud/datacatalog/v1/policytagmanagerserialization.rb +34 -19
  31. data/proto_docs/google/cloud/datacatalog/v1/schema.rb +3 -3
  32. data/proto_docs/google/cloud/datacatalog/v1/search.rb +43 -29
  33. data/proto_docs/google/cloud/datacatalog/v1/table_spec.rb +23 -16
  34. data/proto_docs/google/cloud/datacatalog/v1/tags.rb +96 -51
  35. data/proto_docs/google/cloud/datacatalog/v1/timestamps.rb +12 -5
  36. data/proto_docs/google/cloud/datacatalog/v1/usage.rb +79 -0
  37. metadata +8 -4
@@ -27,12 +27,12 @@ module Google
27
27
  # Output only. The table source type.
28
28
  # @!attribute [rw] view_spec
29
29
  # @return [::Google::Cloud::DataCatalog::V1::ViewSpec]
30
- # Table view specification. This field should only be populated if
31
- # `table_source_type` is `BIGQUERY_VIEW`.
30
+ # Table view specification. Populated only if
31
+ # the `table_source_type` is `BIGQUERY_VIEW`.
32
32
  # @!attribute [rw] table_spec
33
33
  # @return [::Google::Cloud::DataCatalog::V1::TableSpec]
34
- # Spec of a BigQuery table. This field should only be populated if
35
- # `table_source_type` is `BIGQUERY_TABLE`.
34
+ # Specification of a BigQuery table. Populated only if
35
+ # the `table_source_type` is `BIGQUERY_TABLE`.
36
36
  class BigQueryTableSpec
37
37
  include ::Google::Protobuf::MessageExts
38
38
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -47,31 +47,38 @@ module Google
47
47
  extend ::Google::Protobuf::MessageExts::ClassMethods
48
48
  end
49
49
 
50
- # Normal BigQuery table spec.
50
+ # Normal BigQuery table specification.
51
51
  # @!attribute [r] grouped_entry
52
52
  # @return [::String]
53
- # Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`,
54
- # `grouped_entry` is the Data Catalog resource name of the date sharded
55
- # grouped entry, for example,
56
- # `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
53
+ # Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD`
54
+ # name pattern, this field is the Data Catalog resource name of the
55
+ # date-sharded grouped entry. For example:
56
+ #
57
+ # `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
58
+ #
57
59
  # Otherwise, `grouped_entry` is empty.
58
60
  class TableSpec
59
61
  include ::Google::Protobuf::MessageExts
60
62
  extend ::Google::Protobuf::MessageExts::ClassMethods
61
63
  end
62
64
 
63
- # Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`.
64
- # Context:
65
- # https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding
65
+ # Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name
66
+ # pattern.
67
+ #
68
+ # For more information, see [Introduction to partitioned tables]
69
+ # (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
66
70
  # @!attribute [r] dataset
67
71
  # @return [::String]
68
72
  # Output only. The Data Catalog resource name of the dataset entry the current table
69
- # belongs to, for example,
70
- # `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`.
73
+ # belongs to. For example:
74
+ #
75
+ # `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`.
71
76
  # @!attribute [r] table_prefix
72
77
  # @return [::String]
73
- # Output only. The table name prefix of the shards. The name of any given shard is
74
- # `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the
78
+ # Output only. The table name prefix of the shards.
79
+ #
80
+ # The name of any given shard is `[table_prefix]YYYYMMDD`.
81
+ # For example, for the `MyTable20180101` shard, the
75
82
  # `table_prefix` is `MyTable`.
76
83
  # @!attribute [r] shard_count
77
84
  # @return [::Integer]
@@ -21,27 +21,24 @@ module Google
21
21
  module Cloud
22
22
  module DataCatalog
23
23
  module V1
24
- # Tags are used to attach custom metadata to Data Catalog resources. Tags
25
- # conform to the specifications within their tag template.
24
+ # Tags contain custom metadata and are attached to Data Catalog resources. Tags
25
+ # conform with the specification of their tag template.
26
26
  #
27
27
  # See [Data Catalog
28
28
  # IAM](https://cloud.google.com/data-catalog/docs/concepts/iam) for information
29
29
  # on the permissions needed to create or view tags.
30
30
  # @!attribute [rw] name
31
31
  # @return [::String]
32
- # The resource name of the tag in URL format. Example:
33
- #
34
- # `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}`
35
- #
36
- # where `tag_id` is a system-generated identifier.
32
+ # The resource name of the tag in URL format where tag ID is a
33
+ # system-generated identifier.
37
34
  #
38
35
  # Note: The tag itself might not be stored in the location specified in its
39
36
  # name.
40
37
  # @!attribute [rw] template
41
38
  # @return [::String]
42
- # Required. The resource name of the tag template that this tag uses. Example:
39
+ # Required. The resource name of the tag template this tag uses. Example:
43
40
  #
44
- # `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
41
+ # `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}`
45
42
  #
46
43
  # This field cannot be modified after creation.
47
44
  # @!attribute [r] template_display_name
@@ -50,14 +47,16 @@ module Google
50
47
  # @!attribute [rw] column
51
48
  # @return [::String]
52
49
  # Resources like entry can have schemas associated with them. This scope
53
- # allows users to attach tags to an individual column based on that schema.
50
+ # allows you to attach tags to an individual column based on that schema.
54
51
  #
55
52
  # To attach a tag to a nested column, separate column names with a dot
56
53
  # (`.`). Example: `column.nested_column`.
57
54
  # @!attribute [rw] fields
58
55
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DataCatalog::V1::TagField}]
59
- # Required. This maps the ID of a tag field to the value of and additional information
60
- # about that field. Valid field IDs are defined by the tag's template. A tag
56
+ # Required. Maps the ID of a tag field to its value and additional information
57
+ # about that field.
58
+ #
59
+ # Tag template defines valid field IDs. A tag
61
60
  # must have at least 1 field and at most 500 fields.
62
61
  class Tag
63
62
  include ::Google::Protobuf::MessageExts
@@ -73,40 +72,50 @@ module Google
73
72
  end
74
73
  end
75
74
 
76
- # Contains the value and supporting information for a field within
75
+ # Contains the value and additional information on a field within
77
76
  # a {::Google::Cloud::DataCatalog::V1::Tag Tag}.
78
77
  # @!attribute [r] display_name
79
78
  # @return [::String]
80
79
  # Output only. The display name of this field.
81
80
  # @!attribute [rw] double_value
82
81
  # @return [::Float]
83
- # Holds the value for a tag field with double type.
82
+ # The value of a tag field with a double type.
84
83
  # @!attribute [rw] string_value
85
84
  # @return [::String]
86
- # Holds the value for a tag field with string type.
85
+ # The value of a tag field with a string type.
86
+ #
87
87
  # The maximum length is 2000 UTF-8 characters.
88
88
  # @!attribute [rw] bool_value
89
89
  # @return [::Boolean]
90
- # Holds the value for a tag field with boolean type.
90
+ # The value of a tag field with a boolean type.
91
91
  # @!attribute [rw] timestamp_value
92
92
  # @return [::Google::Protobuf::Timestamp]
93
- # Holds the value for a tag field with timestamp type.
93
+ # The value of a tag field with a timestamp type.
94
94
  # @!attribute [rw] enum_value
95
95
  # @return [::Google::Cloud::DataCatalog::V1::TagField::EnumValue]
96
- # Holds the value for a tag field with enum type. This value must be
97
- # one of the allowed values in the definition of this enum.
96
+ # The value of a tag field with an enum type.
97
+ #
98
+ # This value must be one of the allowed values listed in this enum.
99
+ # @!attribute [rw] richtext_value
100
+ # @return [::String]
101
+ # The value of a tag field with a rich text type.
102
+ #
103
+ # The maximum length is 10 MiB as this value holds HTML descriptions
104
+ # including encoded images. The maximum length of the text without images
105
+ # is 100 KiB.
98
106
  # @!attribute [r] order
99
107
  # @return [::Integer]
100
- # Output only. The order of this field with respect to other fields in this tag. It can be
101
- # set in {::Google::Cloud::DataCatalog::V1::TagTemplateField#order Tag}. For
102
- # example, a higher value can indicate a more important field. The value can
103
- # be negative. Multiple fields can have the same order, and field orders
104
- # within a tag do not have to be sequential.
108
+ # Output only. The order of this field with respect to other fields in this tag. Can be
109
+ # set by {::Google::Cloud::DataCatalog::V1::TagTemplateField#order Tag}.
110
+ #
111
+ # For example, a higher value can indicate a more important field.
112
+ # The value can be negative. Multiple fields can have the same order, and
113
+ # field orders within a tag don't have to be sequential.
105
114
  class TagField
106
115
  include ::Google::Protobuf::MessageExts
107
116
  extend ::Google::Protobuf::MessageExts::ClassMethods
108
117
 
109
- # Holds an enum value.
118
+ # An enum value.
110
119
  # @!attribute [rw] display_name
111
120
  # @return [::String]
112
121
  # The display name of the enum value.
@@ -116,19 +125,18 @@ module Google
116
125
  end
117
126
  end
118
127
 
119
- # A tag template defines a tag, which can have one or more typed fields.
120
- # The template is used to create and attach the tag to GCP resources.
121
- # [Tag template
122
- # roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)
123
- # provide permissions to create, edit, and use the template. See, for example,
124
- # the [TagTemplate
125
- # User](https://cloud.google.com/data-catalog/docs/how-to/template-user) role,
126
- # which includes permission to use the tag template to tag resources.
128
+ # A tag template defines a tag that can have one or more typed fields.
129
+ #
130
+ # The template is used to create tags that are attached to GCP resources.
131
+ # [Tag template roles]
132
+ # (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles)
133
+ # provide permissions to create, edit, and use the template. For example,
134
+ # see the [TagTemplate User]
135
+ # (https://cloud.google.com/data-catalog/docs/how-to/template-user) role
136
+ # that includes a permission to use the tag template to tag resources.
127
137
  # @!attribute [rw] name
128
138
  # @return [::String]
129
- # The resource name of the tag template in URL format. Example:
130
- #
131
- # `projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}`
139
+ # The resource name of the tag template in URL format.
132
140
  #
133
141
  # Note: The tag template itself and its child resources might not be
134
142
  # stored in the location specified in its name.
@@ -139,16 +147,48 @@ module Google
139
147
  # The name must contain only Unicode letters, numbers (0-9), underscores (_),
140
148
  # dashes (-), spaces ( ), and can't start or end with spaces.
141
149
  # The maximum length is 200 characters.
150
+ # @!attribute [rw] is_publicly_readable
151
+ # @return [::Boolean]
152
+ # Indicates whether this is a public tag template.
153
+ #
154
+ # Every user has view access to a *public* tag template by default.
155
+ # This means that:
156
+ #
157
+ # * Every user can use this tag template to tag an entry.
158
+ # * If an entry is tagged using the tag template, the tag is always
159
+ # shown in the response to ``ListTags`` called on the entry.
160
+ # * To get the template using the GetTagTemplate method, you
161
+ # need view access either on the project or the organization the tag
162
+ # template resides in but no other permission is needed.
163
+ # * Operations on the tag template other than viewing (for example,
164
+ # editing IAM policies) follow standard IAM structures.
165
+ #
166
+ # Tags created with a public tag template are referred to as public tags.
167
+ #
168
+ # You can search for a public tag by value with a
169
+ # simple search query instead of using a ``tag:`` predicate.
170
+ #
171
+ # Public tag templates may not appear in search results depending on scope,
172
+ # see:
173
+ # {::Google::Cloud::DataCatalog::V1::SearchCatalogRequest::Scope#include_public_tag_templates include_public_tag_templates}
174
+ #
175
+ # Note: If an [IAM domain
176
+ # restriction](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-domains)
177
+ # is configured in the tag template's location, the public access will not be
178
+ # enabled but the simple search for tag values will still work.
142
179
  # @!attribute [rw] fields
143
180
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DataCatalog::V1::TagTemplateField}]
144
181
  # Required. Map of tag template field IDs to the settings for the field.
145
- # This map is an exhaustive list of the allowed fields. This map must contain
182
+ # This map is an exhaustive list of the allowed fields. The map must contain
146
183
  # at least one field and at most 500 fields.
147
184
  #
148
- # The keys to this map are tag template field IDs. Field IDs can contain
149
- # letters (both uppercase and lowercase), numbers (0-9) and underscores (_).
150
- # Field IDs must be at least 1 character long and at most
151
- # 64 characters long. Field IDs must start with a letter or underscore.
185
+ # The keys to this map are tag template field IDs. The IDs have the
186
+ # following limitations:
187
+ #
188
+ # * Can contain uppercase and lowercase letters, numbers (0-9) and
189
+ # underscores (_).
190
+ # * Must be at least 1 character and at most 64 characters long.
191
+ # * Must start with a letter or underscore.
152
192
  class TagTemplate
153
193
  include ::Google::Protobuf::MessageExts
154
194
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -168,9 +208,9 @@ module Google
168
208
  # @return [::String]
169
209
  # Output only. The resource name of the tag template field in URL format. Example:
170
210
  #
171
- # `projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}`
211
+ # `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}`
172
212
  #
173
- # Note: The `TagTemplateField` itself might not be stored in the location
213
+ # Note: The tag template field itself might not be stored in the location
174
214
  # specified in its name.
175
215
  #
176
216
  # The name must contain only letters (a-z, A-Z), numbers (0-9),
@@ -188,16 +228,18 @@ module Google
188
228
  # Required. The type of value this tag field can contain.
189
229
  # @!attribute [rw] is_required
190
230
  # @return [::Boolean]
191
- # Whether this is a required field. Defaults to false.
231
+ # If true, this field is required. Defaults to false.
192
232
  # @!attribute [rw] description
193
233
  # @return [::String]
194
234
  # The description for this field. Defaults to an empty string.
195
235
  # @!attribute [rw] order
196
236
  # @return [::Integer]
197
237
  # The order of this field with respect to other fields in this tag
198
- # template. For example, a higher value can indicate a more important field.
199
- # The value can be negative. Multiple fields can have the same order, and
200
- # field orders within a tag do not have to be sequential.
238
+ # template.
239
+ #
240
+ # For example, a higher value can indicate a more important field.
241
+ # The value can be negative. Multiple fields can have the same order and
242
+ # field orders within a tag don't have to be sequential.
201
243
  class TagTemplateField
202
244
  include ::Google::Protobuf::MessageExts
203
245
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -205,10 +247,10 @@ module Google
205
247
 
206
248
  # @!attribute [rw] primitive_type
207
249
  # @return [::Google::Cloud::DataCatalog::V1::FieldType::PrimitiveType]
208
- # Represents primitive types - string, bool etc.
250
+ # Primitive types, such as string, boolean, etc.
209
251
  # @!attribute [rw] enum_type
210
252
  # @return [::Google::Cloud::DataCatalog::V1::FieldType::EnumType]
211
- # Represents an enum type.
253
+ # An enum type.
212
254
  class FieldType
213
255
  include ::Google::Protobuf::MessageExts
214
256
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -222,7 +264,7 @@ module Google
222
264
  # be case-insensitively unique within this set.
223
265
  #
224
266
  # 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
267
+ # create, remove, and reorder enum values. To rename enum values, use the
226
268
  # `RenameTagTemplateFieldEnumValue` method.
227
269
  class EnumType
228
270
  include ::Google::Protobuf::MessageExts
@@ -242,7 +284,7 @@ module Google
242
284
  end
243
285
 
244
286
  module PrimitiveType
245
- # This is the default invalid value for a type.
287
+ # The default invalid value for a type.
246
288
  PRIMITIVE_TYPE_UNSPECIFIED = 0
247
289
 
248
290
  # A double precision number.
@@ -256,6 +298,9 @@ module Google
256
298
 
257
299
  # A timestamp.
258
300
  TIMESTAMP = 4
301
+
302
+ # A Richtext description.
303
+ RICHTEXT = 5
259
304
  end
260
305
  end
261
306
  end
@@ -21,17 +21,24 @@ module Google
21
21
  module Cloud
22
22
  module DataCatalog
23
23
  module V1
24
- # Timestamps about this resource according to a particular system.
24
+ # Timestamps associated with this resource in a particular system.
25
25
  # @!attribute [rw] create_time
26
26
  # @return [::Google::Protobuf::Timestamp]
27
- # The creation time of the resource within the given system.
27
+ # Creation timestamp of the resource within the given system.
28
28
  # @!attribute [rw] update_time
29
29
  # @return [::Google::Protobuf::Timestamp]
30
- # The last-modified time of the resource within the given system.
30
+ # Timestamp of the last modification of the resource or its metadata within
31
+ # a given system.
32
+ #
33
+ # Note: Depending on the source system, not every modification updates this
34
+ # timestamp.
35
+ # For example, BigQuery timestamps every metadata modification but not data
36
+ # or permission changes.
31
37
  # @!attribute [r] expire_time
32
38
  # @return [::Google::Protobuf::Timestamp]
33
- # Output only. The expiration time of the resource within the given system.
34
- # Currently only apllicable to BigQuery resources.
39
+ # Output only. Expiration timestamp of the resource within the given system.
40
+ #
41
+ # Currently only applicable to BigQuery resources.
35
42
  class SystemTimestamps
36
43
  include ::Google::Protobuf::MessageExts
37
44
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -0,0 +1,79 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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
+ # Detailed statistics on the entry's usage.
25
+ #
26
+ # Usage statistics have the following limitations:
27
+ #
28
+ # - Only BigQuery tables have them.
29
+ # - They only include BigQuery query jobs.
30
+ # - They might be underestimated because wildcard table references
31
+ # are not yet counted. For more information, see
32
+ # [Querying multiple tables using a wildcard table]
33
+ # (https://cloud.google.com/bigquery/docs/querying-wildcard-tables)
34
+ # @!attribute [rw] total_completions
35
+ # @return [::Float]
36
+ # The number of successful uses of the underlying entry.
37
+ # @!attribute [rw] total_failures
38
+ # @return [::Float]
39
+ # The number of failed attempts to use the underlying entry.
40
+ # @!attribute [rw] total_cancellations
41
+ # @return [::Float]
42
+ # The number of cancelled attempts to use the underlying entry.
43
+ # @!attribute [rw] total_execution_time_for_completions_millis
44
+ # @return [::Float]
45
+ # Total time spent only on successful uses, in milliseconds.
46
+ class UsageStats
47
+ include ::Google::Protobuf::MessageExts
48
+ extend ::Google::Protobuf::MessageExts::ClassMethods
49
+ end
50
+
51
+ # The set of all usage signals that Data Catalog stores.
52
+ #
53
+ # Note: Usually, these signals are updated daily. In rare cases, an update may
54
+ # fail but will be performed again on the next day.
55
+ # @!attribute [rw] update_time
56
+ # @return [::Google::Protobuf::Timestamp]
57
+ # The end timestamp of the duration of usage statistics.
58
+ # @!attribute [rw] usage_within_time_range
59
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DataCatalog::V1::UsageStats}]
60
+ # Usage statistics over each of the predefined time ranges.
61
+ #
62
+ # Supported time ranges are `{"24H", "7D", "30D"}`.
63
+ class UsageSignal
64
+ include ::Google::Protobuf::MessageExts
65
+ extend ::Google::Protobuf::MessageExts::ClassMethods
66
+
67
+ # @!attribute [rw] key
68
+ # @return [::String]
69
+ # @!attribute [rw] value
70
+ # @return [::Google::Cloud::DataCatalog::V1::UsageStats]
71
+ class UsageWithinTimeRangeEntry
72
+ include ::Google::Protobuf::MessageExts
73
+ extend ::Google::Protobuf::MessageExts::ClassMethods
74
+ end
75
+ end
76
+ end
77
+ end
78
+ end
79
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-data_catalog-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.8.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-07-12 00:00:00.000000000 Z
11
+ date: 2021-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -206,6 +206,7 @@ files:
206
206
  - lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/credentials.rb
207
207
  - lib/google/cloud/data_catalog/v1/policy_tag_manager_serialization/paths.rb
208
208
  - lib/google/cloud/data_catalog/v1/version.rb
209
+ - lib/google/cloud/datacatalog/v1/bigquery_pb.rb
209
210
  - lib/google/cloud/datacatalog/v1/common_pb.rb
210
211
  - lib/google/cloud/datacatalog/v1/data_source_pb.rb
211
212
  - lib/google/cloud/datacatalog/v1/datacatalog_pb.rb
@@ -220,9 +221,11 @@ files:
220
221
  - lib/google/cloud/datacatalog/v1/table_spec_pb.rb
221
222
  - lib/google/cloud/datacatalog/v1/tags_pb.rb
222
223
  - lib/google/cloud/datacatalog/v1/timestamps_pb.rb
224
+ - lib/google/cloud/datacatalog/v1/usage_pb.rb
223
225
  - proto_docs/README.md
224
226
  - proto_docs/google/api/field_behavior.rb
225
227
  - proto_docs/google/api/resource.rb
228
+ - proto_docs/google/cloud/datacatalog/v1/bigquery.rb
226
229
  - proto_docs/google/cloud/datacatalog/v1/common.rb
227
230
  - proto_docs/google/cloud/datacatalog/v1/data_source.rb
228
231
  - proto_docs/google/cloud/datacatalog/v1/datacatalog.rb
@@ -234,6 +237,7 @@ files:
234
237
  - proto_docs/google/cloud/datacatalog/v1/table_spec.rb
235
238
  - proto_docs/google/cloud/datacatalog/v1/tags.rb
236
239
  - proto_docs/google/cloud/datacatalog/v1/timestamps.rb
240
+ - proto_docs/google/cloud/datacatalog/v1/usage.rb
237
241
  - proto_docs/google/iam/v1/iam_policy.rb
238
242
  - proto_docs/google/iam/v1/options.rb
239
243
  - proto_docs/google/iam/v1/policy.rb