google-apis-dataproc_v1 0.43.0 → 0.45.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: db0379c5835955764084632398876ff58ff9568c8269b0d78c00f0773e5d4d97
4
- data.tar.gz: 91b717a7b1299dc7e669fe291d0cfc89cc593785d2a0ae226acd5e6711c3504d
3
+ metadata.gz: 3dffcff4d1bf5fa008e2ceb62082bbf2b81ba79e7742e3bb85c13f4bd2638d6b
4
+ data.tar.gz: 8d5e73ea6e402e23bd2b538e74c3b33f8e76864b0805f3dd83ed895f6543bdc1
5
5
  SHA512:
6
- metadata.gz: e9fbfc14bea8e42dabc2120f03615e1a54ac24ce8da59ee4664c75b8fb3f9b4af31b27977ad72a4b502751c86ab2b6b4a7b4dc92c472035daf4d12fe16b802ce
7
- data.tar.gz: c89afbd7d2f4d7cb0fe4a5abe8741ddddcd0726405df90f3765243b2ec7f44c33fb9aea91cdcf327cb367bb4d43bcbac2882dc512315331ec40edba0e4f1aa16
6
+ metadata.gz: 7bd4fbf553de4b02b98b4e61522198fdfd8946c259ac707d1c0ea4c97cf480e11b1bf14cc8419a2fd35a1439f995a1d3305925e0d7ada41f349c02321d73a3f1
7
+ data.tar.gz: d3d474a77a4ff2278438be1e1a25f3e8176f3556e195c22bc6d97dba0edee459658da6fb49c798238d46274896e625a863a0630a10f254131d87581883c8e425
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.45.0 (2023-02-15)
4
+
5
+ * Regenerated using generator version 0.12.0
6
+
7
+ ### v0.44.0 (2023-02-12)
8
+
9
+ * Regenerated from discovery document revision 20230202
10
+
3
11
  ### v0.43.0 (2023-01-29)
4
12
 
5
13
  * Regenerated from discovery document revision 20230117
@@ -522,22 +522,22 @@ module Google
522
522
  # cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts).
523
523
  # For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:`
524
524
  # emailid`: An email address that represents a Google group. For example, admins@
525
- # example.com. deleted:user:`emailid`?uid=`uniqueid`: An email address (plus
526
- # unique identifier) representing a user that has been recently deleted. For
527
- # example, alice@example.com?uid=123456789012345678901. If the user is recovered,
528
- # this value reverts to user:`emailid` and the recovered user retains the role
529
- # in the binding. deleted:serviceAccount:`emailid`?uid=`uniqueid`: An email
530
- # address (plus unique identifier) representing a service account that has been
531
- # recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=
532
- # 123456789012345678901. If the service account is undeleted, this value reverts
533
- # to serviceAccount:`emailid` and the undeleted service account retains the role
534
- # in the binding. deleted:group:`emailid`?uid=`uniqueid`: An email address (plus
535
- # unique identifier) representing a Google group that has been recently deleted.
536
- # For example, admins@example.com?uid=123456789012345678901. If the group is
525
+ # example.com. domain:`domain`: The G Suite domain (primary) that represents all
526
+ # the users of that domain. For example, google.com or example.com. deleted:user:
527
+ # `emailid`?uid=`uniqueid`: An email address (plus unique identifier)
528
+ # representing a user that has been recently deleted. For example, alice@example.
529
+ # com?uid=123456789012345678901. If the user is recovered, this value reverts to
530
+ # user:`emailid` and the recovered user retains the role in the binding. deleted:
531
+ # serviceAccount:`emailid`?uid=`uniqueid`: An email address (plus unique
532
+ # identifier) representing a service account that has been recently deleted. For
533
+ # example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901.
534
+ # If the service account is undeleted, this value reverts to serviceAccount:`
535
+ # emailid` and the undeleted service account retains the role in the binding.
536
+ # deleted:group:`emailid`?uid=`uniqueid`: An email address (plus unique
537
+ # identifier) representing a Google group that has been recently deleted. For
538
+ # example, admins@example.com?uid=123456789012345678901. If the group is
537
539
  # recovered, this value reverts to group:`emailid` and the recovered group
538
- # retains the role in the binding. domain:`domain`: The G Suite domain (primary)
539
- # that represents all the users of that domain. For example, google.com or
540
- # example.com.
540
+ # retains the role in the binding.
541
541
  # Corresponds to the JSON property `members`
542
542
  # @return [Array<String>]
543
543
  attr_accessor :members
@@ -1318,11 +1318,34 @@ module Google
1318
1318
  # @return [String]
1319
1319
  attr_accessor :service_account
1320
1320
 
1321
+ # Optional. A Cloud Storage bucket used to stage workload dependencies, config
1322
+ # files, and store workload output and other ephemeral data, such as Spark
1323
+ # history files. If you do not specify a staging bucket, Cloud Dataproc will
1324
+ # determine a Cloud Storage location according to the region where your workload
1325
+ # is running, and then create and manage project-level, per-location staging and
1326
+ # temporary buckets. This field requires a Cloud Storage bucket name, not a gs://
1327
+ # ... URI to a Cloud Storage bucket.
1328
+ # Corresponds to the JSON property `stagingBucket`
1329
+ # @return [String]
1330
+ attr_accessor :staging_bucket
1331
+
1321
1332
  # Optional. Subnetwork URI to connect workload to.
