google-cloud-data_catalog-v1 0.11.0 → 0.12.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d2ac533f362f302c63c40778819652898021a3db468b1cc1db5395dd574e8da
4
- data.tar.gz: baf9acad4b086f189d542610857cf2ad923c089d24aa9551c857a81aa4582bbe
3
+ metadata.gz: 89240cd697a7715bde7bf7d1214be5eb1fbd7e28c55107fc338230d9f651b69a
4
+ data.tar.gz: bf02c3a93d1239a05cc0e5b0d4999cfc223206e13a5e8c131ede95a2e2b317e7
5
5
  SHA512:
6
- metadata.gz: 42ccd2b3a488145b610f712c2e797ac21bc3e200c8a6cbc67e0d9e3119978a0db16fdc0ca7d13d200d6b6dcb284bbb24737980cb86390f72944fc01871a9ccfd
7
- data.tar.gz: deba435488fa05e0ea0c9ec181f4f5710bf8731a4066ea2eb16770afba2170976305031e0d4b707acd121e2f65a116b2e56b6cfda73e8a6efa3b2547fc41f6de
6
+ metadata.gz: df02197c60bf8904ba6141059d8a9a40d44146e63d8cb4cdc4f99d1e14c2d068adb1b5eaae7799bbad4403a65cffd6c95e2a2d75719d45c205b2159c0a282741
7
+ data.tar.gz: c68d3b14fb5a90a6a54792a87add27c8d00c9e4603c7f59c9c7ffd451ffbbd8f2e436501dad6318c1b7b439c2d829316158cb21789778ae1da3c358e90e57c37
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -69,16 +69,21 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
- This library is supported on Ruby 2.5+.
79
+ This library is supported on Ruby 2.6+.
75
80
 
76
81
  Google provides official support for Ruby versions that are actively supported
77
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
78
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
79
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
80
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
81
- about the Ruby support schedule.
83
+ in security maintenance, and not end of life. Older versions of Ruby _may_
84
+ still work, but are unsupported and not recommended. See
85
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
86
+ support schedule.
82
87
 
83
88
  ## Which client should I use?
84
89
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DataCatalog
23
23
  module V1
24
- VERSION = "0.11.0"
24
+ VERSION = "0.12.1"
25
25
  end
26
26
  end
27
27
  end
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/bigquery.proto
3
3
 
4
- require 'google/api/field_behavior_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/api/field_behavior_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/datacatalog/v1/bigquery.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.datacatalog.v1.BigQueryConnectionSpec" do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/common.proto
3
3
 
4
- require 'google/protobuf/timestamp_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/protobuf/timestamp_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/datacatalog/v1/common.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.datacatalog.v1.PersonalDetails" do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/data_source.proto
3
3
 
4
- require 'google/api/field_behavior_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/api/field_behavior_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/datacatalog/v1/data_source.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.datacatalog.v1.DataSource" do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/datacatalog.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -20,7 +22,6 @@ require 'google/iam/v1/iam_policy_pb'
20
22
  require 'google/iam/v1/policy_pb'
21
23
  require 'google/protobuf/empty_pb'
22
24
  require 'google/protobuf/field_mask_pb'
23
- require 'google/protobuf'
24
25
 
25
26
  Google::Protobuf::DescriptorPool.generated_pool.build do
