Skip to content

Commit 821483e

Browse files
feat: Automated regeneration of dataproc v1 client (googleapis#21881)
Auto-created at 2025-02-26 21:29:21 +0000 using the toys pull request generator.
1 parent e367478 commit 821483e

File tree

5 files changed

+237
-4
lines changed

5 files changed

+237
-4
lines changed

api_names_out.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143862,6 +143862,9 @@
143862143862
"/dataproc:v1/Binding/members": members
143863143863
"/dataproc:v1/Binding/members/member": member
143864143864
"/dataproc:v1/Binding/role": role
143865+
"/dataproc:v1/BuildInfo": build_info
143866+
"/dataproc:v1/BuildInfo/buildKey": build_key
143867+
"/dataproc:v1/BuildInfo/buildValue": build_value
143865143868
"/dataproc:v1/CancelJobRequest": cancel_job_request
143866143869
"/dataproc:v1/Cluster": cluster
143867143870
"/dataproc:v1/Cluster/clusterName": cluster_name
@@ -144104,6 +144107,9 @@
144104144107
"/dataproc:v1/Expr/expression": expression
144105144108
"/dataproc:v1/Expr/location": location
144106144109
"/dataproc:v1/Expr/title": title
144110+
"/dataproc:v1/FallbackReason": fallback_reason
144111+
"/dataproc:v1/FallbackReason/fallbackNode": fallback_node
144112+
"/dataproc:v1/FallbackReason/fallbackReason": fallback_reason
144107144113
"/dataproc:v1/FlinkJob": flink_job
144108144114
"/dataproc:v1/FlinkJob/args": args
144109144115
"/dataproc:v1/FlinkJob/args/arg": arg
@@ -144124,6 +144130,8 @@
144124144130
"/dataproc:v1/GceClusterConfig/nodeGroupAffinity": node_group_affinity
144125144131
"/dataproc:v1/GceClusterConfig/privateIpv6GoogleAccess": private_ipv6_google_access
144126144132
"/dataproc:v1/GceClusterConfig/reservationAffinity": reservation_affinity
144133+
"/dataproc:v1/GceClusterConfig/resourceManagerTags": resource_manager_tags
144134+
"/dataproc:v1/GceClusterConfig/resourceManagerTags/resource_manager_tag": resource_manager_tag
144127144135
"/dataproc:v1/GceClusterConfig/serviceAccount": service_account
144128144136
"/dataproc:v1/GceClusterConfig/serviceAccountScopes": service_account_scopes
144129144137
"/dataproc:v1/GceClusterConfig/serviceAccountScopes/service_account_scope": service_account_scope
@@ -144447,6 +144455,18 @@
144447144455
"/dataproc:v1/NamespacedGkeDeploymentTarget": namespaced_gke_deployment_target
144448144456
"/dataproc:v1/NamespacedGkeDeploymentTarget/clusterNamespace": cluster_namespace
144449144457
"/dataproc:v1/NamespacedGkeDeploymentTarget/targetGkeCluster": target_gke_cluster
144458+
"/dataproc:v1/NativeBuildInfoUiData": native_build_info_ui_data
144459+
"/dataproc:v1/NativeBuildInfoUiData/buildClass": build_class
144460+
"/dataproc:v1/NativeBuildInfoUiData/buildInfo": build_info
144461+
"/dataproc:v1/NativeBuildInfoUiData/buildInfo/build_info": build_info
144462+
"/dataproc:v1/NativeSqlExecutionUiData": native_sql_execution_ui_data
144463+
"/dataproc:v1/NativeSqlExecutionUiData/description": description
144464+
"/dataproc:v1/NativeSqlExecutionUiData/executionId": execution_id
144465+
"/dataproc:v1/NativeSqlExecutionUiData/fallbackDescription": fallback_description
144466+
"/dataproc:v1/NativeSqlExecutionUiData/fallbackNodeToReason": fallback_node_to_reason
144467+
"/dataproc:v1/NativeSqlExecutionUiData/fallbackNodeToReason/fallback_node_to_reason": fallback_node_to_reason
144468+
"/dataproc:v1/NativeSqlExecutionUiData/numFallbackNodes": num_fallback_nodes
144469+
"/dataproc:v1/NativeSqlExecutionUiData/numNativeNodes": num_native_nodes
144450144470
"/dataproc:v1/NodeGroup": node_group
144451144471
"/dataproc:v1/NodeGroup/labels": labels
144452144472
"/dataproc:v1/NodeGroup/labels/label": label
@@ -145008,6 +145028,8 @@
145008145028
"/dataproc:v1/SparkWrapperObject/executorStageSummary": executor_stage_summary
145009145029
"/dataproc:v1/SparkWrapperObject/executorSummary": executor_summary
145010145030
"/dataproc:v1/SparkWrapperObject/jobData": job_data
145031+
"/dataproc:v1/SparkWrapperObject/nativeBuildInfoUiData": native_build_info_ui_data
145032+
"/dataproc:v1/SparkWrapperObject/nativeSqlExecutionUiData": native_sql_execution_ui_data
145011145033
"/dataproc:v1/SparkWrapperObject/poolData": pool_data
145012145034
"/dataproc:v1/SparkWrapperObject/processSummary": process_summary
145013145035
"/dataproc:v1/SparkWrapperObject/rddOperationGraph": rdd_operation_graph

generated/google-apis-dataproc_v1/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-dataproc_v1
22

3-
### v0.75.0 (2025-01-19)
3+
### v0.75.0 (2025-02-26)
44

5-
* Regenerated from discovery document revision 20250111
5+
* Regenerated from discovery document revision 20250207
66
* Regenerated using generator version 0.16.0
77

88
### v0.74.0 (2024-11-03)

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

Lines changed: 145 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,31 @@ def update!(**args)
12091209
end
12101210
end
12111211

1212+
# Native Build Info
1213+
class BuildInfo
1214+
include Google::Apis::Core::Hashable
1215+
1216+
# Optional. Build key.
1217+
# Corresponds to the JSON property `buildKey`
1218+
# @return [String]
1219+
attr_accessor :build_key
1220+
1221+
# Optional. Build value.
1222+
# Corresponds to the JSON property `buildValue`
1223+
# @return [String]
1224+
attr_accessor :build_value
1225+
1226+
def initialize(**args)
1227+
update!(**args)
1228+
end
1229+
1230+
# Update properties of this object
1231+
def update!(**args)
1232+
@build_key = args[:build_key] if args.key?(:build_key)
1233+
@build_value = args[:build_value] if args.key?(:build_value)
1234+
end
1235+
end
1236+
12121237
# A request to cancel a job.
12131238
class CancelJobRequest
12141239
include Google::Apis::Core::Hashable
@@ -2784,6 +2809,31 @@ def update!(**args)
27842809
end
27852810
end
27862811

2812+
# Native SQL Execution Data
2813+
class FallbackReason
2814+
include Google::Apis::Core::Hashable
2815+
2816+
# Optional. Fallback node information.
2817+
# Corresponds to the JSON property `fallbackNode`
2818+
# @return [String]
2819+
attr_accessor :fallback_node
2820+
2821+
# Optional. Fallback to Spark reason.
2822+
# Corresponds to the JSON property `fallbackReason`
2823+
# @return [String]
2824+
attr_accessor :fallback_reason
2825+
2826+
def initialize(**args)
2827+
update!(**args)
2828+
end
2829+
2830+
# Update properties of this object
2831+
def update!(**args)
2832+
@fallback_node = args[:fallback_node] if args.key?(:fallback_node)
2833+
@fallback_reason = args[:fallback_reason] if args.key?(:fallback_reason)
2834+
end
2835+
end
2836+
27872837
# A Dataproc job for running Apache Flink applications on YARN.
27882838
class FlinkJob
27892839
include Google::Apis::Core::Hashable
@@ -2906,6 +2956,13 @@ class GceClusterConfig
29062956
# @return [Google::Apis::DataprocV1::ReservationAffinity]
29072957
attr_accessor :reservation_affinity
29082958

2959+
# Optional. Resource manager tags to add to all instances (see Resource manager
2960+
# tags resources (https://cloud.google.com/resource-manager/docs/tags/tags-
2961+
# creating-and-managing)).
2962+
# Corresponds to the JSON property `resourceManagerTags`
2963+
# @return [Hash<String,String>]
2964+
attr_accessor :resource_manager_tags
2965+
29092966
# Optional. The Dataproc service account (https://cloud.google.com/dataproc/docs/
29102967
# concepts/configuring-clusters/service-accounts#service_accounts_in_dataproc) (
29112968
# also see VM Data Plane identity (https://cloud.google.com/dataproc/docs/
@@ -2973,6 +3030,7 @@ def update!(**args)
29733030
@node_group_affinity = args[:node_group_affinity] if args.key?(:node_group_affinity)
29743031
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
29753032
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
3033+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
29763034
@service_account = args[:service_account] if args.key?(:service_account)
29773035
@service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes)
29783036
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
@@ -5178,6 +5236,80 @@ def update!(**args)
51785236
end
51795237
end
51805238

