Skip to content

Commit 3d95e55

Browse files
feat: Automated regeneration of dataproc v1 client (googleapis#23628)
Auto-created at 2025-07-06 10:24:36 +0000 using the toys pull request generator.
1 parent beefb18 commit 3d95e55

File tree

6 files changed

+46
-4
lines changed

6 files changed

+46
-4
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153405,6 +153405,7 @@
153405153405
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.summarizeExecutors/name": name
153406153406
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.summarizeExecutors/parent": parent
153407153407
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.summarizeJobs": summarize_project_location_session_spark_application_jobs
153408+
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.summarizeJobs/jobIds": job_ids
153408153409
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.summarizeJobs/name": name
153409153410
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.summarizeJobs/parent": parent
153410153411
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.summarizeStageAttemptTasks": summarize_project_location_session_spark_application_stage_attempt_tasks
@@ -153415,6 +153416,7 @@
153415153416
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.summarizeStages": summarize_project_location_session_spark_application_stages
153416153417
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.summarizeStages/name": name
153417153418
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.summarizeStages/parent": parent
153419+
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.summarizeStages/stageIds": stage_ids
153418153420
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.write": write_session_spark_application_context
153419153421
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.write/name": name
153420153422
"/dataproc:v1/dataproc.projects.locations.sessions.terminate": terminate_session

generated/google-apis-dataproc_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-dataproc_v1
22

3+
### v0.81.0 (2025-07-06)
4+
5+
* Regenerated from discovery document revision 20250624
6+
37
### v0.80.0 (2025-06-15)
48

59
* Regenerated from discovery document revision 20250604

generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/classes.rb

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4811,6 +4811,22 @@ class LifecycleConfig
48114811
# @return [String]
48124812
attr_accessor :auto_delete_ttl
48134813

4814+
# Optional. The time when cluster will be auto-stopped (see JSON representation
4815+
# of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json))
4816+
# .
4817+
# Corresponds to the JSON property `autoStopTime`
4818+
# @return [String]
4819+
attr_accessor :auto_stop_time
4820+
4821+
# Optional. The lifetime duration of the cluster. The cluster will be auto-
4822+
# stopped at the end of this period, calculated from the time of submission of
4823+
# the create or update cluster request. Minimum value is 10 minutes; maximum
4824+
# value is 14 days (see JSON representation of Duration (https://developers.
4825+
# google.com/protocol-buffers/docs/proto3#json)).
4826+
# Corresponds to the JSON property `autoStopTtl`
4827+
# @return [String]
4828+
attr_accessor :auto_stop_ttl
4829+
48144830
# Optional. The duration to keep the cluster alive while idling (when no jobs
48154831
# are running). Passing this threshold will cause the cluster to be deleted.
48164832
# Minimum value is 5 minutes; maximum value is 14 days (see JSON representation
@@ -4826,6 +4842,14 @@ class LifecycleConfig
48264842
# @return [String]
48274843
attr_accessor :idle_start_time
48284844

4845+
# Optional. The duration to keep the cluster started while idling (when no jobs
4846+
# are running). Passing this threshold will cause the cluster to be stopped.
4847+
# Minimum value is 5 minutes; maximum value is 14 days (see JSON representation
4848+
# of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).
4849+
# Corresponds to the JSON property `idleStopTtl`
4850+
# @return [String]
4851+
attr_accessor :idle_stop_ttl
4852+
48294853
def initialize(**args)
48304854
update!(**args)
48314855
end
@@ -4834,8 +4858,11 @@ def initialize(**args)
48344858
def update!(**args)
48354859
@auto_delete_time = args[:auto_delete_time] if args.key?(:auto_delete_time)
48364860
@auto_delete_ttl = args[:auto_delete_ttl] if args.key?(:auto_delete_ttl)
4861+
@auto_stop_time = args[:auto_stop_time] if args.key?(:auto_stop_time)
4862+
@auto_stop_ttl = args[:auto_stop_ttl] if args.key?(:auto_stop_ttl)
48374863
@idle_delete_ttl = args[:idle_delete_ttl] if args.key?(:idle_delete_ttl)
48384864
@idle_start_time = args[:idle_start_time] if args.key?(:idle_start_time)
4865+
@idle_stop_ttl = args[:idle_stop_ttl] if args.key?(:idle_stop_ttl)
48394866
end
48404867
end
48414868

generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DataprocV1
1818
# Version of the google-apis-dataproc_v1 gem
19-
GEM_VERSION = "0.80.0"
19+
GEM_VERSION = "0.81.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250604"
25+
REVISION = "20250624"
2626
end
2727
end
2828
end

generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/representations.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2792,8 +2792,11 @@ class LifecycleConfig
27922792
class Representation < Google::Apis::Core::JsonRepresentation
27932793
property :auto_delete_time, as: 'autoDeleteTime'
27942794
property :auto_delete_ttl, as: 'autoDeleteTtl'
2795+
property :auto_stop_time, as: 'autoStopTime'
2796+
property :auto_stop_ttl, as: 'autoStopTtl'
27952797
property :idle_delete_ttl, as: 'idleDeleteTtl'
27962798
property :idle_start_time, as: 'idleStartTime'
2799+
property :idle_stop_ttl, as: 'idleStopTtl'
27972800
end
27982801
end
27992802

generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/service.rb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2703,6 +2703,8 @@ def summarize_project_location_session_spark_application_executors(name, parent:
27032703
# Required. The fully qualified name of the session to retrieve in the format "
27042704
# projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/
27052705
# sparkApplications/APPLICATION_ID"
2706+
# @param [Array<Fixnum>, Fixnum] job_ids
2707+
# Optional. List of Job IDs to filter by if provided.
27062708
# @param [String] parent
27072709
# Required. Parent (Session) resource reference.
27082710
# @param [String] fields
@@ -2722,11 +2724,12 @@ def summarize_project_location_session_spark_application_executors(name, parent:
27222724
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27232725
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27242726
# @raise [Google::Apis::AuthorizationError] Authorization is required
2725-
def summarize_project_location_session_spark_application_jobs(name, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
2727+
def summarize_project_location_session_spark_application_jobs(name, job_ids: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
27262728
command = make_simple_command(:get, 'v1/{+name}:summarizeJobs', options)
27272729
command.response_representation = Google::Apis::DataprocV1::SummarizeSessionSparkApplicationJobsResponse::Representation
27282730
command.response_class = Google::Apis::DataprocV1::SummarizeSessionSparkApplicationJobsResponse
27292731
command.params['name'] = name unless name.nil?
2732+
command.query['jobIds'] = job_ids unless job_ids.nil?
27302733
command.query['parent'] = parent unless parent.nil?
27312734
command.query['fields'] = fields unless fields.nil?
27322735
command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2781,6 +2784,8 @@ def summarize_project_location_session_spark_application_stage_attempt_tasks(nam
27812784
# sparkApplications/APPLICATION_ID"
27822785
# @param [String] parent
27832786
# Required. Parent (Session) resource reference.
2787+
# @param [Array<Fixnum>, Fixnum] stage_ids
2788+
# Optional. List of Stage IDs to filter by if provided.
27842789
# @param [String] fields
27852790
# Selector specifying which fields to include in a partial response.
27862791
# @param [String] quota_user
@@ -2798,12 +2803,13 @@ def summarize_project_location_session_spark_application_stage_attempt_tasks(nam
27982803
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27992804
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28002805
# @raise [Google::Apis::AuthorizationError] Authorization is required
2801-
def summarize_project_location_session_spark_application_stages(name, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
2806+
def summarize_project_location_session_spark_application_stages(name, parent: nil, stage_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
28022807
command = make_simple_command(:get, 'v1/{+name}:summarizeStages', options)
28032808
command.response_representation = Google::Apis::DataprocV1::SummarizeSessionSparkApplicationStagesResponse::Representation
28042809
command.response_class = Google::Apis::DataprocV1::SummarizeSessionSparkApplicationStagesResponse
28052810
command.params['name'] = name unless name.nil?
28062811
command.query['parent'] = parent unless parent.nil?
2812+
command.query['stageIds'] = stage_ids unless stage_ids.nil?
28072813
command.query['fields'] = fields unless fields.nil?
28082814
command.query['quotaUser'] = quota_user unless quota_user.nil?
28092815
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)