google-apis-cloudscheduler_v1beta1 0.36.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e3082ead4e09a97d81c2f1cedfb2ea1131ebf91932b660a3b683f4a07d31a25
4
- data.tar.gz: 85e250718d7c4223bdea7f3934eb241748887b943a54673be98b1aa27541fa30
3
+ metadata.gz: 5556de519623dfcf710462df57f6ca5c8ac69f5e5764151b37c6e97eb935a06e
4
+ data.tar.gz: 99c9325bd8d889485142c756740b38b5a8360892eb81c85d0050522770c3edcb
5
5
  SHA512:
6
- metadata.gz: 27cc0c0fd96c95c6112767eee63444aa754315f4cfd577c74f82e660017a92fcce6ae307fa8cb99d9dbed95ff0341c794d87eca3bffa5b58375c0c6b0bbaee1b
7
- data.tar.gz: 3c32eb25f745541c82d269bf36dc98b81bfa58967f59a2be008a453c28c92db76fdccb0f4b5609e6569f5606617158ef306b0ebb607400f56d2b0b779f2740b7
6
+ metadata.gz: 7fd24e5a17079921ca02aed3531aeb168f9d0caf71daef6d3b06df330d27d9a605df5e4d633593e34cc0fcdb8de21f3e8775e5db9d573ac6ce5c9a32708c0053
7
+ data.tar.gz: 49a823ff557ef5e6668b8cb850d17408c7d6e0e4afd26bff93f82a96689f6709a9bce2e1ab920a470af594f0b752859db7cbac6a34ef41dfba81738c3fb2c8e0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudscheduler_v1beta1
2
2
 
3
+ ### v0.38.0 (2025-11-02)
4
+
5
+ * Regenerated from discovery document revision 20251022
6
+
7
+ ### v0.37.0 (2025-09-28)
8
+
9
+ * Regenerated from discovery document revision 20250917
10
+
3
11
  ### v0.36.0 (2025-06-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20250530
@@ -177,6 +177,19 @@ module Google
177
177
  end
178
178
  end
179
179
 
180
+ # The request message for Operations.CancelOperation.
181
+ class CancelOperationRequest
182
+ include Google::Apis::Core::Hashable
183
+
184
+ def initialize(**args)
185
+ update!(**args)
186
+ end
187
+
188
+ # Update properties of this object
189
+ def update!(**args)
190
+ end
191
+ end
192
+
180
193
  # A generic empty message that you can re-use to avoid defining duplicated empty
181
194
  # messages in your APIs. A typical example is to use it as the request or the
182
195
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -340,12 +353,13 @@ module Google
340
353
  # The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/
341
354
  # JOB_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
342
355
  # hyphens (-), colons (:), or periods (.). For more information, see [
343
- # Identifying projects](https://cloud.google.com/resource-manager/docs/creating-
344
- # managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID
345
- # for the job's location. The list of available locations can be obtained by
346
- # calling ListLocations. For more information, see https://cloud.google.com/
347
- # about/locations/. * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-
348
- # 9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
356
+ # Identifying projects](/resource-manager/docs/creating-managing-projects#
357
+ # identifying_projects) * `LOCATION_ID` is the canonical ID for the job's
358
+ # location. The list of available locations can be obtained by calling [
359
+ # locations.list](/scheduler/docs/reference/rest/v1beta1/projects.locations/list)
360
+ # . For more information, see [Cloud Scheduler locations](/scheduler/docs/
361
+ # locations). * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
362
+ # hyphens (-), or underscores (_). The maximum length is 500 characters.
349
363
  # Corresponds to the JSON property `name`
350
364
  # @return [String]
351
365
  attr_accessor :name
@@ -357,10 +371,10 @@ module Google
357
371
  attr_accessor :pubsub_target
358
372
 
359
373
  # Settings that determine the retry behavior. For more information, see [Retry