5239+
#
5240+
class NativeBuildInfoUiData
5241+
include Google::Apis::Core::Hashable
5242+
5243+
# Optional. Build class of Native.
5244+
# Corresponds to the JSON property `buildClass`
5245+
# @return [String]
5246+
attr_accessor :build_class
5247+
5248+
# Optional. Build related details.
5249+
# Corresponds to the JSON property `buildInfo`
5250+
# @return [Array<Google::Apis::DataprocV1::BuildInfo>]
5251+
attr_accessor :build_info
5252+
5253+
def initialize(**args)
5254+
update!(**args)
5255+
end
5256+
5257+
# Update properties of this object
5258+
def update!(**args)
5259+
@build_class = args[:build_class] if args.key?(:build_class)
5260+
@build_info = args[:build_info] if args.key?(:build_info)
5261+
end
5262+
end
5263+
5264+
# Native SQL Execution Data
5265+
class NativeSqlExecutionUiData
5266+
include Google::Apis::Core::Hashable
5267+
5268+
# Optional. Description of the execution.
5269+
# Corresponds to the JSON property `description`
5270+
# @return [String]
5271+
attr_accessor :description
5272+
5273+
# Required. Execution ID of the Native SQL Execution.
5274+
# Corresponds to the JSON property `executionId`
5275+
# @return [Fixnum]
5276+
attr_accessor :execution_id
5277+
5278+
# Optional. Description of the fallback.
5279+
# Corresponds to the JSON property `fallbackDescription`
5280+
# @return [String]
5281+
attr_accessor :fallback_description
5282+
5283+
# Optional. Fallback node to reason.
5284+
# Corresponds to the JSON property `fallbackNodeToReason`
5285+
# @return [Array<Google::Apis::DataprocV1::FallbackReason>]
5286+
attr_accessor :fallback_node_to_reason
5287+
5288+
# Optional. Number of nodes fallen back to Spark.
5289+
# Corresponds to the JSON property `numFallbackNodes`
5290+
# @return [Fixnum]
5291+
attr_accessor :num_fallback_nodes
5292+
5293+
# Optional. Number of nodes in Native.
5294+
# Corresponds to the JSON property `numNativeNodes`
5295+
# @return [Fixnum]
5296+
attr_accessor :num_native_nodes
5297+
5298+
def initialize(**args)
5299+
update!(**args)
5300+
end
5301+
5302+
# Update properties of this object
5303+
def update!(**args)
5304+
@description = args[:description] if args.key?(:description)
5305+
@execution_id = args[:execution_id] if args.key?(:execution_id)
5306+
@fallback_description = args[:fallback_description] if args.key?(:fallback_description)
5307+
@fallback_node_to_reason = args[:fallback_node_to_reason] if args.key?(:fallback_node_to_reason)
5308+
@num_fallback_nodes = args[:num_fallback_nodes] if args.key?(:num_fallback_nodes)
5309+
@num_native_nodes = args[:num_native_nodes] if args.key?(:num_native_nodes)
5310+
end
5311+
end
5312+
51815313
# Dataproc Node Group. The Dataproc NodeGroup resource is not related to the
51825314
# Dataproc NodeGroupAffinity resource.
51835315
class NodeGroup
@@ -7420,7 +7552,7 @@ class Session
74207552
# @return [Hash<String,String>]
74217553
attr_accessor :labels
74227554

