google-apis-ml_v1 0.13.0 → 0.17.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 +16 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/ml_v1/classes.rb +70 -57
- data/lib/google/apis/ml_v1/gem_version.rb +2 -2
- data/lib/google/apis/ml_v1/representations.rb +1 -0
- data/lib/google/apis/ml_v1/service.rb +20 -14
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ecffd71d52cdf046f027008fc56f00e9dfa88180546badec9e75b0593f7be7a
|
4
|
+
data.tar.gz: 7949fcfce9df524723826db797915d57214aa6a599dbca26d779611e1e062183
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6d023e645c31a6681f6076351b9e9685efe14b23d3d0c358ec40936a29abc7aab53108bc122ee70a90335ec4994019ccf030a01f6cbcd71de903aab12dc33ca
|
7
|
+
data.tar.gz: c7e1259a3aabb2e7324c2f47dde03f930442562a39cc5ca20b4863ce2dab73b7c29ee0f09845c36aaec207f9ecfc63321f829a6e1913ea0cb9d97e00c719f258
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-ml_v1
|
2
2
|
|
3
|
+
### v0.17.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.16.0 (2021-11-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211112
|
10
|
+
|
11
|
+
### v0.15.0 (2021-10-30)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211022
|
14
|
+
|
15
|
+
### v0.14.0 (2021-10-21)
|
16
|
+
|
17
|
+
* Unspecified changes
|
18
|
+
|
3
19
|
### v0.13.0 (2021-08-25)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210816
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/ml_v1"
|
|
51
51
|
client = Google::Apis::MlV1::CloudMachineLearningEngineService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Ml service in particular.)
|
67
67
|
|
@@ -1384,6 +1384,13 @@ module Google
|
|
1384
1384
|
# @return [String]
|
1385
1385
|
attr_accessor :job_id
|
1386
1386
|
|
1387
|
+
# Output only. It's only effect when the job is in QUEUED state. If it's
|
1388
|
+
# positive, it indicates the job's position in the job scheduler. It's 0 when
|
1389
|
+
# the job is already scheduled.
|
1390
|
+
# Corresponds to the JSON property `jobPosition`
|
1391
|
+
# @return [Fixnum]
|
1392
|
+
attr_accessor :job_position
|
1393
|
+
|
1387
1394
|
# Optional. One or more labels that you can add, to organize your jobs. Each
|
1388
1395
|
# label is a key-value pair, where both the key and the value are arbitrary
|
1389
1396
|
# strings that you supply. For more information, see the documentation on using
|
@@ -1437,6 +1444,7 @@ module Google
|
|
1437
1444
|
@error_message = args[:error_message] if args.key?(:error_message)
|
1438
1445
|
@etag = args[:etag] if args.key?(:etag)
|
1439
1446
|
@job_id = args[:job_id] if args.key?(:job_id)
|
1447
|
+
@job_position = args[:job_position] if args.key?(:job_position)
|
1440
1448
|
@labels = args[:labels] if args.key?(:labels)
|
1441
1449
|
@prediction_input = args[:prediction_input] if args.key?(:prediction_input)
|
1442
1450
|
@prediction_output = args[:prediction_output] if args.key?(:prediction_output)
|
@@ -3393,7 +3401,7 @@ module Google
|
|
3393
3401
|
end
|
3394
3402
|
end
|
3395
3403
|
|
3396
|
-
# Associates `members
|
3404
|
+
# Associates `members`, or principals, with a `role`.
|
3397
3405
|
class GoogleIamV1Binding
|
3398
3406
|
include Google::Apis::Core::Hashable
|
3399
3407
|
|
@@ -3416,7 +3424,7 @@ module Google
|
|
3416
3424
|
# @return [Google::Apis::MlV1::GoogleTypeExpr]
|
3417
3425
|
attr_accessor :condition
|
3418
3426
|
|
3419
|
-
# Specifies the
|
3427
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
3420
3428
|
# members` can have the following values: * `allUsers`: A special identifier
|
3421
3429
|
# that represents anyone who is on the internet; with or without a Google
|
3422
3430
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -3446,8 +3454,8 @@ module Google
|
|
3446
3454
|
# @return [Array<String>]
|
3447
3455
|
attr_accessor :members
|
3448
3456
|
|
3449
|
-
# Role that is assigned to `members
|
3450
|
-
#
|
3457
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
3458
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
3451
3459
|
# Corresponds to the JSON property `role`
|
3452
3460
|
# @return [String]
|
3453
3461
|
attr_accessor :role
|
@@ -3466,31 +3474,31 @@ module Google
|
|
3466
3474
|
|
3467
3475
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3468
3476
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3469
|
-
# A `binding` binds one or more `members
|
3470
|
-
# user accounts, service accounts, Google groups, and domains (
|
3471
|
-
# A `role` is a named list of permissions; each `role` can be
|
3472
|
-
# role or a user-created custom role. For some types of Google
|
3473
|
-
# a `binding` can also specify a `condition`, which is a
|
3474
|
-
# allows access to a resource only if the expression
|
3475
|
-
# condition can add constraints based on attributes of
|
3476
|
-
# or both. To learn which resources support
|
3477
|
-
# see the [IAM documentation](https://cloud.
|
3478
|
-
# resource-policies). **JSON example:** ` "
|
3479
|
-
# resourcemanager.organizationAdmin", "members": [
|
3480
|
-
# group:admins@example.com", "domain:google.com", "
|
3481
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
3482
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
3483
|
-
# title": "expirable access", "description": "Does not grant
|
3484
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3485
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3486
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
3487
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3488
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
3489
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
3490
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
3491
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3492
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
3493
|
-
# google.com/iam/docs/).
|
3477
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
3478
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
3479
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
3480
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
3481
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
3482
|
+
# logical expression that allows access to a resource only if the expression
|
3483
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
3484
|
+
# the request, the resource, or both. To learn which resources support
|
3485
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3486
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3487
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3488
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3489
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3490
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3491
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3492
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3493
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3494
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
3495
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3496
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
3497
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
3498
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
3499
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3500
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
3501
|
+
# cloud.google.com/iam/docs/).
|
3494
3502
|
class GoogleIamV1Policy
|
3495
3503
|
include Google::Apis::Core::Hashable
|
3496
3504
|
|
@@ -3499,9 +3507,14 @@ module Google
|
|
3499
3507
|
# @return [Array<Google::Apis::MlV1::GoogleIamV1AuditConfig>]
|
3500
3508
|
attr_accessor :audit_configs
|
3501
3509
|
|
3502
|
-
# Associates a list of `members
|
3503
|
-
# condition` that determines how and when the `bindings` are applied.
|
3504
|
-
# the `bindings` must contain at least one
|
3510
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
3511
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
3512
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
3513
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
3514
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
3515
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
3516
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
3517
|
+
# principals to the `bindings` in the `Policy`.
|
3505
3518
|
# Corresponds to the JSON property `bindings`
|
3506
3519
|
# @return [Array<Google::Apis::MlV1::GoogleIamV1Binding>]
|
3507
3520
|
attr_accessor :bindings
|
@@ -3560,31 +3573,31 @@ module Google
|
|
3560
3573
|
|
3561
3574
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3562
3575
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3563
|
-
# A `binding` binds one or more `members
|
3564
|
-
# user accounts, service accounts, Google groups, and domains (
|
3565
|
-
# A `role` is a named list of permissions; each `role` can be
|
3566
|
-
# role or a user-created custom role. For some types of Google
|
3567
|
-
# a `binding` can also specify a `condition`, which is a
|
3568
|
-
# allows access to a resource only if the expression
|
3569
|
-
# condition can add constraints based on attributes of
|
3570
|
-
# or both. To learn which resources support
|
3571
|
-
# see the [IAM documentation](https://cloud.
|
3572
|
-
# resource-policies). **JSON example:** ` "
|
3573
|
-
# resourcemanager.organizationAdmin", "members": [
|
3574
|
-
# group:admins@example.com", "domain:google.com", "
|
3575
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
3576
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
3577
|
-
# title": "expirable access", "description": "Does not grant
|
3578
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3579
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3580
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
3581
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3582
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
3583
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
3584
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
3585
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3586
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
3587
|
-
# google.com/iam/docs/).
|
3576
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
3577
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
3578
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
3579
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
3580
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
3581
|
+
# logical expression that allows access to a resource only if the expression
|
3582
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
3583
|
+
# the request, the resource, or both. To learn which resources support
|
3584
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3585
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3586
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3587
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3588
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3589
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3590
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3591
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3592
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3593
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
3594
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3595
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
3596
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
3597
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
3598
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3599
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
3600
|
+
# cloud.google.com/iam/docs/).
|
3588
3601
|
# Corresponds to the JSON property `policy`
|
3589
3602
|
# @return [Google::Apis::MlV1::GoogleIamV1Policy]
|
3590
3603
|
attr_accessor :policy
|
@@ -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.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211112"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -895,6 +895,7 @@ module Google
|
|
895
895
|
property :error_message, as: 'errorMessage'
|
896
896
|
property :etag, :base64 => true, as: 'etag'
|
897
897
|
property :job_id, as: 'jobId'
|
898
|
+
property :job_position, :numeric_string => true, as: 'jobPosition'
|
898
899
|
hash :labels, as: 'labels'
|
899
900
|
property :prediction_input, as: 'predictionInput', class: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput, decorator: Google::Apis::MlV1::GoogleCloudMlV1PredictionInput::Representation
|
900
901
|
|
@@ -254,13 +254,16 @@ module Google
|
|
254
254
|
# REQUIRED: The resource for which the policy is being requested. See the
|
255
255
|
# operation documentation for the appropriate value for this field.
|
256
256
|
# @param [Fixnum] options_requested_policy_version
|
257
|
-
# Optional. The policy
|
258
|
-
# 3. Requests specifying an invalid value will be
|
259
|
-
# policies with any conditional bindings must
|
260
|
-
#
|
261
|
-
# field unset.
|
262
|
-
#
|
263
|
-
#
|
257
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
258
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
259
|
+
# rejected. Requests for policies with any conditional role bindings must
|
260
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
261
|
+
# valid value or leave the field unset. The policy in the response might use the
|
262
|
+
# policy version that you specified, or it might use a lower policy version. For
|
263
|
+
# example, if you specify version 3, but the policy has no conditional role
|
264
|
+
# bindings, the response uses version 1. To learn which resources support
|
265
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
266
|
+
# google.com/iam/help/conditions/resource-policies).
|
264
267
|
# @param [String] fields
|
265
268
|
# Selector specifying which fields to include in a partial response.
|
266
269
|
# @param [String] quota_user
|
@@ -1159,13 +1162,16 @@ module Google
|
|
1159
1162
|
# REQUIRED: The resource for which the policy is being requested. See the
|
1160
1163
|
# operation documentation for the appropriate value for this field.
|
1161
1164
|
# @param [Fixnum] options_requested_policy_version
|
1162
|
-
# Optional. The policy
|
1163
|
-
# 3. Requests specifying an invalid value will be
|
1164
|
-
# policies with any conditional bindings must
|
1165
|
-
#
|
1166
|
-
# field unset.
|
1167
|
-
#
|
1168
|
-
#
|
1165
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1166
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1167
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1168
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1169
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1170
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1171
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1172
|
+
# bindings, the response uses version 1. To learn which resources support
|
1173
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1174
|
+
# google.com/iam/help/conditions/resource-policies).
|
1169
1175
|
# @param [String] fields
|
1170
1176
|
# Selector specifying which fields to include in a partial response.
|
1171
1177
|
# @param [String] quota_user
|
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.17.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:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-ml_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ml_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-ml_v1/v0.17.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-ml_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for AI Platform Training & Prediction API V1
|