google-apis-ml_v1 0.7.0 → 0.11.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: da38ccb9e00ba64fdee8ae1552233ff5c580a44640b3ff0a6a90d9f834fc1cda
4
- data.tar.gz: b9dc9913a8f1db9426a9a90db74ba6f6faad4f0763869efdd838205de9d583fa
3
+ metadata.gz: 91b09db5f2fb3594ae7ea9e67421f26fd62ae36a0e953917aea071c2483eb6b8
4
+ data.tar.gz: 8a729fa396bad1028b2d4f4a34bf7a5985c94b69b1b38394b51fb5149ea1f718
5
5
  SHA512:
6
- metadata.gz: 7edd04417f6bfb1840fdaff1c141225dec207dd32afee3ed0b7c9c3eb87443f7193792f70210fb5fac7b21a003d4d733a3182d1917748f0c5fdaca47edfb74bb
7
- data.tar.gz: d79cd04701c300ad2fa10e41ba2963acf8845050ed610eb15b21ad3e84880eb7363a31ebf7d23493face9dcfac616b3a61822a97fdb387fb8d25e2aa3028fac4
6
+ metadata.gz: b4b26ec069d869b94aadbbb815d5e211bc3f247b966963db94b9015d34a3d27fcd0dee881b474c555192f668a3a94668ba6a1a33d6b764d39c9d3a53c1e9256c
7
+ data.tar.gz: da78f83d963aae9aa383b49130f3de6f0d8ae49a32907ed4973fa1ec1734525fc377f9cc132f367355d9e4d51b2a30bcd9180fff35892bed8d27abe438ec5ddb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-ml_v1
2
2
 
3
+ ### v0.11.0 (2021-08-03)
4
+
5
+ * Regenerated from discovery document revision 20210729
6
+
7
+ ### v0.10.0 (2021-07-20)
8
+
9
+ * Regenerated from discovery document revision 20210709
10
+
11
+ ### v0.9.0 (2021-06-29)
12
+
13
+ * Regenerated using generator version 0.4.0
14
+
15
+ ### v0.8.0 (2021-06-24)
16
+
17
+ * Regenerated from discovery document revision 20210611
18
+ * Regenerated using generator version 0.3.0
19
+
3
20
  ### v0.7.0 (2021-05-19)
4
21
 
5
22
  * Unspecified changes
@@ -1208,6 +1208,17 @@ module Google
1208
1208
  # @return [String]
1209
1209
  attr_accessor :trial_id
1210
1210
 
1211
+ # URIs for accessing [interactive shells](https://cloud.google.com/ai-platform/
1212
+ # training/docs/monitor-debug-interactive-shell) (one URI for each training node)
1213
+ # . Only available if this trial is part of a hyperparameter tuning job and the
1214
+ # job's training_input.enable_web_access is `true`. The keys are names of each
1215
+ # node in the training job; for example, `master-replica-0` for the master node,
1216
+ # `worker-replica-0` for the first worker, and `ps-replica-0` for the first
1217
+ # parameter server. The values are the URIs for each node's interactive shell.
1218
+ # Corresponds to the JSON property `webAccessUris`
1219
+ # @return [Hash<String,String>]
1220
+ attr_accessor :web_access_uris
1221
+
1211
1222
  def initialize(**args)
1212
1223
  update!(**args)
1213
1224
  end
@@ -1223,6 +1234,7 @@ module Google
1223
1234
  @start_time = args[:start_time] if args.key?(:start_time)
1224
1235
  @state = args[:state] if args.key?(:state)
1225
1236
  @trial_id = args[:trial_id] if args.key?(:trial_id)
1237
+ @web_access_uris = args[:web_access_uris] if args.key?(:web_access_uris)
1226
1238
  end
1227
1239
  end
1228
1240
 
@@ -2367,6 +2379,14 @@ module Google
2367
2379
  # @return [String]
2368
2380
  attr_accessor :max_wait_time
2369
2381
 
2382
+ # Optional. Job scheduling will be based on this priority, which in the range [0,
2383
+ # 1000]. The bigger the number, the higher the priority. Default to 0 if not
2384
+ # set. If there are multiple jobs requesting same type of accelerators, the high
2385
+ # priority job will be scheduled prior to ones with low priority.
2386
+ # Corresponds to the JSON property `priority`
2387
+ # @return [Fixnum]
2388
+ attr_accessor :priority
2389
+
2370
2390
  def initialize(**args)
2371
2391
  update!(**args)
2372
2392
  end
@@ -2375,6 +2395,7 @@ module Google
2375
2395
  def update!(**args)
2376
2396
  @max_running_time = args[:max_running_time] if args.key?(:max_running_time)
2377
2397
  @max_wait_time = args[:max_wait_time] if args.key?(:max_wait_time)
2398
+ @priority = args[:priority] if args.key?(:priority)
2378
2399
  end
2379
2400
  end
2380
2401
 
@@ -2605,6 +2626,16 @@ module Google
2605
2626
  # @return [Array<String>]
2606
2627
  attr_accessor :args
