google-apis-cloudscheduler_v1 0.33.0 → 0.35.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/cloudscheduler_v1/classes.rb +159 -0
- data/lib/google/apis/cloudscheduler_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudscheduler_v1/representations.rb +64 -0
- data/lib/google/apis/cloudscheduler_v1/service.rb +145 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de0e7773cf771a94242227bd94c5241c0e52675c0fd12b843502740e2c2a56b6
|
4
|
+
data.tar.gz: 977b88a8a4f7ae3573583ba3d4d9a952348b01bf5605554f09d671003d15d68f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfc85f20ba57a3e7a4d20ab6596b281a65a9a13fa1d497424bbcd37ef1696c3c9b03ee5b56e219dd59c6c81850c6968a51e56a9776687459185b33cbb667f134
|
7
|
+
data.tar.gz: 1338b911a4031259639a42aa01f89751b0ce923f09e4b896865ae303d7a8393ad30662dd88fb536fabf40d8203d4585c95823883e2aed8b692ca90f3b796bec5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-cloudscheduler_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2024-11-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241113
|
6
|
+
|
7
|
+
### v0.34.0 (2024-09-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240917
|
10
|
+
* Regenerated using generator version 0.15.1
|
11
|
+
|
3
12
|
### v0.33.0 (2024-05-19)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.15.0
|
@@ -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.
|
@@ -488,6 +501,31 @@ module Google
|
|
488
501
|
end
|
489
502
|
end
|
490
503
|
|
504
|
+
# The response message for Operations.ListOperations.
|
505
|
+
class ListOperationsResponse
|
506
|
+
include Google::Apis::Core::Hashable
|
507
|
+
|
508
|
+
# The standard List next-page token.
|
509
|
+
# Corresponds to the JSON property `nextPageToken`
|
510
|
+
# @return [String]
|
511
|
+
attr_accessor :next_page_token
|
512
|
+
|
513
|
+
# A list of operations that matches the specified filter in the request.
|
514
|
+
# Corresponds to the JSON property `operations`
|
515
|
+
# @return [Array<Google::Apis::CloudschedulerV1::Operation>]
|
516
|
+
attr_accessor :operations
|
517
|
+
|
518
|
+
def initialize(**args)
|
519
|
+
update!(**args)
|
520
|
+
end
|
521
|
+
|
522
|
+
# Update properties of this object
|
523
|
+
def update!(**args)
|
524
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
525
|
+
@operations = args[:operations] if args.key?(:operations)
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
491
529
|
# A resource that represents a Google Cloud location.
|
492
530
|
class Location
|
493
531
|
include Google::Apis::Core::Hashable
|
@@ -598,6 +636,127 @@ module Google
|
|
598
636
|
end
|
599
637
|
end
|
600
638
|
|
639
|
+
# This resource represents a long-running operation that is the result of a
|
640
|
+
# network API call.
|
641
|
+
class Operation
|
642
|
+
include Google::Apis::Core::Hashable
|
643
|
+
|
644
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
645
|
+
# , the operation is completed, and either `error` or `response` is available.
|
646
|
+
# Corresponds to the JSON property `done`
|
647
|
+
# @return [Boolean]
|
648
|
+
attr_accessor :done
|
649
|
+
alias_method :done?, :done
|
650
|
+
|
651
|
+
# The `Status` type defines a logical error model that is suitable for different
|
652
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
653
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
654
|
+
# data: error code, error message, and error details. You can find out more
|
655
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
656
|
+
# //cloud.google.com/apis/design/errors).
|
657
|
+
# Corresponds to the JSON property `error`
|
658
|
+
# @return [Google::Apis::CloudschedulerV1::Status]
|
659
|
+
attr_accessor :error
|
660
|
+
|
661
|
+
# Service-specific metadata associated with the operation. It typically contains
|
662
|
+
# progress information and common metadata such as create time. Some services
|
663
|
+
# might not provide such metadata. Any method that returns a long-running
|
664
|
+
# operation should document the metadata type, if any.
|
665
|
+
# Corresponds to the JSON property `metadata`
|
666
|
+
# @return [Hash<String,Object>]
|
667
|
+
attr_accessor :metadata
|
668
|
+
|
669
|
+
# The server-assigned name, which is only unique within the same service that
|
670
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
671
|
+
# be a resource name ending with `operations/`unique_id``.
|
672
|
+
# Corresponds to the JSON property `name`
|
673
|
+
# @return [String]
|
674
|
+
attr_accessor :name
|
675
|
+
|
676
|
+
# The normal, successful response of the operation. If the original method
|
677
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
678
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
679
|
+
# response should be the resource. For other methods, the response should have
|
680
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
681
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
682
|
+
# `TakeSnapshotResponse`.
|
683
|
+
# Corresponds to the JSON property `response`
|
684
|
+
# @return [Hash<String,Object>]
|
685
|
+
attr_accessor :response
|
686
|
+
|
687
|
+
def initialize(**args)
|
688
|
+
update!(**args)
|
689
|
+
end
|
690
|
+
|
691
|
+
# Update properties of this object
|
692
|
+
def update!(**args)
|
693
|
+
@done = args[:done] if args.key?(:done)
|
694
|
+
@error = args[:error] if args.key?(:error)
|
695
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
696
|
+
@name = args[:name] if args.key?(:name)
|
697
|
+
@response = args[:response] if args.key?(:response)
|
698
|
+
end
|
699
|
+
end
|
700
|
+
|
701
|
+
# Represents the metadata of the long-running operation.
|
702
|
+
class OperationMetadata
|
703
|
+
include Google::Apis::Core::Hashable
|
704
|
+
|
705
|
+
# Output only. API version used to start the operation.
|
706
|
+
# Corresponds to the JSON property `apiVersion`
|
707
|
+
# @return [String]
|
708
|
+
attr_accessor :api_version
|
709
|
+
|
710
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
711
|
+
# operation. Operations that have been cancelled successfully have google.
|
712
|
+
# longrunning.Operation.error value with a google.rpc.Status.code of `1`,
|
713
|
+
# corresponding to `Code.CANCELLED`.
|
714
|
+
# Corresponds to the JSON property `cancelRequested`
|
715
|
+
# @return [Boolean]
|
716
|
+
attr_accessor :cancel_requested
|
717
|
+
alias_method :cancel_requested?, :cancel_requested
|
718
|
+
|
719
|
+
# Output only. The time the operation was created.
|
720
|
+
# Corresponds to the JSON property `createTime`
|
721
|
+
# @return [String]
|
722
|
+
attr_accessor :create_time
|
723
|
+
|
724
|
+
# Output only. The time the operation finished running.
|
725
|
+
# Corresponds to the JSON property `endTime`
|
726
|
+
# @return [String]
|
727
|
+
attr_accessor :end_time
|
728
|
+
|
729
|
+
# Output only. Human-readable status of the operation, if any.
|
730
|
+
# Corresponds to the JSON property `statusDetail`
|
731
|
+
# @return [String]
|
732
|
+
attr_accessor :status_detail
|
733
|
+
|
734
|
+
# Output only. Server-defined resource path for the target of the operation.
|
735
|
+
# Corresponds to the JSON property `target`
|
736
|
+
# @return [String]
|
737
|
+
attr_accessor :target
|
738
|
+
|
739
|
+
# Output only. Name of the verb executed by the operation.
|
740
|
+
# Corresponds to the JSON property `verb`
|
741
|
+
# @return [String]
|
742
|
+
attr_accessor :verb
|
743
|
+
|
744
|
+
def initialize(**args)
|
745
|
+
update!(**args)
|
746
|
+
end
|
747
|
+
|
748
|
+
# Update properties of this object
|
749
|
+
def update!(**args)
|
750
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
751
|
+
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
752
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
753
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
754
|
+
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
755
|
+
@target = args[:target] if args.key?(:target)
|
756
|
+
@verb = args[:verb] if args.key?(:verb)
|
757
|
+
end
|
758
|
+
end
|
759
|
+
|
601
760
|
# Request message for PauseJob.
|
602
761
|
class PauseJobRequest
|
603
762
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudschedulerV1
|
18
18
|
# Version of the google-apis-cloudscheduler_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.35.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241113"
|
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,18 @@ 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
|
+
|
103
|
+
class OperationMetadata
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
85
109
|
class PauseJobRequest
|
86
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
111
|
|
@@ -146,6 +170,12 @@ module Google
|
|
146
170
|
end
|
147
171
|
end
|
148
172
|
|
173
|
+
class CancelOperationRequest
|
174
|
+
# @private
|
175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
149
179
|
class Empty
|
150
180
|
# @private
|
151
181
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -209,6 +239,15 @@ module Google
|
|
209
239
|
end
|
210
240
|
end
|
211
241
|
|
242
|
+
class ListOperationsResponse
|
243
|
+
# @private
|
244
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
245
|
+
property :next_page_token, as: 'nextPageToken'
|
246
|
+
collection :operations, as: 'operations', class: Google::Apis::CloudschedulerV1::Operation, decorator: Google::Apis::CloudschedulerV1::Operation::Representation
|
247
|
+
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
212
251
|
class Location
|
213
252
|
# @private
|
214
253
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -236,6 +275,31 @@ module Google
|
|
236
275
|
end
|
237
276
|
end
|
238
277
|
|
278
|
+
class Operation
|
279
|
+
# @private
|
280
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
281
|
+
property :done, as: 'done'
|
282
|
+
property :error, as: 'error', class: Google::Apis::CloudschedulerV1::Status, decorator: Google::Apis::CloudschedulerV1::Status::Representation
|
283
|
+
|
284
|
+
hash :metadata, as: 'metadata'
|
285
|
+
property :name, as: 'name'
|
286
|
+
hash :response, as: 'response'
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
class OperationMetadata
|
291
|
+
# @private
|
292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
293
|
+
property :api_version, as: 'apiVersion'
|
294
|
+
property :cancel_requested, as: 'cancelRequested'
|
295
|
+
property :create_time, as: 'createTime'
|
296
|
+
property :end_time, as: 'endTime'
|
297
|
+
property :status_detail, as: 'statusDetail'
|
298
|
+
property :target, as: 'target'
|
299
|
+
property :verb, as: 'verb'
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
239
303
|
class PauseJobRequest
|
240
304
|
# @private
|
241
305
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -51,6 +51,150 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
55
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
56
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
57
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
58
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
59
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
60
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
61
|
+
# corresponding to `Code.CANCELLED`.
|
62
|
+
# @param [String] name
|
63
|
+
# The name of the operation resource to be cancelled.
|
64
|
+
# @param [Google::Apis::CloudschedulerV1::CancelOperationRequest] cancel_operation_request_object
|
65
|
+
# @param [String] fields
|
66
|
+
# Selector specifying which fields to include in a partial response.
|
67
|
+
# @param [String] quota_user
|
68
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
69
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
70
|
+
# @param [Google::Apis::RequestOptions] options
|
71
|
+
# Request-specific options
|
72
|
+
#
|
73
|
+
# @yield [result, err] Result & error if block supplied
|
74
|
+
# @yieldparam result [Google::Apis::CloudschedulerV1::Empty] parsed result object
|
75
|
+
# @yieldparam err [StandardError] error object if request failed
|
76
|
+
#
|
77
|
+
# @return [Google::Apis::CloudschedulerV1::Empty]
|
78
|
+
#
|
79
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
+
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
83
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
84
|
+
command.request_representation = Google::Apis::CloudschedulerV1::CancelOperationRequest::Representation
|
85
|
+
command.request_object = cancel_operation_request_object
|
86
|
+
command.response_representation = Google::Apis::CloudschedulerV1::Empty::Representation
|
87
|
+
command.response_class = Google::Apis::CloudschedulerV1::Empty
|
88
|
+
command.params['name'] = name unless name.nil?
|
89
|
+
command.query['fields'] = fields unless fields.nil?
|
90
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
91
|
+
execute_or_queue_command(command, &block)
|
92
|
+
end
|
93
|
+
|
94
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
95
|
+
# longer interested in the operation result. It does not cancel the operation.
|
96
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
97
|
+
# UNIMPLEMENTED`.
|
98
|
+
# @param [String] name
|
99
|
+
# The name of the operation resource to be deleted.
|
100
|
+
# @param [String] fields
|
101
|
+
# Selector specifying which fields to include in a partial response.
|
102
|
+
# @param [String] quota_user
|
103
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
104
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
105
|
+
# @param [Google::Apis::RequestOptions] options
|
106
|
+
# Request-specific options
|
107
|
+
#
|
108
|
+
# @yield [result, err] Result & error if block supplied
|
109
|
+
# @yieldparam result [Google::Apis::CloudschedulerV1::Empty] parsed result object
|
110
|
+
# @yieldparam err [StandardError] error object if request failed
|
111
|
+
#
|
112
|
+
# @return [Google::Apis::CloudschedulerV1::Empty]
|
113
|
+
#
|
114
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
115
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
116
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
117
|
+
def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
118
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
119
|
+
command.response_representation = Google::Apis::CloudschedulerV1::Empty::Representation
|
120
|
+
command.response_class = Google::Apis::CloudschedulerV1::Empty
|
121
|
+
command.params['name'] = name unless name.nil?
|
122
|
+
command.query['fields'] = fields unless fields.nil?
|
123
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
124
|
+
execute_or_queue_command(command, &block)
|
125
|
+
end
|
126
|
+
|
127
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
128
|
+
# to poll the operation result at intervals as recommended by the API service.
|
129
|
+
# @param [String] name
|
130
|
+
# The name of the operation resource.
|
131
|
+
# @param [String] fields
|
132
|
+
# Selector specifying which fields to include in a partial response.
|
133
|
+
# @param [String] quota_user
|
134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
136
|
+
# @param [Google::Apis::RequestOptions] options
|
137
|
+
# Request-specific options
|
138
|
+
#
|
139
|
+
# @yield [result, err] Result & error if block supplied
|
140
|
+
# @yieldparam result [Google::Apis::CloudschedulerV1::Operation] parsed result object
|
141
|
+
# @yieldparam err [StandardError] error object if request failed
|
142
|
+
#
|
143
|
+
# @return [Google::Apis::CloudschedulerV1::Operation]
|
144
|
+
#
|
145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
148
|
+
def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
149
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
150
|
+
command.response_representation = Google::Apis::CloudschedulerV1::Operation::Representation
|
151
|
+
command.response_class = Google::Apis::CloudschedulerV1::Operation
|
152
|
+
command.params['name'] = name unless name.nil?
|
153
|
+
command.query['fields'] = fields unless fields.nil?
|
154
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
155
|
+
execute_or_queue_command(command, &block)
|
156
|
+
end
|
157
|
+
|
158
|
+
# Lists operations that match the specified filter in the request. If the server
|
159
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
160
|
+
# @param [String] name
|
161
|
+
# The name of the operation's parent resource.
|
162
|
+
# @param [String] filter
|
163
|
+
# The standard list filter.
|
164
|
+
# @param [Fixnum] page_size
|
165
|
+
# The standard list page size.
|
166
|
+
# @param [String] page_token
|
167
|
+
# The standard list page token.
|
168
|
+
# @param [String] fields
|
169
|
+
# Selector specifying which fields to include in a partial response.
|
170
|
+
# @param [String] quota_user
|
171
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
172
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
173
|
+
# @param [Google::Apis::RequestOptions] options
|
174
|
+
# Request-specific options
|
175
|
+
#
|
176
|
+
# @yield [result, err] Result & error if block supplied
|
177
|
+
# @yieldparam result [Google::Apis::CloudschedulerV1::ListOperationsResponse] parsed result object
|
178
|
+
# @yieldparam err [StandardError] error object if request failed
|
179
|
+
#
|
180
|
+
# @return [Google::Apis::CloudschedulerV1::ListOperationsResponse]
|
181
|
+
#
|
182
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
183
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
184
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
185
|
+
def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
186
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
187
|
+
command.response_representation = Google::Apis::CloudschedulerV1::ListOperationsResponse::Representation
|
188
|
+
command.response_class = Google::Apis::CloudschedulerV1::ListOperationsResponse
|
189
|
+
command.params['name'] = name unless name.nil?
|
190
|
+
command.query['filter'] = filter unless filter.nil?
|
191
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
192
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
193
|
+
command.query['fields'] = fields unless fields.nil?
|
194
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
195
|
+
execute_or_queue_command(command, &block)
|
196
|
+
end
|
197
|
+
|
54
198
|
# Gets information about a location.
|
55
199
|
# @param [String] name
|
56
200
|
# Resource name for the location.
|
@@ -232,8 +376,7 @@ module Google
|
|
232
376
|
# A token identifying a page of results the server will return. To request the
|
233
377
|
# first page results, page_token must be empty. To request the next page of
|
234
378
|
# results, page_token must be the value of next_page_token returned from the
|
235
|
-
# previous call to ListJobs.
|
236
|
-
# order_by while iterating through pages.
|
379
|
+
# previous call to ListJobs.
|
237
380
|
# @param [String] fields
|
238
381
|
# Selector specifying which fields to include in a partial response.
|
239
382
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudscheduler_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.35.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: 2024-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudscheduler_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudscheduler_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudscheduler_v1/v0.35.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudscheduler_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Scheduler API V1
|