26
27
  add_file("google/cloud/datacatalog/v1/datacatalog.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/dataplex_spec.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/cloud/datacatalog/v1/common_pb'
5
7
  require 'google/cloud/datacatalog/v1/physical_schema_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/datacatalog/v1/dataplex_spec.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/gcs_fileset_spec.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/cloud/datacatalog/v1/timestamps_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/datacatalog/v1/gcs_fileset_spec.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/policytagmanager.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -10,7 +12,6 @@ require 'google/iam/v1/iam_policy_pb'
10
12
  require 'google/iam/v1/policy_pb'
11
13
  require 'google/protobuf/empty_pb'
12
14
  require 'google/protobuf/field_mask_pb'
13
- require 'google/protobuf'
14
15
 
15
16
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
17
  add_file("google/cloud/datacatalog/v1/policytagmanager.proto", :syntax => :proto3) do
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
7
9
  require 'google/api/resource_pb'
8
10
  require 'google/cloud/datacatalog/v1/policytagmanager_pb'
9
- require 'google/protobuf'
10
11
 
11
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
13
  add_file("google/cloud/datacatalog/v1/policytagmanagerserialization.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/schema.proto
3
3
 
4
- require 'google/api/field_behavior_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/api/field_behavior_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/datacatalog/v1/schema.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.datacatalog.v1.Schema" do
@@ -1,10 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/search.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/cloud/datacatalog/v1/common_pb'
6
8
  require 'google/protobuf/timestamp_pb'
7
- require 'google/protobuf'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/cloud/datacatalog/v1/search.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/table_spec.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/datacatalog/v1/table_spec.proto", :syntax => :proto3) do
@@ -1,10 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/tags.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
8
  require 'google/protobuf/timestamp_pb'
7
- require 'google/protobuf'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/cloud/datacatalog/v1/tags.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/timestamps.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/protobuf/timestamp_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/datacatalog/v1/timestamps.proto", :syntax => :proto3) do
@@ -1,9 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/datacatalog/v1/usage.proto
3
3
 
4
- require 'google/protobuf/timestamp_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+
7
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
10
  add_file("google/cloud/datacatalog/v1/usage.proto", :syntax => :proto3) do
9
11
  add_message "google.cloud.datacatalog.v1.UsageStats" do
@@ -479,14 +479,14 @@ module Google
479
479
  # @return [::Google::Cloud::DataCatalog::V1::GcsFilesetSpec]
480
480
  # Specification that applies to a Cloud Storage fileset. Valid only
481
481
  # for entries with the `FILESET` type.
482
- # @!attribute [rw] bigquery_table_spec
482
+ # @!attribute [r] bigquery_table_spec
483
483
  # @return [::Google::Cloud::DataCatalog::V1::BigQueryTableSpec]
484
- # Specification that applies to a BigQuery table. Valid only for
485
- # entries with the `TABLE` type.
486
- # @!attribute [rw] bigquery_date_sharded_spec
484
+ # Output only. Specification that applies to a BigQuery table. Valid only
485
+ # for entries with the `TABLE` type.
486
+ # @!attribute [r] bigquery_date_sharded_spec
487
487
  # @return [::Google::Cloud::DataCatalog::V1::BigQueryDateShardedSpec]
488
- # Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD`
489
- # name pattern.
488
+ # Output only. Specification for a group of BigQuery tables with
489
+ # the `[prefix]YYYYMMDD` name pattern.
490
490
  #
491
491
  # For more information, see [Introduction to partitioned tables]
492
492
  # (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
@@ -535,12 +535,12 @@ module Google
535
535
  # Timestamps from the underlying resource, not from the Data Catalog
536
536
  # entry.
537
537
  #
538
- # Output only when the entry has a type listed in the `EntryType` enum.
539
- # For entries with `user_specified_type`, this field is optional and defaults
540
- # to an empty timestamp.
541
- # @!attribute [r] usage_signal
538
+ # Output only when the entry has a system listed in the `IntegratedSystem`
539
+ # enum. For entries with `user_specified_system`, this field is optional
540
+ # and defaults to an empty timestamp.
541
+ # @!attribute [rw] usage_signal
542
542
  # @return [::Google::Cloud::DataCatalog::V1::UsageSignal]
543
- # Output only. Resource usage statistics.
543
+ # Resource usage statistics.
544
544
  # @!attribute [rw] labels
545
545
  # @return [::Google::Protobuf::Map{::String => ::String}]
546
546
  # Cloud labels attached to the entry.
@@ -573,10 +573,10 @@ module Google
573
573
  # @!attribute [rw] type
574
574
  # @return [::Google::Cloud::DataCatalog::V1::DatabaseTableSpec::TableType]
575
575
  # Type of this table.
576
- # @!attribute [rw] dataplex_table
576
+ # @!attribute [r] dataplex_table
577
577
  # @return [::Google::Cloud::DataCatalog::V1::DataplexTableSpec]
578
- # Fields specific to a Dataplex table and present only in the Dataplex table
579
- # entries.
578
+ # Output only. Fields specific to a Dataplex table and present only in the
579
+ # Dataplex table entries.
580
580
  class DatabaseTableSpec
581
581
  include ::Google::Protobuf::MessageExts
582
582
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -607,9 +607,11 @@ module Google
607
607
 
608
608
  # Specification that applies to a data source connection. Valid only for
609
609
  # entries with the `DATA_SOURCE_CONNECTION` type.
610
+ # Only one of internal specs can be set at the time, and cannot
611
+ # be changed later.
610
612
  # @!attribute [rw] bigquery_connection_spec
611
613
  # @return [::Google::Cloud::DataCatalog::V1::BigQueryConnectionSpec]
612
- # Fields specific to BigQuery connections.
614
+ # Output only. Fields specific to BigQuery connections.
613
615
  class DataSourceConnectionSpec
614
616
  include ::Google::Protobuf::MessageExts
615
617
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1119,7 +1121,7 @@ module Google
1119
1121
  # Default unknown type.
1120
1122
  ENTRY_TYPE_UNSPECIFIED = 0
1121
1123
 
1122
- # Output only. The entry type that has a GoogleSQL schema, including
1124
+ # The entry type that has a GoogleSQL schema, including
1123
1125
  # logical views.
1124
1126
  TABLE = 2
1125
1127
 
@@ -55,9 +55,9 @@ module Google
55
55
  # @!attribute [rw] update_time
56
56
  # @return [::Google::Protobuf::Timestamp]
57
57
  # The end timestamp of the duration of usage statistics.
58
- # @!attribute [rw] usage_within_time_range
58
+ # @!attribute [r] usage_within_time_range
59
59
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DataCatalog::V1::UsageStats}]
60
- # Usage statistics over each of the predefined time ranges.
60
+ # Output only. BigQuery usage statistics over each of the predefined time ranges.
61
61
  #
