google-cloud-ai_platform 0.1.0 → 0.3.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: 1a384a60c8aedb03ac9b474c7dec6258b7c0f0215f85450f2c8296352161c48a
4
- data.tar.gz: b262694d890b7aef221f3c1922d0c89e540f96419b336f3eaba86205bdee416e
3
+ metadata.gz: f4299c22937e0bc9db485e308360951f6d198871255f29f02b3c3e76ffa56cc4
4
+ data.tar.gz: 22054e07dce6c1a6004b1720d7c61de1c076d8c20fe220315d046038efc67581
5
5
  SHA512:
6
- metadata.gz: 38cf5e16e28dac9013b54bb017e4b7fe156323e01720bbbdf5230f5516b712ff98f79be3dff4073e2f47b96043dbcc362ce667fb6c8d0d3fd3b13b6cf84f381f
7
- data.tar.gz: 253127f116d628eda45ac0cdc3d5fceaa0d34206ec34f7a1e87a29b2243475a14041c1f23e05e153f373fe97c4caa3bc2e8c31ab19802aa29df0918f0cc6c15f
6
+ metadata.gz: 6aa50bf1c8152a619265d0b9c7063b3ff0a4a77827ac619d1e7d8582711af62433ccbab6a6ef8975619c17591a683d2e10ffca6f0887074c3a8bebb0ae6a01f2
7
+ data.tar.gz: 9f084082d35aa632075a8ad7cabb52226543696de205d393fac3d144668aede680888697578387d4d98aaaa194be8db93abd039e05f3d2f00974ebd5a1569a55
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
@@ -16,7 +16,7 @@ for this library, google-cloud-ai_platform, to see the convenience methods for
16
16
  constructing client objects. Reference documentation for the client objects
17
17
  themselves can be found in the client library documentation for the versioned
18
18
  client gems:
19
- [google-cloud-ai_platform-v1](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest).
19
+ [google-cloud-ai_platform-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest).
20
20
 
21
21
  See also the [Product Documentation](https://cloud.google.com/vertex-ai/docs/)
22
22
  for more usage information.
@@ -37,8 +37,8 @@ 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,
41
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
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
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/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.
44
44
 
@@ -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 AIPlatform
23
- VERSION = "0.1.0"
23
+ VERSION = "0.3.0"
24
24
  end
25
25
  end
26
26
  end
@@ -48,9 +48,9 @@ module Google
48
48
  # Create a new client object for DatasetService.
49
49
  #
50
50
  # By default, this returns an instance of
51
- # [Google::Cloud::AIPlatform::V1::DatasetService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/DatasetService/Client.html)
52
- # for version V1 of the API.
53
- # However, you can specify specify a different API version by passing it in the
51
+ # [Google::Cloud::AIPlatform::V1::DatasetService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-DatasetService-Client)
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 DatasetService service is
55
55
  # supported by that API version, and the corresponding gem is available, the
56
56
  # appropriate versioned client will be returned.
@@ -62,7 +62,7 @@ module Google
62
62
  #
63
63
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
64
64
  # Defaults to `:v1`.
65
- # @return [DatasetService::Client] A client object for the specified version.
65
+ # @return [::Object] A client object for the specified version.
66
66
  #
67
67
  def self.dataset_service version: :v1, &block
68
68
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -71,17 +71,17 @@ module Google
71
71
  .constants
72
72
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
73
73
  .first
74
- package_module = Google::Cloud::AIPlatform.const_get package_name
75
- package_module.const_get(:DatasetService).const_get(:Client).new(&block)
74
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:DatasetService)
75
+ service_module.const_get(:Client).new(&block)
76
76
  end
77
77
 
78
78
  ##
79
79
  # Create a new client object for EndpointService.
80
80
  #
81
81
  # By default, this returns an instance of
