google-cloud-run-v2 0.6.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/cloud/run/v2/condition_pb.rb +1 -0
  4. data/lib/google/cloud/run/v2/execution_pb.rb +1 -0
  5. data/lib/google/cloud/run/v2/executions/client.rb +10 -12
  6. data/lib/google/cloud/run/v2/executions/operations.rb +14 -16
  7. data/lib/google/cloud/run/v2/executions/rest/client.rb +533 -0
  8. data/lib/google/cloud/run/v2/executions/rest/operations.rb +935 -0
  9. data/lib/google/cloud/run/v2/executions/rest/service_stub.rb +225 -0
  10. data/lib/google/cloud/run/v2/executions/rest.rb +53 -0
  11. data/lib/google/cloud/run/v2/executions.rb +6 -0
  12. data/lib/google/cloud/run/v2/job_pb.rb +2 -1
  13. data/lib/google/cloud/run/v2/jobs/client.rb +22 -24
  14. data/lib/google/cloud/run/v2/jobs/operations.rb +14 -16
  15. data/lib/google/cloud/run/v2/jobs/rest/client.rb +998 -0
  16. data/lib/google/cloud/run/v2/jobs/rest/operations.rb +935 -0
  17. data/lib/google/cloud/run/v2/jobs/rest/service_stub.rb +584 -0
  18. data/lib/google/cloud/run/v2/jobs/rest.rb +53 -0
  19. data/lib/google/cloud/run/v2/jobs.rb +6 -0
  20. data/lib/google/cloud/run/v2/k8s.min_pb.rb +2 -0
  21. data/lib/google/cloud/run/v2/rest.rb +41 -0
  22. data/lib/google/cloud/run/v2/revision_pb.rb +2 -0
  23. data/lib/google/cloud/run/v2/revision_template_pb.rb +1 -0
  24. data/lib/google/cloud/run/v2/revisions/client.rb +10 -12
  25. data/lib/google/cloud/run/v2/revisions/operations.rb +14 -16
  26. data/lib/google/cloud/run/v2/revisions/rest/client.rb +531 -0
  27. data/lib/google/cloud/run/v2/revisions/rest/operations.rb +935 -0
  28. data/lib/google/cloud/run/v2/revisions/rest/service_stub.rb +225 -0
  29. data/lib/google/cloud/run/v2/revisions/rest.rb +53 -0
  30. data/lib/google/cloud/run/v2/revisions.rb +6 -0
  31. data/lib/google/cloud/run/v2/service_pb.rb +1 -0
  32. data/lib/google/cloud/run/v2/services/client.rb +20 -22
  33. data/lib/google/cloud/run/v2/services/operations.rb +14 -16
  34. data/lib/google/cloud/run/v2/services/rest/client.rb +940 -0
  35. data/lib/google/cloud/run/v2/services/rest/operations.rb +935 -0
  36. data/lib/google/cloud/run/v2/services/rest/service_stub.rb +524 -0
  37. data/lib/google/cloud/run/v2/services/rest.rb +53 -0
  38. data/lib/google/cloud/run/v2/services.rb +6 -0
  39. data/lib/google/cloud/run/v2/task_pb.rb +1 -0
  40. data/lib/google/cloud/run/v2/tasks/client.rb +6 -8
  41. data/lib/google/cloud/run/v2/tasks/rest/client.rb +440 -0
  42. data/lib/google/cloud/run/v2/tasks/rest/service_stub.rb +166 -0
  43. data/lib/google/cloud/run/v2/tasks/rest.rb +52 -0
  44. data/lib/google/cloud/run/v2/tasks.rb +6 -0
  45. data/lib/google/cloud/run/v2/version.rb +1 -1
  46. data/lib/google/cloud/run/v2.rb +5 -0
  47. data/proto_docs/google/api/client.rb +67 -4
  48. data/proto_docs/google/cloud/run/v2/condition.rb +3 -0
  49. data/proto_docs/google/cloud/run/v2/execution.rb +22 -15
  50. data/proto_docs/google/cloud/run/v2/execution_template.rb +14 -5
  51. data/proto_docs/google/cloud/run/v2/job.rb +16 -6
  52. data/proto_docs/google/cloud/run/v2/k8s.min.rb +23 -34
  53. data/proto_docs/google/cloud/run/v2/revision.rb +25 -12
  54. data/proto_docs/google/cloud/run/v2/revision_template.rb +16 -2
  55. data/proto_docs/google/cloud/run/v2/service.rb +16 -8
  56. data/proto_docs/google/cloud/run/v2/task.rb +13 -7
  57. data/proto_docs/google/cloud/run/v2/task_template.rb +2 -0
  58. data/proto_docs/google/iam/v1/policy.rb +8 -4
  59. metadata +32 -9
@@ -80,17 +80,20 @@ module Google
80
80
  # @return [::Integer]
81
81
  # Output only. A number that monotonically increases every time the user
