google-cloud-run-v2 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +6 -6
  3. data/README.md +4 -4
  4. data/lib/google/cloud/run/v2/condition_pb.rb +1 -0
  5. data/lib/google/cloud/run/v2/execution_pb.rb +79 -0
  6. data/lib/google/cloud/run/v2/execution_services_pb.rb +49 -0
  7. data/lib/google/cloud/run/v2/execution_template_pb.rb +29 -0
  8. data/lib/google/cloud/run/v2/executions/client.rb +635 -0
  9. data/lib/google/cloud/run/v2/executions/credentials.rb +47 -0
  10. data/lib/google/cloud/run/v2/executions/operations.rb +778 -0
  11. data/lib/google/cloud/run/v2/executions/paths.rb +73 -0
  12. data/lib/google/cloud/run/v2/executions.rb +50 -0
  13. data/lib/google/cloud/run/v2/job_pb.rb +105 -0
  14. data/lib/google/cloud/run/v2/job_services_pb.rb +65 -0
  15. data/lib/google/cloud/run/v2/jobs/client.rb +1259 -0
  16. data/lib/google/cloud/run/v2/jobs/credentials.rb +47 -0
  17. data/lib/google/cloud/run/v2/jobs/operations.rb +778 -0
  18. data/lib/google/cloud/run/v2/jobs/paths.rb +166 -0
  19. data/lib/google/cloud/run/v2/jobs.rb +50 -0
  20. data/lib/google/cloud/run/v2/k8s.min_pb.rb +6 -0
  21. data/lib/google/cloud/run/v2/revision_pb.rb +2 -0
  22. data/lib/google/cloud/run/v2/revision_services_pb.rb +2 -2
  23. data/lib/google/cloud/run/v2/revisions/client.rb +2 -2
  24. data/lib/google/cloud/run/v2/revisions/operations.rb +8 -0
  25. data/lib/google/cloud/run/v2/revisions.rb +1 -1
  26. data/lib/google/cloud/run/v2/service_services_pb.rb +2 -2
  27. data/lib/google/cloud/run/v2/services/client.rb +13 -10
  28. data/lib/google/cloud/run/v2/services/operations.rb +8 -0
  29. data/lib/google/cloud/run/v2/services.rb +1 -1
  30. data/lib/google/cloud/run/v2/task_pb.rb +82 -0
  31. data/lib/google/cloud/run/v2/task_services_pb.rb +47 -0
  32. data/lib/google/cloud/run/v2/task_template_pb.rb +36 -0
  33. data/lib/google/cloud/run/v2/tasks/client.rb +512 -0
  34. data/lib/google/cloud/run/v2/tasks/credentials.rb +47 -0
  35. data/lib/google/cloud/run/v2/tasks/paths.rb +77 -0
  36. data/lib/google/cloud/run/v2/tasks.rb +49 -0
  37. data/lib/google/cloud/run/v2/vendor_settings_pb.rb +6 -0
  38. data/lib/google/cloud/run/v2/version.rb +1 -1
  39. data/lib/google/cloud/run/v2.rb +6 -3
  40. data/proto_docs/google/api/client.rb +318 -0
  41. data/proto_docs/google/api/launch_stage.rb +3 -3
  42. data/proto_docs/google/cloud/run/v2/condition.rb +4 -0
  43. data/proto_docs/google/cloud/run/v2/execution.rb +233 -0
  44. data/proto_docs/google/cloud/run/v2/execution_template.rb +87 -0
  45. data/proto_docs/google/cloud/run/v2/job.rb +316 -0
  46. data/proto_docs/google/cloud/run/v2/k8s.min.rb +42 -15
  47. data/proto_docs/google/cloud/run/v2/revision.rb +19 -13
  48. data/proto_docs/google/cloud/run/v2/revision_template.rb +10 -0
  49. data/proto_docs/google/cloud/run/v2/service.rb +52 -39
  50. data/proto_docs/google/cloud/run/v2/task.rb +232 -0
  51. data/proto_docs/google/cloud/run/v2/task_template.rb +66 -0
  52. data/proto_docs/google/cloud/run/v2/vendor_settings.rb +14 -1
  53. data/proto_docs/google/rpc/status.rb +4 -2
  54. metadata +35 -7
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2022 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "googleauth"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Run
24
+ module V2
25
+ module Jobs
26
+ # Credentials for the Jobs API.
27
+ class Credentials < ::Google::Auth::Credentials
28
+ self.scope = [
29
+ "https://www.googleapis.com/auth/cloud-platform"
30
+ ]
31
+ self.env_vars = [
32
+ "GOOGLE_CLOUD_CREDENTIALS",
33
+ "GOOGLE_CLOUD_KEYFILE",
34
+ "GCLOUD_KEYFILE",
35
+ "GOOGLE_CLOUD_CREDENTIALS_JSON",
36
+ "GOOGLE_CLOUD_KEYFILE_JSON",
37
+ "GCLOUD_KEYFILE_JSON"
38
+ ]
39
+ self.paths = [
40
+ "~/.config/google_cloud/application_default_credentials.json"
41
+ ]
42
+ end
43
+ end
44
+ end
45
+ end
46
+ end
47
+ end