360
- # jobs](https://cloud.google.com/scheduler/docs/configuring/retry-jobs). By
361
- # default, if a job does not complete successfully (meaning that an
362
- # acknowledgement is not received from the handler, then it will be retried with
363
- # exponential backoff according to the settings in RetryConfig.
374
+ # jobs](/scheduler/docs/configuring/retry-jobs). By default, if a job does not
375
+ # complete successfully (meaning that an acknowledgement is not received from
376
+ # the handler, then it will be retried with exponential backoff according to the
377
+ # settings in RetryConfig.
364
378
  # Corresponds to the JSON property `retryConfig`
365
379
  # @return [Google::Apis::CloudschedulerV1beta1::RetryConfig]
366
380
  attr_accessor :retry_config
@@ -375,19 +389,19 @@ module Google
375
389
  # Required, except when used with UpdateJob. Describes the schedule on which the
376
390
  # job will be executed. The schedule can be either of the following types: * [
377
391
  # Crontab](https://en.wikipedia.org/wiki/Cron#Overview) * English-like [schedule]
378
- # (https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) As a
379
- # general rule, execution `n + 1` of a job will not begin until execution `n`
380
- # has finished. Cloud Scheduler will never allow two simultaneously outstanding
381
- # executions. For example, this implies that if the `n+1`th execution is
382
- # scheduled to run at 16:00 but the `n`th execution takes until 16:15, the `n+1`
383
- # th execution will not start until `16:15`. A scheduled start time will be
384
- # delayed if the previous execution has not ended when its scheduled time occurs.
385
- # If retry_count > 0 and a job attempt fails, the job will be tried a total of
386
- # retry_count times, with exponential backoff, until the next scheduled start
387
- # time. If retry_count is 0, a job attempt will not be retried if it fails.
388
- # Instead the Cloud Scheduler system will wait for the next scheduled execution
389
- # time. Setting retry_count to 0 does not prevent failed jobs from running
390
- # according to schedule after the failure.
392
+ # (/scheduler/docs/configuring/cron-job-schedules) As a general rule, execution `
393
+ # n + 1` of a job will not begin until execution `n` has finished. Cloud
394
+ # Scheduler will never allow two simultaneously outstanding executions. For
395
+ # example, this implies that if the `n+1`th execution is scheduled to run at 16:
396
+ # 00 but the `n`th execution takes until 16:15, the `n+1`th execution will not
397
+ # start until `16:15`. A scheduled start time will be delayed if the previous
398
+ # execution has not ended when its scheduled time occurs. If retry_count > 0 and
399
+ # a job attempt fails, the job will be tried a total of retry_count times, with
400
+ # exponential backoff, until the next scheduled start time. If retry_count is 0,
401
+ # a job attempt will not be retried if it fails. Instead the Cloud Scheduler
402
+ # system will wait for the next scheduled execution time. Setting retry_count to
403
+ # 0 does not prevent failed jobs from running according to schedule after the
404
+ # failure.
391
405
  # Corresponds to the JSON property `schedule`
392
406
  # @return [String]
393
407
  attr_accessor :schedule
@@ -507,6 +521,39 @@ module Google
507
521
  end
508
522
  end
509
523
 
524
+ # The response message for Operations.ListOperations.
525
+ class ListOperationsResponse
526
+ include Google::Apis::Core::Hashable
527
+
528
+ # The standard List next-page token.
529
+ # Corresponds to the JSON property `nextPageToken`
530
+ # @return [String]
531
+ attr_accessor :next_page_token
532
+
533
+ # A list of operations that matches the specified filter in the request.
534
+ # Corresponds to the JSON property `operations`
535
+ # @return [Array<Google::Apis::CloudschedulerV1beta1::Operation>]
536
+ attr_accessor :operations
537
+
538
+ # Unordered list. Unreachable resources. Populated when the request sets `
539
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
540
+ # when attempting to list all resources across all supported locations.
541
+ # Corresponds to the JSON property `unreachable`
542
+ # @return [Array<String>]
543
+ attr_accessor :unreachable
544
+
545
+ def initialize(**args)
546
+ update!(**args)
547
+ end
548
+
549
+ # Update properties of this object
550
+ def update!(**args)
551
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
552
+ @operations = args[:operations] if args.key?(:operations)
553
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
554
+ end
555
+ end
556
+
510
557
  # A resource that represents a Google Cloud location.
