google-cloud-dataproc-v1 0.19.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/client.rb +10 -1
  3. data/lib/google/cloud/dataproc/v1/autoscaling_policy_service/rest/client.rb +84 -0
  4. data/lib/google/cloud/dataproc/v1/batch_controller/client.rb +10 -1
  5. data/lib/google/cloud/dataproc/v1/batch_controller/operations.rb +10 -1
  6. data/lib/google/cloud/dataproc/v1/batch_controller/rest/client.rb +75 -0
  7. data/lib/google/cloud/dataproc/v1/batch_controller/rest/operations.rb +75 -0
  8. data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +24 -2
  9. data/lib/google/cloud/dataproc/v1/cluster_controller/operations.rb +10 -1
  10. data/lib/google/cloud/dataproc/v1/cluster_controller/rest/client.rb +188 -1
  11. data/lib/google/cloud/dataproc/v1/cluster_controller/rest/operations.rb +75 -0
  12. data/lib/google/cloud/dataproc/v1/clusters_pb.rb +4 -1
  13. data/lib/google/cloud/dataproc/v1/job_controller/client.rb +10 -1
  14. data/lib/google/cloud/dataproc/v1/job_controller/operations.rb +10 -1
  15. data/lib/google/cloud/dataproc/v1/job_controller/rest/client.rb +123 -0
  16. data/lib/google/cloud/dataproc/v1/job_controller/rest/operations.rb +75 -0
  17. data/lib/google/cloud/dataproc/v1/node_group_controller/client.rb +10 -1
  18. data/lib/google/cloud/dataproc/v1/node_group_controller/operations.rb +10 -1
  19. data/lib/google/cloud/dataproc/v1/node_group_controller/rest/client.rb +62 -0
  20. data/lib/google/cloud/dataproc/v1/node_group_controller/rest/operations.rb +75 -0
  21. data/lib/google/cloud/dataproc/v1/version.rb +1 -1
  22. data/lib/google/cloud/dataproc/v1/workflow_template_service/client.rb +10 -1
  23. data/lib/google/cloud/dataproc/v1/workflow_template_service/operations.rb +10 -1
  24. data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/client.rb +130 -0
  25. data/lib/google/cloud/dataproc/v1/workflow_template_service/rest/operations.rb +75 -0
  26. data/proto_docs/google/cloud/dataproc/v1/clusters.rb +33 -18
  27. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  28. data/proto_docs/google/type/interval.rb +45 -0
  29. metadata +6 -4
@@ -237,6 +237,22 @@ module Google
237
237
  # @return [::Google::Cloud::Dataproc::V1::WorkflowTemplate]
238
238
  #
239
239
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
240
+ #
241
+ # @example Basic example
242
+ # require "google/cloud/dataproc/v1"
243
+ #
244
+ # # Create a client object. The client can be reused for multiple calls.
245
+ # client = Google::Cloud::Dataproc::V1::WorkflowTemplateService::Rest::Client.new
246
+ #
247
+ # # Create a request. To set request fields, pass in keyword arguments.
248
+ # request = Google::Cloud::Dataproc::V1::CreateWorkflowTemplateRequest.new
249
+ #
250
+ # # Call the create_workflow_template method.
251
+ # result = client.create_workflow_template request
252
+ #
253
+ # # The returned object is of type Google::Cloud::Dataproc::V1::WorkflowTemplate.
254
+ # p result
255
+ #
240
256
  def create_workflow_template request, options = nil
241
257
  raise ::ArgumentError, "request must be provided" if request.nil?
242
258
 
@@ -316,6 +332,22 @@ module Google
316
332
  # @return [::Google::Cloud::Dataproc::V1::WorkflowTemplate]
317
333
  #
