google-apis-run_v1 0.66.0 → 0.67.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: '009e5dc743aedab64dc5c9fb145dc3aadc63405e5e1a8ae4102484b8e826f005'
4
- data.tar.gz: c10104faf5111f1120458537d255c4b0f37d5c74624f831c468d3f98c09fdb32
3
+ metadata.gz: e17c14290f3d900ff602ccd891da9061657e06c2b60f0a009da78b732ad7dfc4
4
+ data.tar.gz: b36b28c787de1309942ebabed66a35212a8c2605d0edb63d702bc742a7433fac
5
5
  SHA512:
6
- metadata.gz: 70eb3cde39761d5c7279751cbdb649ba386fff380259d04fc6762682c8730fbd8d6f4f97faa8de55b89fc3e132e2afcebe2401fe76798dac81c1fb5a7f4d116a
7
- data.tar.gz: 4964e2448f6ebef0ba6c88ea4d55ffcef3991c412ede4ab010c74a1aa199944038a92c95d603714f98854ff5b7ed74bbb499d95df3901be67ec589b3ae21237d
6
+ metadata.gz: af3fee0a88f37527611a1643c4ea75725d485656d56108a439980d48d0566c72c12cbb0b0b189f9fea337fa04c0fc18708e09bdea3b228f58055e08735403667
7
+ data.tar.gz: be0b61d746df6e71e50133fff6d1098f1fe0e8f3bca6c7c43747bafb1c67de97fdf17d0854b0e8a7a85d1abb2bda2c3947894e48746e507068e8ccfa78040e25
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.67.0 (2023-12-17)
4
+
5
+ * Regenerated from discovery document revision 20231210
6
+
3
7
  ### v0.66.0 (2023-12-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20231203
@@ -216,6 +216,43 @@ module Google
216
216
  end
217
217
  end
218
218
 
219
+ # Storage volume source using the Container Storage Interface.
220
+ class CsiVolumeSource
221
+ include Google::Apis::Core::Hashable
222
+
223
+ # name of the CSI driver for the requested storage system. Cloud Run supports
224
+ # the following drivers: * gcsfuse.run.googleapis.com : Mount a Cloud Storage
225
+ # Bucket as a volume.
226
+ # Corresponds to the JSON property `driver`
227
+ # @return [String]
228
+ attr_accessor :driver
229
+
230
+ # If true, mount the volume as read only. Defaults to false.
231
+ # Corresponds to the JSON property `readOnly`
232
+ # @return [Boolean]
233
+ attr_accessor :read_only
234
+ alias_method :read_only?, :read_only
235
+
236
+ # stores driver specific attributes. For Google Cloud Storage volumes, the
237
+ # following attributes are supported: * bucketName: the name of the Cloud
238
+ # Storage bucket to mount. The Cloud Run Service identity must have access to
239
+ # this bucket.
240
+ # Corresponds to the JSON property `volumeAttributes`
241
+ # @return [Hash<String,String>]
242
+ attr_accessor :volume_attributes
243
+
244
+ def initialize(**args)
245
+ update!(**args)
246
+ end
247
+
248
+ # Update properties of this object
249
+ def update!(**args)
250
+ @driver = args[:driver] if args.key?(:driver)
251
+ @read_only = args[:read_only] if args.key?(:read_only)
252
+ @volume_attributes = args[:volume_attributes] if args.key?(:volume_attributes)
253
+ end
254
+ end
255
+
219
256
  # Request message for cancelling an execution.
220
257
  class CancelExecutionRequest
221
258
  include Google::Apis::Core::Hashable
@@ -830,6 +867,22 @@ module Google
830
867
  end
831
868
  end
832
869
 
870
+ # A generic empty message that you can re-use to avoid defining duplicated empty
871
+ # messages in your APIs. A typical example is to use it as the request or the
872
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
873
+ # protobuf.Empty) returns (google.protobuf.Empty); `
874
+ class Empty
875
+ include Google::Apis::Core::Hashable
876
+
877
+ def initialize(**args)
878
+ update!(**args)
879
+ end
880
+
881
+ # Update properties of this object
882
+ def update!(**args)
883
+ end
884
+ end
885
+
833
886
  # In memory (tmpfs) ephemeral storage. It is ephemeral in the sense that when
