Skip to content

Commit 2d980af

Browse files
feat: Automated regeneration of dataproc v1 client (googleapis#23282)
Auto-created at 2025-06-01 09:48:48 +0000 using the toys pull request generator.
1 parent 9bd8094 commit 2d980af

File tree

6 files changed

+21
-35
lines changed

6 files changed

+21
-35
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151826,6 +151826,7 @@
151826151826
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchExecutors/pageToken": page_token
151827151827
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchExecutors/parent": parent
151828151828
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchJobs": search_project_location_session_spark_application_jobs
151829+
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchJobs/jobIds": job_ids
151829151830
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchJobs/jobStatus": job_status
151830151831
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchJobs/name": name
151831151832
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchJobs/pageSize": page_size
@@ -151839,6 +151840,7 @@
151839151840
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchSqlQueries": search_project_location_session_spark_application_sql_queries
151840151841
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchSqlQueries/details": details
151841151842
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchSqlQueries/name": name
151843+
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchSqlQueries/operationIds": operation_ids
151842151844
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchSqlQueries/pageSize": page_size
151843151845
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchSqlQueries/pageToken": page_token
151844151846
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchSqlQueries/parent": parent
@@ -151864,6 +151866,7 @@
151864151866
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchStages/pageSize": page_size
151865151867
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchStages/pageToken": page_token
151866151868
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchStages/parent": parent
151869+
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchStages/stageIds": stage_ids
151867151870
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchStages/stageStatus": stage_status
151868151871
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.searchStages/summaryMetricsMask": summary_metrics_mask
151869151872
"/dataproc:v1/dataproc.projects.locations.sessions.sparkApplications.summarizeExecutors": summarize_project_location_session_spark_application_executors

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.79.0 (2025-06-01)
4+
5+
* Regenerated from discovery document revision 20250521
6+
37
### v0.78.0 (2025-05-25)
48

59
* Regenerated from discovery document revision 20250513

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

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4805,22 +4805,6 @@ class LifecycleConfig
48054805
# @return [String]
48064806
attr_accessor :auto_delete_ttl
48074807

4808-
# Optional. The time when cluster will be auto-stopped (see JSON representation
4809-
# of Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json))
4810-
# .
4811-
# Corresponds to the JSON property `autoStopTime`
4812-
# @return [String]
4813-
attr_accessor :auto_stop_time
4814-
4815-
# Optional. The lifetime duration of the cluster. The cluster will be auto-
4816-
# stopped at the end of this period, calculated from the time of submission of
4817-
# the create or update cluster request. Minimum value is 10 minutes; maximum
4818-
# value is 14 days (see JSON representation of Duration (https://developers.
4819-
# google.com/protocol-buffers/docs/proto3#json)).
4820-
# Corresponds to the JSON property `autoStopTtl`
4821-
# @return [String]
4822-
attr_accessor :auto_stop_ttl
4823-
48244808
# Optional. The duration to keep the cluster alive while idling (when no jobs
48254809
# are running). Passing this threshold will cause the cluster to be deleted.
48264810
# Minimum value is 5 minutes; maximum value is 14 days (see JSON representation
@@ -4836,14 +4820,6 @@ class LifecycleConfig
48364820
# @return [String]
48374821
attr_accessor :idle_start_time
48384822

4839-
# Optional. The duration to keep the cluster started while idling (when no jobs
4840-
# are running). Passing this threshold will cause the cluster to be stopped.
4841-
# Minimum value is 5 minutes; maximum value is 14 days (see JSON representation
4842-
# of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).
4843-
# Corresponds to the JSON property `idleStopTtl`
4844-
# @return [String]
4845-
attr_accessor :idle_stop_ttl
4846-
48474823
def initialize(**args)
48484824
update!(**args)
48494825
end
@@ -4852,11 +4828,8 @@ def initialize(**args)
48524828
def update!(**args)
48534829
@auto_delete_time = args[:auto_delete_time] if args.key?(:auto_delete_time)
48544830
@auto_delete_ttl = args[:auto_delete_ttl] if args.key?(:auto_delete_ttl)
4855-
@auto_stop_time = args[:auto_stop_time] if args.key?(:auto_stop_time)
4856-
@auto_stop_ttl = args[:auto_stop_ttl] if args.key?(:auto_stop_ttl)
48574831
@idle_delete_ttl = args[:idle_delete_ttl] if args.key?(:idle_delete_ttl)
48584832
@idle_start_time = args[:idle_start_time] if args.key?(:idle_start_time)
4859-
@idle_stop_ttl = args[:idle_stop_ttl] if args.key?(:idle_stop_ttl)
48604833
end
48614834
end
48624835

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.78.0"
19+
GEM_VERSION = "0.79.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 = "20250513"
25+
REVISION = "20250521"
2626
end
2727
end
2828
end

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2791,11 +2791,8 @@ class LifecycleConfig
27912791
class Representation < Google::Apis::Core::JsonRepresentation
27922792
property :auto_delete_time, as: 'autoDeleteTime'
27932793
property :auto_delete_ttl, as: 'autoDeleteTtl'
2794-
property :auto_stop_time, as: 'autoStopTime'
2795-
property :auto_stop_ttl, as: 'autoStopTtl'
27962794
property :idle_delete_ttl, as: 'idleDeleteTtl'
27972795
property :idle_start_time, as: 'idleStartTime'
2798-
property :idle_stop_ttl, as: 'idleStopTtl'
27992796
end
28002797
end
28012798

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2393,6 +2393,8 @@ def search_project_location_session_spark_application_executors(name, executor_s
23932393
# Required. The fully qualified name of the session to retrieve in the format "
23942394
# projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/
23952395
# sparkApplications/APPLICATION_ID"
2396+
# @param [Array<Fixnum>, Fixnum] job_ids
2397+
# Optional. List of Job IDs to filter by if provided.
23962398
# @param [String] job_status
23972399
# Optional. List only jobs in the specific state.
23982400
# @param [Fixnum] page_size
@@ -2422,11 +2424,12 @@ def search_project_location_session_spark_application_executors(name, executor_s
24222424
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24232425
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24242426
# @raise [Google::Apis::AuthorizationError] Authorization is required
2425-
def search_project_location_session_spark_application_jobs(name, job_status: nil, page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
2427+
def search_project_location_session_spark_application_jobs(name, job_ids: nil, job_status: nil, page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
24262428
command = make_simple_command(:get, 'v1/{+name}:searchJobs', options)
24272429
command.response_representation = Google::Apis::DataprocV1::SearchSessionSparkApplicationJobsResponse::Representation
24282430
command.response_class = Google::Apis::DataprocV1::SearchSessionSparkApplicationJobsResponse
24292431
command.params['name'] = name unless name.nil?
2432+
command.query['jobIds'] = job_ids unless job_ids.nil?
24302433
command.query['jobStatus'] = job_status unless job_status.nil?
24312434
command.query['pageSize'] = page_size unless page_size.nil?
24322435
command.query['pageToken'] = page_token unless page_token.nil?
@@ -2444,6 +2447,8 @@ def search_project_location_session_spark_application_jobs(name, job_status: nil
24442447
# @param [Boolean] details
24452448
# Optional. Lists/ hides details of Spark plan nodes. True is set to list and
24462449
# false to hide.
2450+
# @param [Array<String>, String] operation_ids
2451+
# Optional. List of Spark Connect operation IDs to filter by if provided.
24472452
# @param [Fixnum] page_size
24482453
# Optional. Maximum number of queries to return in each response. The service
24492454
# may return fewer than this. The default page size is 10; the maximum page size
@@ -2473,12 +2478,13 @@ def search_project_location_session_spark_application_jobs(name, job_status: nil
24732478
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24742479
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24752480
# @raise [Google::Apis::AuthorizationError] Authorization is required
2476-
def search_project_location_session_spark_application_sql_queries(name, details: nil, page_size: nil, page_token: nil, parent: nil, plan_description: nil, fields: nil, quota_user: nil, options: nil, &block)
2481+
def search_project_location_session_spark_application_sql_queries(name, details: nil, operation_ids: nil, page_size: nil, page_token: nil, parent: nil, plan_description: nil, fields: nil, quota_user: nil, options: nil, &block)
24772482
command = make_simple_command(:get, 'v1/{+name}:searchSqlQueries', options)
24782483
command.response_representation = Google::Apis::DataprocV1::SearchSessionSparkApplicationSqlQueriesResponse::Representation
24792484
command.response_class = Google::Apis::DataprocV1::SearchSessionSparkApplicationSqlQueriesResponse
24802485
command.params['name'] = name unless name.nil?
24812486
command.query['details'] = details unless details.nil?
2487+
command.query['operationIds'] = operation_ids unless operation_ids.nil?
24822488
command.query['pageSize'] = page_size unless page_size.nil?
24832489
command.query['pageToken'] = page_token unless page_token.nil?
24842490
command.query['parent'] = parent unless parent.nil?
@@ -2615,6 +2621,8 @@ def search_project_location_session_spark_application_stage_attempts(name, page_
26152621
# subsequent page.
26162622
# @param [String] parent
26172623
# Required. Parent (Session) resource reference.
2624+
# @param [Array<Fixnum>, Fixnum] stage_ids
2625+
# Optional. List of Stage IDs to filter by if provided.
26182626
# @param [String] stage_status
26192627
# Optional. List only stages in the given state.
26202628
# @param [String] summary_metrics_mask
@@ -2639,14 +2647,15 @@ def search_project_location_session_spark_application_stage_attempts(name, page_
26392647
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26402648
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26412649
# @raise [Google::Apis::AuthorizationError] Authorization is required
2642-
def search_project_location_session_spark_application_stages(name, page_size: nil, page_token: nil, parent: nil, stage_status: nil, summary_metrics_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2650+
def search_project_location_session_spark_application_stages(name, page_size: nil, page_token: nil, parent: nil, stage_ids: nil, stage_status: nil, summary_metrics_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
26432651
command = make_simple_command(:get, 'v1/{+name}:searchStages', options)
26442652
command.response_representation = Google::Apis::DataprocV1::SearchSessionSparkApplicationStagesResponse::Representation
26452653
command.response_class = Google::Apis::DataprocV1::SearchSessionSparkApplicationStagesResponse
26462654
command.params['name'] = name unless name.nil?
26472655
command.query['pageSize'] = page_size unless page_size.nil?
26482656
command.query['pageToken'] = page_token unless page_token.nil?
26492657
command.query['parent'] = parent unless parent.nil?
2658+
command.query['stageIds'] = stage_ids unless stage_ids.nil?
26502659
command.query['stageStatus'] = stage_status unless stage_status.nil?
26512660
command.query['summaryMetricsMask'] = summary_metrics_mask unless summary_metrics_mask.nil?
26522661
command.query['fields'] = fields unless fields.nil?

0 commit comments

Comments
 (0)