318
334
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
335
+ #
336
+ # @example Basic example
337
+ # require "google/cloud/dataproc/v1"
338
+ #
339
+ # # Create a client object. The client can be reused for multiple calls.
340
+ # client = Google::Cloud::Dataproc::V1::WorkflowTemplateService::Rest::Client.new
341
+ #
342
+ # # Create a request. To set request fields, pass in keyword arguments.
343
+ # request = Google::Cloud::Dataproc::V1::GetWorkflowTemplateRequest.new
344
+ #
345
+ # # Call the get_workflow_template method.
346
+ # result = client.get_workflow_template request
347
+ #
348
+ # # The returned object is of type Google::Cloud::Dataproc::V1::WorkflowTemplate.
349
+ # p result
350
+ #
319
351
  def get_workflow_template request, options = nil
320
352
  raise ::ArgumentError, "request must be provided" if request.nil?
321
353
 
@@ -426,6 +458,29 @@ module Google
426
458
  # @return [::Gapic::Operation]
427
459
  #
428
460
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
461
+ #
462
+ # @example Basic example
463
+ # require "google/cloud/dataproc/v1"
464
+ #
465
+ # # Create a client object. The client can be reused for multiple calls.
466
+ # client = Google::Cloud::Dataproc::V1::WorkflowTemplateService::Rest::Client.new
467
+ #
468
+ # # Create a request. To set request fields, pass in keyword arguments.
469
+ # request = Google::Cloud::Dataproc::V1::InstantiateWorkflowTemplateRequest.new
470
+ #
471
+ # # Call the instantiate_workflow_template method.
472
+ # result = client.instantiate_workflow_template request
473
+ #
474
+ # # The returned object is of type Gapic::Operation. You can use it to
475
+ # # check the status of an operation, cancel it, or wait for results.
476
+ # # Here is how to wait for a response.
477
+ # result.wait_until_done! timeout: 60
478
+ # if result.response?
479
+ # p result.response
480
+ # else
481
+ # puts "No response received."
482
+ # end
483
+ #
429
484
  def instantiate_workflow_template request, options = nil
430
485
  raise ::ArgumentError, "request must be provided" if request.nil?
431
486
 
@@ -534,6 +589,29 @@ module Google
534
589
  # @return [::Gapic::Operation]
535
590
  #
536
591
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
592
+ #
593
+ # @example Basic example
594
+ # require "google/cloud/dataproc/v1"
595
+ #
596
+ # # Create a client object. The client can be reused for multiple calls.
597
+ # client = Google::Cloud::Dataproc::V1::WorkflowTemplateService::Rest::Client.new
598
+ #
599
+ # # Create a request. To set request fields, pass in keyword arguments.
600
+ # request = Google::Cloud::Dataproc::V1::InstantiateInlineWorkflowTemplateRequest.new
601
+ #
602
+ # # Call the instantiate_inline_workflow_template method.
603
+ # result = client.instantiate_inline_workflow_template request
604
+ #
605
+ # # The returned object is of type Gapic::Operation. You can use it to
606
+ # # check the status of an operation, cancel it, or wait for results.
607
+ # # Here is how to wait for a response.
608
+ # result.wait_until_done! timeout: 60
609
+ # if result.response?
610
+ # p result.response
611
+ # else
612
+ # puts "No response received."
613
+ # end
614
+ #
537
615
  def instantiate_inline_workflow_template request, options = nil
538
616
  raise ::ArgumentError, "request must be provided" if request.nil?
539
617
 
@@ -600,6 +678,22 @@ module Google
600
678
  # @return [::Google::Cloud::Dataproc::V1::WorkflowTemplate]
601
679
  #
602
680
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
681
+ #
682
+ # @example Basic example
683
+ # require "google/cloud/dataproc/v1"
684
+ #
685
+ # # Create a client object. The client can be reused for multiple calls.
686
+ # client = Google::Cloud::Dataproc::V1::WorkflowTemplateService::Rest::Client.new
687
+ #
688
+ # # Create a request. To set request fields, pass in keyword arguments.
689
+ # request = Google::Cloud::Dataproc::V1::UpdateWorkflowTemplateRequest.new
690
+ #
691
+ # # Call the update_workflow_template method.
692
+ # result = client.update_workflow_template request
693
+ #
694
+ # # The returned object is of type Google::Cloud::Dataproc::V1::WorkflowTemplate.
695
+ # p result
696
+ #
603
697
  def update_workflow_template request, options = nil
