Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157461,6 +157461,8 @@
"/dataproc:v1/ListOperationsResponse/nextPageToken": next_page_token
"/dataproc:v1/ListOperationsResponse/operations": operations
"/dataproc:v1/ListOperationsResponse/operations/operation": operation
"/dataproc:v1/ListOperationsResponse/unreachable": unreachable
"/dataproc:v1/ListOperationsResponse/unreachable/unreachable": unreachable
"/dataproc:v1/ListSessionTemplatesResponse": list_session_templates_response
"/dataproc:v1/ListSessionTemplatesResponse/nextPageToken": next_page_token
"/dataproc:v1/ListSessionTemplatesResponse/sessionTemplates": session_templates
Expand Down Expand Up @@ -158499,10 +158501,12 @@
"/dataproc:v1/WriteSparkApplicationContextRequest/sparkWrapperObjects/spark_wrapper_object": spark_wrapper_object
"/dataproc:v1/WriteSparkApplicationContextResponse": write_spark_application_context_response
"/dataproc:v1/YarnApplication": yarn_application
"/dataproc:v1/YarnApplication/memoryMbSeconds": memory_mb_seconds
"/dataproc:v1/YarnApplication/name": name
"/dataproc:v1/YarnApplication/progress": progress
"/dataproc:v1/YarnApplication/state": state
"/dataproc:v1/YarnApplication/trackingUrl": tracking_url
"/dataproc:v1/YarnApplication/vcoreSeconds": vcore_seconds
"/dataproc:v1/dataproc.projects.locations.autoscalingPolicies.create": create_project_location_autoscaling_policy
"/dataproc:v1/dataproc.projects.locations.autoscalingPolicies.create/parent": parent
"/dataproc:v1/dataproc.projects.locations.autoscalingPolicies.delete": delete_project_location_autoscaling_policy
Expand Down Expand Up @@ -158664,6 +158668,7 @@
"/dataproc:v1/dataproc.projects.locations.operations.list/name": name
"/dataproc:v1/dataproc.projects.locations.operations.list/pageSize": page_size
"/dataproc:v1/dataproc.projects.locations.operations.list/pageToken": page_token
"/dataproc:v1/dataproc.projects.locations.operations.list/returnPartialSuccess": return_partial_success
"/dataproc:v1/dataproc.projects.locations.sessionTemplates.create": create_project_location_session_template
"/dataproc:v1/dataproc.projects.locations.sessionTemplates.create/parent": parent
"/dataproc:v1/dataproc.projects.locations.sessionTemplates.delete": delete_project_location_session_template
Expand Down Expand Up @@ -158975,6 +158980,7 @@
"/dataproc:v1/dataproc.projects.regions.operations.list/name": name
"/dataproc:v1/dataproc.projects.regions.operations.list/pageSize": page_size
"/dataproc:v1/dataproc.projects.regions.operations.list/pageToken": page_token
"/dataproc:v1/dataproc.projects.regions.operations.list/returnPartialSuccess": return_partial_success
"/dataproc:v1/dataproc.projects.regions.operations.setIamPolicy": set_operation_iam_policy
"/dataproc:v1/dataproc.projects.regions.operations.setIamPolicy/resource": resource
"/dataproc:v1/dataproc.projects.regions.operations.testIamPermissions": test_operation_iam_permissions
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-dataproc_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-dataproc_v1

### v0.84.0 (2025-10-19)

* Regenerated from discovery document revision 20251003

### v0.83.0 (2025-10-12)

* Regenerated from discovery document revision 20251001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3016,7 +3016,7 @@ class GceClusterConfig

# Optional. Resource manager tags (https://cloud.google.com/resource-manager/
# docs/tags/tags-creating-and-managing) to add to all instances (see Use secure
# tags in Dataproc (https://cloud.google.com/dataproc/docs/guides/attach-secure-
# tags in Dataproc (https://cloud.google.com/dataproc/docs/guides/use-secure-
# tags)).
# Corresponds to the JSON property `resourceManagerTags`
# @return [Hash<String,String>]
Expand Down Expand Up @@ -5009,6 +5009,13 @@ class ListOperationsResponse
# @return [Array<Google::Apis::DataprocV1::Operation>]
attr_accessor :operations

# Unordered list. Unreachable resources. Populated when the request sets
# ListOperationsRequest.return_partial_success and reads across collections e.g.
# when attempting to list all resources across all supported locations.
# Corresponds to the JSON property `unreachable`
# @return [Array<String>]
attr_accessor :unreachable

