google-cloud-dataplex 1.3.0 → 1.4.1

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: f44fb24e878077fbec529596c944af40f5464ce07ebfa2b1f1261c56cf349ec7
4
- data.tar.gz: 04f8f1e87b5e156ad8620dd3cfe22051b48ec2b6f47242e2c34c601c98939fc8
3
+ metadata.gz: 48aa36561bb573244e25bccd1d1d43053c8c2da5058018a98ea1a29adc473834
4
+ data.tar.gz: f60033e9a2201f753b38ff142cf01a8e3840aa536d97ed5317f54fb65767117c
5
5
  SHA512:
6
- metadata.gz: 7b54886fbe3d0b2a0956522693f259f305ee8ce8afee6fe37750ba89cb66dd1a9a17e7019c85247560d1b8d5e0d7cad8322051f2ef3f386da186608bb6029747
7
- data.tar.gz: d8a85ec652ccb9a079689b3ecb23d56dc9b664d886356cd6219072c64cfb288ec2f9a6cce3d1a13dfe5779297b154f42b0450bb0c530ec1f3f765bbd959a8cb4
6
+ metadata.gz: a4e3ebacda0287ce4857b88561bedea1f79a4f350a45a1cd72e0c6c833f5dbd5419af864823416ac3e74c5f324f1f05a97cdc43ac45352a5a698f53ce1615d8a
7
+ data.tar.gz: ca565609a7095574e6abdbfc07b6fdd4ca3b8e33ea0812db3f8030b855064208501dadadf4b3e9e0574e4ff33d2dfd68b6c194ca638545f954abfaeef53ec9ff
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
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Dataplex
23
- VERSION = "1.3.0"
23
+ VERSION = "1.4.1"
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.3.0
4
+ version: 1.4.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: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core