google-cloud-ai_platform 1.0.0 → 1.1.0
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 +4 -4
- data/lib/google/cloud/ai_platform/version.rb +1 -1
- data/lib/google/cloud/ai_platform.rb +148 -30
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb7d44519a03bd651e28d865a67f03ed6221e1a60080a1e74d643a117f364147
|
4
|
+
data.tar.gz: 5449bc61fa29c0ff3765f06f11f32e56fbd22357bb7f4b1d74427a3b9f5ba6cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d75961b3c2f54db7aca76f046178732c3022153ef79e4a2ec143297eae0e147cbc45da5c295ac998e8189d500c3780f5907fa3568ee55c5e87108269ff52da0
|
7
|
+
data.tar.gz: 88a0a470315f85967a23b302fd70f707c1f522939d91b37ee9185d04c5ea952450ba035b15467fdce40dcd9e08ebac29b5a14a2cec2b98a094e9dac70aaf7aa8
|
@@ -104,6 +104,37 @@ module Google
|
|
104
104
|
service_module.const_get(:Client).new(&block)
|
105
105
|
end
|
106
106
|
|
107
|
+
##
|
108
|
+
# Create a new client object for FeatureOnlineStoreAdminService.
|
109
|
+
#
|
110
|
+
# By default, this returns an instance of
|
111
|
+
# [Google::Cloud::AIPlatform::V1::FeatureOnlineStoreAdminService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-FeatureOnlineStoreAdminService-Client)
|
112
|
+
# for a gRPC client for version V1 of the API.
|
113
|
+
# However, you can specify a different API version by passing it in the
|
114
|
+
# `version` parameter. If the FeatureOnlineStoreAdminService service is
|
115
|
+
# supported by that API version, and the corresponding gem is available, the
|
116
|
+
# appropriate versioned client will be returned.
|
117
|
+
#
|
118
|
+
# ## About FeatureOnlineStoreAdminService
|
119
|
+
#
|
120
|
+
# The service that handles CRUD and List for resources for
|
121
|
+
# FeatureOnlineStore.
|
122
|
+
#
|
123
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
124
|
+
# Defaults to `:v1`.
|
125
|
+
# @return [::Object] A client object for the specified version.
|
126
|
+
#
|
127
|
+
def self.feature_online_store_admin_service version: :v1, &block
|
128
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
129
|
+
|
130
|
+
package_name = Google::Cloud::AIPlatform
|
131
|
+
.constants
|
132
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
133
|
+
.first
|
134
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:FeatureOnlineStoreAdminService)
|
135
|
+
service_module.const_get(:Client).new(&block)
|
136
|
+
end
|
137
|
+
|
107
138
|
##
|
108
139
|
# Create a new client object for FeaturestoreOnlineServingService.
|
109
140
|
#
|
@@ -134,6 +165,32 @@ module Google
|
|
134
165
|
service_module.const_get(:Client).new(&block)
|
135
166
|
end
|
136
167
|
|
168
|
+
##
|
169
|
+
# Create a new client object for FeatureOnlineStoreService.
|
170
|
+
#
|
171
|
+
# By default, this returns an instance of
|
172
|
+
# [Google::Cloud::AIPlatform::V1::FeatureOnlineStoreService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-FeatureOnlineStoreService-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
|
+
# `version` parameter. If the FeatureOnlineStoreService service is
|
176
|
+
# supported by that API version, and the corresponding gem is available, the
|
177
|
+
# appropriate versioned client will be returned.
|
178
|
+
#
|
179
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
180
|
+
# Defaults to `:v1`.
|
181
|
+
# @return [::Object] A client object for the specified version.
|
182
|
+
#
|
183
|
+
def self.feature_online_store_service version: :v1, &block
|
184
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
185
|
+
|
186
|
+
package_name = Google::Cloud::AIPlatform
|
187
|
+
.constants
|
188
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
189
|
+
.first
|
190
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:FeatureOnlineStoreService)
|
191
|
+
service_module.const_get(:Client).new(&block)
|
192
|
+
end
|
193
|
+
|
137
194
|
##
|
138
195
|
# Create a new client object for FeaturestoreService.
|
139
196
|
#
|
@@ -164,6 +221,37 @@ module Google
|
|
164
221
|
service_module.const_get(:Client).new(&block)
|
165
222
|
end
|
166
223
|
|
224
|
+
##
|
225
|
+
# Create a new client object for FeatureRegistryService.
|
226
|
+
#
|
227
|
+
# By default, this returns an instance of
|
228
|
+
# [Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-FeatureRegistryService-Client)
|
229
|
+
# for a gRPC client for version V1 of the API.
|
230
|
+
# However, you can specify a different API version by passing it in the
|
231
|
+
# `version` parameter. If the FeatureRegistryService service is
|
232
|
+
# supported by that API version, and the corresponding gem is available, the
|
233
|
+
# appropriate versioned client will be returned.
|
234
|
+
#
|
235
|
+
# ## About FeatureRegistryService
|
236
|
+
#
|
237
|
+
# The service that handles CRUD and List for resources for
|
238
|
+
# FeatureRegistry.
|
239
|
+
#
|
240
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
241
|
+
# Defaults to `:v1`.
|
242
|
+
# @return [::Object] A client object for the specified version.
|
243
|
+
#
|
244
|
+
def self.feature_registry_service version: :v1, &block
|
245
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
246
|
+
|
247
|
+
package_name = Google::Cloud::AIPlatform
|
248
|
+
.constants
|
249
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
250
|
+
.first
|
251
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:FeatureRegistryService)
|
252
|
+
service_module.const_get(:Client).new(&block)
|
253
|
+
end
|
254
|
+
|
167
255
|
##
|
168
256
|
# Create a new client object for IndexEndpointService.
|
169
257
|
#
|
@@ -254,6 +342,66 @@ module Google
|
|
254
342
|
service_module.const_get(:Client).new(&block)
|
255
343
|
end
|
256
344
|
|
345
|
+
##
|
346
|
+
# Create a new client object for PredictionService.
|
347
|
+
#
|
348
|
+
# By default, this returns an instance of
|
349
|
+
# [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)
|
350
|
+
# for a gRPC client for version V1 of the API.
|
351
|
+
# However, you can specify a different API version by passing it in the
|
352
|
+
# `version` parameter. If the PredictionService service is
|
353
|
+
# supported by that API version, and the corresponding gem is available, the
|
354
|
+
# appropriate versioned client will be returned.
|
355
|
+
#
|
356
|
+
# ## About PredictionService
|
357
|
+
#
|
358
|
+
# A service for online predictions and explanations.
|
359
|
+
#
|
360
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
361
|
+
# Defaults to `:v1`.
|
362
|
+
# @return [::Object] A client object for the specified version.
|
363
|
+
#
|
364
|
+
def self.prediction_service version: :v1, &block
|
365
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
366
|
+
|
367
|
+
package_name = Google::Cloud::AIPlatform
|
368
|
+
.constants
|
369
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
370
|
+
.first
|
371
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:PredictionService)
|
372
|
+
service_module.const_get(:Client).new(&block)
|
373
|
+
end
|
374
|
+
|
375
|
+
##
|
376
|
+
# Create a new client object for LlmUtilityService.
|
377
|
+
#
|
378
|
+
# By default, this returns an instance of
|
379
|
+
# [Google::Cloud::AIPlatform::V1::LlmUtilityService::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest/Google-Cloud-AIPlatform-V1-LlmUtilityService-Client)
|
380
|
+
# for a gRPC client for version V1 of the API.
|
381
|
+
# However, you can specify a different API version by passing it in the
|
382
|
+
# `version` parameter. If the LlmUtilityService service is
|
383
|
+
# supported by that API version, and the corresponding gem is available, the
|
384
|
+
# appropriate versioned client will be returned.
|
385
|
+
#
|
386
|
+
# ## About LlmUtilityService
|
387
|
+
#
|
388
|
+
# Service for LLM related utility functions.
|
389
|
+
#
|
390
|
+
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
391
|
+
# Defaults to `:v1`.
|
392
|
+
# @return [::Object] A client object for the specified version.
|
393
|
+
#
|
394
|
+
def self.llm_utility_service version: :v1, &block
|
395
|
+
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
396
|
+
|
397
|
+
package_name = Google::Cloud::AIPlatform
|
398
|
+
.constants
|
399
|
+
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
400
|
+
.first
|
401
|
+
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:LlmUtilityService)
|
402
|
+
service_module.const_get(:Client).new(&block)
|
403
|
+
end
|
404
|
+
|
257
405
|
##
|
258
406
|
# Create a new client object for MatchService.
|
259
407
|
#
|
@@ -438,36 +586,6 @@ module Google
|
|
438
586
|
service_module.const_get(:Client).new(&block)
|
439
587
|
end
|
440
588
|
|
441
|
-
##
|
442
|
-
# Create a new client object for PredictionService.
|
443
|
-
#
|
444
|
-
# By default, this returns an instance of
|
445
|
-
# [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)
|
446
|
-
# for a gRPC client for version V1 of the API.
|
447
|
-
# However, you can specify a different API version by passing it in the
|
448
|
-
# `version` parameter. If the PredictionService service is
|
449
|
-
# supported by that API version, and the corresponding gem is available, the
|
450
|
-
# appropriate versioned client will be returned.
|
451
|
-
#
|
452
|
-
# ## About PredictionService
|
453
|
-
#
|
454
|
-
# A service for online predictions and explanations.
|
455
|
-
#
|
456
|
-
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
457
|
-
# Defaults to `:v1`.
|
458
|
-
# @return [::Object] A client object for the specified version.
|
459
|
-
#
|
460
|
-
def self.prediction_service version: :v1, &block
|
461
|
-
require "google/cloud/ai_platform/#{version.to_s.downcase}"
|
462
|
-
|
463
|
-
package_name = Google::Cloud::AIPlatform
|
464
|
-
.constants
|
465
|
-
.select { |sym| sym.to_s.downcase == version.to_s.downcase.tr("_", "") }
|
466
|
-
.first
|
467
|
-
service_module = Google::Cloud::AIPlatform.const_get(package_name).const_get(:PredictionService)
|
468
|
-
service_module.const_get(:Client).new(&block)
|
469
|
-
end
|
470
|
-
|
471
589
|
##
|
472
590
|
# Create a new client object for ScheduleService.
|
473
591
|
#
|
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: 1.
|
4
|
+
version: 1.1.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: 2023-
|
11
|
+
date: 2023-12-08 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.
|
19
|
+
version: '0.35'
|
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.
|
29
|
+
version: '0.35'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
190
|
- !ruby/object:Gem::Version
|
191
191
|
version: '0'
|
192
192
|
requirements: []
|
193
|
-
rubygems_version: 3.4.
|
193
|
+
rubygems_version: 3.4.19
|
194
194
|
signing_key:
|
195
195
|
specification_version: 4
|
196
196
|
summary: API Client library for the Vertex AI API
|