604
698
  raise ::ArgumentError, "request must be provided" if request.nil?
605
699
 
@@ -676,6 +770,26 @@ module Google
676
770
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Dataproc::V1::WorkflowTemplate>]
677
771
  #
678
772
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
773
+ #
774
+ # @example Basic example
775
+ # require "google/cloud/dataproc/v1"
776
+ #
777
+ # # Create a client object. The client can be reused for multiple calls.
778
+ # client = Google::Cloud::Dataproc::V1::WorkflowTemplateService::Rest::Client.new
779
+ #
780
+ # # Create a request. To set request fields, pass in keyword arguments.
781
+ # request = Google::Cloud::Dataproc::V1::ListWorkflowTemplatesRequest.new
782
+ #
783
+ # # Call the list_workflow_templates method.
784
+ # result = client.list_workflow_templates request
785
+ #
786
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
787
+ # # over elements, and API calls will be issued to fetch pages as needed.
788
+ # result.each do |item|
789
+ # # Each element is of type ::Google::Cloud::Dataproc::V1::WorkflowTemplate.
790
+ # p item
791
+ # end
792
+ #
679
793
  def list_workflow_templates request, options = nil
680
794
  raise ::ArgumentError, "request must be provided" if request.nil?
681
795
 
@@ -752,6 +866,22 @@ module Google
752
866
  # @return [::Google::Protobuf::Empty]
753
867
  #
754
868
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
869
+ #
870
+ # @example Basic example
871
+ # require "google/cloud/dataproc/v1"
872
+ #
873
+ # # Create a client object. The client can be reused for multiple calls.
874
+ # client = Google::Cloud::Dataproc::V1::WorkflowTemplateService::Rest::Client.new
875
+ #
876
+ # # Create a request. To set request fields, pass in keyword arguments.
877
+ # request = Google::Cloud::Dataproc::V1::DeleteWorkflowTemplateRequest.new
878
+ #
879
+ # # Call the delete_workflow_template method.
880
+ # result = client.delete_workflow_template request
881
+ #
882
+ # # The returned object is of type Google::Protobuf::Empty.
883
+ # p result
884
+ #
755
885
  def delete_workflow_template request, options = nil
756
886
  raise ::ArgumentError, "request must be provided" if request.nil?
757
887
 
@@ -136,6 +136,26 @@ module Google
136
136
  # @return [::Gapic::Operation]
137
137
  #
138
138
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
139
+ #
140
+ # @example Basic example
141
+ # require "google/longrunning"
142
+ #
143
+ # # Create a client object. The client can be reused for multiple calls.
144
+ # client = Google::Longrunning::Operations::Rest::Client.new
145
+ #
146
+ # # Create a request. To set request fields, pass in keyword arguments.
147
+ # request = Google::Longrunning::ListOperationsRequest.new
148
+ #
149
+ # # Call the list_operations method.
150
+ # result = client.list_operations request
151
+ #
152
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
153
+ # # over elements, and API calls will be issued to fetch pages as needed.
154
+ # result.each do |item|
155
+ # # Each element is of type ::Google::Longrunning::Operation.
156
+ # p item
157
+ # end
158
+ #
139
159
  def list_operations request, options = nil
140
160
  raise ::ArgumentError, "request must be provided" if request.nil?
141
161
 
@@ -201,6 +221,29 @@ module Google
201
221
  # @return [::Gapic::Operation]
202
222
  #