834
887
  # the sandbox is taken down, the data is destroyed with it (it does not persist
835
888
  # across sandbox runs).
@@ -1354,6 +1407,114 @@ module Google
1354
1407
  end
1355
1408
  end
1356
1409
 
1410
+ # The response message for Operations.ListOperations.
1411
+ class GoogleLongrunningListOperationsResponse
1412
+ include Google::Apis::Core::Hashable
1413
+
1414
+ # The standard List next-page token.
1415
+ # Corresponds to the JSON property `nextPageToken`
1416
+ # @return [String]
1417
+ attr_accessor :next_page_token
1418
+
1419
+ # A list of operations that matches the specified filter in the request.
1420
+ # Corresponds to the JSON property `operations`
1421
+ # @return [Array<Google::Apis::RunV1::GoogleLongrunningOperation>]
1422
+ attr_accessor :operations
1423
+
1424
+ def initialize(**args)
1425
+ update!(**args)
1426
+ end
1427
+
1428
+ # Update properties of this object
1429
+ def update!(**args)
1430
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1431
+ @operations = args[:operations] if args.key?(:operations)
1432
+ end
1433
+ end
1434
+
1435
+ # This resource represents a long-running operation that is the result of a
1436
+ # network API call.
1437
+ class GoogleLongrunningOperation
1438
+ include Google::Apis::Core::Hashable
1439
+
1440
+ # If the value is `false`, it means the operation is still in progress. If `true`
1441
+ # , the operation is completed, and either `error` or `response` is available.
1442
+ # Corresponds to the JSON property `done`
1443
+ # @return [Boolean]
1444
+ attr_accessor :done
1445
+ alias_method :done?, :done
1446
+
1447
+ # The `Status` type defines a logical error model that is suitable for different
1448
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1449
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1450
+ # data: error code, error message, and error details. You can find out more
1451
+ # about this error model and how to work with it in the [API Design Guide](https:
1452
+ # //cloud.google.com/apis/design/errors).
1453
+ # Corresponds to the JSON property `error`
1454
+ # @return [Google::Apis::RunV1::GoogleRpcStatus]
1455
+ attr_accessor :error
1456
+
1457
+ # Service-specific metadata associated with the operation. It typically contains
1458
+ # progress information and common metadata such as create time. Some services
1459
+ # might not provide such metadata. Any method that returns a long-running
1460
+ # operation should document the metadata type, if any.
1461
+ # Corresponds to the JSON property `metadata`
1462
+ # @return [Hash<String,Object>]
1463
+ attr_accessor :metadata
1464
+
1465
+ # The server-assigned name, which is only unique within the same service that
1466
+ # originally returns it. If you use the default HTTP mapping, the `name` should
1467
+ # be a resource name ending with `operations/`unique_id``.
1468
+ # Corresponds to the JSON property `name`
1469
+ # @return [String]
1470
+ attr_accessor :name
1471
+
1472
+ # The normal, successful response of the operation. If the original method
1473
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
1474
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
1475
+ # response should be the resource. For other methods, the response should have
1476
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
1477
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
1478
+ # `TakeSnapshotResponse`.
1479
+ # Corresponds to the JSON property `response`
1480
+ # @return [Hash<String,Object>]
1481
+ attr_accessor :response
1482
+
1483
+ def initialize(**args)
1484
+ update!(**args)
1485
+ end
1486
+
1487
+ # Update properties of this object
1488
+ def update!(**args)
1489
+ @done = args[:done] if args.key?(:done)
1490
+ @error = args[:error] if args.key?(:error)
1491
+ @metadata = args[:metadata] if args.key?(:metadata)
1492
+ @name = args[:name] if args.key?(:name)
1493
+ @response = args[:response] if args.key?(:response)
1494
+ end
1495
+ end
1496
+
1497
+ # The request message for Operations.WaitOperation.
1498
+ class GoogleLongrunningWaitOperationRequest
1499
+ include Google::Apis::Core::Hashable
1500
+
1501
+ # The maximum duration to wait before timing out. If left blank, the wait will
1502
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
1503
+ # context deadline is also specified, the shorter one will be used.
1504
+ # Corresponds to the JSON property `timeout`
1505
+ # @return [String]
1506
+ attr_accessor :timeout
1507
+
1508
+ def initialize(**args)
1509
+ update!(**args)
1510
+ end
1511
+
1512
+ # Update properties of this object
1513
+ def update!(**args)
1514
+ @timeout = args[:timeout] if args.key?(:timeout)
1515
+ end
1516
+ end
1517
+
1357
1518
  # The `Status` type defines a logical error model that is suitable for different