82
- # [Google::Cloud::AIPlatform::V1::EndpointService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/EndpointService/Client.html)
83
- # for version V1 of the API.
84
- # However, you can specify specify a different API version by passing it in the
82
+ # [Google::Cloud::AIPlatform::V1::EndpointService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-EndpointService-Client)
83
+ # for a gRPC client for version V1 of the API.
84
+ # However, you can specify a different API version by passing it in the
85
85
  # `version` parameter. If the EndpointService service is
86
86
  # supported by that API version, and the corresponding gem is available, the
87
87
  # appropriate versioned client will be returned.
@@ -92,7 +92,7 @@ module Google
92
92
  #
93
93
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
94
94
  # Defaults to `:v1`.
95
- # @return [EndpointService::Client] A client object for the specified version.
95
+ # @return [::Object] A client object for the specified version.
96
96
  #
97
97
  def self.endpoint_service version: :v1, &block
98
98
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -101,17 +101,17 @@ module Google
101
101
  .constants
102
102
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
103
103
  .first
104
- package_module = Google::Cloud::AIPlatform.const_get package_name
105
- package_module.const_get(:EndpointService).const_get(:Client).new(&block)
104
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:EndpointService)
105
+ service_module.const_get(:Client).new(&block)
106
106
  end
107
107
 
108
108
  ##
109
109
  # Create a new client object for FeaturestoreOnlineServingService.
110
110
  #
111
111
  # By default, this returns an instance of
112
- # [Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/FeaturestoreOnlineServingService/Client.html)
113
- # for version V1 of the API.
114
- # However, you can specify specify a different API version by passing it in the
112
+ # [Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-FeaturestoreOnlineServingService-Client)
113
+ # for a gRPC client for version V1 of the API.
114
+ # However, you can specify a different API version by passing it in the
115
115
  # `version` parameter. If the FeaturestoreOnlineServingService service is
116
116
  # supported by that API version, and the corresponding gem is available, the
117
117
  # appropriate versioned client will be returned.
@@ -122,7 +122,7 @@ module Google
122
122
  #
123
123
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
124
124
  # Defaults to `:v1`.
125
- # @return [FeaturestoreOnlineServingService::Client] A client object for the specified version.
125
+ # @return [::Object] A client object for the specified version.
126
126
  #
127
127
  def self.featurestore_online_serving_service version: :v1, &block
128
128
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -131,17 +131,17 @@ module Google
131
131
  .constants
132
132
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
133
133
  .first
134
- package_module = Google::Cloud::AIPlatform.const_get package_name
135
- package_module.const_get(:FeaturestoreOnlineServingService).const_get(:Client).new(&block)
134
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:FeaturestoreOnlineServingService)
135
+ service_module.const_get(:Client).new(&block)
136
136
  end
137
137
 
138
138
  ##
139
139
  # Create a new client object for FeaturestoreService.
140
140
  #
141
141
  # By default, this returns an instance of
142
- # [Google::Cloud::AIPlatform::V1::FeaturestoreService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/FeaturestoreService/Client.html)
143
- # for version V1 of the API.
144
- # However, you can specify specify a different API version by passing it in the
142
+ # [Google::Cloud::AIPlatform::V1::FeaturestoreService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-FeaturestoreService-Client)
143
+ # for a gRPC client for version V1 of the API.
144
+ # However, you can specify a different API version by passing it in the
145
145
  # `version` parameter. If the FeaturestoreService service is
146
146
  # supported by that API version, and the corresponding gem is available, the
147
147
  # appropriate versioned client will be returned.
@@ -152,7 +152,7 @@ module Google
152
152
  #
153
153
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
154
154
  # Defaults to `:v1`.
155
- # @return [FeaturestoreService::Client] A client object for the specified version.
155
+ # @return [::Object] A client object for the specified version.
156
156
  #
157
157
  def self.featurestore_service version: :v1, &block
158
158
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -161,17 +161,17 @@ module Google
161
161
  .constants
162
162
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
163
163
  .first
