google-cloud-dataplex 0.2.0 → 0.4.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: b10e84cac18a8c07cf7d7dd53d7fea5a2fe24b72c34b4c9cd490a707492e4975
4
- data.tar.gz: 30d682560a81ea7d03b7b849de3a565a6eecc25a25dcf01147115fbf7907b7fb
3
+ metadata.gz: 4c308424f09e378349e105dd6d119bce61ee180a0ee0979a87cd3a719b807aa4
4
+ data.tar.gz: fb64152d42297ad7a0914aeaba2574994e35351dd83cc4beb7a4bd415c9e58fa
5
5
  SHA512:
6
- metadata.gz: 4b876fefdf49413f95c7d42bbd6b7d84c99f93793ac844fca72ce69b1ae6aa4fae463e17a643cd1f52f1ad6b4efe723129c932c3b88fcecba24ace8d566059ad
7
- data.tar.gz: '027630867540035665058e5fdc959d997cd9691c2be3d86b85605fe1555b15b8cad30ebd40099aa4af1a4aa20f4087a9f556b6d4e3512155caeb1631291e1455'
6
+ metadata.gz: d3c3cf4c09988ad94989a5d940c0ee49802007f5e6afb55f9cb50dedb330adc636ba8f04b84ced1b8fad99014841c56b3e3e222db303b98a9a54bc0759d8d2db
7
+ data.tar.gz: b286f7aa51bde8244400c4e49264709a15cdc286125cdde8ae1b0f9709fef3e464a68bfa57a076f3ecb657a499130ed4e08101ae7ab76e5b329a4309fdf1daad
data/AUTHENTICATION.md CHANGED
@@ -112,7 +112,7 @@ credentials are discovered.
112
112
  To configure your system for this, simply:
113
113
 
114
114
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
115
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
115
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
116
116
  3. Write code as if already authenticated.
117
117
 
118
118
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -37,7 +37,7 @@ In order to use this library, you first need to go through the following steps:
37
37
  ## Enabling Logging
38
38
 
39
39
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
40
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
40
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
41
41
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
42
42
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
43
43
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -62,14 +62,14 @@ end
62
62
 
63
63
  ## Supported Ruby Versions
64
64
 
65
- This library is supported on Ruby 2.5+.
65
+ This library is supported on Ruby 2.6+.
66
66
 
67
67
  Google provides official support for Ruby versions that are actively supported
68
68
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
69
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
70
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
71
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
72
- about the Ruby support schedule.
69
+ in security maintenance, and not end of life. Older versions of Ruby _may_
70
+ still work, but are unsupported and not recommended. See
71
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
72
+ support schedule.
73
73
 
74
74
  ## Which client should I use?
75
75
 
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Dataplex
23
- VERSION = "0.2.0"
23
+ VERSION = "0.4.0"
24
24
  end
25
25
  end
26
26
  end
@@ -49,8 +49,8 @@ module Google
49
49
  #
50
50
  # By default, this returns an instance of
51
51
  # [Google::Cloud::Dataplex::V1::ContentService::Client](https://googleapis.dev/ruby/google-cloud-dataplex-v1/latest/Google/Cloud/Dataplex/V1/ContentService/Client.html)
52
- # for version V1 of the API.
53
- # However, you can specify specify a different API version by passing it in the
52
+ # for a gRPC client for version V1 of the API.
53
+ # However, you can specify a different API version by passing it in the
54
54
  # `version` parameter. If the ContentService service is
55
55
  # supported by that API version, and the corresponding gem is available, the
56
56
  # appropriate versioned client will be returned.
@@ -61,7 +61,7 @@ module Google
61
61
  #
62
62
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
63
63
  # Defaults to `:v1`.
64
- # @return [ContentService::Client] A client object for the specified version.
64
+ # @return [::Object] A client object for the specified version.
65
65
  #
66
66
  def self.content_service version: :v1, &block
67
67
  require "google/cloud/dataplex/#{version.to_s.downcase}"
@@ -70,8 +70,34 @@ module Google
70
70
  .constants
71
71
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
72
72
  .first
73
- package_module = Google::Cloud::Dataplex.const_get package_name
74
- package_module.const_get(:ContentService).const_get(:Client).new(&block)
73
+ service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:ContentService)
74
+ service_module.const_get(:Client).new(&block)
75
+ end
76
+
77
+ ##
78
+ # Create a new client object for DataScanService.
79
+ #
80
+ # By default, this returns an instance of
81
+ # [Google::Cloud::Dataplex::V1::DataScanService::Client](https://googleapis.dev/ruby/google-cloud-dataplex-v1/latest/Google/Cloud/Dataplex/V1/DataScanService/Client.html)
82
+ # for a gRPC client for version V1 of the API.
83
+ # However, you can specify a different API version by passing it in the
84
+ # `version` parameter. If the DataScanService service is
85
+ # supported by that API version, and the corresponding gem is available, the
86
+ # appropriate versioned client will be returned.
87
+ #
88
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
89
+ # Defaults to `:v1`.
90
+ # @return [::Object] A client object for the specified version.
91
+ #
92
+ def self.data_scan_service version: :v1, &block
93
+ require "google/cloud/dataplex/#{version.to_s.downcase}"
94
+
95
+ package_name = Google::Cloud::Dataplex
96
+ .constants
97
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
98
+ .first
99
+ service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:DataScanService)
100
+ service_module.const_get(:Client).new(&block)
75
101
  end