1358
1519
  # programming environments, including REST APIs and RPC APIs. It is used by [
1359
1520
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2119,6 +2280,40 @@ module Google
2119
2280
  end
2120
2281
  end
2121
2282
 
2283
+ # Represents a persistent volume that will be mounted using NFS. This volume
2284
+ # will be shared between all instances of the Service and data will not be
2285
+ # deleted when the instance is shut down.
2286
+ class NfsVolumeSource
2287
+ include Google::Apis::Core::Hashable
2288
+
2289
+ # Path that is exported by the NFS server.
2290
+ # Corresponds to the JSON property `path`
2291
+ # @return [String]
2292
+ attr_accessor :path
2293
+
2294
+ # If true, mount the NFS volume as read only. Defaults to false.
2295
+ # Corresponds to the JSON property `readOnly`
2296
+ # @return [Boolean]
2297
+ attr_accessor :read_only
2298
+ alias_method :read_only?, :read_only
2299
+
2300
+ # Hostname or IP address of the NFS server.
2301
+ # Corresponds to the JSON property `server`
2302
+ # @return [String]
2303
+ attr_accessor :server
2304
+
2305
+ def initialize(**args)
2306
+ update!(**args)
2307
+ end
2308
+
2309
+ # Update properties of this object
2310
+ def update!(**args)
2311
+ @path = args[:path] if args.key?(:path)
2312
+ @read_only = args[:read_only] if args.key?(:read_only)
2313
+ @server = args[:server] if args.key?(:server)
2314
+ end
2315
+ end
2316
+
2122
2317
  # google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources
2123
2318
  # must have, which includes all objects users must create.
2124
2319
  class ObjectMeta
@@ -3813,6 +4008,11 @@ module Google
3813
4008
  # @return [Google::Apis::RunV1::ConfigMapVolumeSource]
3814
4009
  attr_accessor :config_map
3815
4010
 
4011
+ # Storage volume source using the Container Storage Interface.
4012
+ # Corresponds to the JSON property `csi`
4013
+ # @return [Google::Apis::RunV1::CsiVolumeSource]
4014
+ attr_accessor :csi
4015
+
3816
4016
  # In memory (tmpfs) ephemeral storage. It is ephemeral in the sense that when
3817
4017
  # the sandbox is taken down, the data is destroyed with it (it does not persist
3818
4018
  # across sandbox runs).
@@ -3825,6 +4025,13 @@ module Google
3825
4025
  # @return [String]
3826
4026
  attr_accessor :name
3827
4027
 
4028
+ # Represents a persistent volume that will be mounted using NFS. This volume
4029
+ # will be shared between all instances of the Service and data will not be
4030
+ # deleted when the instance is shut down.
4031
+ # Corresponds to the JSON property `nfs`
4032
+ # @return [Google::Apis::RunV1::NfsVolumeSource]
4033
+ attr_accessor :nfs
4034
+
3828
4035
  # A volume representing a secret stored in Google Secret Manager. The secret's
3829
4036
  # value will be presented as the content of a file whose name is defined in the
3830
4037
  # item path. If no items are defined, the name of the file is the secret_name.
@@ -3841,8 +4048,10 @@ module Google
3841
4048
  # Update properties of this object
3842
4049
  def update!(**args)
3843
4050
  @config_map = args[:config_map] if args.key?(:config_map)
4051
+ @csi = args[:csi] if args.key?(:csi)
3844
4052
  @empty_dir = args[:empty_dir] if args.key?(:empty_dir)
3845
4053
  @name = args[:name] if args.key?(:name)
4054
+ @nfs = args[:nfs] if args.key?(:nfs)
3846
4055
  @secret = args[:secret] if args.key?(:secret)
3847
4056
  end
3848
4057
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV1
18
18
  # Version of the google-apis-run_v1 gem