164
- package_module = Google::Cloud::AIPlatform.const_get package_name
165
- package_module.const_get(:FeaturestoreService).const_get(:Client).new(&block)
164
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:FeaturestoreService)
165
+ service_module.const_get(:Client).new(&block)
166
166
  end
167
167
 
168
168
  ##
169
169
  # Create a new client object for IndexEndpointService.
170
170
  #
171
171
  # By default, this returns an instance of
172
- # [Google::Cloud::AIPlatform::V1::IndexEndpointService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/IndexEndpointService/Client.html)
173
- # for version V1 of the API.
174
- # However, you can specify specify a different API version by passing it in the
172
+ # [Google::Cloud::AIPlatform::V1::IndexEndpointService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-IndexEndpointService-Client)
173
+ # for a gRPC client for version V1 of the API.
174
+ # However, you can specify a different API version by passing it in the
175
175
  # `version` parameter. If the IndexEndpointService service is
176
176
  # supported by that API version, and the corresponding gem is available, the
177
177
  # appropriate versioned client will be returned.
@@ -182,7 +182,7 @@ module Google
182
182
  #
183
183
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
184
184
  # Defaults to `:v1`.
185
- # @return [IndexEndpointService::Client] A client object for the specified version.
185
+ # @return [::Object] A client object for the specified version.
186
186
  #
187
187
  def self.index_endpoint_service version: :v1, &block
188
188
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -191,17 +191,17 @@ module Google
191
191
  .constants
192
192
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
193
193
  .first
194
- package_module = Google::Cloud::AIPlatform.const_get package_name
195
- package_module.const_get(:IndexEndpointService).const_get(:Client).new(&block)
194
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:IndexEndpointService)
195
+ service_module.const_get(:Client).new(&block)
196
196
  end
197
197
 
198
198
  ##
199
199
  # Create a new client object for IndexService.
200
200
  #
201
201
  # By default, this returns an instance of
202
- # [Google::Cloud::AIPlatform::V1::IndexService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/IndexService/Client.html)
203
- # for version V1 of the API.
204
- # However, you can specify specify a different API version by passing it in the
202
+ # [Google::Cloud::AIPlatform::V1::IndexService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-IndexService-Client)
203
+ # for a gRPC client for version V1 of the API.
204
+ # However, you can specify a different API version by passing it in the
205
205
  # `version` parameter. If the IndexService service is
206
206
  # supported by that API version, and the corresponding gem is available, the
207
207
  # appropriate versioned client will be returned.
@@ -212,7 +212,7 @@ module Google
212
212
  #
213
213
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
214
214
  # Defaults to `:v1`.
215
- # @return [IndexService::Client] A client object for the specified version.
215
+ # @return [::Object] A client object for the specified version.
216
216
  #
217
217
  def self.index_service version: :v1, &block
218
218
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -221,17 +221,17 @@ module Google
221
221
  .constants
222
222
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
223
223
  .first
224
- package_module = Google::Cloud::AIPlatform.const_get package_name
225
- package_module.const_get(:IndexService).const_get(:Client).new(&block)
224
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:IndexService)
225
+ service_module.const_get(:Client).new(&block)
226
226
  end
227
227
 
228
228
  ##
229
229
  # Create a new client object for JobService.
230
230
  #
231
231
  # By default, this returns an instance of
232
- # [Google::Cloud::AIPlatform::V1::JobService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/JobService/Client.html)
233
- # for version V1 of the API.
234
- # However, you can specify specify a different API version by passing it in the
232
+ # [Google::Cloud::AIPlatform::V1::JobService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-JobService-Client)
233
+ # for a gRPC client for version V1 of the API.
234
+ # However, you can specify a different API version by passing it in the
235
235
  # `version` parameter. If the JobService service is
236
236
  # supported by that API version, and the corresponding gem is available, the
237
237
  # appropriate versioned client will be returned.
@@ -242,7 +242,7 @@ module Google
242
242
  #
243
243
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
244
244
  # Defaults to `:v1`.
245
- # @return [JobService::Client] A client object for the specified version.
245
+ # @return [::Object] A client object for the specified version.
246
246
  #