76
102
 
77
103
  ##
@@ -79,8 +105,8 @@ module Google
79
105
  #
80
106
  # By default, this returns an instance of
81
107
  # [Google::Cloud::Dataplex::V1::MetadataService::Client](https://googleapis.dev/ruby/google-cloud-dataplex-v1/latest/Google/Cloud/Dataplex/V1/MetadataService/Client.html)
82
- # for version V1 of the API.
83
- # However, you can specify specify a different API version by passing it in the
108
+ # for a gRPC client for version V1 of the API.
109
+ # However, you can specify a different API version by passing it in the
84
110
  # `version` parameter. If the MetadataService service is
85
111
  # supported by that API version, and the corresponding gem is available, the
86
112
  # appropriate versioned client will be returned.
@@ -92,7 +118,7 @@ module Google
92
118
  #
93
119
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
94
120
  # Defaults to `:v1`.
95
- # @return [MetadataService::Client] A client object for the specified version.
121
+ # @return [::Object] A client object for the specified version.
96
122
  #
97
123
  def self.metadata_service version: :v1, &block
98
124
  require "google/cloud/dataplex/#{version.to_s.downcase}"
@@ -101,8 +127,8 @@ module Google
101
127
  .constants
102
128
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
103
129
  .first
104
- package_module = Google::Cloud::Dataplex.const_get package_name
105
- package_module.const_get(:MetadataService).const_get(:Client).new(&block)
130
+ service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:MetadataService)
131
+ service_module.const_get(:Client).new(&block)
106
132
  end
107
133
 
108
134
  ##
@@ -110,8 +136,8 @@ module Google
110
136
  #
111
137
  # By default, this returns an instance of
112
138
  # [Google::Cloud::Dataplex::V1::DataplexService::Client](https://googleapis.dev/ruby/google-cloud-dataplex-v1/latest/Google/Cloud/Dataplex/V1/DataplexService/Client.html)
113
- # for version V1 of the API.
114
- # However, you can specify specify a different API version by passing it in the
139
+ # for a gRPC client for version V1 of the API.
140
+ # However, you can specify a different API version by passing it in the
115
141
  # `version` parameter. If the DataplexService service is
116
142
  # supported by that API version, and the corresponding gem is available, the
117
143
  # appropriate versioned client will be returned.
@@ -120,13 +146,13 @@ module Google
120
146
  #
121
147
  # Dataplex service provides data lakes as a service. The primary resources
122
148
  # offered by this service are Lakes, Zones and Assets which collectively allow
123
- # a data adminstrator to organize, manage, secure and catalog data across their
124
- # organization located across cloud projects in a variety of storage systems
125
- # including Cloud Storage and BigQuery.
149
+ # a data administrator to organize, manage, secure and catalog data across
150
+ # their organization located across cloud projects in a variety of storage
151
+ # systems including Cloud Storage and BigQuery.
126
152
  #
127
153
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
128
154
  # Defaults to `:v1`.
129
- # @return [DataplexService::Client] A client object for the specified version.
155
+ # @return [::Object] A client object for the specified version.
130
156
  #
131
157
  def self.dataplex_service version: :v1, &block
132
158
  require "google/cloud/dataplex/#{version.to_s.downcase}"
@@ -135,8 +161,8 @@ module Google
135
161
  .constants
136
162
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
137
163
  .first
138
- package_module = Google::Cloud::Dataplex.const_get package_name
139
- package_module.const_get(:DataplexService).const_get(:Client).new(&block)
164
+ service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:DataplexService)
165
+ service_module.const_get(:Client).new(&block)
140
166
  end
141
167
 
142
168
  ##
@@ -156,7 +182,7 @@ module Google
156
182
  # * `timeout` (*type:* `Numeric`) -
157
183
  # Default timeout in seconds.
158
184
  # * `metadata` (*type:* `Hash{Symbol=>String}`) -
159
- # Additional gRPC headers to be sent with the call.
185
+ # Additional headers to be sent with the call.
160
186
  # * `retry_policy` (*type:* `Hash`) -
161
187
  # The retry policy. The value is a hash with the following keys:
162
188
  # * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataplex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.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: 2022-02-18 00:00:00.000000000 Z
11
+ date: 2023-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0.2'
33
+ version: '0.6'
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
36
  version: 2.a
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - ">="
42
42
  - !ruby/object:Gem::Version
43
- version: '0.2'
43
+ version: '0.6'
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: 2.a
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.25.1
53
+ version: 1.26.1
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.25.1
60
+ version: 1.26.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '5.14'
67
+ version: '5.16'
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: '5.14'
74
+ version: '5.16'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest-focus
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '12.0'
109
+ version: '13.0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '12.0'
116
+ version: '13.0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: redcarpet
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - ">="
186
186
  - !ruby/object:Gem::Version
187
- version: '2.5'
187
+ version: '2.6'
188
188
  required_rubygems_version: !ruby/object:Gem::Requirement
189
189
  requirements:
190
190
  - - ">="
191
191
  - !ruby/object:Gem::Version
192
192
  version: '0'
193
193
  requirements: []
194
- rubygems_version: 3.3.5
194
+ rubygems_version: 3.4.2
195
195
  signing_key:
196
196
  specification_version: 4
197
197
  summary: API Client library for the Dataplex API