2607
2628
 
2629
+ # Optional. Whether you want AI Platform Training to enable [interactive shell
2630
+ # access](https://cloud.google.com/ai-platform/training/docs/monitor-debug-
2631
+ # interactive-shell) to training containers. If set to `true`, you can access
2632
+ # interactive shells at the URIs given by TrainingOutput.web_access_uris or
2633
+ # HyperparameterOutput.web_access_uris (within TrainingOutput.trials).
2634
+ # Corresponds to the JSON property `enableWebAccess`
2635
+ # @return [Boolean]
2636
+ attr_accessor :enable_web_access
2637
+ alias_method :enable_web_access?, :enable_web_access
2638
+
2608
2639
  # Represents a custom encryption key configuration that can be applied to a
2609
2640
  # resource.
2610
2641
  # Corresponds to the JSON property `encryptionConfig`
@@ -2808,6 +2839,7 @@ module Google
2808
2839
  # Update properties of this object
2809
2840
  def update!(**args)
2810
2841
  @args = args[:args] if args.key?(:args)
2842
+ @enable_web_access = args[:enable_web_access] if args.key?(:enable_web_access)
2811
2843
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
2812
2844
  @evaluator_config = args[:evaluator_config] if args.key?(:evaluator_config)
2813
2845
  @evaluator_count = args[:evaluator_count] if args.key?(:evaluator_count)
@@ -2881,6 +2913,17 @@ module Google
2881
2913
  # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput>]
2882
2914
  attr_accessor :trials
2883
2915
 
2916
+ # Output only. URIs for accessing [interactive shells](https://cloud.google.com/
2917
+ # ai-platform/training/docs/monitor-debug-interactive-shell) (one URI for each
2918
+ # training node). Only available if training_input.enable_web_access is `true`.
2919
+ # The keys are names of each node in the training job; for example, `master-
2920
+ # replica-0` for the master node, `worker-replica-0` for the first worker, and `
2921
+ # ps-replica-0` for the first parameter server. The values are the URIs for each
2922
+ # node's interactive shell.
2923
+ # Corresponds to the JSON property `webAccessUris`
2924
+ # @return [Hash<String,String>]
2925
+ attr_accessor :web_access_uris
2926
+
2884
2927
  def initialize(**args)
2885
2928
  update!(**args)
2886
2929
  end
@@ -2894,6 +2937,7 @@ module Google
2894
2937
  @is_built_in_algorithm_job = args[:is_built_in_algorithm_job] if args.key?(:is_built_in_algorithm_job)
2895
2938
  @is_hyperparameter_tuning_job = args[:is_hyperparameter_tuning_job] if args.key?(:is_hyperparameter_tuning_job)
2896
2939
  @trials = args[:trials] if args.key?(:trials)
2940
+ @web_access_uris = args[:web_access_uris] if args.key?(:web_access_uris)
2897
2941
  end
2898
2942
  end
2899
2943
 
@@ -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.7.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210326"
25
+ REVISION = "20210729"
26
26
  end
27
27
  end
28
28
  end
@@ -860,6 +860,7 @@ module Google
860
860
  property :start_time, as: 'startTime'
861
861
  property :state, as: 'state'
862
862
  property :trial_id, as: 'trialId'
863
+ hash :web_access_uris, as: 'webAccessUris'
863
864
  end
864
865
  end
865
866
 
@@ -1130,6 +1131,7 @@ module Google
1130
1131
  class Representation < Google::Apis::Core::JsonRepresentation
1131
1132
  property :max_running_time, as: 'maxRunningTime'
1132
1133
  property :max_wait_time, as: 'maxWaitTime'
1134
+ property :priority, as: 'priority'
1133
1135
  end
1134
1136
  end
1135
1137
 
@@ -1203,6 +1205,7 @@ module Google
1203
1205
  # @private
1204
1206
  class Representation < Google::Apis::Core::JsonRepresentation
1205
1207
  collection :args, as: 'args'
1208
+ property :enable_web_access, as: 'enableWebAccess'
1206
1209
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::MlV1::GoogleCloudMlV1EncryptionConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1EncryptionConfig::Representation
1207
1210
 
1208
1211
  property :evaluator_config, as: 'evaluatorConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig::Representation
@@ -1249,6 +1252,7 @@ module Google
1249
1252
  property :is_hyperparameter_tuning_job, as: 'isHyperparameterTuningJob'
1250
1253
  collection :trials, as: 'trials', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput::Representation
1251
1254
 
1255
+ hash :web_access_uris, as: 'webAccessUris'
1252
1256
  end
1253
1257
  end
1254
1258
 
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-ml_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.11.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-05-24 00:00:00.000000000 Z
11
+ date: 2021-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for AI Platform Training & Prediction
28
34
  API V1. Simple REST clients are Ruby client libraries that provide access to Google
29
35
  services via their HTTP REST API endpoints. These libraries are generated and updated
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  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.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-ml_v1/v0.11.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ml_v1
57
63
  post_install_message:
58
64
  rdoc_options: []