247
247
  def self.job_service version: :v1, &block
248
248
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -251,17 +251,48 @@ module Google
251
251
  .constants
252
252
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
253
253
  .first
254
- package_module = Google::Cloud::AIPlatform.const_get package_name
255
- package_module.const_get(:JobService).const_get(:Client).new(&block)
254
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:JobService)
255
+ service_module.const_get(:Client).new(&block)
256
+ end
257
+
258
+ ##
259
+ # Create a new client object for MatchService.
260
+ #
261
+ # By default, this returns an instance of
262
+ # [Google::Cloud::AIPlatform::V1::MatchService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-MatchService-Client)
263
+ # for a gRPC client for version V1 of the API.
264
+ # However, you can specify a different API version by passing it in the
265
+ # `version` parameter. If the MatchService service is
266
+ # supported by that API version, and the corresponding gem is available, the
267
+ # appropriate versioned client will be returned.
268
+ #
269
+ # ## About MatchService
270
+ #
271
+ # MatchService is a Google managed service for efficient vector similarity
272
+ # search at scale.
273
+ #
274
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
275
+ # Defaults to `:v1`.
276
+ # @return [::Object] A client object for the specified version.
277
+ #
278
+ def self.match_service version: :v1, &block
279
+ require "google/cloud/ai_platform/#{version.to_s.downcase}"
280
+
281
+ package_name = Google::Cloud::AIPlatform
282
+ .constants
283
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
284
+ .first
285
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:MatchService)
286
+ service_module.const_get(:Client).new(&block)
256
287
  end
257
288
 
258
289
  ##
259
290
  # Create a new client object for MetadataService.
260
291
  #
261
292
  # By default, this returns an instance of
262
- # [Google::Cloud::AIPlatform::V1::MetadataService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/MetadataService/Client.html)
263
- # for version V1 of the API.
264
- # However, you can specify specify a different API version by passing it in the
293
+ # [Google::Cloud::AIPlatform::V1::MetadataService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-MetadataService-Client)
294
+ # for a gRPC client for version V1 of the API.
295
+ # However, you can specify a different API version by passing it in the
265
296
  # `version` parameter. If the MetadataService service is
266
297
  # supported by that API version, and the corresponding gem is available, the
267
298
  # appropriate versioned client will be returned.
@@ -272,7 +303,7 @@ module Google
272
303
  #
273
304
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
274
305
  # Defaults to `:v1`.
275
- # @return [MetadataService::Client] A client object for the specified version.
306
+ # @return [::Object] A client object for the specified version.
276
307
  #
277
308
  def self.metadata_service version: :v1, &block
278
309
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -281,17 +312,17 @@ module Google
281
312
  .constants
282
313
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
283
314
  .first
284
- package_module = Google::Cloud::AIPlatform.const_get package_name
285
- package_module.const_get(:MetadataService).const_get(:Client).new(&block)
315
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:MetadataService)
316
+ service_module.const_get(:Client).new(&block)
286
317
  end
287
318
 
288
319
  ##
289
320
  # Create a new client object for MigrationService.
290
321
  #
291
322
  # By default, this returns an instance of
292
- # [Google::Cloud::AIPlatform::V1::MigrationService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/MigrationService/Client.html)
293
- # for version V1 of the API.
294
- # However, you can specify specify a different API version by passing it in the
323
+ # [Google::Cloud::AIPlatform::V1::MigrationService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-MigrationService-Client)
324
+ # for a gRPC client for version V1 of the API.
325
+ # However, you can specify a different API version by passing it in the
295
326
  # `version` parameter. If the MigrationService service is
296
327
  # supported by that API version, and the corresponding gem is available, the
297
328
  # appropriate versioned client will be returned.
@@ -303,7 +334,7 @@ module Google
303
334
  #
304
335
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
305
336
  # Defaults to `:v1`.
