google-apis-datacatalog_v1beta1 0.1.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59bbfe7c98f9931b1160532f90edc7e6def02d9d5ac6e907ce287b1e98cb2f34
4
- data.tar.gz: bdd3c77750ba7a6687e9aed0ff0e4de8b3e1426a23e5e2271b249e0ed2f0bdfb
3
+ metadata.gz: 298228232a8f1936c5af271c2d0cde0c741bc500ea5f5acfe9db7b973e53f346
4
+ data.tar.gz: 24f0c74286926112f1506b98fbed46b16194c69b68ffac734666791270b60be9
5
5
  SHA512:
6
- metadata.gz: 1f8e6d49d787a98ac451c7300bb54f5391ac16706d73224f7989193403c265dfd1a3c34a75f9e988b6a9ee35ea127a945d5dc9df875686810a6335a447620628
7
- data.tar.gz: 3cbcf8c9113d80f32c20209f8312592dcd57d2246a86b2f86659bd33b2cf622cc167b89e60d404147e8844eb57ba07236e0be0ca8f6cd508755ea9c3f94faa85
6
+ metadata.gz: 2ffb37bfdf1f9bedbc7051605614ebeab6279fe91a99fd9b2936b3a99dc7882362e71c7acd7cb917f6184d16522ac92a035aac14edbbf0a4cdf3687d370fcad8
7
+ data.tar.gz: 7fb6648f37b7c33108a9555192eeaa871af39a497419ee3b9fa705540bd8fe53ebb45f86cf755c07a1400c4ed46f010dacc94679d0cd95aa14d980b4472e3a3a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-datacatalog_v1beta1
2
2
 
3
+ ### v0.6.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.5.0 (2021-05-08)
8
+
9
+ * Regenerated from discovery document revision 20210429
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-04)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.3.0 (2021-02-25)
17
+
18
+ * Regenerated from discovery document revision 20210220
19
+
20
+ ### v0.2.0 (2021-02-11)
21
+
22
+ * Regenerated from discovery document revision 20210205
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1beta1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
@@ -378,10 +378,10 @@ module Google
378
378
  # @return [String]
379
379
  attr_accessor :linked_resource
380
380
 
381
- # The Data Catalog resource name of the entry in URL format. Example: * projects/
382
- # `project_id`/locations/`location`/entryGroups/`entry_group_id`/entries/`
383
- # entry_id` Note that this Entry and its child resources may not actually be
384
- # stored in the location in this name.
381
+ # Output only. The Data Catalog resource name of the entry in URL format.
382
+ # Example: * projects/`project_id`/locations/`location`/entryGroups/`
383
+ # entry_group_id`/entries/`entry_id` Note that this Entry and its child
384
+ # resources may not actually be stored in the location in this name.
385
385
  # Corresponds to the JSON property `name`
386
386
  # @return [String]
387
387
  attr_accessor :name
@@ -401,6 +401,11 @@ module Google
401
401
  # @return [String]
402
402
  attr_accessor :type
403
403
 
404
+ # The set of all usage signals that we store in Data Catalog.
405
+ # Corresponds to the JSON property `usageSignal`
406
+ # @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageSignal]
407
+ attr_accessor :usage_signal
408
+
404
409
  # This field indicates the entry's source system that Data Catalog does not
405
410
  # integrate with. `user_specified_system` strings must begin with a letter or
406
411
  # underscore and can only contain letters, numbers, and underscores; are case
@@ -438,6 +443,7 @@ module Google
438
443
  @schema = args[:schema] if args.key?(:schema)
439
444
  @source_system_timestamps = args[:source_system_timestamps] if args.key?(:source_system_timestamps)
440
445
  @type = args[:type] if args.key?(:type)
446
+ @usage_signal = args[:usage_signal] if args.key?(:usage_signal)
441
447
  @user_specified_system = args[:user_specified_system] if args.key?(:user_specified_system)
442
448
  @user_specified_type = args[:user_specified_type] if args.key?(:user_specified_type)
443
449
  end
@@ -1572,6 +1578,75 @@ module Google
1572
1578
  end
1573
1579
  end
1574
1580
 
1581
+ # The set of all usage signals that we store in Data Catalog.
1582
+ class GoogleCloudDatacatalogV1beta1UsageSignal
1583
+ include Google::Apis::Core::Hashable
1584
+
1585
+ # The timestamp of the end of the usage statistics duration.
1586
+ # Corresponds to the JSON property `updateTime`
1587
+ # @return [String]
1588
+ attr_accessor :update_time
1589
+
1590
+ # Usage statistics over each of the pre-defined time ranges, supported strings
1591
+ # for time ranges are `"24H", "7D", "30D"`.
1592
+ # Corresponds to the JSON property `usageWithinTimeRange`
1593
+ # @return [Hash<String,Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageStats>]
1594
+ attr_accessor :usage_within_time_range
1595
+
1596
+ def initialize(**args)
1597
+ update!(**args)
1598
+ end
1599
+
1600
+ # Update properties of this object
1601
+ def update!(**args)
1602
+ @update_time = args[:update_time] if args.key?(:update_time)
1603
+ @usage_within_time_range = args[:usage_within_time_range] if args.key?(:usage_within_time_range)
1604
+ end
1605
+ end
1606
+
1607
+ # Detailed counts on the entry's usage. Caveats: - Only BigQuery tables have
1608
+ # usage stats - The usage stats only inlude BigQuery query jobs - The usage
1609
+ # stats might be underestimated, e.g. wildcard table references are not yet
1610
+ # counted in usage computation https://cloud.google.com/bigquery/docs/querying-
1611
+ # wildcard-tables
1612
+ class GoogleCloudDatacatalogV1beta1UsageStats
1613
+ include Google::Apis::Core::Hashable
1614
+
1615
+ # The number of times that the underlying entry was attempted to be used but was
1616
+ # cancelled by the user.
1617
+ # Corresponds to the JSON property `totalCancellations`
1618
+ # @return [Float]
1619
+ attr_accessor :total_cancellations
1620
+
1621
+ # The number of times that the underlying entry was successfully used.
1622
+ # Corresponds to the JSON property `totalCompletions`
1623
+ # @return [Float]
1624
+ attr_accessor :total_completions
1625
+
1626
+ # Total time spent (in milliseconds) during uses the resulted in completions.
1627
+ # Corresponds to the JSON property `totalExecutionTimeForCompletionsMillis`
1628
+ # @return [Float]
1629
+ attr_accessor :total_execution_time_for_completions_millis
1630
+
1631
+ # The number of times that the underlying entry was attempted to be used but
1632
+ # failed.
1633
+ # Corresponds to the JSON property `totalFailures`
1634
+ # @return [Float]
1635
+ attr_accessor :total_failures
1636
+
1637
+ def initialize(**args)
1638
+ update!(**args)
1639
+ end
1640
+
1641
+ # Update properties of this object
1642
+ def update!(**args)
1643
+ @total_cancellations = args[:total_cancellations] if args.key?(:total_cancellations)
1644
+ @total_completions = args[:total_completions] if args.key?(:total_completions)
1645
+ @total_execution_time_for_completions_millis = args[:total_execution_time_for_completions_millis] if args.key?(:total_execution_time_for_completions_millis)
1646
+ @total_failures = args[:total_failures] if args.key?(:total_failures)
1647
+ end
1648
+ end
1649
+
1575
1650
  # Table view specification.
1576
1651
  class GoogleCloudDatacatalogV1beta1ViewSpec
1577
1652
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatacatalogV1beta1
18
18
  # Version of the google-apis-datacatalog_v1beta1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201210"
25
+ REVISION = "20210429"
26
26
  end
27
27
  end
28
28
  end
@@ -274,6 +274,18 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class GoogleCloudDatacatalogV1beta1UsageSignal
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudDatacatalogV1beta1UsageStats
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
277
289
  class GoogleCloudDatacatalogV1beta1ViewSpec
278
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
291
 
@@ -396,6 +408,8 @@ module Google
396
408
  property :source_system_timestamps, as: 'sourceSystemTimestamps', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps::Representation
397
409
 
398
410
  property :type, as: 'type'
411
+ property :usage_signal, as: 'usageSignal', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageSignal, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageSignal::Representation
412
+
399
413
  property :user_specified_system, as: 'userSpecifiedSystem'
400
414
  property :user_specified_type, as: 'userSpecifiedType'
401
415
  end
@@ -715,6 +729,25 @@ module Google
715
729
  end
716
730
  end
717
731
 