def initialize(**args)
update!(**args)
end
Expand All @@ -5017,6 +5024,7 @@ def initialize(**args)
def update!(**args)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
@operations = args[:operations] if args.key?(:operations)
@unreachable = args[:unreachable] if args.key?(:unreachable)
end
end

Expand Down Expand Up @@ -11395,13 +11403,14 @@ def update!(**args)
class UsageMetrics
include Google::Apis::Core::Hashable

# Optional. Accelerator type being used, if any
# Optional. DEPRECATED Accelerator type being used, if any
# Corresponds to the JSON property `acceleratorType`
# @return [String]
attr_accessor :accelerator_type

# Optional. Accelerator usage in (milliAccelerator x seconds) (see Dataproc
# Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).
# Optional. DEPRECATED Accelerator usage in (milliAccelerator x seconds) (see
# Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/
# pricing)).
# Corresponds to the JSON property `milliAcceleratorSeconds`
# @return [Fixnum]
attr_accessor :milli_accelerator_seconds
Expand Down Expand Up @@ -11975,6 +11984,12 @@ def update!(**args)
class YarnApplication
include Google::Apis::Core::Hashable

# Optional. The cumulative memory usage of the application for a job, measured
# in mb-seconds.
# Corresponds to the JSON property `memoryMbSeconds`
# @return [Fixnum]
attr_accessor :memory_mb_seconds

# Required. The application name.
# Corresponds to the JSON property `name`
# @return [String]
Expand All @@ -11998,16 +12013,24 @@ class YarnApplication
# @return [String]
attr_accessor :tracking_url

# Optional. The cumulative CPU time consumed by the application for a job,
# measured in vcore-seconds.
# Corresponds to the JSON property `vcoreSeconds`
# @return [Fixnum]
attr_accessor :vcore_seconds

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@memory_mb_seconds = args[:memory_mb_seconds] if args.key?(:memory_mb_seconds)
@name = args[:name] if args.key?(:name)
@progress = args[:progress] if args.key?(:progress)
@state = args[:state] if args.key?(:state)
@tracking_url = args[:tracking_url] if args.key?(:tracking_url)
@vcore_seconds = args[:vcore_seconds] if args.key?(:vcore_seconds)
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DataprocV1
# Version of the google-apis-dataproc_v1 gem
GEM_VERSION = "0.83.0"
GEM_VERSION = "0.84.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20251001"
REVISION = "20251003"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -2845,6 +2845,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation

collection :unreachable, as: 'unreachable'
end
end

Expand Down Expand Up @@ -4704,10 +4705,12 @@ class Representation < Google::Apis::Core::JsonRepresentation
class YarnApplication
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :memory_mb_seconds, :numeric_string => true, as: 'memoryMbSeconds'
property :name, as: 'name'
property :progress, as: 'progress'
property :state, as: 'state'
property :tracking_url, as: 'trackingUrl'
property :vcore_seconds, :numeric_string => true, as: 'vcoreSeconds'
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
# The standard list page size.
# @param [String] page_token
# The standard list page token.
# @param [Boolean] return_partial_success
# When set to true, operations that are reachable are returned as normal, and
# those that are unreachable are returned in the ListOperationsResponse.
# unreachable field.This can only be true when reading across collections e.g.
# when parent is set to "projects/example/locations/-".This field is not by
# default supported and will result in an UNIMPLEMENTED error if set unless
# explicitly documented otherwise in service or product specific documentation.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand All @@ -1570,14 +1577,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::DataprocV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::DataprocV1::ListOperationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
Expand Down Expand Up @@ -4880,6 +4888,13 @@ def get_operation_iam_policy(resource, get_iam_policy_request_object = nil, fiel
# The standard list page size.
# @param [String] page_token
# The standard list page token.
# @param [Boolean] return_partial_success
# When set to true, operations that are reachable are returned as normal, and
# those that are unreachable are returned in the ListOperationsResponse.
# unreachable field.This can only be true when reading across collections e.g.
# when parent is set to "projects/example/locations/-".This field is not by
# default supported and will result in an UNIMPLEMENTED error if set unless
# explicitly documented otherwise in service or product specific documentation.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand All @@ -4897,14 +4912,15 @@ def get_operation_iam_policy(resource, get_iam_policy_request_object = nil, fiel
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::DataprocV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::DataprocV1::ListOperationsResponse
command.params['name'] = name unless name.nil?
command.query['filter'] = filter unless filter.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
Expand Down