82
82
  # modifies the desired state.
83
- # @!attribute [rw] labels
83
+ # @!attribute [r] labels
84
84
  # @return [::Google::Protobuf::Map{::String => ::String}]
85
- # KRM-style labels for the resource.
86
- # User-provided labels are shared with Google's billing system, so they can
87
- # be used to filter, or break down billing charges by team, component,
88
- # environment, state, etc. For more information, visit
85
+ # Output only. Unstructured key value map that can be used to organize and
86
+ # categorize objects. User-provided labels are shared with Google's billing
87
+ # system, so they can be used to filter, or break down billing charges by
88
+ # team, component, environment, state, etc. For more information, visit
89
89
  # https://cloud.google.com/resource-manager/docs/creating-managing-labels or
90
90
  # https://cloud.google.com/run/docs/configuring/labels
91
- # @!attribute [rw] annotations
91
+ # @!attribute [r] annotations
92
92
  # @return [::Google::Protobuf::Map{::String => ::String}]
93
- # KRM-style annotations for the resource.
93
+ # Output only. Unstructured key value map that may
94
+ # be set by external tools to store and arbitrary metadata.
95
+ # They are not queryable and should be preserved
96
+ # when modifying objects.
94
97
  # @!attribute [r] create_time
95
98
  # @return [::Google::Protobuf::Timestamp]
96
99
  # Output only. Represents time when the task was created by the job
@@ -184,6 +187,9 @@ module Google
184
187
  # @return [::String]
185
188
  # Output only. URI where logs for this execution can be found in Cloud
186
189
  # Console.
190
+ # @!attribute [r] satisfies_pzs
191
+ # @return [::Boolean]
192
+ # Output only. Reserved for future use.
187
193
  # @!attribute [r] etag
188
194
  # @return [::String]
189
195
  # Output only. A system-generated fingerprint for this version of the
@@ -33,11 +33,13 @@ module Google
33
33
  # @!attribute [rw] max_retries
34
34
  # @return [::Integer]
35
35
  # Number of retries allowed per Task, before marking this Task failed.
36
+ # Defaults to 3.
36
37
  # @!attribute [rw] timeout
37
38
  # @return [::Google::Protobuf::Duration]
38
39
  # Max allowed time duration the Task may be active before the system will
39
40
  # actively try to mark it failed and kill associated containers. This applies
40
41
  # per attempt of a task, meaning each retry can run for the full timeout.
42
+ # Defaults to 600 seconds.
41
43
  # @!attribute [rw] service_account
42
44
  # @return [::String]
43
45
  # Email address of the IAM service account associated with the Task of a
@@ -35,7 +35,8 @@ module Google
35
35
  # only if the expression evaluates to `true`. A condition can add constraints
36
36
  # based on attributes of the request, the resource, or both. To learn which
37
37
  # resources support conditions in their IAM policies, see the
38
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
38
+ # [IAM
39
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
39
40
  #
40
41
  # **JSON example:**
41
42
  #
@@ -58,7 +59,8 @@ module Google
58
59
  # "condition": {
59
60
  # "title": "expirable access",
60
61
  # "description": "Does not grant access after Sep 2020",
61
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
62
+ # "expression": "request.time <
63
+ # timestamp('2020-10-01T00:00:00.000Z')",
62
64
  # }
63
65
  # }
64
66
  # ],
@@ -112,7 +114,8 @@ module Google
112
114
  # specify any valid version or leave the field unset.
113
115
  #
114
116
  # To learn which resources support conditions in their IAM policies, see the
115
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
117
+ # [IAM
118
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
116
119
  # @!attribute [rw] bindings
117
120
  # @return [::Array<::Google::Iam::V1::Binding>]
118
121
  # Associates a list of `members`, or principals, with a `role`. Optionally,
@@ -305,7 +308,8 @@ module Google
305
308
  # @return [::Array<::String>]
306
309
  # Specifies the identities that do not cause logging for this type of
307
310
  # permission.
308
- # Follows the same format of {::Google::Iam::V1::Binding#members Binding.members}.
311
+ # Follows the same format of
312
+ # {::Google::Iam::V1::Binding#members Binding.members}.
309
313
  class AuditLogConfig
310
314
  include ::Google::Protobuf::MessageExts
311
315
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-run-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.8.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-01-27 00:00:00.000000000 Z
11
+ date: 2023-05-04 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.16.0
19
+ version: 0.18.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.16.0
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '0.3'
53
+ version: '0.4'
54
54
  - - "<"
55
55
  - !ruby/object:Gem::Version
56
56
  version: 2.a
@@ -60,7 +60,7 @@ dependencies:
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: '0.3'
63
+ version: '0.4'
64
64
  - - "<"
65
65
  - !ruby/object:Gem::Version
66
66
  version: 2.a
@@ -84,14 +84,14 @@ dependencies:
84
84
  requirements:
85
85
  - - "~>"
86
86
  - !ruby/object:Gem::Version
87
- version: 1.26.1
87
+ version: 1.26.3
88
88
  type: :development
89
89
  prerelease: false
90
90
  version_requirements: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: 1.26.1
94
+ version: 1.26.3
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: minitest
97
97
  requirement: !ruby/object:Gem::Requirement
@@ -214,6 +214,10 @@ files:
214
214
  - lib/google/cloud/run/v2/executions/credentials.rb
215
215
  - lib/google/cloud/run/v2/executions/operations.rb
216
216
  - lib/google/cloud/run/v2/executions/paths.rb
217
+ - lib/google/cloud/run/v2/executions/rest.rb
218
+ - lib/google/cloud/run/v2/executions/rest/client.rb
219
+ - lib/google/cloud/run/v2/executions/rest/operations.rb
220
+ - lib/google/cloud/run/v2/executions/rest/service_stub.rb
217
221
  - lib/google/cloud/run/v2/job_pb.rb
218
222
  - lib/google/cloud/run/v2/job_services_pb.rb
219
223
  - lib/google/cloud/run/v2/jobs.rb
@@ -221,7 +225,12 @@ files:
221
225
  - lib/google/cloud/run/v2/jobs/credentials.rb
222
226
  - lib/google/cloud/run/v2/jobs/operations.rb
223
227
  - lib/google/cloud/run/v2/jobs/paths.rb
228
+ - lib/google/cloud/run/v2/jobs/rest.rb
229
+ - lib/google/cloud/run/v2/jobs/rest/client.rb
230
+ - lib/google/cloud/run/v2/jobs/rest/operations.rb
231
+ - lib/google/cloud/run/v2/jobs/rest/service_stub.rb
224
232
  - lib/google/cloud/run/v2/k8s.min_pb.rb
233
+ - lib/google/cloud/run/v2/rest.rb
225
234
  - lib/google/cloud/run/v2/revision_pb.rb
226
235
  - lib/google/cloud/run/v2/revision_services_pb.rb
227
236
  - lib/google/cloud/run/v2/revision_template_pb.rb
@@ -230,6 +239,10 @@ files:
230
239
  - lib/google/cloud/run/v2/revisions/credentials.rb
231
240
  - lib/google/cloud/run/v2/revisions/operations.rb
232
241
  - lib/google/cloud/run/v2/revisions/paths.rb
242
+ - lib/google/cloud/run/v2/revisions/rest.rb
243
+ - lib/google/cloud/run/v2/revisions/rest/client.rb
244
+ - lib/google/cloud/run/v2/revisions/rest/operations.rb
245
+ - lib/google/cloud/run/v2/revisions/rest/service_stub.rb
233
246
  - lib/google/cloud/run/v2/service_pb.rb
234
247
  - lib/google/cloud/run/v2/service_services_pb.rb
235
248
  - lib/google/cloud/run/v2/services.rb
@@ -237,6 +250,10 @@ files:
237
250
  - lib/google/cloud/run/v2/services/credentials.rb
238
251
  - lib/google/cloud/run/v2/services/operations.rb
239
252
  - lib/google/cloud/run/v2/services/paths.rb
253
+ - lib/google/cloud/run/v2/services/rest.rb
254
+ - lib/google/cloud/run/v2/services/rest/client.rb
255
+ - lib/google/cloud/run/v2/services/rest/operations.rb
256
+ - lib/google/cloud/run/v2/services/rest/service_stub.rb
240
257
  - lib/google/cloud/run/v2/task_pb.rb
241
258
  - lib/google/cloud/run/v2/task_services_pb.rb
242
259
  - lib/google/cloud/run/v2/task_template_pb.rb
@@ -244,6 +261,9 @@ files:
244
261
  - lib/google/cloud/run/v2/tasks/client.rb
245
262
  - lib/google/cloud/run/v2/tasks/credentials.rb
246
263
  - lib/google/cloud/run/v2/tasks/paths.rb
264
+ - lib/google/cloud/run/v2/tasks/rest.rb
265
+ - lib/google/cloud/run/v2/tasks/rest/client.rb
266
+ - lib/google/cloud/run/v2/tasks/rest/service_stub.rb
247
267
  - lib/google/cloud/run/v2/traffic_target_pb.rb
248
268
  - lib/google/cloud/run/v2/vendor_settings_pb.rb
249
269
  - lib/google/cloud/run/v2/version.rb
@@ -298,5 +318,8 @@ requirements: []
298
318
  rubygems_version: 3.4.2
299
319
  signing_key:
300
320
  specification_version: 4
301
- summary: API Client library for the Cloud Run V2 API
321
+ summary: Deploy and manage user provided container images that scale automatically
322
+ based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving
323
+ API specification, while v2 is aligned with Google Cloud AIP-based API standards,
324
+ as described in https://google.aip.dev/.
302
325
  test_files: []