732
+ class GoogleCloudDatacatalogV1beta1UsageSignal
733
+ # @private
734
+ class Representation < Google::Apis::Core::JsonRepresentation
735
+ property :update_time, as: 'updateTime'
736
+ hash :usage_within_time_range, as: 'usageWithinTimeRange', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageStats, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1UsageStats::Representation
737
+
738
+ end
739
+ end
740
+
741
+ class GoogleCloudDatacatalogV1beta1UsageStats
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :total_cancellations, as: 'totalCancellations'
745
+ property :total_completions, as: 'totalCompletions'
746
+ property :total_execution_time_for_completions_millis, as: 'totalExecutionTimeForCompletionsMillis'
747
+ property :total_failures, as: 'totalFailures'
748
+ end
749
+ end
750
+
718
751
  class GoogleCloudDatacatalogV1beta1ViewSpec
719
752
  # @private
720
753
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -53,12 +53,12 @@ module Google
53
53
  # Searches Data Catalog for multiple resources like entries, tags that match a
54
54
  # query. This is a custom method (https://cloud.google.com/apis/design/
55
55
  # custom_methods) and does not return the complete resource, only the resource
56
- # identifier and high level fields. Clients can subsequentally call `Get`
57
- # methods. Note that Data Catalog search queries do not guarantee full recall.
58
- # Query results that match your query may not be returned, even in subsequent
59
- # result pages. Also note that results returned (and not returned) can vary
60
- # across repeated search queries. See [Data Catalog Search Syntax](https://cloud.
61
- # google.com/data-catalog/docs/how-to/search-reference) for more information.
56
+ # identifier and high level fields. Clients can subsequently call `Get` methods.
57
+ # Note that Data Catalog search queries do not guarantee full recall. Query
58
+ # results that match your query may not be returned, even in subsequent result
59
+ # pages. Also note that results returned (and not returned) can vary across
60
+ # repeated search queries. See [Data Catalog Search Syntax](https://cloud.google.
61
+ # com/data-catalog/docs/how-to/search-reference) for more information.
62
62
  # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SearchCatalogRequest] google_cloud_datacatalog_v1beta1_search_catalog_request_object
63
63
  # @param [String] fields
64
64
  # Selector specifying which fields to include in a partial response.
@@ -339,8 +339,9 @@ module Google
339
339
  # in this name.
340
340
  # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup] google_cloud_datacatalog_v1beta1_entry_group_object
341
341
  # @param [String] update_mask
342
- # The fields to update on the entry group. If absent or empty, all modifiable
343
- # fields are updated.
342
+ # Names of fields whose values to overwrite on an entry group. If this parameter
343
+ # is absent or empty, all modifiable fields are overwritten. If such fields are
344
+ # non-required and omitted in the request body, their values are emptied.
344
345
  # @param [String] fields
345
346
  # Selector specifying which fields to include in a partial response.
346
347
  # @param [String] quota_user
@@ -651,19 +652,21 @@ module Google
651
652
  # Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project)
652
653
  # for more information).
653
654
  # @param [String] name
654
- # The Data Catalog resource name of the entry in URL format. Example: * projects/
655
- # `project_id`/locations/`location`/entryGroups/`entry_group_id`/entries/`
656
- # entry_id` Note that this Entry and its child resources may not actually be
657
- # stored in the location in this name.
655
+ # Output only. The Data Catalog resource name of the entry in URL format.
656
+ # Example: * projects/`project_id`/locations/`location`/entryGroups/`
657
+ # entry_group_id`/entries/`entry_id` Note that this Entry and its child
658
+ # resources may not actually be stored in the location in this name.
658
659
  # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry] google_cloud_datacatalog_v1beta1_entry_object
659
660
  # @param [String] update_mask
660
- # The fields to update on the entry. If absent or empty, all modifiable fields
661
- # are updated. The following fields are modifiable: * For entries with type `
662
- # DATA_STREAM`: * `schema` * For entries with type `FILESET` * `schema` * `
663
- # display_name` * `description` * `gcs_fileset_spec` * `gcs_fileset_spec.
664
- # file_patterns` * For entries with `user_specified_type` * `schema` * `
665
- # display_name` * `description` * user_specified_type * user_specified_system *
666
- # linked_resource * source_system_timestamps
661
+ # Names of fields whose values to overwrite on an entry. If this parameter is
662
+ # absent or empty, all modifiable fields are overwritten. If such fields are non-
663
+ # required and omitted in the request body, their values are emptied. The
664
+ # following fields are modifiable: * For entries with type `DATA_STREAM`: * `
665
+ # schema` * For entries with type `FILESET`: * `schema` * `display_name` * `
666
+ # description` * `gcs_fileset_spec` * `gcs_fileset_spec.file_patterns` * For
667
+ # entries with `user_specified_type`: * `schema` * `display_name` * `description`
668
+ # * `user_specified_type` * `user_specified_system` * `linked_resource` * `
669
+ # source_system_timestamps`
667
670
  # @param [String] fields
