google-cloud-dataproc-v1 0.17.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dataproc/v1/autoscaling_policies_pb.rb +25 -51
  4. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/client.rb +6 -4
  5. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/rest/client.rb +6 -4
  6. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/rest/service_stub.rb +5 -5
  7. data/lib/google/cloud/dataproc/v1/batch_controller/client.rb +6 -4
  8. data/lib/google/cloud/dataproc/v1/batch_controller/operations.rb +5 -3
  9. data/lib/google/cloud/dataproc/v1/batch_controller/rest/client.rb +6 -4
  10. data/lib/google/cloud/dataproc/v1/batch_controller/rest/operations.rb +9 -7
  11. data/lib/google/cloud/dataproc/v1/batch_controller/rest/service_stub.rb +4 -4
  12. data/lib/google/cloud/dataproc/v1/batches_pb.rb +26 -88
  13. data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +6 -4
  14. data/lib/google/cloud/dataproc/v1/cluster_controller/operations.rb +5 -3
  15. data/lib/google/cloud/dataproc/v1/cluster_controller/rest/client.rb +6 -4
  16. data/lib/google/cloud/dataproc/v1/cluster_controller/rest/operations.rb +9 -7
  17. data/lib/google/cloud/dataproc/v1/cluster_controller/rest/service_stub.rb +8 -8
  18. data/lib/google/cloud/dataproc/v1/clusters_pb.rb +28 -289
  19. data/lib/google/cloud/dataproc/v1/job_controller/client.rb +6 -4
  20. data/lib/google/cloud/dataproc/v1/job_controller/operations.rb +5 -3
  21. data/lib/google/cloud/dataproc/v1/job_controller/rest/client.rb +6 -4
  22. data/lib/google/cloud/dataproc/v1/job_controller/rest/operations.rb +9 -7
  23. data/lib/google/cloud/dataproc/v1/job_controller/rest/service_stub.rb +7 -7
  24. data/lib/google/cloud/dataproc/v1/jobs_pb.rb +26 -248
  25. data/lib/google/cloud/dataproc/v1/node_group_controller/client.rb +6 -4
  26. data/lib/google/cloud/dataproc/v1/node_group_controller/operations.rb +5 -3
  27. data/lib/google/cloud/dataproc/v1/node_group_controller/rest/client.rb +6 -4
  28. data/lib/google/cloud/dataproc/v1/node_group_controller/rest/operations.rb +9 -7
  29. data/lib/google/cloud/dataproc/v1/node_group_controller/rest/service_stub.rb +3 -3
  30. data/lib/google/cloud/dataproc/v1/node_groups_pb.rb +26 -16
  31. data/lib/google/cloud/dataproc/v1/operations_pb.rb +25 -55
  32. data/lib/google/cloud/dataproc/v1/shared_pb.rb +26 -116
  33. data/lib/google/cloud/dataproc/v1/version.rb +1 -1
  34. data/lib/google/cloud/dataproc/v1/workflow_template_service/client.rb +6 -4
  35. data/lib/google/cloud/dataproc/v1/workflow_template_service/operations.rb +5 -3
  36. data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/client.rb +6 -4
  37. data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/operations.rb +9 -7
  38. data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/service_stub.rb +7 -7
  39. data/lib/google/cloud/dataproc/v1/workflow_templates_pb.rb +28 -142
  40. data/proto_docs/google/api/client.rb +67 -4
  41. data/proto_docs/google/protobuf/any.rb +7 -4
  42. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  43. metadata +4 -4
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/dataproc/v1/node_groups.proto
3
4
 
@@ -11,24 +12,33 @@ require 'google/cloud/dataproc/v1/clusters_pb'
11
12
  require 'google/longrunning/operations_pb'
12
13
  require 'google/protobuf/duration_pb'
13
14
 