19
- GEM_VERSION = "0.66.0"
19
+ GEM_VERSION = "0.67.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231203"
25
+ REVISION = "20231210"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class CsiVolumeSource
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class CancelExecutionRequest
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -130,6 +136,12 @@ module Google
130
136
  include Google::Apis::Core::JsonObjectSupport
131
137
  end
132
138
 
139
+ class Empty
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
133
145
  class EmptyDirVolumeSource
134
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
147
 
@@ -208,6 +220,24 @@ module Google
208
220
  include Google::Apis::Core::JsonObjectSupport
209
221
  end
210
222
 
223
+ class GoogleLongrunningListOperationsResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleLongrunningOperation
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleLongrunningWaitOperationRequest
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
211
241
  class GoogleRpcStatus
212
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
243
 
@@ -328,6 +358,12 @@ module Google
328
358
  include Google::Apis::Core::JsonObjectSupport
329
359
  end
330
360
 
361
+ class NfsVolumeSource
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
331
367
  class ObjectMeta
332
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
369
 
@@ -592,6 +628,15 @@ module Google
592
628
  end
593
629
  end
594
630
 
631
+ class CsiVolumeSource
632
+ # @private
633
+ class Representation < Google::Apis::Core::JsonRepresentation
634
+ property :driver, as: 'driver'
635
+ property :read_only, as: 'readOnly'
636
+ hash :volume_attributes, as: 'volumeAttributes'
637
+ end
638
+ end
639
+
595
640
  class CancelExecutionRequest
596
641
  # @private
597
642
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -751,6 +796,12 @@ module Google
751
796
  end
752
797
  end
753
798
 
799
+ class Empty
800
+ # @private
801
+ class Representation < Google::Apis::Core::JsonRepresentation
802
+ end
803
+ end
804
+
754
805
  class EmptyDirVolumeSource
755
806
  # @private
756
807
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -887,6 +938,34 @@ module Google
887
938
  end
888
939
  end
889
940
 
941
+ class GoogleLongrunningListOperationsResponse
942
+ # @private
943
+ class Representation < Google::Apis::Core::JsonRepresentation
944
+ property :next_page_token, as: 'nextPageToken'
945
+ collection :operations, as: 'operations', class: Google::Apis::RunV1::GoogleLongrunningOperation, decorator: Google::Apis::RunV1::GoogleLongrunningOperation::Representation
946
+
947
+ end
948
+ end
949
+
950
+ class GoogleLongrunningOperation
951
+ # @private
952
+ class Representation < Google::Apis::Core::JsonRepresentation
953
+ property :done, as: 'done'
954
+ property :error, as: 'error', class: Google::Apis::RunV1::GoogleRpcStatus, decorator: Google::Apis::RunV1::GoogleRpcStatus::Representation
955
+
956
+ hash :metadata, as: 'metadata'
957
+ property :name, as: 'name'
958
+ hash :response, as: 'response'
959
+ end
960
+ end
961
+
962
+ class GoogleLongrunningWaitOperationRequest
963
+ # @private
964
+ class Representation < Google::Apis::Core::JsonRepresentation
965
+ property :timeout, as: 'timeout'
966
+ end
967
+ end
968
+
890
969
  class GoogleRpcStatus
891
970
  # @private
892
971
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1108,6 +1187,15 @@ module Google
1108
1187
  end
1109
1188
  end
1110
1189
 
1190
+ class NfsVolumeSource
1191
+ # @private
1192
+ class Representation < Google::Apis::Core::JsonRepresentation
1193
+ property :path, as: 'path'
1194
+ property :read_only, as: 'readOnly'
1195
+ property :server, as: 'server'
1196
+ end
1197
+ end
1198
+
1111
1199
  class ObjectMeta
1112
1200
  # @private
1113
1201
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1520,9 +1608,13 @@ module Google
1520
1608
  class Representation < Google::Apis::Core::JsonRepresentation
1521
1609
  property :config_map, as: 'configMap', class: Google::Apis::RunV1::ConfigMapVolumeSource, decorator: Google::Apis::RunV1::ConfigMapVolumeSource::Representation
1522
1610
 
1611
+ property :csi, as: 'csi', class: Google::Apis::RunV1::CsiVolumeSource, decorator: Google::Apis::RunV1::CsiVolumeSource::Representation
1612
+
1523
1613
  property :empty_dir, as: 'emptyDir', class: Google::Apis::RunV1::EmptyDirVolumeSource, decorator: Google::Apis::RunV1::EmptyDirVolumeSource::Representation
