diff --git a/api_names_out.yaml b/api_names_out.yaml index 3e72c8b351a..84b30834e60 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/generated/google-apis-dataproc_v1/CHANGELOG.md b/generated/google-apis-dataproc_v1/CHANGELOG.md index 2805f63f38b..b58e85c89f9 100644 --- a/generated/google-apis-dataproc_v1/CHANGELOG.md +++ b/generated/google-apis-dataproc_v1/CHANGELOG.md @@ -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 diff --git a/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/classes.rb b/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/classes.rb index 5197853c53a..cdb55726eb3 100644 --- a/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/classes.rb +++ b/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/classes.rb @@ -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] @@ -5009,6 +5009,13 @@ class ListOperationsResponse # @return [Array] 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] + attr_accessor :unreachable + def initialize(**args) update!(**args) end @@ -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 @@ -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 @@ -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] @@ -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 diff --git a/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/gem_version.rb b/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/gem_version.rb index 4b4fc7fd015..44b1cb48ccb 100644 --- a/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/gem_version.rb +++ b/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/gem_version.rb @@ -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 diff --git a/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/representations.rb b/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/representations.rb index 7cf72ccc37f..155b8a26508 100644 --- a/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/representations.rb +++ b/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/representations.rb @@ -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 @@ -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 diff --git a/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/service.rb b/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/service.rb index 56219dd7c9a..da6d09bd216 100644 --- a/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/service.rb +++ b/generated/google-apis-dataproc_v1/lib/google/apis/dataproc_v1/service.rb @@ -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 @@ -1570,7 +1577,7 @@ 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 @@ -1578,6 +1585,7 @@ def list_project_location_operations(name, filter: nil, page_size: nil, page_tok 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) @@ -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 @@ -4897,7 +4912,7 @@ 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 @@ -4905,6 +4920,7 @@ def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: 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)