14
- Google::Protobuf::DescriptorPool.generated_pool.build do
15
- add_file("google/cloud/dataproc/v1/node_groups.proto", :syntax => :proto3) do
16
- add_message "google.cloud.dataproc.v1.CreateNodeGroupRequest" do
17
- optional :parent, :string, 1
18
- optional :node_group, :message, 2, "google.cloud.dataproc.v1.NodeGroup"
19
- optional :node_group_id, :string, 4
20
- optional :request_id, :string, 3
21
- end
22
- add_message "google.cloud.dataproc.v1.ResizeNodeGroupRequest" do
23
- optional :name, :string, 1
24
- optional :size, :int32, 2
25
- optional :request_id, :string, 3
26
- optional :graceful_decommission_timeout, :message, 4, "google.protobuf.Duration"
27
- end
28
- add_message "google.cloud.dataproc.v1.GetNodeGroupRequest" do
29
- optional :name, :string, 1
15
+
16
+ descriptor_data = "\n*google/cloud/dataproc/v1/node_groups.proto\x12\x18google.cloud.dataproc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/dataproc/v1/clusters.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\"\xc6\x01\n\x16\x43reateNodeGroupRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!dataproc.googleapis.com/NodeGroup\x12<\n\nnode_group\x18\x02 \x01(\x0b\x32#.google.cloud.dataproc.v1.NodeGroupB\x03\xe0\x41\x02\x12\x1a\n\rnode_group_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9e\x01\n\x16ResizeNodeGroupRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x45\n\x1dgraceful_decommission_timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"N\n\x13GetNodeGroupRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!dataproc.googleapis.com/NodeGroup2\xa7\x06\n\x13NodeGroupController\x12\x95\x02\n\x0f\x43reateNodeGroup\x12\x30.google.cloud.dataproc.v1.CreateNodeGroupRequest\x1a\x1d.google.longrunning.Operation\"\xb0\x01\x82\xd3\xe4\x93\x02\x45\"7/v1/{parent=projects/*/regions/*/clusters/*}/nodeGroups:\nnode_group\xda\x41\x1fparent,node_group,node_group_id\xca\x41@\n\tNodeGroup\x12\x33google.cloud.dataproc.v1.NodeGroupOperationMetadata\x12\xfd\x01\n\x0fResizeNodeGroup\x12\x30.google.cloud.dataproc.v1.ResizeNodeGroupRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02\x43\">/v1/{name=projects/*/regions/*/clusters/*/nodeGroups/*}:resize:\x01*\xda\x41\tname,size\xca\x41@\n\tNodeGroup\x12\x33google.cloud.dataproc.v1.NodeGroupOperationMetadata\x12\xaa\x01\n\x0cGetNodeGroup\x12-.google.cloud.dataproc.v1.GetNodeGroupRequest\x1a#.google.cloud.dataproc.v1.NodeGroup\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/regions/*/clusters/*/nodeGroups/*}\xda\x41\x04name\x1aK\xca\x41\x17\x64\x61taproc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd0\x01\n\x1c\x63om.google.cloud.dataproc.v1B\x0fNodeGroupsProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb\xea\x41_\n%dataproc.googleapis.com/ClusterRegion\x12\x36projects/{project}/regions/{region}/clusters/{cluster}b\x06proto3"
17
+
18
+ pool = Google::Protobuf::DescriptorPool.generated_pool
19
+
20
+ begin
21
+ pool.add_serialized_file(descriptor_data)
22
+ rescue TypeError => e
23
+ # Compatibility code: will be removed in the next major version.
24
+ require 'google/protobuf/descriptor_pb'
25
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
+ parsed.clear_dependency
27
+ serialized = parsed.class.encode(parsed)
28
+ file = pool.add_serialized_file(serialized)
29
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
+ imports = [
31
+ ["google.cloud.dataproc.v1.NodeGroup", "google/cloud/dataproc/v1/clusters.proto"],
32
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
33
+ ]
34
+ imports.each do |type_name, expected_filename|
35
+ import_file = pool.lookup(type_name).file_descriptor
36
+ if import_file.name != expected_filename
37
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
38
  end
31
39
  end
40
+ warn "Each proto file must use a consistent fully-qualified name."
41
+ warn "This will become an error in the next major version."
32
42
  end
33
43
 
34
44
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/dataproc/v1/operations.proto
3
4
 