1524
1614
 
1525
1615
  property :name, as: 'name'
1616
+ property :nfs, as: 'nfs', class: Google::Apis::RunV1::NfsVolumeSource, decorator: Google::Apis::RunV1::NfsVolumeSource::Representation
1617
+
1526
1618
  property :secret, as: 'secret', class: Google::Apis::RunV1::SecretVolumeSource, decorator: Google::Apis::RunV1::SecretVolumeSource::Representation
1527
1619
 
1528
1620
  end
@@ -1785,6 +1785,156 @@ module Google
1785
1785
  execute_or_queue_command(command, &block)
1786
1786
  end
1787
1787
 
1788
+ # Deletes a long-running operation. This method indicates that the client is no
1789
+ # longer interested in the operation result. It does not cancel the operation.
1790
+ # If the server doesn't support this method, it returns `google.rpc.Code.
1791
+ # UNIMPLEMENTED`.
1792
+ # @param [String] name
1793
+ # The name of the operation resource to be deleted.
1794
+ # @param [String] fields
1795
+ # Selector specifying which fields to include in a partial response.
1796
+ # @param [String] quota_user
1797
+ # Available to use for quota purposes for server-side applications. Can be any
1798
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1799
+ # @param [Google::Apis::RequestOptions] options
1800
+ # Request-specific options
1801
+ #
1802
+ # @yield [result, err] Result & error if block supplied
1803
+ # @yieldparam result [Google::Apis::RunV1::Empty] parsed result object
1804
+ # @yieldparam err [StandardError] error object if request failed
1805
+ #
1806
+ # @return [Google::Apis::RunV1::Empty]
1807
+ #
1808
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1809
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1810
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1811
+ def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1812
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1813
+ command.response_representation = Google::Apis::RunV1::Empty::Representation
1814
+ command.response_class = Google::Apis::RunV1::Empty
1815
+ command.params['name'] = name unless name.nil?
1816
+ command.query['fields'] = fields unless fields.nil?
1817
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1818
+ execute_or_queue_command(command, &block)
1819
+ end
1820
+
1821
+ # Gets the latest state of a long-running operation. Clients can use this method
1822
+ # to poll the operation result at intervals as recommended by the API service.
1823
+ # @param [String] name
1824
+ # The name of the operation resource.
1825
+ # @param [String] fields
1826
+ # Selector specifying which fields to include in a partial response.
1827
+ # @param [String] quota_user
1828
+ # Available to use for quota purposes for server-side applications. Can be any
1829
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1830
+ # @param [Google::Apis::RequestOptions] options
1831
+ # Request-specific options
1832
+ #
1833
+ # @yield [result, err] Result & error if block supplied
1834
+ # @yieldparam result [Google::Apis::RunV1::GoogleLongrunningOperation] parsed result object
1835
+ # @yieldparam err [StandardError] error object if request failed
1836
+ #
1837
+ # @return [Google::Apis::RunV1::GoogleLongrunningOperation]
1838
+ #
1839
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1840
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1841
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1842
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1843
+ command = make_simple_command(:get, 'v1/{+name}', options)
1844
+ command.response_representation = Google::Apis::RunV1::GoogleLongrunningOperation::Representation
1845
+ command.response_class = Google::Apis::RunV1::GoogleLongrunningOperation
1846
+ command.params['name'] = name unless name.nil?
1847
+ command.query['fields'] = fields unless fields.nil?
1848
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1849
+ execute_or_queue_command(command, &block)
1850
+ end
1851
+
1852
+ # Lists operations that match the specified filter in the request. If the server
1853
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
1854
+ # @param [String] name
1855
+ # Required. To query for all of the operations for a project.
1856
+ # @param [String] filter
1857
+ # Optional. A filter for matching the completed or in-progress operations. The
1858
+ # supported formats of *filter* are: To query for only completed operations:
1859
+ # done:true To query for only ongoing operations: done:false Must be empty to
1860
+ # query for all of the latest operations for the given parent project.
1861
+ # @param [Fixnum] page_size
1862
+ # The maximum number of records that should be returned. Requested page size
1863
+ # cannot exceed 100. If not set or set to less than or equal to 0, the default
1864
+ # page size is 100. .
1865
+ # @param [String] page_token
1866
+ # Token identifying which result to start with, which is returned by a previous
1867
+ # list call.
1868
+ # @param [String] fields
1869
+ # Selector specifying which fields to include in a partial response.
1870
+ # @param [String] quota_user
1871
+ # Available to use for quota purposes for server-side applications. Can be any
1872
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1873
+ # @param [Google::Apis::RequestOptions] options
1874
+ # Request-specific options
1875
+ #
1876
+ # @yield [result, err] Result & error if block supplied
1877
+ # @yieldparam result [Google::Apis::RunV1::GoogleLongrunningListOperationsResponse] parsed result object
1878
+ # @yieldparam err [StandardError] error object if request failed
1879
+ #
1880
+ # @return [Google::Apis::RunV1::GoogleLongrunningListOperationsResponse]
1881
+ #
1882
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1883
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1884
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1885
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1886
+ command = make_simple_command(:get, 'v1/{+name}/operations', options)
1887
+ command.response_representation = Google::Apis::RunV1::GoogleLongrunningListOperationsResponse::Representation
1888
+ command.response_class = Google::Apis::RunV1::GoogleLongrunningListOperationsResponse
1889
+ command.params['name'] = name unless name.nil?
1890
+ command.query['filter'] = filter unless filter.nil?
1891
+ command.query['pageSize'] = page_size unless page_size.nil?
1892
+ command.query['pageToken'] = page_token unless page_token.nil?
1893
+ command.query['fields'] = fields unless fields.nil?
1894
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1895
+ execute_or_queue_command(command, &block)
1896
+ end
1897
+
1898
+ # Waits until the specified long-running operation is done or reaches at most a
1899
+ # specified timeout, returning the latest state. If the operation is already
1900
+ # done, the latest state is immediately returned. If the timeout specified is
1901
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
1902
+ # the server does not support this method, it returns `google.rpc.Code.
1903
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
1904
+ # the latest state before the specified timeout (including immediately), meaning
1905
+ # even an immediate response is no guarantee that the operation is done.
1906
+ # @param [String] name
1907
+ # The name of the operation resource to wait on.
1908
+ # @param [Google::Apis::RunV1::GoogleLongrunningWaitOperationRequest] google_longrunning_wait_operation_request_object
1909
+ # @param [String] fields
1910
+ # Selector specifying which fields to include in a partial response.
1911
+ # @param [String] quota_user
1912
+ # Available to use for quota purposes for server-side applications. Can be any
1913
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1914
+ # @param [Google::Apis::RequestOptions] options
1915
+ # Request-specific options
1916
+ #
1917
+ # @yield [result, err] Result & error if block supplied
1918
+ # @yieldparam result [Google::Apis::RunV1::GoogleLongrunningOperation] parsed result object
1919
+ # @yieldparam err [StandardError] error object if request failed
1920
+ #
1921
+ # @return [Google::Apis::RunV1::GoogleLongrunningOperation]
1922
+ #
1923
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1924
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1925
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1926
+ def wait_project_location_operation(name, google_longrunning_wait_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1927
+ command = make_simple_command(:post, 'v1/{+name}:wait', options)
1928
+ command.request_representation = Google::Apis::RunV1::GoogleLongrunningWaitOperationRequest::Representation
1929
+ command.request_object = google_longrunning_wait_operation_request_object
1930
+ command.response_representation = Google::Apis::RunV1::GoogleLongrunningOperation::Representation
1931
+ command.response_class = Google::Apis::RunV1::GoogleLongrunningOperation
1932
+ command.params['name'] = name unless name.nil?
1933
+ command.query['fields'] = fields unless fields.nil?
1934
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1935
+ execute_or_queue_command(command, &block)
1936
+ end
1937
+
1788
1938
  # Delete a revision.
1789
1939
  # @param [String] name
1790
1940
  # The name of the revision to delete. For Cloud Run (fully managed), replace `
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.66.0
4
+ version: 0.67.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-12-10 00:00:00.000000000 Z
11
+ date: 2023-12-17 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-run_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.66.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.67.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
63
63
  post_install_message:
64
64
  rdoc_options: []