google-apis-datacatalog_v1beta1 0.2.0 → 0.7.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: 3f9c002d0b6198a06fe3b29d4865110422f54a64d161a730daa0a317e7d0c283
4
- data.tar.gz: 522bf6c9385bcd2c207169eafb4a3a2002c52d377edc8cc205bacab306bcae65
3
+ metadata.gz: 0f90fca99bbbd0a93e10f1e1c9792051ce20e0e03b199df0e2f12ed2d912628d
4
+ data.tar.gz: cc3685dc971ddef8f2fc136dbcdb2bc05084e3e5442f15f9e03b838359246a97
5
5
  SHA512:
6
- metadata.gz: d1f643b3fd4ea8f7cc70d42543dd6e7f92e972947f79222a7d5150f8cfa6708b3d324a6d00e0402bd672c3be94f3e49fa7e492b5d50d4e411131a12dcfaf2a7e
7
- data.tar.gz: 2334574e51643310a6d882d3998cee5944356d7303aaa38edad44b6632aa69beb8e3ec9a20927b82be7643963a9ce39754c817c9f8d062d338acd4cc8b911b08
6
+ metadata.gz: dd17c90e335ccce78299f8df3a3816e2c9d1c871e2a92cdd1aee9744c03f9b9e304e4bf1b015767f10a7c359314131495b2a7a5bd49f070a56cd72b45c4eb9bc
7
+ data.tar.gz: ba298179dc72554118e4eac218a5114dc1232ccd7770df906cdd4250d0d80ad1c498b8facf44dc8551c07df835a7f7ea4a3b2e98ec28225ab4ac38f2794500e7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-datacatalog_v1beta1
2
2
 
3
+ ### v0.7.0 (2021-06-24)
4
+
5
+ * Regenerated using generator version 0.3.0
6
+
7
+ ### v0.6.0 (2021-05-19)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.5.0 (2021-05-08)
12
+
13
+ * Regenerated from discovery document revision 20210429
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.4.0 (2021-03-04)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.3.0 (2021-02-25)
21
+
22
+ * Regenerated from discovery document revision 20210220
23
+
3
24
  ### v0.2.0 (2021-02-11)
4
25
 
5
26
  * Regenerated from discovery document revision 20210205
@@ -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
@@ -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.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210205"
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
@@ -657,13 +658,15 @@ module Google
657
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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datacatalog_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.7.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-02-15 00:00:00.000000000 Z
11
+ date: 2021-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.3'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
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.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Google Cloud Data Catalog API V1beta1.
28
34
  Simple REST clients are Ruby client libraries that provide access to Google services
29
35
  via their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  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.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datacatalog_v1beta1/v0.7.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-datacatalog_v1beta1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
68
  requirements:
63
69
  - - ">="
64
70
  - !ruby/object:Gem::Version
65
- version: '2.4'
71
+ version: '2.5'
66
72
  required_rubygems_version: !ruby/object:Gem::Requirement
67
73
  requirements:
68
74
  - - ">="
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.6
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Google Cloud Data Catalog API V1beta1