@@ -6,63 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/protobuf/timestamp_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/cloud/dataproc/v1/operations.proto", :syntax => :proto3) do
11
- add_message "google.cloud.dataproc.v1.BatchOperationMetadata" do
12
- optional :batch, :string, 1
13
- optional :batch_uuid, :string, 2
14
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
15
- optional :done_time, :message, 4, "google.protobuf.Timestamp"
16
- optional :operation_type, :enum, 6, "google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType"
17
- optional :description, :string, 7
18
- map :labels, :string, :string, 8
19
- repeated :warnings, :string, 9
20
- end
21
- add_enum "google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType" do
22
- value :BATCH_OPERATION_TYPE_UNSPECIFIED, 0
23
- value :BATCH, 1
24
- end
25
- add_message "google.cloud.dataproc.v1.ClusterOperationStatus" do
26
- optional :state, :enum, 1, "google.cloud.dataproc.v1.ClusterOperationStatus.State"
27
- optional :inner_state, :string, 2
28
- optional :details, :string, 3
29
- optional :state_start_time, :message, 4, "google.protobuf.Timestamp"
30
- end
31
- add_enum "google.cloud.dataproc.v1.ClusterOperationStatus.State" do
32
- value :UNKNOWN, 0
33
- value :PENDING, 1
34
- value :RUNNING, 2
35
- value :DONE, 3
36
- end
37
- add_message "google.cloud.dataproc.v1.ClusterOperationMetadata" do
38
- optional :cluster_name, :string, 7
39
- optional :cluster_uuid, :string, 8
40
- optional :status, :message, 9, "google.cloud.dataproc.v1.ClusterOperationStatus"
41
- repeated :status_history, :message, 10, "google.cloud.dataproc.v1.ClusterOperationStatus"
42
- optional :operation_type, :string, 11
43
- optional :description, :string, 12
44
- map :labels, :string, :string, 13
45
- repeated :warnings, :string, 14
46
- repeated :child_operation_ids, :string, 15
47
- end
48
- add_message "google.cloud.dataproc.v1.NodeGroupOperationMetadata" do
49
- optional :node_group_id, :string, 1
50
- optional :cluster_uuid, :string, 2
51
- optional :status, :message, 3, "google.cloud.dataproc.v1.ClusterOperationStatus"
52
- repeated :status_history, :message, 4, "google.cloud.dataproc.v1.ClusterOperationStatus"
53
- optional :operation_type, :enum, 5, "google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType"
54
- optional :description, :string, 6
55
- map :labels, :string, :string, 7
56
- repeated :warnings, :string, 8
57
- end
58
- add_enum "google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType" do
59
- value :NODE_GROUP_OPERATION_TYPE_UNSPECIFIED, 0
60
- value :CREATE, 1
61
- value :UPDATE, 2
62
- value :DELETE, 3
63
- value :RESIZE, 4
10
+
11
+ descriptor_data = "\n)google/cloud/dataproc/v1/operations.proto\x12\x18google.cloud.dataproc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe3\x03\n\x16\x42\x61tchOperationMetadata\x12\r\n\x05\x62\x61tch\x18\x01 \x01(\t\x12\x12\n\nbatch_uuid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tdone_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12[\n\x0eoperation_type\x18\x06 \x01(\x0e\x32\x43.google.cloud.dataproc.v1.BatchOperationMetadata.BatchOperationType\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12L\n\x06labels\x18\x08 \x03(\x0b\x32<.google.cloud.dataproc.v1.BatchOperationMetadata.LabelsEntry\x12\x10\n\x08warnings\x18\t \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"E\n\x12\x42\x61tchOperationType\x12$\n BATCH_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41TCH\x10\x01\"\x89\x02\n\x16\x43lusterOperationStatus\x12J\n\x05state\x18\x01 \x01(\x0e\x32\x36.google.cloud.dataproc.v1.ClusterOperationStatus.StateB\x03\xe0\x41\x03\x12\x18\n\x0binner_state\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07\x64\x65tails\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x10state_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"8\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x08\n\x04\x44ONE\x10\x03\"\xda\x03\n\x18\x43lusterOperationMetadata\x12\x19\n\x0c\x63luster_name\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x63luster_uuid\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x06status\x18\t \x01(\x0b\x32\x30.google.cloud.dataproc.v1.ClusterOperationStatusB\x03\xe0\x41\x03\x12M\n\x0estatus_history\x18\n \x03(\x0b\x32\x30.google.cloud.dataproc.v1.ClusterOperationStatusB\x03\xe0\x41\x03\x12\x1b\n\x0eoperation_type\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12S\n\x06labels\x18\r \x03(\x0b\x32>.google.cloud.dataproc.v1.ClusterOperationMetadata.LabelsEntryB\x03\xe0\x41\x03\x12\x15\n\x08warnings\x18\x0e \x03(\tB\x03\xe0\x41\x03\x12 \n\x13\x63hild_operation_ids\x18\x0f \x03(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xfa\x04\n\x1aNodeGroupOperationMetadata\x12\x1a\n\rnode_group_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x63luster_uuid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x06status\x18\x03 \x01(\x0b\x32\x30.google.cloud.dataproc.v1.ClusterOperationStatusB\x03\xe0\x41\x03\x12M\n\x0estatus_history\x18\x04 \x03(\x0b\x32\x30.google.cloud.dataproc.v1.ClusterOperationStatusB\x03\xe0\x41\x03\x12\x63\n\x0eoperation_type\x18\x05 \x01(\x0e\x32K.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType\x12\x18\n\x0b\x64\x65scription\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12U\n\x06labels\x18\x07 \x03(\x0b\x32@.google.cloud.dataproc.v1.NodeGroupOperationMetadata.LabelsEntryB\x03\xe0\x41\x03\x12\x15\n\x08warnings\x18\x08 \x03(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"s\n\x16NodeGroupOperationType\x12)\n%NODE_GROUP_OPERATION_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06UPDATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\x12\n\n\x06RESIZE\x10\x04\x42n\n\x1c\x63om.google.cloud.dataproc.v1B\x0fOperationsProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpbb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
64
32
  end
