google-apis-ml_v1 0.12.0 → 0.16.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: b3ce935bdfe3343af515d39dca132662e94b80a4227da66ee4f385ed1dc6e59b
4
- data.tar.gz: 499396194b1d5f1b226f873d61fd58151c64d00b9b89aa55435fb53f12657670
3
+ metadata.gz: c46f21a1074e1ad156925f55001c21bd2d0cc9cdb4f5c45e9548ccb1cc5a793e
4
+ data.tar.gz: f5b94c671bb20de4e280d3ead7376297f3d36aff2918aaf241de79190de0e00f
5
5
  SHA512:
6
- metadata.gz: 1ca75094a000d0ecde715dfec43071b80fcf7aa601a744933fca8db1bb8b241aa5e75faafb569eba7fe146a3f9e2248b543dbeb45e3730d9e0ddedbf3662cc63
7
- data.tar.gz: bbdb10aaf4353d8768a23b09600f686e77a1e9fbfd7bd5665d613bb9c5ccbbc74da449e97d9b30d255d3d9f0e8c390ffa6bff4dd5d6a875223be841e25f6ff90
6
+ metadata.gz: 9d1504b1b823fdaa5d9acc0816c4b2dff0986efd142372be92e024f204105055588aab74e8ff086fa2694508e12c5bf10ec37383ad646b7c3322b5f265a4479a
7
+ data.tar.gz: 9d0a79e29842645e9133e1aafadade62d82ebe330d116c3d9170106ac5cb4cfc77affa9ad68b3f6116cde8daba8c741cd7633223e8c94a8517c77ffded67bc68
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-ml_v1
2
2
 
3
+ ### v0.16.0 (2021-11-19)
4
+
5
+ * Regenerated from discovery document revision 20211112
6
+
7
+ ### v0.15.0 (2021-10-30)
8
+
9
+ * Regenerated from discovery document revision 20211022
10
+
11
+ ### v0.14.0 (2021-10-21)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.13.0 (2021-08-25)
16
+
17
+ * Regenerated from discovery document revision 20210816
18
+
3
19
  ### v0.12.0 (2021-08-18)
4
20
 
5
21
  * Regenerated from discovery document revision 20210806
data/OVERVIEW.md CHANGED
@@ -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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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` with a `role`.
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 identities requesting access for a Cloud Platform resource. `
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`. For example, `roles/viewer`, `roles/editor`
3450
- # , or `roles/owner`.
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` to a single `role`. Members can be
3470
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
3471
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
3472
- # role or a user-created custom role. For some types of Google Cloud resources,
3473
- # a `binding` can also specify a `condition`, which is a logical expression that
3474
- # allows access to a resource only if the expression evaluates to `true`. A
3475
- # condition can add constraints based on attributes of the request, the resource,
3476
- # or both. To learn which resources support conditions in their IAM policies,
3477
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
3478
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
3479
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
3480
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
3481
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
3482
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
3483
- # title": "expirable access", "description": "Does not grant access after Sep
3484
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
3485
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
3486
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
3487
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
3488
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
3489
- # roles/resourcemanager.organizationViewer condition: title: expirable access
3490
- # description: Does not grant access after Sep 2020 expression: request.time <
3491
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
3492
- # description of IAM and its features, see the [IAM documentation](https://cloud.
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` to a `role`. Optionally, may specify a `
3503
- # condition` that determines how and when the `bindings` are applied. Each of
3504
- # the `bindings` must contain at least one member.
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` to a single `role`. Members can be
3564
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
3565
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
3566
- # role or a user-created custom role. For some types of Google Cloud resources,
3567
- # a `binding` can also specify a `condition`, which is a logical expression that
3568
- # allows access to a resource only if the expression evaluates to `true`. A
3569
- # condition can add constraints based on attributes of the request, the resource,
3570
- # or both. To learn which resources support conditions in their IAM policies,
3571
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
3572
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
3573
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
3574
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
3575
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
3576
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
3577
- # title": "expirable access", "description": "Does not grant access after Sep
3578
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
3579
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
3580
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
3581
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
3582
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
3583
- # roles/resourcemanager.organizationViewer condition: title: expirable access
3584
- # description: Does not grant access after Sep 2020 expression: request.time <
3585
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
3586
- # description of IAM and its features, see the [IAM documentation](https://cloud.
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.12.0"
19
+ GEM_VERSION = "0.16.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 = "20210806"
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 format version to be returned. Valid values are 0, 1, and
258
- # 3. Requests specifying an invalid value will be rejected. Requests for
259
- # policies with any conditional bindings must specify version 3. Policies
260
- # without any conditional bindings may specify any valid value or leave the
261
- # field unset. To learn which resources support conditions in their IAM policies,
262
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
263
- # resource-policies).
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 format version to be returned. Valid values are 0, 1, and
1163
- # 3. Requests specifying an invalid value will be rejected. Requests for
1164
- # policies with any conditional bindings must specify version 3. Policies
1165
- # without any conditional bindings may specify any valid value or leave the
1166
- # field unset. To learn which resources support conditions in their IAM policies,
1167
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1168
- # resource-policies).
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.12.0
4
+ version: 0.16.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-08-23 00:00:00.000000000 Z
11
+ date: 2021-12-06 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/master/generated/google-apis-ml_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-ml_v1/v0.12.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-ml_v1
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.16.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: