google-cloud-dataplex 1.2.0 → 1.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: dbcec3155a9203bbbe72db5f3e715e6f58c2b32e4d34e81fd4b3e52702c0e719
4
- data.tar.gz: f27266feb0835085689883be5ee9432e6bf587f46300007dc158270ef2a32c46
3
+ metadata.gz: 5bdde9a34f8b9e7ce07f78203f7f54bc8347ac48f5f5a0cbd307d2f4ffd87217
4
+ data.tar.gz: 1ce1a707628c5800133362eed52c8d96d40f82fa7be61575a375a5336ec1f8b8
5
5
  SHA512:
6
- metadata.gz: 82654b29052887b84a6510219e75ccea907b96d972ded649f44271259ff04e318ff623587dd9ab50c770bb1d897f60966a19ea13e1c32e7ea917e9b24d128910
7
- data.tar.gz: a506a24009e7a85952105a081403c063aba9e2abd9d2d0f3a09b536208e1dce75937c4a94ebeae5a7dfb7a7deff5f13597f6e5529ea32cf5671165740b5edc9f
6
+ metadata.gz: 4efd25fe9688fab48d21f84ccc04ce18e070a6065e5a2559c3be31d1d7389de766d67049ee44061eebfdff5062eb9203fc8e6426b7b15b5d287a24260cfd9977
7
+ data.tar.gz: a67ce9ac6acd2130e89a776308aa28e2d3c755e5f3e92240edd1a2efabfbe91fbd904c5d440200304840d0823825eb21c7701df78c86939e1e98d9daeca4e9ab
data/AUTHENTICATION.md CHANGED
@@ -56,7 +56,7 @@ To configure a credentials file for an individual client initialization:
56
56
  ```ruby
57
57
  require "google/cloud/dataplex"
58
58
 
59
- client = Google::Cloud::Dataplex.content_service do |config|
59
+ client = Google::Cloud::Dataplex.dataplex_service do |config|
60
60
  config.credentials = "path/to/credentialfile.json"
61
61
  end
62
62
  ```
@@ -70,7 +70,7 @@ Google::Cloud::Dataplex.configure do |config|
70
70
  config.credentials = "path/to/credentialfile.json"
71
71
  end
72
72
 
73
- client = Google::Cloud::Dataplex.content_service
73
+ client = Google::Cloud::Dataplex.dataplex_service
74
74
  ```
75
75
 
76
76
  ### Environment Variables
@@ -100,7 +100,7 @@ require "google/cloud/dataplex"
100
100
 
101
101
  ENV["GOOGLE_APPLICATION_CREDENTIALS"] = "path/to/credentialfile.json"
102
102
 
103
- client = Google::Cloud::Dataplex.content_service
103
+ client = Google::Cloud::Dataplex.dataplex_service
104
104
  ```
105
105
 
106
106
  ### Local ADC file
data/README.md CHANGED
@@ -36,7 +36,7 @@ In order to use this library, you first need to go through the following steps:
36
36
 
37
37
  ## Supported Ruby Versions
38
38
 
39
- This library is supported on Ruby 2.6+.
39
+ This library is supported on Ruby 2.7+.
40
40
 
41
41
  Google provides official support for Ruby versions that are actively supported
42
42
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Dataplex
23
- VERSION = "1.2.0"
23
+ VERSION = "1.4.0"
24
24
  end
25
25
  end
26
26
  end
@@ -46,73 +46,111 @@ module Google
46
46
  module Cloud
47
47
  module Dataplex
48
48
  ##
49
- # Create a new client object for ContentService.
49
+ # Create a new client object for DataplexService.
50
50
  #
51
51
  # By default, this returns an instance of
52
- # [Google::Cloud::Dataplex::V1::ContentService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-ContentService-Client)
52
+ # [Google::Cloud::Dataplex::V1::DataplexService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataplexService-Client)
53
53
  # for a gRPC client for version V1 of the API.
54
54
  # However, you can specify a different API version by passing it in the
55
- # `version` parameter. If the ContentService service is
55
+ # `version` parameter. If the DataplexService service is
56
56
  # supported by that API version, and the corresponding gem is available, the
57
57
  # appropriate versioned client will be returned.
58
58
  # You can also specify a different transport by passing `:rest` or `:grpc` in
59
59
  # the `transport` parameter.
60
60
  #
61
- # ## About ContentService
61
+ # ## About DataplexService
62
62
  #
63
- # ContentService manages Notebook and SQL Scripts for Dataplex.
63
+ # Dataplex service provides data lakes as a service. The primary resources
64
+ # offered by this service are Lakes, Zones and Assets which collectively allow
65
+ # a data administrator to organize, manage, secure and catalog data across
66
+ # their organization located across cloud projects in a variety of storage
67
+ # systems including Cloud Storage and BigQuery.
64
68
  #
65
69
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
66
70
  # Defaults to `:v1`.
67
71
  # @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
68
72
  # @return [::Object] A client object for the specified version.
69
73
  #
70
- def self.content_service version: :v1, transport: :grpc, &block
74
+ def self.dataplex_service version: :v1, transport: :grpc, &block
71
75
  require "google/cloud/dataplex/#{version.to_s.downcase}"
72
76
 
73
77
  package_name = Google::Cloud::Dataplex
74
78
  .constants
75
79
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
76
80
  .first
77
- service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:ContentService)
81
+ service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:DataplexService)
78
82
  service_module = service_module.const_get(:Rest) if transport == :rest
79
83
  service_module.const_get(:Client).new(&block)
80
84
  end
81
85
 
82
86
  ##
83
- # Create a new client object for DataplexService.
87
+ # Create a new client object for CatalogService.
84
88
  #