65
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
66
36
  end
67
37
 
68
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/dataproc/v1/shared.proto
3
4
 
@@ -8,124 +9,33 @@ require 'google/api/resource_pb'
8
9
  require 'google/protobuf/duration_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/cloud/dataproc/v1/shared.proto", :syntax => :proto3) do
13
- add_message "google.cloud.dataproc.v1.RuntimeConfig" do
14
- optional :version, :string, 1
15
- optional :container_image, :string, 2
16
- map :properties, :string, :string, 3
17
- end
18
- add_message "google.cloud.dataproc.v1.EnvironmentConfig" do
19
- optional :execution_config, :message, 1, "google.cloud.dataproc.v1.ExecutionConfig"
20
- optional :peripherals_config, :message, 2, "google.cloud.dataproc.v1.PeripheralsConfig"
21
- end
22
- add_message "google.cloud.dataproc.v1.ExecutionConfig" do
23
- optional :service_account, :string, 2
24
- repeated :network_tags, :string, 6
25
- optional :kms_key, :string, 7
26
- optional :ttl, :message, 9, "google.protobuf.Duration"
27
- optional :staging_bucket, :string, 10
28
- oneof :network do
29
- optional :network_uri, :string, 4
30
- optional :subnetwork_uri, :string, 5
31
- end
32
- end
33
- add_message "google.cloud.dataproc.v1.SparkHistoryServerConfig" do
34
- optional :dataproc_cluster, :string, 1
35
- end
36
- add_message "google.cloud.dataproc.v1.PeripheralsConfig" do
37
- optional :metastore_service, :string, 1
38
- optional :spark_history_server_config, :message, 2, "google.cloud.dataproc.v1.SparkHistoryServerConfig"
39
- end
40
- add_message "google.cloud.dataproc.v1.RuntimeInfo" do
41
- map :endpoints, :string, :string, 1
42
- optional :output_uri, :string, 2
43
- optional :diagnostic_output_uri, :string, 3
44
- optional :approximate_usage, :message, 6, "google.cloud.dataproc.v1.UsageMetrics"
45
- optional :current_usage, :message, 7, "google.cloud.dataproc.v1.UsageSnapshot"
46
- end
47
- add_message "google.cloud.dataproc.v1.UsageMetrics" do
48
- optional :milli_dcu_seconds, :int64, 1
49
- optional :shuffle_storage_gb_seconds, :int64, 2
50
- end
51
- add_message "google.cloud.dataproc.v1.UsageSnapshot" do
52
- optional :milli_dcu, :int64, 1
53
- optional :shuffle_storage_gb, :int64, 2
54
- optional :snapshot_time, :message, 3, "google.protobuf.Timestamp"
55
- end
56
- add_message "google.cloud.dataproc.v1.GkeClusterConfig" do
57
- optional :gke_cluster_target, :string, 2
58
- repeated :node_pool_target, :message, 3, "google.cloud.dataproc.v1.GkeNodePoolTarget"
59
- end
60
- add_message "google.cloud.dataproc.v1.KubernetesClusterConfig" do
61
- optional :kubernetes_namespace, :string, 1
62
- optional :kubernetes_software_config, :message, 3, "google.cloud.dataproc.v1.KubernetesSoftwareConfig"
63
- oneof :config do
64
- optional :gke_cluster_config, :message, 2, "google.cloud.dataproc.v1.GkeClusterConfig"
65
- end
66
- end
67
- add_message "google.cloud.dataproc.v1.KubernetesSoftwareConfig" do
68
- map :component_version, :string, :string, 1
69
- map :properties, :string, :string, 2
70
- end
71
- add_message "google.cloud.dataproc.v1.GkeNodePoolTarget" do
72
- optional :node_pool, :string, 1
73
- repeated :roles, :enum, 2, "google.cloud.dataproc.v1.GkeNodePoolTarget.Role"
74
- optional :node_pool_config, :message, 3, "google.cloud.dataproc.v1.GkeNodePoolConfig"
75
- end
76
- add_enum "google.cloud.dataproc.v1.GkeNodePoolTarget.Role" do
77
- value :ROLE_UNSPECIFIED, 0
78
- value :DEFAULT, 1
79
- value :CONTROLLER, 2
80
- value :SPARK_DRIVER, 3
81
- value :SPARK_EXECUTOR, 4
82
- end
83
- add_message "google.cloud.dataproc.v1.GkeNodePoolConfig" do
84
- optional :config, :message, 2, "google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig"
85
- repeated :locations, :string, 13
86
- optional :autoscaling, :message, 4, "google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig"
87
- end
88
- add_message "google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfig" do
89
- optional :machine_type, :string, 1
90
- optional :local_ssd_count, :int32, 7
91
- optional :preemptible, :bool, 10
92
- repeated :accelerators, :message, 11, "google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig"
93
- optional :min_cpu_platform, :string, 13
94
- optional :boot_disk_kms_key, :string, 23
95
- optional :spot, :bool, 32
96
- end
97
- add_message "google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfig" do
98
- optional :accelerator_count, :int64, 1
99
- optional :accelerator_type, :string, 2
100
- optional :gpu_partition_size, :string, 3
101
- end
102
- add_message "google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfig" do
103
- optional :min_node_count, :int32, 2
104
- optional :max_node_count, :int32, 3
105
- end
106
- add_enum "google.cloud.dataproc.v1.Component" do
107
- value :COMPONENT_UNSPECIFIED, 0
108
- value :ANACONDA, 5
109
- value :DOCKER, 13
110
- value :DRUID, 9
111
- value :FLINK, 14
112
- value :HBASE, 11
113
- value :HIVE_WEBHCAT, 3
114
- value :HUDI, 18
115
- value :JUPYTER, 1
116
- value :PRESTO, 6
117
- value :TRINO, 17
118
- value :RANGER, 12
119
- value :SOLR, 10
120
- value :ZEPPELIN, 4
121
- value :ZOOKEEPER, 8
122
- end
123
- add_enum "google.cloud.dataproc.v1.FailureAction" do
124
- value :FAILURE_ACTION_UNSPECIFIED, 0
125
- value :NO_ACTION, 1
126
- value :DELETE, 2
12
+
13
+ descriptor_data = "\n%google/cloud/dataproc/v1/shared.proto\x12\x18google.cloud.dataproc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc8\x01\n\rRuntimeConfig\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x63ontainer_image\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12P\n\nproperties\x18\x03 \x03(\x0b\x32\x37.google.cloud.dataproc.v1.RuntimeConfig.PropertiesEntryB\x03\xe0\x41\x01\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xab\x01\n\x11\x45nvironmentConfig\x12H\n\x10\x65xecution_config\x18\x01 \x01(\x0b\x32).google.cloud.dataproc.v1.ExecutionConfigB\x03\xe0\x41\x01\x12L\n\x12peripherals_config\x18\x02 \x01(\x0b\x32+.google.cloud.dataproc.v1.PeripheralsConfigB\x03\xe0\x41\x01\"\xf0\x01\n\x0f\x45xecutionConfig\x12\x1c\n\x0fservice_account\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\x0bnetwork_uri\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x1d\n\x0esubnetwork_uri\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x19\n\x0cnetwork_tags\x18\x06 \x03(\tB\x03\xe0\x41\x01\x12\x14\n\x07kms_key\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12+\n\x03ttl\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x1b\n\x0estaging_bucket\x18\n \x01(\tB\x03\xe0\x41\x01\x42\t\n\x07network\"9\n\x18SparkHistoryServerConfig\x12\x1d\n\x10\x64\x61taproc_cluster\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\xb6\x01\n\x11PeripheralsConfig\x12\x43\n\x11metastore_service\x18\x01 \x01(\tB(\xe0\x41\x01\xfa\x41\"\n metastore.googleapis.com/Service\x12\\\n\x1bspark_history_server_config\x18\x02 \x01(\x0b\x32\x32.google.cloud.dataproc.v1.SparkHistoryServerConfigB\x03\xe0\x41\x01\"\xd7\x02\n\x0bRuntimeInfo\x12L\n\tendpoints\x18\x01 \x03(\x0b\x32\x34.google.cloud.dataproc.v1.RuntimeInfo.EndpointsEntryB\x03\xe0\x41\x03\x12\x17\n\noutput_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\"\n\x15\x64iagnostic_output_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x46\n\x11\x61pproximate_usage\x18\x06 \x01(\x0b\x32&.google.cloud.dataproc.v1.UsageMetricsB\x03\xe0\x41\x03\x12\x43\n\rcurrent_usage\x18\x07 \x01(\x0b\x32\'.google.cloud.dataproc.v1.UsageSnapshotB\x03\xe0\x41\x03\x1a\x30\n\x0e\x45ndpointsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"W\n\x0cUsageMetrics\x12\x1e\n\x11milli_dcu_seconds\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01\x12\'\n\x1ashuffle_storage_gb_seconds\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\"\x80\x01\n\rUsageSnapshot\x12\x16\n\tmilli_dcu\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1f\n\x12shuffle_storage_gb\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12\x36\n\rsnapshot_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"\xa4\x01\n\x10GkeClusterConfig\x12\x44\n\x12gke_cluster_target\x18\x02 \x01(\tB(\xe0\x41\x01\xfa\x41\"\n container.googleapis.com/Cluster\x12J\n\x10node_pool_target\x18\x03 \x03(\x0b\x32+.google.cloud.dataproc.v1.GkeNodePoolTargetB\x03\xe0\x41\x01\"\xf2\x01\n\x17KubernetesClusterConfig\x12!\n\x14kubernetes_namespace\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12M\n\x12gke_cluster_config\x18\x02 \x01(\x0b\x32*.google.cloud.dataproc.v1.GkeClusterConfigB\x03\xe0\x41\x02H\x00\x12[\n\x1akubernetes_software_config\x18\x03 \x01(\x0b\x32\x32.google.cloud.dataproc.v1.KubernetesSoftwareConfigB\x03\xe0\x41\x01\x42\x08\n\x06\x63onfig\"\xc3\x02\n\x18KubernetesSoftwareConfig\x12\x63\n\x11\x63omponent_version\x18\x01 \x03(\x0b\x32H.google.cloud.dataproc.v1.KubernetesSoftwareConfig.ComponentVersionEntry\x12V\n\nproperties\x18\x02 \x03(\x0b\x32\x42.google.cloud.dataproc.v1.KubernetesSoftwareConfig.PropertiesEntry\x1a\x37\n\x15\x43omponentVersionEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9e\x02\n\x11GkeNodePoolTarget\x12\x16\n\tnode_pool\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x05roles\x18\x02 \x03(\x0e\x32\x30.google.cloud.dataproc.v1.GkeNodePoolTarget.RoleB\x03\xe0\x41\x02\x12J\n\x10node_pool_config\x18\x03 \x01(\x0b\x32+.google.cloud.dataproc.v1.GkeNodePoolConfigB\x03\xe0\x41\x04\"_\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x0e\n\nCONTROLLER\x10\x02\x12\x10\n\x0cSPARK_DRIVER\x10\x03\x12\x12\n\x0eSPARK_EXECUTOR\x10\x04\"\xbc\x05\n\x11GkeNodePoolConfig\x12N\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x39.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodeConfigB\x03\xe0\x41\x01\x12\x16\n\tlocations\x18\r \x03(\tB\x03\xe0\x41\x01\x12\x62\n\x0b\x61utoscaling\x18\x04 \x01(\x0b\x32H.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAutoscalingConfigB\x03\xe0\x41\x01\x1a\x99\x02\n\rGkeNodeConfig\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0flocal_ssd_count\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x12\x18\n\x0bpreemptible\x18\n \x01(\x08\x42\x03\xe0\x41\x01\x12\x63\n\x0c\x61\x63\x63\x65lerators\x18\x0b \x03(\x0b\x32H.google.cloud.dataproc.v1.GkeNodePoolConfig.GkeNodePoolAcceleratorConfigB\x03\xe0\x41\x01\x12\x1d\n\x10min_cpu_platform\x18\r \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x62oot_disk_kms_key\x18\x17 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04spot\x18 \x01(\x08\x42\x03\xe0\x41\x01\x1ao\n\x1cGkeNodePoolAcceleratorConfig\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x01 \x01(\x03\x12\x18\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\t\x12\x1a\n\x12gpu_partition_size\x18\x03 \x01(\t\x1aN\n\x1cGkeNodePoolAutoscalingConfig\x12\x16\n\x0emin_node_count\x18\x02 \x01(\x05\x12\x16\n\x0emax_node_count\x18\x03 \x01(\x05*\xd4\x01\n\tComponent\x12\x19\n\x15\x43OMPONENT_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x41NACONDA\x10\x05\x12\n\n\x06\x44OCKER\x10\r\x12\t\n\x05\x44RUID\x10\t\x12\t\n\x05\x46LINK\x10\x0e\x12\t\n\x05HBASE\x10\x0b\x12\x10\n\x0cHIVE_WEBHCAT\x10\x03\x12\x08\n\x04HUDI\x10\x12\x12\x0b\n\x07JUPYTER\x10\x01\x12\n\n\x06PRESTO\x10\x06\x12\t\n\x05TRINO\x10\x11\x12\n\n\x06RANGER\x10\x0c\x12\x08\n\x04SOLR\x10\n\x12\x0c\n\x08ZEPPELIN\x10\x04\x12\r\n\tZOOKEEPER\x10\x08*J\n\rFailureAction\x12\x1e\n\x1a\x46\x41ILURE_ACTION_UNSPECIFIED\x10\x00\x12\r\n\tNO_ACTION\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\x42\xac\x02\n\x1c\x63om.google.cloud.dataproc.v1B\x0bSharedProtoP\x01Z;cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb\xea\x41^\n container.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}\xea\x41^\n metastore.googleapis.com/Service\x12:projects/{project}/locations/{location}/services/{service}b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
29
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
127
35
  end