306
- # @return [MigrationService::Client] A client object for the specified version.
337
+ # @return [::Object] A client object for the specified version.
307
338
  #
308
339
  def self.migration_service version: :v1, &block
309
340
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -312,17 +343,17 @@ module Google
312
343
  .constants
313
344
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
314
345
  .first
315
- package_module = Google::Cloud::AIPlatform.const_get package_name
316
- package_module.const_get(:MigrationService).const_get(:Client).new(&block)
346
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:MigrationService)
347
+ service_module.const_get(:Client).new(&block)
317
348
  end
318
349
 
319
350
  ##
320
351
  # Create a new client object for ModelService.
321
352
  #
322
353
  # By default, this returns an instance of
323
- # [Google::Cloud::AIPlatform::V1::ModelService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/ModelService/Client.html)
324
- # for version V1 of the API.
325
- # However, you can specify specify a different API version by passing it in the
354
+ # [Google::Cloud::AIPlatform::V1::ModelService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelService-Client)
355
+ # for a gRPC client for version V1 of the API.
356
+ # However, you can specify a different API version by passing it in the
326
357
  # `version` parameter. If the ModelService service is
327
358
  # supported by that API version, and the corresponding gem is available, the
328
359
  # appropriate versioned client will be returned.
@@ -333,7 +364,7 @@ module Google
333
364
  #
334
365
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
335
366
  # Defaults to `:v1`.
336
- # @return [ModelService::Client] A client object for the specified version.
367
+ # @return [::Object] A client object for the specified version.
337
368
  #
338
369
  def self.model_service version: :v1, &block
339
370
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -342,17 +373,47 @@ module Google
342
373
  .constants
343
374
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
344
375
  .first
345
- package_module = Google::Cloud::AIPlatform.const_get package_name
346
- package_module.const_get(:ModelService).const_get(:Client).new(&block)
376
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:ModelService)
377
+ service_module.const_get(:Client).new(&block)
378
+ end
379
+
380
+ ##
381
+ # Create a new client object for ModelGardenService.
382
+ #
383
+ # By default, this returns an instance of
384
+ # [Google::Cloud::AIPlatform::V1::ModelGardenService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-ModelGardenService-Client)
385
+ # for a gRPC client for version V1 of the API.
386
+ # However, you can specify a different API version by passing it in the
387
+ # `version` parameter. If the ModelGardenService service is
388
+ # supported by that API version, and the corresponding gem is available, the
389
+ # appropriate versioned client will be returned.
390
+ #
391
+ # ## About ModelGardenService
392
+ #
393
+ # The interface of Model Garden Service.
394
+ #
395
+ # @param version [::String, ::Symbol] The API version to connect to. Optional.
396
+ # Defaults to `:v1`.
397
+ # @return [::Object] A client object for the specified version.
398
+ #
399
+ def self.model_garden_service version: :v1, &block
400
+ require "google/cloud/ai_platform/#{version.to_s.downcase}"
401
+
402
+ package_name = Google::Cloud::AIPlatform
403
+ .constants
404
+ .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
405
+ .first
406
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:ModelGardenService)
407
+ service_module.const_get(:Client).new(&block)
347
408
  end
348
409
 
349
410
  ##
350
411
  # Create a new client object for PipelineService.
351
412
  #
352
413
  # By default, this returns an instance of
353
- # [Google::Cloud::AIPlatform::V1::PipelineService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/PipelineService/Client.html)
354
- # for version V1 of the API.
355
- # However, you can specify specify a different API version by passing it in the
414
+ # [Google::Cloud::AIPlatform::V1::PipelineService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-PipelineService-Client)
415
+ # for a gRPC client for version V1 of the API.
416
+ # However, you can specify a different API version by passing it in the
356
417
  # `version` parameter. If the PipelineService service is
357
418
  # supported by that API version, and the corresponding gem is available, the
358
419
  # appropriate versioned client will be returned.
@@ -365,7 +426,7 @@ module Google
365
426
  #