203
223
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
224
+ #
225
+ # @example Basic example
226
+ # require "google/longrunning"
227
+ #
228
+ # # Create a client object. The client can be reused for multiple calls.
229
+ # client = Google::Longrunning::Operations::Rest::Client.new
230
+ #
231
+ # # Create a request. To set request fields, pass in keyword arguments.
232
+ # request = Google::Longrunning::GetOperationRequest.new
233
+ #
234
+ # # Call the get_operation method.
235
+ # result = client.get_operation request
236
+ #
237
+ # # The returned object is of type Gapic::Operation. You can use it to
238
+ # # check the status of an operation, cancel it, or wait for results.
239
+ # # Here is how to wait for a response.
240
+ # result.wait_until_done! timeout: 60
241
+ # if result.response?
242
+ # p result.response
243
+ # else
244
+ # puts "No response received."
245
+ # end
246
+ #
204
247
  def get_operation request, options = nil
205
248
  raise ::ArgumentError, "request must be provided" if request.nil?
206
249
 
@@ -267,6 +310,22 @@ module Google
267
310
  # @return [::Google::Protobuf::Empty]
268
311
  #
269
312
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
313
+ #
314
+ # @example Basic example
315
+ # require "google/longrunning"
316
+ #
317
+ # # Create a client object. The client can be reused for multiple calls.
318
+ # client = Google::Longrunning::Operations::Rest::Client.new
319
+ #
320
+ # # Create a request. To set request fields, pass in keyword arguments.
321
+ # request = Google::Longrunning::DeleteOperationRequest.new
322
+ #
323
+ # # Call the delete_operation method.
324
+ # result = client.delete_operation request
325
+ #
326
+ # # The returned object is of type Google::Protobuf::Empty.
327
+ # p result
328
+ #
270
329
  def delete_operation request, options = nil
271
330
  raise ::ArgumentError, "request must be provided" if request.nil?
272
331
 
@@ -338,6 +397,22 @@ module Google
338
397
  # @return [::Google::Protobuf::Empty]
339
398
  #
340
399
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
400
+ #
401
+ # @example Basic example
402
+ # require "google/longrunning"
403
+ #
404
+ # # Create a client object. The client can be reused for multiple calls.
405
+ # client = Google::Longrunning::Operations::Rest::Client.new
406
+ #
407
+ # # Create a request. To set request fields, pass in keyword arguments.
408
+ # request = Google::Longrunning::CancelOperationRequest.new
409
+ #
410
+ # # Call the cancel_operation method.
411
+ # result = client.cancel_operation request
412
+ #
413
+ # # The returned object is of type Google::Protobuf::Empty.
414
+ # p result
415
+ #
341
416
  def cancel_operation request, options = nil
342
417
  raise ::ArgumentError, "request must be provided" if request.nil?
343
418
 
@@ -541,22 +541,20 @@ module Google
541
541
  # Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).
542
542
  # @!attribute [rw] min_num_instances
543
543
  # @return [::Integer]
544
- # Optional. The minimum number of instances to create.
545
- # If min_num_instances is set, min_num_instances is used for a criteria to
546
- # decide the cluster. Cluster creation will be failed by being an error state
547
- # if the total number of instances created is less than the
548
- # min_num_instances.
549
- # For example, given that num_instances = 5 and min_num_instances = 3,
550
- # * if 4 instances are created and then registered successfully but one
551
- # instance is failed, the failed VM will be deleted and the cluster will be
552
- # resized to 4 instances in running state.
553
- # * if 2 instances are created successfully and 3 instances are failed,
554
- # the cluster will be in an error state and does not delete failed VMs for
555
- # debugging.
556
- # * if 2 instance are created and then registered successfully but 3
557
- # instances are failed to initialize, the cluster will be in an error state
558
- # and does not delete failed VMs for debugging.
559
- # NB: This can only be set for primary workers now.
544
+ # Optional. The minimum number of primary worker instances to create.
545
+ # If `min_num_instances` is set, cluster creation will succeed if
546
+ # the number of primary workers created is at least equal to the
547
+ # `min_num_instances` number.
548
+ #
549
+ # Example: Cluster creation request with `num_instances` = `5` and
550
+ # `min_num_instances` = `3`:
551
+ #
552
+ # * If 4 VMs are created and 1 instance fails,
553
+ # the failed VM is deleted. The cluster is
554
+ # resized to 4 instances and placed in a `RUNNING` state.
555
+ # * If 2 instances are created and 3 instances fail,
556
+ # the cluster in placed in an `ERROR` state. The failed VMs
557
+ # are not deleted.
560
558
  # @!attribute [rw] instance_flexibility_policy