511
558
  class Location
512
559
  include Google::Apis::Core::Hashable
@@ -617,6 +664,68 @@ module Google
617
664
  end
618
665
  end
619
666
 
667
+ # This resource represents a long-running operation that is the result of a
668
+ # network API call.
669
+ class Operation
670
+ include Google::Apis::Core::Hashable
671
+
672
+ # If the value is `false`, it means the operation is still in progress. If `true`
673
+ # , the operation is completed, and either `error` or `response` is available.
674
+ # Corresponds to the JSON property `done`
675
+ # @return [Boolean]
676
+ attr_accessor :done
677
+ alias_method :done?, :done
678
+
679
+ # The `Status` type defines a logical error model that is suitable for different
680
+ # programming environments, including REST APIs and RPC APIs. It is used by [
681
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
682
+ # data: error code, error message, and error details. You can find out more
683
+ # about this error model and how to work with it in the [API Design Guide](https:
684
+ # //cloud.google.com/apis/design/errors).
685
+ # Corresponds to the JSON property `error`
686
+ # @return [Google::Apis::CloudschedulerV1beta1::Status]
687
+ attr_accessor :error
688
+
689
+ # Service-specific metadata associated with the operation. It typically contains
690
+ # progress information and common metadata such as create time. Some services
691
+ # might not provide such metadata. Any method that returns a long-running
692
+ # operation should document the metadata type, if any.
693
+ # Corresponds to the JSON property `metadata`
694
+ # @return [Hash<String,Object>]
695
+ attr_accessor :metadata
696
+
697
+ # The server-assigned name, which is only unique within the same service that
698
+ # originally returns it. If you use the default HTTP mapping, the `name` should
699
+ # be a resource name ending with `operations/`unique_id``.
700
+ # Corresponds to the JSON property `name`
701
+ # @return [String]
702
+ attr_accessor :name
703
+
704
+ # The normal, successful response of the operation. If the original method
705
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
706
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
707
+ # response should be the resource. For other methods, the response should have
708
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
709
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
710
+ # `TakeSnapshotResponse`.
711
+ # Corresponds to the JSON property `response`
712
+ # @return [Hash<String,Object>]
713
+ attr_accessor :response
714
+
715
+ def initialize(**args)
716
+ update!(**args)
717
+ end
718
+
719
+ # Update properties of this object
720
+ def update!(**args)
721
+ @done = args[:done] if args.key?(:done)
722
+ @error = args[:error] if args.key?(:error)
723
+ @metadata = args[:metadata] if args.key?(:metadata)
724
+ @name = args[:name] if args.key?(:name)
725
+ @response = args[:response] if args.key?(:response)
726
+ end
727
+ end
728
+
620
729
  # Represents the metadata of the long-running operation.
621
730
  class OperationMetadata
622
731
  include Google::Apis::Core::Hashable
@@ -807,10 +916,10 @@ module Google
807
916
  end
808
917
 
809
918
  # Settings that determine the retry behavior. For more information, see [Retry
810
- # jobs](https://cloud.google.com/scheduler/docs/configuring/retry-jobs). By
811
- # default, if a job does not complete successfully (meaning that an
812
- # acknowledgement is not received from the handler, then it will be retried with
813
- # exponential backoff according to the settings in RetryConfig.
919
+ # jobs](/scheduler/docs/configuring/retry-jobs). By default, if a job does not
920
+ # complete successfully (meaning that an acknowledgement is not received from
921
+ # the handler, then it will be retried with exponential backoff according to the
922
+ # settings in RetryConfig.
814
923
  class RetryConfig
815
924
  include Google::Apis::Core::Hashable
816
925
 
@@ -823,9 +932,9 @@ module Google
823
932
  # The time between retries will double `max_doublings` times. A job's retry