366
427
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
367
428
  # Defaults to `:v1`.
368
- # @return [PipelineService::Client] A client object for the specified version.
429
+ # @return [::Object] A client object for the specified version.
369
430
  #
370
431
  def self.pipeline_service version: :v1, &block
371
432
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -374,17 +435,17 @@ module Google
374
435
  .constants
375
436
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
376
437
  .first
377
- package_module = Google::Cloud::AIPlatform.const_get package_name
378
- package_module.const_get(:PipelineService).const_get(:Client).new(&block)
438
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:PipelineService)
439
+ service_module.const_get(:Client).new(&block)
379
440
  end
380
441
 
381
442
  ##
382
443
  # Create a new client object for PredictionService.
383
444
  #
384
445
  # By default, this returns an instance of
385
- # [Google::Cloud::AIPlatform::V1::PredictionService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/PredictionService/Client.html)
386
- # for version V1 of the API.
387
- # However, you can specify specify a different API version by passing it in the
446
+ # [Google::Cloud::AIPlatform::V1::PredictionService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-PredictionService-Client)
447
+ # for a gRPC client for version V1 of the API.
448
+ # However, you can specify a different API version by passing it in the
388
449
  # `version` parameter. If the PredictionService service is
389
450
  # supported by that API version, and the corresponding gem is available, the
390
451
  # appropriate versioned client will be returned.
@@ -395,7 +456,7 @@ module Google
395
456
  #
396
457
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
397
458
  # Defaults to `:v1`.
398
- # @return [PredictionService::Client] A client object for the specified version.
459
+ # @return [::Object] A client object for the specified version.
399
460
  #
400
461
  def self.prediction_service version: :v1, &block
401
462
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -404,17 +465,17 @@ module Google
404
465
  .constants
405
466
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
406
467
  .first
407
- package_module = Google::Cloud::AIPlatform.const_get package_name
408
- package_module.const_get(:PredictionService).const_get(:Client).new(&block)
468
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:PredictionService)
469
+ service_module.const_get(:Client).new(&block)
409
470
  end
410
471
 
411
472
  ##
412
473
  # Create a new client object for SpecialistPoolService.
413
474
  #
414
475
  # By default, this returns an instance of
415
- # [Google::Cloud::AIPlatform::V1::SpecialistPoolService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/SpecialistPoolService/Client.html)
416
- # for version V1 of the API.
417
- # However, you can specify specify a different API version by passing it in the
476
+ # [Google::Cloud::AIPlatform::V1::SpecialistPoolService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-SpecialistPoolService-Client)
477
+ # for a gRPC client for version V1 of the API.
478
+ # However, you can specify a different API version by passing it in the
418
479
  # `version` parameter. If the SpecialistPoolService service is
419
480
  # supported by that API version, and the corresponding gem is available, the
420
481
  # appropriate versioned client will be returned.
@@ -430,7 +491,7 @@ module Google
430
491
  #
431
492
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
432
493
  # Defaults to `:v1`.
433
- # @return [SpecialistPoolService::Client] A client object for the specified version.
494
+ # @return [::Object] A client object for the specified version.
434
495
  #
435
496
  def self.specialist_pool_service version: :v1, &block
436
497
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -439,17 +500,17 @@ module Google
439
500
  .constants
440
501
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
441
502
  .first
442
- package_module = Google::Cloud::AIPlatform.const_get package_name
443
- package_module.const_get(:SpecialistPoolService).const_get(:Client).new(&block)
503
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:SpecialistPoolService)
504
+ service_module.const_get(:Client).new(&block)
444
505
  end
445
506
 
446
507
  ##
447
508
  # Create a new client object for TensorboardService.
448
509
  #
449
510
  # By default, this returns an instance of
450
- # [Google::Cloud::AIPlatform::V1::TensorboardService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/TensorboardService/Client.html)
451
- # for version V1 of the API.
452
- # However, you can specify specify a different API version by passing it in the
511
+ # [Google::Cloud::AIPlatform::V1::TensorboardService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-TensorboardService-Client)
512
+ # for a gRPC client for version V1 of the API.
513
+ # However, you can specify a different API version by passing it in the
453
514
  # `version` parameter. If the TensorboardService service is
