diff --git a/api_names_out.yaml b/api_names_out.yaml index da7300a9b5e..f94c0a8ea2a 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -132358,6 +132358,9 @@ "/dataproc:v1/AutoscalingPolicy/name": name "/dataproc:v1/AutoscalingPolicy/secondaryWorkerConfig": secondary_worker_config "/dataproc:v1/AutoscalingPolicy/workerConfig": worker_config +"/dataproc:v1/AutotuningConfig": autotuning_config +"/dataproc:v1/AutotuningConfig/scenarios": scenarios +"/dataproc:v1/AutotuningConfig/scenarios/scenario": scenario "/dataproc:v1/AuxiliaryNodeGroup": auxiliary_node_group "/dataproc:v1/AuxiliaryNodeGroup/nodeGroup": node_group "/dataproc:v1/AuxiliaryNodeGroup/nodeGroupId": node_group_id @@ -132975,6 +132978,8 @@ "/dataproc:v1/ResizeNodeGroupRequest/requestId": request_id "/dataproc:v1/ResizeNodeGroupRequest/size": size "/dataproc:v1/RuntimeConfig": runtime_config +"/dataproc:v1/RuntimeConfig/autotuningConfig": autotuning_config +"/dataproc:v1/RuntimeConfig/cohort": cohort "/dataproc:v1/RuntimeConfig/containerImage": container_image "/dataproc:v1/RuntimeConfig/properties": properties "/dataproc:v1/RuntimeConfig/properties/property": property diff --git a/generated/google-apis-dataproc_v1/CHANGELOG.md b/generated/google-apis-dataproc_v1/CHANGELOG.md index d4abe3d6d7e..0b92f9fbdbc 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.70.0 (2024-06-09) + +* Regenerated from discovery document revision 20240605 + ### v0.69.0 (2024-05-19) * Regenerated using generator version 0.15.0 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 a3f743187ff..67e3cd14934 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 @@ -235,6 +235,25 @@ def update!(**args) end end + # Autotuning configuration of the workload. + class AutotuningConfig + include Google::Apis::Core::Hashable + + # Optional. Scenarios for which tunings are applied. + # Corresponds to the JSON property `scenarios` + # @return [Array] + attr_accessor :scenarios + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @scenarios = args[:scenarios] if args.key?(:scenarios) + end + end + # Node group identification and configuration information. class AuxiliaryNodeGroup include Google::Apis::Core::Hashable @@ -4738,6 +4757,17 @@ def update!(**args) class RuntimeConfig include Google::Apis::Core::Hashable + # Autotuning configuration of the workload. + # Corresponds to the JSON property `autotuningConfig` + # @return [Google::Apis::DataprocV1::AutotuningConfig] + attr_accessor :autotuning_config + + # Optional. Cohort identifier. Identifies families of the workloads having the + # same shape, e.g. daily ETL jobs. + # Corresponds to the JSON property `cohort` + # @return [String] + attr_accessor :cohort + # Optional. Optional custom container image for the job runtime environment. If # not specified, a default container image will be used. # Corresponds to the JSON property `containerImage` @@ -4766,6 +4796,8 @@ def initialize(**args) # Update properties of this object def update!(**args) + @autotuning_config = args[:autotuning_config] if args.key?(:autotuning_config) + @cohort = args[:cohort] if args.key?(:cohort) @container_image = args[:container_image] if args.key?(:container_image) @properties = args[:properties] if args.key?(:properties) @repository_config = args[:repository_config] if args.key?(:repository_config) 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 93333194676..8f2398a8458 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.69.0" + GEM_VERSION = "0.70.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.15.0" # Revision of the discovery document this client was generated from - REVISION = "20240429" + REVISION = "20240605" 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 84d753f4277..a2c5890c3ae 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 @@ -52,6 +52,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AutotuningConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AuxiliaryNodeGroup class Representation < Google::Apis::Core::JsonRepresentation; end @@ -925,6 +931,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class AutotuningConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :scenarios, as: 'scenarios' + end + end + class AuxiliaryNodeGroup # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2035,6 +2048,9 @@ class Representation < Google::Apis::Core::JsonRepresentation class RuntimeConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :autotuning_config, as: 'autotuningConfig', class: Google::Apis::DataprocV1::AutotuningConfig, decorator: Google::Apis::DataprocV1::AutotuningConfig::Representation + + property :cohort, as: 'cohort' property :container_image, as: 'containerImage' hash :properties, as: 'properties' property :repository_config, as: 'repositoryConfig', class: Google::Apis::DataprocV1::RepositoryConfig, decorator: Google::Apis::DataprocV1::RepositoryConfig::Representation