google-apis-dataproc_v1 0.43.0 → 0.44.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: db0379c5835955764084632398876ff58ff9568c8269b0d78c00f0773e5d4d97
4
- data.tar.gz: 91b717a7b1299dc7e669fe291d0cfc89cc593785d2a0ae226acd5e6711c3504d
3
+ metadata.gz: e8a97897a9001eff67f3248e255d7ea110b8901b5d68abee7e0b689806c085b7
4
+ data.tar.gz: 456929dddfdde6434359b462422a634eebb4610a26508c5811955663d88f0740
5
5
  SHA512:
6
- metadata.gz: e9fbfc14bea8e42dabc2120f03615e1a54ac24ce8da59ee4664c75b8fb3f9b4af31b27977ad72a4b502751c86ab2b6b4a7b4dc92c472035daf4d12fe16b802ce
7
- data.tar.gz: c89afbd7d2f4d7cb0fe4a5abe8741ddddcd0726405df90f3765243b2ec7f44c33fb9aea91cdcf327cb367bb4d43bcbac2882dc512315331ec40edba0e4f1aa16
6
+ metadata.gz: f6eebed5f82bc46b6f4e983f4188c4588886a6e0973c51865700ccb8f2741a06ba9982bbf17faa64b3f2b78ef8e2a2176c72ffa8be9524598f151a3fc655fb08
7
+ data.tar.gz: a0a6e6d1abac63a96d9ab925795dfc526797194a2e2faf12a798e7c39e670576104f263bd3d079fbf7f4d5998df71133c3c2b0854c921703694c19c91805b40f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataproc_v1
2
2
 
3
+ ### v0.44.0 (2023-02-12)
4
+
5
+ * Regenerated from discovery document revision 20230202
6
+
3
7
  ### v0.43.0 (2023-01-29)
4
8
 
5
9
  * 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.44.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
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.44.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-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.44.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: []