561
559
  # @return [::Google::Cloud::Dataproc::V1::InstanceFlexibilityPolicy]
562
560
  # Optional. Instance flexibility Policy allowing a mixture of VM shapes and
@@ -790,12 +788,12 @@ module Google
790
788
  extend ::Google::Protobuf::MessageExts::ClassMethods
791
789
  end
792
790
 
793
- # Node group roles.
791
+ # Node pool roles.
794
792
  module Role
795
793
  # Required unspecified role.
796
794
  ROLE_UNSPECIFIED = 0
797
795
 
798
- # Job drivers run on the node group.
796
+ # Job drivers run on the node pool.
799
797
  DRIVER = 1
800
798
  end
801
799
  end
@@ -1524,6 +1522,23 @@ module Google
1524
1522
  # @!attribute [rw] cluster_name
1525
1523
  # @return [::String]
1526
1524
  # Required. The cluster name.
1525
+ # @!attribute [rw] tarball_gcs_dir
1526
+ # @return [::String]
1527
+ # Optional. The output Cloud Storage directory for the diagnostic
1528
+ # tarball. If not specified, a task-specific directory in the cluster's
1529
+ # staging bucket will be used.
1530
+ # @!attribute [rw] diagnosis_interval
1531
+ # @return [::Google::Type::Interval]
1532
+ # Optional. Time interval in which diagnosis should be carried out on the
1533
+ # cluster.
1534
+ # @!attribute [rw] jobs
1535
+ # @return [::Array<::String>]
1536
+ # Optional. Specifies a list of jobs on which diagnosis is to be performed.
1537
+ # Format: projects/\\{project}/regions/\\{region}/jobs/\\{job}
1538
+ # @!attribute [rw] yarn_application_ids
1539
+ # @return [::Array<::String>]
1540
+ # Optional. Specifies a list of yarn applications on which diagnosis is to be
1541
+ # performed.
1527
1542
  class DiagnoseClusterRequest
1528
1543
  include ::Google::Protobuf::MessageExts