7423-
# Required. The resource name of the session.
7555+
# Identifier. The resource name of the session.
74247556
# Corresponds to the JSON property `name`
74257557
# @return [String]
74267558
attr_accessor :name
@@ -8935,6 +9067,16 @@ class SparkWrapperObject
89359067
# @return [Google::Apis::DataprocV1::JobData]
89369068
attr_accessor :job_data
89379069

9070+
# Native Build Info
9071+
# Corresponds to the JSON property `nativeBuildInfoUiData`
9072+
# @return [Google::Apis::DataprocV1::NativeBuildInfoUiData]
9073+
attr_accessor :native_build_info_ui_data
9074+
9075+
# Native SQL Execution Data
9076+
# Corresponds to the JSON property `nativeSqlExecutionUiData`
9077+
# @return [Google::Apis::DataprocV1::NativeSqlExecutionUiData]
9078+
attr_accessor :native_sql_execution_ui_data
9079+
89389080
# Pool Data
89399081
# Corresponds to the JSON property `poolData`
89409082
# @return [Google::Apis::DataprocV1::PoolData]
@@ -9015,6 +9157,8 @@ def update!(**args)
90159157
@executor_stage_summary = args[:executor_stage_summary] if args.key?(:executor_stage_summary)
90169158
@executor_summary = args[:executor_summary] if args.key?(:executor_summary)
90179159
@job_data = args[:job_data] if args.key?(:job_data)
9160+
@native_build_info_ui_data = args[:native_build_info_ui_data] if args.key?(:native_build_info_ui_data)
9161+
@native_sql_execution_ui_data = args[:native_sql_execution_ui_data] if args.key?(:native_sql_execution_ui_data)
90189162
@pool_data = args[:pool_data] if args.key?(:pool_data)
90199163
@process_summary = args[:process_summary] if args.key?(:process_summary)
90209164
@rdd_operation_graph = args[:rdd_operation_graph] if args.key?(:rdd_operation_graph)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module DataprocV1
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250111"
25+
REVISION = "20250207"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)