62
62
  # Supported time ranges are `{"24H", "7D", "30D"}`.
63
63
  class UsageSignal
@@ -26,8 +26,6 @@ module Google
26
26
  # service Foo {
27
27
  # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
28
28
  # }
29
- #
30
- # The JSON representation for `Empty` is empty JSON object `{}`.
31
29
  class Empty
32
30
  include ::Google::Protobuf::MessageExts
33
31
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.11.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-14 00:00:00.000000000 Z
11
+ date: 2022-11-10 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.7'
19
+ version: '0.12'
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.7'
29
+ version: '0.12'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -64,28 +64,28 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 1.25.1
67
+ version: 1.26.1
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 1.25.1
74
+ version: 1.26.1
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '5.14'
81
+ version: '5.16'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '5.14'
88
+ version: '5.16'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: minitest-focus
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -120,14 +120,14 @@ dependencies:
120
120
  requirements:
121
121
  - - ">="
122
122
  - !ruby/object:Gem::Version
123
- version: '12.0'
123
+ version: '13.0'
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
- version: '12.0'
130
+ version: '13.0'
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: redcarpet
133
133
  requirement: !ruby/object:Gem::Requirement
@@ -255,14 +255,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
255
255
  requirements:
256
256
  - - ">="
257
257
  - !ruby/object:Gem::Version
258
- version: '2.5'
258
+ version: '2.6'
259
259
  required_rubygems_version: !ruby/object:Gem::Requirement
260
260
  requirements:
261
261
  - - ">="
262
262
  - !ruby/object:Gem::Version
263
263
  version: '0'
264
264
  requirements: []
265
- rubygems_version: 3.3.5
265
+ rubygems_version: 3.3.14
266
266
  signing_key:
267
267
  specification_version: 4
268
268
  summary: API Client library for the Data Catalog V1 API