85
89
  # By default, this returns an instance of
86
- # [Google::Cloud::Dataplex::V1::DataplexService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-DataplexService-Client)
90
+ # [Google::Cloud::Dataplex::V1::CatalogService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-CatalogService-Client)
87
91
  # for a gRPC client for version V1 of the API.
88
92
  # However, you can specify a different API version by passing it in the
89
- # `version` parameter. If the DataplexService service is
93
+ # `version` parameter. If the CatalogService service is
90
94
  # supported by that API version, and the corresponding gem is available, the
91
95
  # appropriate versioned client will be returned.
92
96
  # You can also specify a different transport by passing `:rest` or `:grpc` in
93
97
  # the `transport` parameter.
94
98
  #
95
- # ## About DataplexService
99
+ # ## About CatalogService
96
100
  #
97
- # Dataplex service provides data lakes as a service. The primary resources
98
- # offered by this service are Lakes, Zones and Assets which collectively allow
99
- # a data administrator to organize, manage, secure and catalog data across
100
- # their organization located across cloud projects in a variety of storage
101
- # systems including Cloud Storage and BigQuery.
101
+ # The primary resources offered by this service are EntryGroups, EntryTypes,
102
+ # AspectTypes, Entry and Aspect which collectively allow a data administrator
103
+ # to organize, manage, secure and catalog data across their organization
104
+ # located across cloud projects in a variety of storage systems including Cloud
105
+ # Storage and BigQuery.
102
106
  #
103
107
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
104
108
  # Defaults to `:v1`.
105
109
  # @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
106
110
  # @return [::Object] A client object for the specified version.
107
111
  #
108
- def self.dataplex_service version: :v1, transport: :grpc, &block
112
+ def self.catalog_service version: :v1, transport: :grpc, &block
109
113
  require "google/cloud/dataplex/#{version.to_s.downcase}"
110
114
 
111
115
  package_name = Google::Cloud::Dataplex
112
116
  .constants
113
117
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
114
118
  .first
115
- service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:DataplexService)
119
+ service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:CatalogService)
120
+ service_module = service_module.const_get(:Rest) if transport == :rest
121
+ service_module.const_get(:Client).new(&block)
122
+ end
123
+
124
+ ##
125
+ # Create a new client object for ContentService.
126
+ #
127
+ # By default, this returns an instance of
128
+ # [Google::Cloud::Dataplex::V1::ContentService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-dataplex-v1/latest/Google-Cloud-Dataplex-V1-ContentService-Client)
129
+ # for a gRPC client for version V1 of the API.
130
+ # However, you can specify a different API version by passing it in the
131
+ # `version` parameter. If the ContentService service is
132
+ # supported by that API version, and the corresponding gem is available, the
133
+ # appropriate versioned client will be returned.
134
+ # You can also specify a different transport by passing `:rest` or `:grpc` in
135
+ # the `transport` parameter.
136
+ #
137
+ # ## About ContentService
138
+ #
139
+ # ContentService manages Notebook and SQL Scripts for Dataplex.
140
+ #
141
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
142
+ # Defaults to `:v1`.
143
+ # @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
144
+ # @return [::Object] A client object for the specified version.
145
+ #
146
+ def self.content_service version: :v1, transport: :grpc, &block
147
+ require "google/cloud/dataplex/#{version.to_s.downcase}"
148
+
149
+ package_name = Google::Cloud::Dataplex
150
+ .constants
151
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
152
+ .first
153
+ service_module = Google::Cloud::Dataplex.const_get(package_name).const_get(:ContentService)
116
154
  service_module = service_module.const_get(:Rest) if transport == :rest
117
155
  service_module.const_get(:Client).new(&block)
118
156
  end
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: 1.2.0
4
+ version: 1.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: 2024-01-15 00:00:00.000000000 Z
11
+ date: 2024-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -44,118 +44,6 @@ dependencies:
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: 2.a
47
- - !ruby/object:Gem::Dependency
48
- name: google-style
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 1.26.1
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 1.26.1
61
- - !ruby/object:Gem::Dependency
62
- name: minitest
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '5.16'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '5.16'
75
- - !ruby/object:Gem::Dependency
76
- name: minitest-focus
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.1'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.1'
89
- - !ruby/object:Gem::Dependency
90
- name: minitest-rg
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '5.2'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '5.2'
103
- - !ruby/object:Gem::Dependency
104
- name: rake
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: '13.0'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- version: '13.0'
117
- - !ruby/object:Gem::Dependency
118
- name: redcarpet
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '3.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '3.0'
131
- - !ruby/object:Gem::Dependency
132
- name: simplecov
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '0.9'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '0.9'
145
- - !ruby/object:Gem::Dependency
146
- name: yard
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '0.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '0.9'
159
47
  description: Dataplex is an intelligent data fabric that provides a way to centrally
160
48
  manage, monitor, and govern your data across data lakes, data warehouses and data
161
49
  marts, and make this data securely accessible to a variety of analytics and data
@@ -184,14 +72,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
184
72
  requirements:
185
73
  - - ">="
186
74
  - !ruby/object:Gem::Version
187
- version: '2.6'
75
+ version: '2.7'
188
76
  required_rubygems_version: !ruby/object:Gem::Requirement
189
77
  requirements:
190
78
  - - ">="
191
79
  - !ruby/object:Gem::Version
192
80
  version: '0'
193
81
  requirements: []
194
- rubygems_version: 3.5.3
82
+ rubygems_version: 3.5.6
195
83
  signing_key:
196
84
  specification_version: 4
197
85
  summary: API Client library for the Dataplex API