Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of dataproc v1 client #19572

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
5 changes: 5 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132291,6 +132291,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
Expand Down Expand Up @@ -132908,6 +132911,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
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.70.0 (2024-06-09)

* Regenerated from discovery document revision 20240605

### v0.69.0 (2024-05-19)

* Regenerated using generator version 0.15.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>]
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
Expand Down Expand Up @@ -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`
Expand Down Expand Up @@ -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)
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.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
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading