google-apis-ml_v1 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e416c8eb7b4db4a4db71c0d9347711bbb1d7f5dc76b5efdeb353aa910ed54727
4
- data.tar.gz: a8b8b01acdcdac792a7b0e72867351fb1ddec4d9d4e089f7b3a739a17cc915cf
3
+ metadata.gz: 94ffcb397248b34a0bc750f1b29b3536abd41ee5a29f2372e97e8741849bec85
4
+ data.tar.gz: 2f9f4a24a9bfcae22d12b02c7a67c4ead7e4e93f9c797c9211eb78811feb1f3b
5
5
  SHA512:
6
- metadata.gz: cbfaa1a12f92458200f062e8c856245c673f934ec05a9fb83dac48c70e8e309067419af347224721c1663ef20e0b25763922ddd090d3788cb688183c8141c9b6
7
- data.tar.gz: fa0637774a835ce417fbb008f3a69e1e766d3b94fec583c09523f6639d1596b1ad5c1c39e7cff5a757ab647a0eee6e1b581d1874cd6ac11ec997e0d92720929d
6
+ metadata.gz: 60c89b8112312a94f1e91bd4386b61b6915d16e92616f3b62fb559999d9588aba093afd1035f77f6da50d99bde51127fc73dc1700479d39f3179efac79673d44
7
+ data.tar.gz: bbd9ef90b9c7b5a35450069a95a9456dae049e8eeeafc574b34f294dd68c0fa634fdd960b9034c6e339889c63d518b343588171d059ff973407abdc63d3ef757
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-ml_v1
2
2
 
3
+ ### v0.2.0 (2021-01-13)
4
+
5
+ * Regenerated from discovery document revision 20210109
6
+
3
7
  ### v0.1.0 (2021-01-07)
4
8
 
5
9
  * Regenerated using generator version 0.1.1
@@ -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. Note that you
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/*/
@@ -3090,21 +3088,34 @@ module Google
3090
3088
  # @return [Hash<String,String>]
3091
3089
  attr_accessor :labels
3092
3090
 
3091
+ # Output only. The [AI Platform (Unified) `Model`](https://cloud.google.com/ai-
3092
+ # platform-unified/docs/reference/rest/v1beta1/projects.locations.models) ID for
3093
+ # the last [model migration](https://cloud.google.com/ai-platform-unified/docs/
3094
+ # start/migrating-to-ai-platform-unified).
3095
+ # Corresponds to the JSON property `lastMigrationModelId`
3096
+ # @return [String]
3097
+ attr_accessor :last_migration_model_id
3098
+
3099
+ # Output only. The last time this version was successfully [migrated to AI
3100
+ # Platform (Unified)](https://cloud.google.com/ai-platform-unified/docs/start/
3101
+ # migrating-to-ai-platform-unified).
3102
+ # Corresponds to the JSON property `lastMigrationTime`
3103
+ # @return [String]
3104
+ attr_accessor :last_migration_time
3105
+
3093
3106
  # Output only. The time the version was last used for prediction.
3094
3107
  # Corresponds to the JSON property `lastUseTime`
3095
3108
  # @return [String]
3096
3109
  attr_accessor :last_use_time
3097
3110
 
3098
3111
  # Optional. The type of machine on which to serve the model. Currently only
3099
- # applies to online prediction service. If this field is not specified, it
3100
- # defaults to `mls1-c1-m2`. Online prediction supports the following machine
3101
- # types: * `mls1-c1-m2` * `mls1-c4-m2` * `n1-standard-2` * `n1-standard-4` * `n1-
3102
- # standard-8` * `n1-standard-16` * `n1-standard-32` * `n1-highmem-2` * `n1-
3103
- # highmem-4` * `n1-highmem-8` * `n1-highmem-16` * `n1-highmem-32` * `n1-highcpu-
3104
- # 2` * `n1-highcpu-4` * `n1-highcpu-8` * `n1-highcpu-16` * `n1-highcpu-32` `mls1-
3105
- # c4-m2` is in beta. All other machine types are generally available. Learn more
3106
- # about the [differences between machine types](/ml-engine/docs/machine-types-
3107
- # online-prediction).
3112
+ # applies to online prediction service. To learn about valid values for this
3113
+ # field, read [Choosing a machine type for online prediction](/ai-platform/
3114
+ # prediction/docs/machine-types-online-prediction). If this field is not
3115
+ # specified and you are using a [regional endpoint](/ai-platform/prediction/docs/
3116
+ # regional-endpoints), then the machine type defaults to `n1-standard-2`. If
3117
+ # this field is not specified and you are using the global endpoint (`ml.
3118
+ # googleapis.com`), then the machine type defaults to `mls1-c1-m2`.
3108
3119
  # Corresponds to the JSON property `machineType`
3109
3120
  # @return [String]
3110
3121
  attr_accessor :machine_type
@@ -3234,6 +3245,8 @@ module Google
3234
3245
  @framework = args[:framework] if args.key?(:framework)
3235
3246
  @is_default = args[:is_default] if args.key?(:is_default)
3236
3247
  @labels = args[:labels] if args.key?(:labels)
3248
+ @last_migration_model_id = args[:last_migration_model_id] if args.key?(:last_migration_model_id)
3249
+ @last_migration_time = args[:last_migration_time] if args.key?(:last_migration_time)
3237
3250
  @last_use_time = args[:last_use_time] if args.key?(:last_use_time)
3238
3251
  @machine_type = args[:machine_type] if args.key?(:machine_type)
3239
3252
  @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.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.1.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201207"
25
+ REVISION = "20210109"
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.1.0
4
+ version: 0.2.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-08 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.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ml_v1/v0.2.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: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for AI Platform Training & Prediction API V1