824
933
  # interval starts at min_backoff_duration, then doubles `max_doublings` times,
825
934
  # then increases linearly, and finally retries at intervals of
826
- # max_backoff_duration up to retry_count times. For examples, see [Retry jobs](
827
- # https://cloud.google.com/scheduler/docs/configuring/retry-jobs#max-doublings).
828
- # The default value of this field is 5.
935
+ # max_backoff_duration up to retry_count times. For examples, see [Retry jobs](/
936
+ # scheduler/docs/configuring/retry-jobs#max-doublings). The default value of
937
+ # this field is 5.
829
938
  # Corresponds to the JSON property `maxDoublings`
830
939
  # @return [Fixnum]
831
940
  attr_accessor :max_doublings
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudschedulerV1beta1
18
18
  # Version of the google-apis-cloudscheduler_v1beta1 gem
19
- GEM_VERSION = "0.36.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250530"
25
+ REVISION = "20251022"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class CancelOperationRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class Empty
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -64,6 +70,12 @@ module Google
64
70
  include Google::Apis::Core::JsonObjectSupport
65
71
  end
66
72
 
73
+ class ListOperationsResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
67
79
  class Location
68
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
81
 
@@ -82,6 +94,12 @@ module Google
82
94
  include Google::Apis::Core::JsonObjectSupport
83
95
  end
84
96
 
97
+ class Operation
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
85
103
  class OperationMetadata
86
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
105
 
@@ -152,6 +170,12 @@ module Google
152
170
  end
153
171
  end
154
172
 
173
+ class CancelOperationRequest
174
+ # @private
175
+ class Representation < Google::Apis::Core::JsonRepresentation
176
+ end
177
+ end
178
+
155
179
  class Empty
156
180
  # @private
157
181
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -217,6 +241,16 @@ module Google
217
241
  end
218
242
  end
219
243
 
244
+ class ListOperationsResponse
245
+ # @private
246
+ class Representation < Google::Apis::Core::JsonRepresentation
247
+ property :next_page_token, as: 'nextPageToken'
248
+ collection :operations, as: 'operations', class: Google::Apis::CloudschedulerV1beta1::Operation, decorator: Google::Apis::CloudschedulerV1beta1::Operation::Representation
249
+
250
+ collection :unreachable, as: 'unreachable'
251
+ end
252
+ end
253
+
220
254
  class Location
221
255
  # @private
222
256
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -244,6 +278,18 @@ module Google
244
278
  end
245
279
  end
246
280
 
281
+ class Operation
282
+ # @private
283
+ class Representation < Google::Apis::Core::JsonRepresentation
284
+ property :done, as: 'done'
285
+ property :error, as: 'error', class: Google::Apis::CloudschedulerV1beta1::Status, decorator: Google::Apis::CloudschedulerV1beta1::Status::Representation
286
+
287
+ hash :metadata, as: 'metadata'
288
+ property :name, as: 'name'
289
+ hash :response, as: 'response'
290
+ end
291
+ end
292
+
247
293
  class OperationMetadata
248
294
  # @private
249
295
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -85,8 +85,8 @@ module Google
85
85
  # @param [String] name
86
86
  # The resource that owns the locations collection, if applicable.
87
87
  # @param [Array<String>, String] extra_location_types
88
- # Optional. A list of extra location types that should be used as conditions for
89
- # controlling the visibility of the locations.
88
+ # Optional. Do not use this field. It is unsupported and is ignored unless
89
+ # explicitly documented otherwise. This is primarily for internal usage.
90
90
  # @param [String] filter
91
91
  # A filter to narrow down results to a preferred subset. The filtering language
92
92
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -294,12 +294,13 @@ module Google
294
294
  # The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/
295
295
  # JOB_ID`. * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
296
296
  # hyphens (-), colons (:), or periods (.). For more information, see [