1322
1333
  # Corresponds to the JSON property `subnetworkUri`
1323
1334
  # @return [String]
1324
1335
  attr_accessor :subnetwork_uri
1325
1336
 
1337
+ # Optional. The duration after which the workload will be terminated. When the
1338
+ # workload passes this ttl, it will be unconditionally killed without waiting
1339
+ # for ongoing work to finish. Minimum value is 10 minutes; maximum value is 14
1340
+ # days (see JSON representation of Duration (https://developers.google.com/
1341
+ # protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified,
1342
+ # the conditions are treated as and OR: the workload will be terminated when it
1343
+ # has been idle for idle_ttl or when the ttl has passed, whichever comes first.
1344
+ # If ttl is not specified for a session, it defaults to 24h.
1345
+ # Corresponds to the JSON property `ttl`
1346
+ # @return [String]
1347
+ attr_accessor :ttl
1348
+
1326
1349
  def initialize(**args)
1327
1350
  update!(**args)
1328
1351
  end
@@ -1334,7 +1357,9 @@ module Google
1334
1357
  @network_tags = args[:network_tags] if args.key?(:network_tags)
1335
1358
  @network_uri = args[:network_uri] if args.key?(:network_uri)
1336
1359
  @service_account = args[:service_account] if args.key?(:service_account)
1360
+ @staging_bucket = args[:staging_bucket] if args.key?(:staging_bucket)
1337
1361
  @subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri)
1362
+ @ttl = args[:ttl] if args.key?(:ttl)
1338
1363
  end
1339
1364
  end
1340
1365
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataprocV1
18
18
  # Version of the google-apis-dataproc_v1 gem
19
- GEM_VERSION = "0.43.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230117"
25
+ REVISION = "20230202"
26
26
  end
27
27
  end
28
28
  end
@@ -1107,7 +1107,9 @@ module Google
1107
1107
  collection :network_tags, as: 'networkTags'
1108
1108
  property :network_uri, as: 'networkUri'
1109
1109
  property :service_account, as: 'serviceAccount'
1110
+ property :staging_bucket, as: 'stagingBucket'
1110
1111
  property :subnetwork_uri, as: 'subnetworkUri'
1112
+ property :ttl, as: 'ttl'
1111
1113
  end
1112
1114
  end
1113
1115
 
@@ -470,6 +470,21 @@ module Google
470
470
  # Lists batch workloads.
471
471
  # @param [String] parent
472
472
  # Required. The parent, which owns this collection of batches.
473
+ # @param [String] filter
474
+ # Optional. A filter for the batches to return in the response.A filter is a
475
+ # logical expression constraining the values of various fields in each batch
476
+ # resource. Filters are case sensitive, and may contain multiple clauses
477
+ # combined with logical operators (AND/OR). Supported fields are batch_id,
478
+ # batch_uuid, state, and create_time.e.g. state = RUNNING and create_time < "
479
+ # 2023-01-01T00:00:00Z" filters for batches in state RUNNING that were created
480
+ # before 2023-01-01See https://google.aip.dev/assets/misc/ebnf-filtering.txt for
481
+ # a detailed description of the filter syntax and a list of supported
482
+ # comparisons.
483
+ # @param [String] order_by
484
+ # Optional. Field(s) on which to sort the list of batches.Currently the only
485
+ # supported sort orders are unspecified (empty) and create_time desc to sort by
486
+ # most recently created batches first.See https://google.aip.dev/132#ordering
487
+ # for more details.
473
488
  # @param [Fixnum] page_size
474
489
  # Optional. The maximum number of batches to return in each response. The
475
490
  # service may return fewer than this value. The default page size is 20; the
@@ -494,11 +509,13 @@ module Google
494
509
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
495
510
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
496
511
  # @raise [Google::Apis::AuthorizationError] Authorization is required
497
- def list_project_location_batches(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
512
+ def list_project_location_batches(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
498
513
  command = make_simple_command(:get, 'v1/{+parent}/batches', options)
499
514
  command.response_representation = Google::Apis::DataprocV1::ListBatchesResponse::Representation
500
515
  command.response_class = Google::Apis::DataprocV1::ListBatchesResponse
501
516
  command.params['parent'] = parent unless parent.nil?
517
+ command.query['filter'] = filter unless filter.nil?
518
+ command.query['orderBy'] = order_by unless order_by.nil?
502
519
  command.query['pageSize'] = page_size unless page_size.nil?
503
520
  command.query['pageToken'] = page_token unless page_token.nil?
504
521
  command.query['fields'] = fields unless fields.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataproc_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.45.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: 2023-01-29 00:00:00.000000000 Z
11
+ date: 2023-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataproc_v1/v0.45.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataproc_v1
63
63
  post_install_message:
64
64
  rdoc_options: []