128
36
  end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
129
39
  end
130
40
 
131
41
  module Google
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dataproc
23
23
  module V1
24
- VERSION = "0.17.0"
24
+ VERSION = "0.18.0"
25
25
  end
26
26
  end
27
27
  end
@@ -160,7 +160,7 @@ module Google
160
160
  credentials = @config.credentials
161
161
  # Use self-signed JWT if the endpoint is unchanged from default,
162
162
  # but only if the default endpoint does not have a region prefix.
163
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
163
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
164
164
  !@config.endpoint.split(".").first.include?("-")
165
165
  credentials ||= Credentials.default scope: @config.scope,
166
166
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1012,9 +1012,9 @@ module Google
1012
1012
  # * (`String`) The path to a service account key file in JSON format
1013
1013
  # * (`Hash`) A service account key as a Hash
1014
1014
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1015
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1015
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1016
1016
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1017
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1017
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1018
1018
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1019
1019
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1020
1020
  # * (`nil`) indicating no credentials
@@ -1056,7 +1056,9 @@ module Google
1056
1056
  class Configuration
1057
1057
  extend ::Gapic::Config
1058
1058
 
1059
- config_attr :endpoint, "dataproc.googleapis.com", ::String
1059
+ DEFAULT_ENDPOINT = "dataproc.googleapis.com"
1060
+
1061
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1060
1062
  config_attr :credentials, nil do |value|