668
671
  # Selector specifying which fields to include in a partial response.
669
672
  # @param [String] quota_user
@@ -854,8 +857,11 @@ module Google
854
857
  # may not actually be stored in the location in this name.
855
858
  # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] google_cloud_datacatalog_v1beta1_tag_object
856
859
  # @param [String] update_mask
857
- # The fields to update on the Tag. If absent or empty, all modifiable fields are
858
- # updated. Currently the only modifiable field is the field `fields`.
860
+ # Note: Currently, this parameter can only take `"fields"` as value. Names of
861
+ # fields whose values to overwrite on a tag. Currently, a tag has the only
862
+ # modifiable field with the name `fields`. In general, if this parameter is
863
+ # absent or empty, all modifiable fields are overwritten. If such fields are non-
864
+ # required and omitted in the request body, their values are emptied.
859
865
  # @param [String] fields
860
866
  # Selector specifying which fields to include in a partial response.
861
867
  # @param [String] quota_user
@@ -1007,8 +1013,11 @@ module Google
1007
1013
  # may not actually be stored in the location in this name.
1008
1014
  # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] google_cloud_datacatalog_v1beta1_tag_object
1009
1015
  # @param [String] update_mask
1010
- # The fields to update on the Tag. If absent or empty, all modifiable fields are
1011
- # updated. Currently the only modifiable field is the field `fields`.
1016
+ # Note: Currently, this parameter can only take `"fields"` as value. Names of
1017
+ # fields whose values to overwrite on a tag. Currently, a tag has the only
1018
+ # modifiable field with the name `fields`. In general, if this parameter is
1019
+ # absent or empty, all modifiable fields are overwritten. If such fields are non-
1020
+ # required and omitted in the request body, their values are emptied.
1012
1021
  # @param [String] fields
1013
1022
  # Selector specifying which fields to include in a partial response.
1014
1023
  # @param [String] quota_user
@@ -1205,9 +1214,10 @@ module Google
1205
1214
  # in this name.
1206
1215
  # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate] google_cloud_datacatalog_v1beta1_tag_template_object
1207
1216
  # @param [String] update_mask
1208
- # The field mask specifies the parts of the template to overwrite. Allowed
1209
- # fields: * `display_name` If absent or empty, all of the allowed fields above
1210
- # will be updated.
1217
+ # Names of fields whose values to overwrite on a tag template. Currently, only `
1218
+ # display_name` can be overwritten. In general, if this parameter is absent or
1219
+ # empty, all modifiable fields are overwritten. If such fields are non-required
1220
+ # and omitted in the request body, their values are emptied.
1211
1221
  # @param [String] fields
1212
1222
  # Selector specifying which fields to include in a partial response.
1213
1223
  # @param [String] quota_user
@@ -1412,13 +1422,15 @@ module Google
1412
1422
  # tag_template_field_id`
1413
1423
  # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField] google_cloud_datacatalog_v1beta1_tag_template_field_object
1414
1424
  # @param [String] update_mask
1415
- # Optional. The field mask specifies the parts of the template to be updated.
1416
- # Allowed fields: * `display_name` * `type.enum_type` * `is_required` If `
1417
- # update_mask` is not set or empty, all of the allowed fields above will be
1418
- # updated. When updating an enum type, the provided values will be merged with
1419
- # the existing values. Therefore, enum values can only be added, existing enum
1420
- # values cannot be deleted nor renamed. Updating a template field from optional
1421
- # to required is NOT allowed.
1425
+ # Optional. Names of fields whose values to overwrite on an individual field of
1426
+ # a tag template. The following fields are modifiable: * `display_name` * `type.
1427
+ # enum_type` * `is_required` If this parameter is absent or empty, all
1428
+ # modifiable fields are overwritten. If such fields are non-required and omitted
1429
+ # in the request body, their values are emptied with one exception: when
1430
+ # updating an enum type, the provided values are merged with the existing values.
1431
+ # Therefore, enum values can only be added, existing enum values cannot be
1432
+ # deleted or renamed. Additionally, updating a template field from optional to
1433
+ # required is *not* allowed.
1422
1434
  # @param [String] fields
1423
1435
  # Selector specifying which fields to include in a partial response.
1424
1436
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datacatalog_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.0
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-01-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-datacatalog_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1beta1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1beta1/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-datacatalog_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Google Cloud Data Catalog API V1beta1