454
515
  # supported by that API version, and the corresponding gem is available, the
455
516
  # appropriate versioned client will be returned.
@@ -460,7 +521,7 @@ module Google
460
521
  #
461
522
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
462
523
  # Defaults to `:v1`.
463
- # @return [TensorboardService::Client] A client object for the specified version.
524
+ # @return [::Object] A client object for the specified version.
464
525
  #
465
526
  def self.tensorboard_service version: :v1, &block
466
527
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -469,17 +530,17 @@ module Google
469
530
  .constants
470
531
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
471
532
  .first
472
- package_module = Google::Cloud::AIPlatform.const_get package_name
473
- package_module.const_get(:TensorboardService).const_get(:Client).new(&block)
533
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:TensorboardService)
534
+ service_module.const_get(:Client).new(&block)
474
535
  end
475
536
 
476
537
  ##
477
538
  # Create a new client object for VizierService.
478
539
  #
479
540
  # By default, this returns an instance of
480
- # [Google::Cloud::AIPlatform::V1::VizierService::Client](https://googleapis.dev/ruby/google-cloud-ai_platform-v1/latest/Google/Cloud/AIPlatform/V1/VizierService/Client.html)
481
- # for version V1 of the API.
482
- # However, you can specify specify a different API version by passing it in the
541
+ # [Google::Cloud::AIPlatform::V1::VizierService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-VizierService-Client)
542
+ # for a gRPC client for version V1 of the API.
543
+ # However, you can specify a different API version by passing it in the
483
544
  # `version` parameter. If the VizierService service is
484
545
  # supported by that API version, and the corresponding gem is available, the
485
546
  # appropriate versioned client will be returned.
@@ -494,7 +555,7 @@ module Google
494
555
  #
495
556
  # @param version [::String, ::Symbol] The API version to connect to. Optional.
496
557
  # Defaults to `:v1`.
497
- # @return [VizierService::Client] A client object for the specified version.
558
+ # @return [::Object] A client object for the specified version.
498
559
  #
499
560
  def self.vizier_service version: :v1, &block
500
561
  require "google/cloud/ai_platform/#{version.to_s.downcase}"
@@ -503,8 +564,8 @@ module Google
503
564
  .constants
504
565
  .select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
505
566
  .first
506
- package_module = Google::Cloud::AIPlatform.const_get package_name
507
- package_module.const_get(:VizierService).const_get(:Client).new(&block)
567
+ service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:VizierService)
568
+ service_module.const_get(:Client).new(&block)
508
569
  end
509
570
 
510
571
  ##
@@ -524,7 +585,7 @@ module Google
524
585
  # * `timeout` (*type:* `Numeric`) -
525
586
  # Default timeout in seconds.
526
587
  # * `metadata` (*type:* `Hash{Symbol=>String}`) -
527
- # Additional gRPC headers to be sent with the call.
588
+ # Additional headers to be sent with the call.
528
589
  # * `retry_policy` (*type:* `Hash`) -
529
590
  # The retry policy. The value is a hash with the following keys:
530
591
  # * `: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-ai_platform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.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-03-31 00:00:00.000000000 Z
11
+ date: 2023-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-ai_platform-v1
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.0'
19
+ version: '0.25'
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.0'
29
+ version: '0.25'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  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
@@ -183,14 +183,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - ">="
185
185
  - !ruby/object:Gem::Version
186
- version: '2.5'
186
+ version: '2.6'
187
187
  required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  requirements:
189
189
  - - ">="
190
190
  - !ruby/object:Gem::Version
191
191
  version: '0'
192
192
  requirements: []
193
- rubygems_version: 3.3.5
193
+ rubygems_version: 3.4.2
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: API Client library for the Vertex AI API