1061
1063
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1062
1064
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -620,9 +620,9 @@ module Google
620
620
  # * (`String`) The path to a service account key file in JSON format
621
621
  # * (`Hash`) A service account key as a Hash
622
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
625
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
626
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
627
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
628
  # * (`nil`) indicating no credentials
@@ -664,7 +664,9 @@ module Google
664
664
  class Configuration
665
665
  extend ::Gapic::Config
666
666
 
667
- config_attr :endpoint, "dataproc.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "dataproc.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
670
  config_attr :credentials, nil do |value|
669
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -156,7 +156,7 @@ module Google
156
156
  credentials = @config.credentials
157
157
  # Use self-signed JWT if the endpoint is unchanged from default,
158
158
  # but only if the default endpoint does not have a region prefix.
159
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
159
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
160
160
  !@config.endpoint.split(".").first.include?("-")
161
161
  credentials ||= Credentials.default scope: @config.scope,
162
162
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -825,9 +825,9 @@ module Google
825
825
  # * (`String`) The path to a service account key file in JSON format
826
826
  # * (`Hash`) A service account key as a Hash
827
827
  # * (`Google::Auth::Credentials`) A googleauth credentials object
828
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
828
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
829
829
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
830
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
830
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
831
831
  # * (`nil`) indicating no credentials
832
832
  # @return [::Object]
833
833
  # @!attribute [rw] scope
@@ -860,7 +860,9 @@ module Google
860
860
  class Configuration
861
861
  extend ::Gapic::Config
862
862
 
863
- config_attr :endpoint, "dataproc.googleapis.com", ::String
863
+ DEFAULT_ENDPOINT = "dataproc.googleapis.com"
864
+
865
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
864
866
  config_attr :credentials, nil do |value|
865
867
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
866
868
  allowed.any? { |klass| klass === value }
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -446,7 +446,9 @@ module Google
446
446
  class Configuration
447
447
  extend ::Gapic::Config
448
448
 
449
- config_attr :endpoint, "dataproc.googleapis.com", ::String
449
+ DEFAULT_ENDPOINT = "dataproc.googleapis.com"
450
+
451
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
450
452
  config_attr :credentials, nil do |value|
451
453
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
454
  allowed.any? { |klass| klass === value }
@@ -567,7 +569,7 @@ module Google
567
569
 
568
570
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
569
571
  query_string_params = if query_string_params.any?
570
- query_string_params.to_h { |p| p.split("=", 2) }
572
+ query_string_params.to_h { |p| p.split "=", 2 }
571
573
  else
572
574
  {}
573
575
  end
@@ -605,7 +607,7 @@ module Google
605
607
 
