google-apis-ml_v1 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/ml_v1.rb +1 -1
- data/lib/google/apis/ml_v1/classes.rb +34 -29
- data/lib/google/apis/ml_v1/gem_version.rb +3 -3
- data/lib/google/apis/ml_v1/representations.rb +2 -0
- 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: 536b667343d658b1a636e9640772946e566df25195ca727728e15aa773311609
|
4
|
+
data.tar.gz: 91f8f6c51e56a1fa0e77dbff61e9ec0d96bbeee8f0a4df9beadbfac68a7396f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 834e4034947db16fb5689e48eea704ebc16a6405a059e353871b38072de81f3440ea947a26599fc0fdc40deeb4bbff08b056ce919882f8679d160f8af1d887d5
|
7
|
+
data.tar.gz: 53a481ad10e46cba554ae80ac5b39239b6b01e80727cb466f4bed339267ff7329b70b0ef285b0ed50a858afe6d8e877550be14734c5caecb339dbe3aa8632970
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-ml_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-04-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210326
|
6
|
+
* Regenerated using generator version 0.2.0
|
7
|
+
|
8
|
+
### v0.5.0 (2021-03-04)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.4.0 (2021-02-17)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210212
|
15
|
+
|
16
|
+
### v0.3.0 (2021-02-11)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210209
|
19
|
+
* Regenerated using generator version 0.1.2
|
20
|
+
|
21
|
+
### v0.2.0 (2021-01-13)
|
22
|
+
|
23
|
+
* Regenerated from discovery document revision 20210109
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
data/lib/google/apis/ml_v1.rb
CHANGED
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
#
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
|
35
35
|
# View your data across Google Cloud Platform services
|
@@ -543,9 +543,7 @@ module Google
|
|
543
543
|
# incurred until traffic to the model resumes. If `min_nodes` is not specified
|
544
544
|
# and AutoScaling is used with a [Compute Engine (N1) machine type](/ml-engine/
|
545
545
|
# docs/machine-types-online-prediction), `min_nodes` defaults to 1. `min_nodes`
|
546
|
-
# must be at least 1 for use with a Compute Engine machine type.
|
547
|
-
# cannot use AutoScaling if your version uses [GPUs](#Version.FIELDS.
|
548
|
-
# accelerator_config). Instead, you must use ManualScaling. You can set `
|
546
|
+
# must be at least 1 for use with a Compute Engine machine type. You can set `
|
549
547
|
# min_nodes` when creating the model version, and you can also update `min_nodes`
|
550
548
|
# for an existing version: update_body.json: ` 'autoScaling': ` 'minNodes': 5 `
|
551
549
|
# ` HTTP request: PATCH https://ml.googleapis.com/v1/`name=projects/*/models/*/
|
@@ -970,7 +968,7 @@ module Google
|
|
970
968
|
# @return [Fixnum]
|
971
969
|
attr_accessor :boot_disk_size_gb
|
972
970
|
|
973
|
-
# Type of the boot disk (default is "pd-
|
971
|
+
# Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (
|
974
972
|
# Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk
|
975
973
|
# Drive).
|
976
974
|
# Corresponds to the JSON property `bootDiskType`
|
@@ -2657,22 +2655,14 @@ module Google
|
|
2657
2655
|
|
2658
2656
|
# Optional. Specifies the type of virtual machine to use for your training job's
|
2659
2657
|
# master worker. You must specify this field when `scaleTier` is set to `CUSTOM`.
|
2660
|
-
# You can use certain Compute Engine machine types directly in this field.
|
2661
|
-
#
|
2662
|
-
#
|
2663
|
-
#
|
2664
|
-
#
|
2665
|
-
#
|
2666
|
-
#
|
2667
|
-
#
|
2668
|
-
# large_model` - `complex_model_s` - `complex_model_m` - `complex_model_l` - `
|
2669
|
-
# standard_gpu` - `complex_model_m_gpu` - `complex_model_l_gpu` - `standard_p100`
|
2670
|
-
# - `complex_model_m_p100` - `standard_v100` - `large_model_v100` - `
|
2671
|
-
# complex_model_m_v100` - `complex_model_l_v100` Learn more about [using legacy
|
2672
|
-
# machine types](/ml-engine/docs/machine-types#legacy-machine-types). Finally,
|
2673
|
-
# if you want to use a TPU for training, specify `cloud_tpu` in this field.
|
2674
|
-
# Learn more about the [special configuration options for training with TPUs](/
|
2675
|
-
# ml-engine/docs/tensorflow/using-tpus#configuring_a_custom_tpu_machine).
|
2658
|
+
# You can use certain Compute Engine machine types directly in this field. See
|
2659
|
+
# the [list of compatible Compute Engine machine types](/ai-platform/training/
|
2660
|
+
# docs/machine-types#compute-engine-machine-types). Alternatively, you can use
|
2661
|
+
# the certain legacy machine types in this field. See the [list of legacy
|
2662
|
+
# machine types](/ai-platform/training/docs/machine-types#legacy-machine-types).
|
2663
|
+
# Finally, if you want to use a TPU for training, specify `cloud_tpu` in this
|
2664
|
+
# field. Learn more about the [special configuration options for training with
|
2665
|
+
# TPUs](/ai-platform/training/docs/using-tpus#configuring_a_custom_tpu_machine).
|
2676
2666
|
# Corresponds to the JSON property `masterType`
|
2677
2667
|
# @return [String]
|
2678
2668
|
attr_accessor :master_type
|
@@ -3090,21 +3080,34 @@ module Google
|
|
3090
3080
|
# @return [Hash<String,String>]
|
3091
3081
|
attr_accessor :labels
|
3092
3082
|
|
3083
|
+
# Output only. The [AI Platform (Unified) `Model`](https://cloud.google.com/ai-
|
3084
|
+
# platform-unified/docs/reference/rest/v1beta1/projects.locations.models) ID for
|
3085
|
+
# the last [model migration](https://cloud.google.com/ai-platform-unified/docs/
|
3086
|
+
# start/migrating-to-ai-platform-unified).
|
3087
|
+
# Corresponds to the JSON property `lastMigrationModelId`
|
3088
|
+
# @return [String]
|
3089
|
+
attr_accessor :last_migration_model_id
|
3090
|
+
|
3091
|
+
# Output only. The last time this version was successfully [migrated to AI
|
3092
|
+
# Platform (Unified)](https://cloud.google.com/ai-platform-unified/docs/start/
|
3093
|
+
# migrating-to-ai-platform-unified).
|
3094
|
+
# Corresponds to the JSON property `lastMigrationTime`
|
3095
|
+
# @return [String]
|
3096
|
+
attr_accessor :last_migration_time
|
3097
|
+
|
3093
3098
|
# Output only. The time the version was last used for prediction.
|
3094
3099
|
# Corresponds to the JSON property `lastUseTime`
|
3095
3100
|
# @return [String]
|
3096
3101
|
attr_accessor :last_use_time
|
3097
3102
|
|
3098
3103
|
# Optional. The type of machine on which to serve the model. Currently only
|
3099
|
-
# applies to online prediction service.
|
3100
|
-
#
|
3101
|
-
# types
|
3102
|
-
#
|
3103
|
-
#
|
3104
|
-
#
|
3105
|
-
#
|
3106
|
-
# about the [differences between machine types](/ml-engine/docs/machine-types-
|
3107
|
-
# online-prediction).
|
3104
|
+
# applies to online prediction service. To learn about valid values for this
|
3105
|
+
# field, read [Choosing a machine type for online prediction](/ai-platform/
|
3106
|
+
# prediction/docs/machine-types-online-prediction). If this field is not
|
3107
|
+
# specified and you are using a [regional endpoint](/ai-platform/prediction/docs/
|
3108
|
+
# regional-endpoints), then the machine type defaults to `n1-standard-2`. If
|
3109
|
+
# this field is not specified and you are using the global endpoint (`ml.
|
3110
|
+
# googleapis.com`), then the machine type defaults to `mls1-c1-m2`.
|
3108
3111
|
# Corresponds to the JSON property `machineType`
|
3109
3112
|
# @return [String]
|
3110
3113
|
attr_accessor :machine_type
|
@@ -3234,6 +3237,8 @@ module Google
|
|
3234
3237
|
@framework = args[:framework] if args.key?(:framework)
|
3235
3238
|
@is_default = args[:is_default] if args.key?(:is_default)
|
3236
3239
|
@labels = args[:labels] if args.key?(:labels)
|
3240
|
+
@last_migration_model_id = args[:last_migration_model_id] if args.key?(:last_migration_model_id)
|
3241
|
+
@last_migration_time = args[:last_migration_time] if args.key?(:last_migration_time)
|
3237
3242
|
@last_use_time = args[:last_use_time] if args.key?(:last_use_time)
|
3238
3243
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
3239
3244
|
@manual_scaling = args[:manual_scaling] if args.key?(:manual_scaling)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MlV1
|
18
18
|
# Version of the google-apis-ml_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210326"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1290,6 +1290,8 @@ module Google
|
|
1290
1290
|
property :framework, as: 'framework'
|
1291
1291
|
property :is_default, as: 'isDefault'
|
1292
1292
|
hash :labels, as: 'labels'
|
1293
|
+
property :last_migration_model_id, as: 'lastMigrationModelId'
|
1294
|
+
property :last_migration_time, as: 'lastMigrationTime'
|
1293
1295
|
property :last_use_time, as: 'lastUseTime'
|
1294
1296
|
property :machine_type, as: 'machineType'
|
1295
1297
|
property :manual_scaling, as: 'manualScaling', class: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling, decorator: Google::Apis::MlV1::GoogleCloudMlV1ManualScaling::Representation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-ml_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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: 2021-
|
11
|
+
date: 2021-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ml_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ml_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ml_v1/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ml_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for AI Platform Training & Prediction API V1
|