1529
1544
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -0,0 +1,121 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Protobuf
22
+ # Wrapper message for `double`.
23
+ #
24
+ # The JSON representation for `DoubleValue` is JSON number.
25
+ # @!attribute [rw] value
26
+ # @return [::Float]
27
+ # The double value.
28
+ class DoubleValue
29
+ include ::Google::Protobuf::MessageExts
30
+ extend ::Google::Protobuf::MessageExts::ClassMethods
31
+ end
32
+
33
+ # Wrapper message for `float`.
34
+ #
35
+ # The JSON representation for `FloatValue` is JSON number.
36
+ # @!attribute [rw] value
37
+ # @return [::Float]
38
+ # The float value.
39
+ class FloatValue
40
+ include ::Google::Protobuf::MessageExts
41
+ extend ::Google::Protobuf::MessageExts::ClassMethods
42
+ end
43
+
44
+ # Wrapper message for `int64`.
45
+ #
46
+ # The JSON representation for `Int64Value` is JSON string.
47
+ # @!attribute [rw] value
48
+ # @return [::Integer]
49
+ # The int64 value.
50
+ class Int64Value
51
+ include ::Google::Protobuf::MessageExts
52
+ extend ::Google::Protobuf::MessageExts::ClassMethods
53
+ end
54
+
55
+ # Wrapper message for `uint64`.
56
+ #
57
+ # The JSON representation for `UInt64Value` is JSON string.
58
+ # @!attribute [rw] value
59
+ # @return [::Integer]
60
+ # The uint64 value.
61
+ class UInt64Value
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+ end
65
+
66
+ # Wrapper message for `int32`.
67
+ #
68
+ # The JSON representation for `Int32Value` is JSON number.
69
+ # @!attribute [rw] value
70
+ # @return [::Integer]
71
+ # The int32 value.
72
+ class Int32Value
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
76
+
77
+ # Wrapper message for `uint32`.
78
+ #
79
+ # The JSON representation for `UInt32Value` is JSON number.
80
+ # @!attribute [rw] value
81
+ # @return [::Integer]
82
+ # The uint32 value.
83
+ class UInt32Value
84
+ include ::Google::Protobuf::MessageExts
85
+ extend ::Google::Protobuf::MessageExts::ClassMethods
86
+ end
87
+
88
+ # Wrapper message for `bool`.
89
+ #
90
+ # The JSON representation for `BoolValue` is JSON `true` and `false`.
91
+ # @!attribute [rw] value
92
+ # @return [::Boolean]
93
+ # The bool value.
94
+ class BoolValue
95
+ include ::Google::Protobuf::MessageExts
96
+ extend ::Google::Protobuf::MessageExts::ClassMethods
97
+ end
98
+
99
+ # Wrapper message for `string`.
100
+ #
101
+ # The JSON representation for `StringValue` is JSON string.
102
+ # @!attribute [rw] value
103
+ # @return [::String]
104
+ # The string value.
105
+ class StringValue
106
+ include ::Google::Protobuf::MessageExts
107
+ extend ::Google::Protobuf::MessageExts::ClassMethods
108
+ end
109
+
110
+ # Wrapper message for `bytes`.
111
+ #
112
+ # The JSON representation for `BytesValue` is JSON string.
113
+ # @!attribute [rw] value
114
+ # @return [::String]
115
+ # The bytes value.
116
+ class BytesValue
117
+ include ::Google::Protobuf::MessageExts
118
+ extend ::Google::Protobuf::MessageExts::ClassMethods
119
+ end
120
+ end
121
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Type
22
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
23
+ # Timestamp end (exclusive).
24
+ #
25
+ # The start must be less than or equal to the end.
26
+ # When the start equals the end, the interval is empty (matches no time).
27
+ # When both start and end are unspecified, the interval matches any time.
28
+ # @!attribute [rw] start_time
29
+ # @return [::Google::Protobuf::Timestamp]
30
+ # Optional. Inclusive start of the interval.
31
+ #
32
+ # If specified, a Timestamp matching this interval will have to be the same
33
+ # or after the start.
34
+ # @!attribute [rw] end_time
35
+ # @return [::Google::Protobuf::Timestamp]
36
+ # Optional. Exclusive end of the interval.
37
+ #
38
+ # If specified, a Timestamp matching this interval will have to be before the
39
+ # end.
40
+ class Interval
41
+ include ::Google::Protobuf::MessageExts
42
+ extend ::Google::Protobuf::MessageExts::ClassMethods
43
+ end
44
+ end
45
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataproc-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-04 00:00:00.000000000 Z
11
+ date: 2023-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.1
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -278,8 +278,10 @@ files:
278
278
  - proto_docs/google/protobuf/empty.rb
279
279
  - proto_docs/google/protobuf/field_mask.rb
280
280
  - proto_docs/google/protobuf/timestamp.rb
281
+ - proto_docs/google/protobuf/wrappers.rb
281
282
  - proto_docs/google/rpc/status.rb
282
283
  - proto_docs/google/type/expr.rb
284
+ - proto_docs/google/type/interval.rb
283
285
  homepage: https://github.com/googleapis/google-cloud-ruby
284
286
  licenses:
285
287
  - Apache-2.0