606
608
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
607
609
  query_string_params = if query_string_params.any?
608
- query_string_params.to_h { |p| p.split("=", 2) }
610
+ query_string_params.to_h { |p| p.split "=", 2 }
609
611
  else
610
612
  {}
611
613
  end
@@ -643,7 +645,7 @@ module Google
643
645
 
644
646
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
645
647
  query_string_params = if query_string_params.any?
646
- query_string_params.to_h { |p| p.split("=", 2) }
648
+ query_string_params.to_h { |p| p.split "=", 2 }
647
649
  else
648
650
  {}
649
651
  end
@@ -681,7 +683,7 @@ module Google
681
683
 
682
684
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
683
685
  query_string_params = if query_string_params.any?
684
- query_string_params.to_h { |p| p.split("=", 2) }
686
+ query_string_params.to_h { |p| p.split "=", 2 }
685
687
  else
686
688
  {}
687
689
  end
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_create_workflow_template_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_workflow_template_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_instantiate_workflow_template_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_instantiate_inline_workflow_template_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_update_workflow_template_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -249,7 +249,7 @@ module Google
249
249
 
250
250
  verb, uri, query_string_params, body = ServiceStub.transcode_list_workflow_templates_request request_pb
251
251
  query_string_params = if query_string_params.any?
252
- query_string_params.to_h { |p| p.split("=", 2) }
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
253
  else
254
254
  {}
255
255
  end
@@ -287,7 +287,7 @@ module Google
287
287
 
288
288
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_workflow_template_request request_pb
289
289
  query_string_params = if query_string_params.any?
290
- query_string_params.to_h { |p| p.split("=", 2) }
290
+ query_string_params.to_h { |p| p.split "=", 2 }
291
291
  else
292
292
  {}
293
293
  end