297
- # Identifying projects](https://cloud.google.com/resource-manager/docs/creating-
298
- # managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID
299
- # for the job's location. The list of available locations can be obtained by
300
- # calling ListLocations. For more information, see https://cloud.google.com/
301
- # about/locations/. * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-
302
- # 9]), hyphens (-), or underscores (_). The maximum length is 500 characters.
297
+ # Identifying projects](/resource-manager/docs/creating-managing-projects#
298
+ # identifying_projects) * `LOCATION_ID` is the canonical ID for the job's
299
+ # location. The list of available locations can be obtained by calling [
300
+ # locations.list](/scheduler/docs/reference/rest/v1beta1/projects.locations/list)
301
+ # . For more information, see [Cloud Scheduler locations](/scheduler/docs/
302
+ # locations). * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
303
+ # hyphens (-), or underscores (_). The maximum length is 500 characters.
303
304
  # @param [Google::Apis::CloudschedulerV1beta1::Job] job_object
304
305
  # @param [String] update_mask
305
306
  # A mask used to specify which fields of the job are being updated.
@@ -440,6 +441,158 @@ module Google
440
441
  command.query['quotaUser'] = quota_user unless quota_user.nil?
441
442
  execute_or_queue_command(command, &block)
442
443
  end
444
+
445
+ # Starts asynchronous cancellation on a long-running operation. The server makes
446
+ # a best effort to cancel the operation, but success is not guaranteed. If the
447
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
448
+ # Clients can use Operations.GetOperation or other methods to check whether the
449
+ # cancellation succeeded or whether the operation completed despite cancellation.
450
+ # On successful cancellation, the operation is not deleted; instead, it becomes
451
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
452
+ # , corresponding to `Code.CANCELLED`.
453
+ # @param [String] name
454
+ # The name of the operation resource to be cancelled.
455
+ # @param [Google::Apis::CloudschedulerV1beta1::CancelOperationRequest] cancel_operation_request_object
456
+ # @param [String] fields
457
+ # Selector specifying which fields to include in a partial response.
458
+ # @param [String] quota_user
459
+ # Available to use for quota purposes for server-side applications. Can be any
460
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
461
+ # @param [Google::Apis::RequestOptions] options
462
+ # Request-specific options
463
+ #
464
+ # @yield [result, err] Result & error if block supplied
465
+ # @yieldparam result [Google::Apis::CloudschedulerV1beta1::Empty] parsed result object
466
+ # @yieldparam err [StandardError] error object if request failed
467
+ #
468
+ # @return [Google::Apis::CloudschedulerV1beta1::Empty]
469
+ #
470
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
471
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
472
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
473
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
474
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
475
+ command.request_representation = Google::Apis::CloudschedulerV1beta1::CancelOperationRequest::Representation
476
+ command.request_object = cancel_operation_request_object
477
+ command.response_representation = Google::Apis::CloudschedulerV1beta1::Empty::Representation
478
+ command.response_class = Google::Apis::CloudschedulerV1beta1::Empty
479
+ command.params['name'] = name unless name.nil?
480
+ command.query['fields'] = fields unless fields.nil?
481
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
482
+ execute_or_queue_command(command, &block)
483
+ end
484
+
485
+ # Deletes a long-running operation. This method indicates that the client is no
486
+ # longer interested in the operation result. It does not cancel the operation.
487
+ # If the server doesn't support this method, it returns `google.rpc.Code.
488
+ # UNIMPLEMENTED`.
489
+ # @param [String] name
490
+ # The name of the operation resource to be deleted.
491
+ # @param [String] fields
492
+ # Selector specifying which fields to include in a partial response.
493
+ # @param [String] quota_user
494
+ # Available to use for quota purposes for server-side applications. Can be any
495
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
496
+ # @param [Google::Apis::RequestOptions] options
497
+ # Request-specific options
498
+ #
499
+ # @yield [result, err] Result & error if block supplied
500
+ # @yieldparam result [Google::Apis::CloudschedulerV1beta1::Empty] parsed result object
501
+ # @yieldparam err [StandardError] error object if request failed
502
+ #
503
+ # @return [Google::Apis::CloudschedulerV1beta1::Empty]
504
+ #
505
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
506
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
507
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
508
+ def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
509
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
510
+ command.response_representation = Google::Apis::CloudschedulerV1beta1::Empty::Representation
511
+ command.response_class = Google::Apis::CloudschedulerV1beta1::Empty
512
+ command.params['name'] = name unless name.nil?
513
+ command.query['fields'] = fields unless fields.nil?
514
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
515
+ execute_or_queue_command(command, &block)
516
+ end
517
+
518
+ # Gets the latest state of a long-running operation. Clients can use this method
519
+ # to poll the operation result at intervals as recommended by the API service.
520
+ # @param [String] name
521
+ # The name of the operation resource.
522
+ # @param [String] fields
523
+ # Selector specifying which fields to include in a partial response.
524
+ # @param [String] quota_user
525
+ # Available to use for quota purposes for server-side applications. Can be any
526
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
527
+ # @param [Google::Apis::RequestOptions] options
528
+ # Request-specific options
529
+ #
530
+ # @yield [result, err] Result & error if block supplied
531
+ # @yieldparam result [Google::Apis::CloudschedulerV1beta1::Operation] parsed result object
532
+ # @yieldparam err [StandardError] error object if request failed
533
+ #
534
+ # @return [Google::Apis::CloudschedulerV1beta1::Operation]
535
+ #
536
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
537
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
538
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
539
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
540
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
541
+ command.response_representation = Google::Apis::CloudschedulerV1beta1::Operation::Representation
542
+ command.response_class = Google::Apis::CloudschedulerV1beta1::Operation
543
+ command.params['name'] = name unless name.nil?
544
+ command.query['fields'] = fields unless fields.nil?
545
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
546
+ execute_or_queue_command(command, &block)
547
+ end
548
+
549
+ # Lists operations that match the specified filter in the request. If the server
550
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
551
+ # @param [String] name
552
+ # The name of the operation's parent resource.
553
+ # @param [String] filter
554
+ # The standard list filter.
555
+ # @param [Fixnum] page_size
556
+ # The standard list page size.
557
+ # @param [String] page_token
558
+ # The standard list page token.
559
+ # @param [Boolean] return_partial_success
560
+ # When set to `true`, operations that are reachable are returned as normal, and
561
+ # those that are unreachable are returned in the [ListOperationsResponse.
562
+ # unreachable] field. This can only be `true` when reading across collections e.
563
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
564
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
565
+ # explicitly documented otherwise in service or product specific documentation.
566
+ # @param [String] fields
567
+ # Selector specifying which fields to include in a partial response.
568
+ # @param [String] quota_user
569
+ # Available to use for quota purposes for server-side applications. Can be any
570
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
571
+ # @param [Google::Apis::RequestOptions] options
572
+ # Request-specific options
573
+ #
574
+ # @yield [result, err] Result & error if block supplied
575
+ # @yieldparam result [Google::Apis::CloudschedulerV1beta1::ListOperationsResponse] parsed result object
576
+ # @yieldparam err [StandardError] error object if request failed
577
+ #
578
+ # @return [Google::Apis::CloudschedulerV1beta1::ListOperationsResponse]
579
+ #
580
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
581
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
582
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
583
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
584
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
585
+ command.response_representation = Google::Apis::CloudschedulerV1beta1::ListOperationsResponse::Representation
586
+ command.response_class = Google::Apis::CloudschedulerV1beta1::ListOperationsResponse
587
+ command.params['name'] = name unless name.nil?
588
+ command.query['filter'] = filter unless filter.nil?
589
+ command.query['pageSize'] = page_size unless page_size.nil?
590
+ command.query['pageToken'] = page_token unless page_token.nil?
591
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
592
+ command.query['fields'] = fields unless fields.nil?
593
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
594
+ execute_or_queue_command(command, &block)
595
+ end
443
596
 
444
597
  protected
445
598
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudscheduler_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudscheduler_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudscheduler_v1beta1/v0.36.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudscheduler_v1beta1/v0.38.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudscheduler_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: