google-cloud-run-v2 0.20.0 → 0.21.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.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/run/v2/builds/client.rb +11 -0
  4. data/lib/google/cloud/run/v2/builds/rest/client.rb +11 -0
  5. data/lib/google/cloud/run/v2/executions/client.rb +7 -0
  6. data/lib/google/cloud/run/v2/executions/operations.rb +7 -0
  7. data/lib/google/cloud/run/v2/executions/rest/client.rb +7 -0
  8. data/lib/google/cloud/run/v2/executions/rest/operations.rb +7 -0
  9. data/lib/google/cloud/run/v2/jobs/client.rb +7 -0
  10. data/lib/google/cloud/run/v2/jobs/operations.rb +7 -0
  11. data/lib/google/cloud/run/v2/jobs/rest/client.rb +7 -0
  12. data/lib/google/cloud/run/v2/jobs/rest/operations.rb +7 -0
  13. data/lib/google/cloud/run/v2/revisions/client.rb +7 -0
  14. data/lib/google/cloud/run/v2/revisions/operations.rb +7 -0
  15. data/lib/google/cloud/run/v2/revisions/rest/client.rb +7 -0
  16. data/lib/google/cloud/run/v2/revisions/rest/operations.rb +7 -0
  17. data/lib/google/cloud/run/v2/services/client.rb +7 -0
  18. data/lib/google/cloud/run/v2/services/operations.rb +7 -0
  19. data/lib/google/cloud/run/v2/services/rest/client.rb +7 -0
  20. data/lib/google/cloud/run/v2/services/rest/operations.rb +7 -0
  21. data/lib/google/cloud/run/v2/tasks/client.rb +7 -0
  22. data/lib/google/cloud/run/v2/tasks/rest/client.rb +7 -0
  23. data/lib/google/cloud/run/v2/version.rb +1 -1
  24. data/proto_docs/google/cloud/run/v2/build.rb +4 -0
  25. data/proto_docs/google/cloud/run/v2/condition.rb +6 -0
  26. data/proto_docs/google/cloud/run/v2/job.rb +4 -0
  27. data/proto_docs/google/cloud/run/v2/k8s.min.rb +20 -0
  28. data/proto_docs/google/cloud/run/v2/vendor_settings.rb +4 -0
  29. data/proto_docs/google/longrunning/operations.rb +4 -0
  30. metadata +6 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fac32110a0a0c6a25e14755da7f15241364bfa6e6d309c830d323abd6b06dfb
4
- data.tar.gz: 5a624ead025420acb5d8c27ae818f840a50a8e6c3e47eb56420f0ea70a289425
3
+ metadata.gz: c5cb61d0eae0513846ea6422c8e9db54ff51d2e5ebd7957733d69d0fb681d8bc
4
+ data.tar.gz: 561a17eb0bcbb5299d08620590331e75ced1a61d06fe1a12b02a4ec31499b482
5
5
  SHA512:
6
- metadata.gz: 5960d1cbff1d9d0a92407a5e20e3cf8487866028776676631935add4f118c5cf95863983f62250fff97e494f96e658a6f137fdb0a8f8ffc09a6d0c7b48823f9d
7
- data.tar.gz: 8a6a8e8012374c13d080b0aafcc2a99474f7b2d92fbcb14f3a0e0456496351d5c83a712e7d30af66cabb043f3d865003d112f434d3ccb940be5f89840408a247
6
+ metadata.gz: 87afc1e79a2edab8f1aee11fb83668442f0179d513062f545b429bc20c2663baeabc0e554dec8dd8960e3cf1abc795736326d2dfb1b86d4134254b8b77c74a7e
7
+ data.tar.gz: 0e609fc681505eff58e6b7fa9bba3a92d032f18116ef49e0c45aa3fa6014bcc7bf116a29c5cf5e2a1f08e4c849e89aa2501fae60bd55a5cadf73dae087920578
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -228,8 +228,12 @@ module Google
228
228
  # Required. Artifact Registry URI to store the built image.
229
229
  # @param buildpack_build [::Google::Cloud::Run::V2::SubmitBuildRequest::BuildpacksBuild, ::Hash]
230
230
  # Build the source using Buildpacks.
231
+ #
232
+ # Note: The following fields are mutually exclusive: `buildpack_build`, `docker_build`. If a field in that set is populated, all other fields in the set will automatically be cleared.
231
233
  # @param docker_build [::Google::Cloud::Run::V2::SubmitBuildRequest::DockerBuild, ::Hash]
232
234
  # Build the source using Docker. This means the source has a Dockerfile.
235
+ #
236
+ # Note: The following fields are mutually exclusive: `docker_build`, `buildpack_build`. If a field in that set is populated, all other fields in the set will automatically be cleared.
233
237
  # @param service_account [::String]
234
238
  # Optional. The service account to use for the build. If not set, the default
235
239
  # Cloud Build service account for the project will be used.
@@ -351,6 +355,13 @@ module Google
351
355
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
352
356
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
353
357
  # * (`nil`) indicating no credentials
358
+ #
359
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
360
+ # external source for authentication to Google Cloud, you must validate it before
361
+ # providing it to a Google API client library. Providing an unvalidated credential
362
+ # configuration to Google APIs can compromise the security of your systems and data.
363
+ # For more information, refer to [Validate credential configurations from external
364
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
354
365
  # @return [::Object]
355
366
  # @!attribute [rw] scope
356
367
  # The OAuth scopes
@@ -221,8 +221,12 @@ module Google
221
221
  # Required. Artifact Registry URI to store the built image.
222
222
  # @param buildpack_build [::Google::Cloud::Run::V2::SubmitBuildRequest::BuildpacksBuild, ::Hash]
223
223
  # Build the source using Buildpacks.
224
+ #
225
+ # Note: The following fields are mutually exclusive: `buildpack_build`, `docker_build`. If a field in that set is populated, all other fields in the set will automatically be cleared.
224
226
  # @param docker_build [::Google::Cloud::Run::V2::SubmitBuildRequest::DockerBuild, ::Hash]
225
227
  # Build the source using Docker. This means the source has a Dockerfile.
228
+ #
229
+ # Note: The following fields are mutually exclusive: `docker_build`, `buildpack_build`. If a field in that set is populated, all other fields in the set will automatically be cleared.
226
230
  # @param service_account [::String]
227
231
  # Optional. The service account to use for the build. If not set, the default
228
232
  # Cloud Build service account for the project will be used.
@@ -335,6 +339,13 @@ module Google
335
339
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
336
340
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
337
341
  # * (`nil`) indicating no credentials
342
+ #
343
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
344
+ # external source for authentication to Google Cloud, you must validate it before
345
+ # providing it to a Google API client library. Providing an unvalidated credential
346
+ # configuration to Google APIs can compromise the security of your systems and data.
347
+ # For more information, refer to [Validate credential configurations from external
348
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
338
349
  # @return [::Object]
339
350
  # @!attribute [rw] scope
340
351
  # The OAuth scopes
@@ -653,6 +653,13 @@ module Google
653
653
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
654
654
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
655
655
  # * (`nil`) indicating no credentials
656
+ #
657
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
658
+ # external source for authentication to Google Cloud, you must validate it before
659
+ # providing it to a Google API client library. Providing an unvalidated credential
660
+ # configuration to Google APIs can compromise the security of your systems and data.
661
+ # For more information, refer to [Validate credential configurations from external
662
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
656
663
  # @return [::Object]
657
664
  # @!attribute [rw] scope
658
665
  # The OAuth scopes
@@ -648,6 +648,13 @@ module Google
648
648
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
649
649
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
650
650
  # * (`nil`) indicating no credentials
651
+ #
652
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # external source for authentication to Google Cloud, you must validate it before
654
+ # providing it to a Google API client library. Providing an unvalidated credential
655
+ # configuration to Google APIs can compromise the security of your systems and data.
656
+ # For more information, refer to [Validate credential configurations from external
657
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
651
658
  # @return [::Object]
652
659
  # @!attribute [rw] scope
653
660
  # The OAuth scopes
@@ -616,6 +616,13 @@ module Google
616
616
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
617
617
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
618
618
  # * (`nil`) indicating no credentials
619
+ #
620
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
621
+ # external source for authentication to Google Cloud, you must validate it before
622
+ # providing it to a Google API client library. Providing an unvalidated credential
623
+ # configuration to Google APIs can compromise the security of your systems and data.
624
+ # For more information, refer to [Validate credential configurations from external
625
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
619
626
  # @return [::Object]
620
627
  # @!attribute [rw] scope
621
628
  # The OAuth scopes
@@ -601,6 +601,13 @@ module Google
601
601
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
602
602
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
603
603
  # * (`nil`) indicating no credentials
604
+ #
605
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
606
+ # external source for authentication to Google Cloud, you must validate it before
607
+ # providing it to a Google API client library. Providing an unvalidated credential
608
+ # configuration to Google APIs can compromise the security of your systems and data.
609
+ # For more information, refer to [Validate credential configurations from external
610
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
604
611
  # @return [::Object]
605
612
  # @!attribute [rw] scope
606
613
  # The OAuth scopes
@@ -1155,6 +1155,13 @@ module Google
1155
1155
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1156
1156
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1157
1157
  # * (`nil`) indicating no credentials
1158
+ #
1159
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1160
+ # external source for authentication to Google Cloud, you must validate it before
1161
+ # providing it to a Google API client library. Providing an unvalidated credential
1162
+ # configuration to Google APIs can compromise the security of your systems and data.
1163
+ # For more information, refer to [Validate credential configurations from external
1164
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1158
1165
  # @return [::Object]
1159
1166
  # @!attribute [rw] scope
1160
1167
  # The OAuth scopes
@@ -648,6 +648,13 @@ module Google
648
648
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
649
649
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
650
650
  # * (`nil`) indicating no credentials
651
+ #
652
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # external source for authentication to Google Cloud, you must validate it before
654
+ # providing it to a Google API client library. Providing an unvalidated credential
655
+ # configuration to Google APIs can compromise the security of your systems and data.
656
+ # For more information, refer to [Validate credential configurations from external
657
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
651
658
  # @return [::Object]
652
659
  # @!attribute [rw] scope
653
660
  # The OAuth scopes
@@ -1065,6 +1065,13 @@ module Google
1065
1065
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1066
1066
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1067
1067
  # * (`nil`) indicating no credentials
1068
+ #
1069
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1070
+ # external source for authentication to Google Cloud, you must validate it before
1071
+ # providing it to a Google API client library. Providing an unvalidated credential
1072
+ # configuration to Google APIs can compromise the security of your systems and data.
1073
+ # For more information, refer to [Validate credential configurations from external
1074
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1068
1075
  # @return [::Object]
1069
1076
  # @!attribute [rw] scope
1070
1077
  # The OAuth scopes
@@ -601,6 +601,13 @@ module Google
601
601
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
602
602
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
603
603
  # * (`nil`) indicating no credentials
604
+ #
605
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
606
+ # external source for authentication to Google Cloud, you must validate it before
607
+ # providing it to a Google API client library. Providing an unvalidated credential
608
+ # configuration to Google APIs can compromise the security of your systems and data.
609
+ # For more information, refer to [Validate credential configurations from external
610
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
604
611
  # @return [::Object]
605
612
  # @!attribute [rw] scope
606
613
  # The OAuth scopes
@@ -557,6 +557,13 @@ module Google
557
557
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
558
558
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
559
559
  # * (`nil`) indicating no credentials
560
+ #
561
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
562
+ # external source for authentication to Google Cloud, you must validate it before
563
+ # providing it to a Google API client library. Providing an unvalidated credential
564
+ # configuration to Google APIs can compromise the security of your systems and data.
565
+ # For more information, refer to [Validate credential configurations from external
566
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
560
567
  # @return [::Object]
561
568
  # @!attribute [rw] scope
562
569
  # The OAuth scopes
@@ -648,6 +648,13 @@ module Google
648
648
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
649
649
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
650
650
  # * (`nil`) indicating no credentials
651
+ #
652
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # external source for authentication to Google Cloud, you must validate it before
654
+ # providing it to a Google API client library. Providing an unvalidated credential
655
+ # configuration to Google APIs can compromise the security of your systems and data.
656
+ # For more information, refer to [Validate credential configurations from external
657
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
651
658
  # @return [::Object]
652
659
  # @!attribute [rw] scope
653
660
  # The OAuth scopes
@@ -518,6 +518,13 @@ module Google
518
518
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
519
519
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
520
520
  # * (`nil`) indicating no credentials
521
+ #
522
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
523
+ # external source for authentication to Google Cloud, you must validate it before
524
+ # providing it to a Google API client library. Providing an unvalidated credential
525
+ # configuration to Google APIs can compromise the security of your systems and data.
526
+ # For more information, refer to [Validate credential configurations from external
527
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
521
528
  # @return [::Object]
522
529
  # @!attribute [rw] scope
523
530
  # The OAuth scopes
@@ -601,6 +601,13 @@ module Google
601
601
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
602
602
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
603
603
  # * (`nil`) indicating no credentials
604
+ #
605
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
606
+ # external source for authentication to Google Cloud, you must validate it before
607
+ # providing it to a Google API client library. Providing an unvalidated credential
608
+ # configuration to Google APIs can compromise the security of your systems and data.
609
+ # For more information, refer to [Validate credential configurations from external
610
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
604
611
  # @return [::Object]
605
612
  # @!attribute [rw] scope
606
613
  # The OAuth scopes
@@ -1069,6 +1069,13 @@ module Google
1069
1069
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1070
1070
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1071
1071
  # * (`nil`) indicating no credentials
1072
+ #
1073
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1074
+ # external source for authentication to Google Cloud, you must validate it before
1075
+ # providing it to a Google API client library. Providing an unvalidated credential
1076
+ # configuration to Google APIs can compromise the security of your systems and data.
1077
+ # For more information, refer to [Validate credential configurations from external
1078
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1072
1079
  # @return [::Object]
1073
1080
  # @!attribute [rw] scope
1074
1081
  # The OAuth scopes
@@ -648,6 +648,13 @@ module Google
648
648
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
649
649
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
650
650
  # * (`nil`) indicating no credentials
651
+ #
652
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # external source for authentication to Google Cloud, you must validate it before
654
+ # providing it to a Google API client library. Providing an unvalidated credential
655
+ # configuration to Google APIs can compromise the security of your systems and data.
656
+ # For more information, refer to [Validate credential configurations from external
657
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
651
658
  # @return [::Object]
652
659
  # @!attribute [rw] scope
653
660
  # The OAuth scopes
@@ -989,6 +989,13 @@ module Google
989
989
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
990
990
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
991
991
  # * (`nil`) indicating no credentials
992
+ #
993
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
994
+ # external source for authentication to Google Cloud, you must validate it before
995
+ # providing it to a Google API client library. Providing an unvalidated credential
996
+ # configuration to Google APIs can compromise the security of your systems and data.
997
+ # For more information, refer to [Validate credential configurations from external
998
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
992
999
  # @return [::Object]
993
1000
  # @!attribute [rw] scope
994
1001
  # The OAuth scopes
@@ -601,6 +601,13 @@ module Google
601
601
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
602
602
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
603
603
  # * (`nil`) indicating no credentials
604
+ #
605
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
606
+ # external source for authentication to Google Cloud, you must validate it before
607
+ # providing it to a Google API client library. Providing an unvalidated credential
608
+ # configuration to Google APIs can compromise the security of your systems and data.
609
+ # For more information, refer to [Validate credential configurations from external
610
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
604
611
  # @return [::Object]
605
612
  # @!attribute [rw] scope
606
613
  # The OAuth scopes
@@ -431,6 +431,13 @@ module Google
431
431
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
432
432
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
433
433
  # * (`nil`) indicating no credentials
434
+ #
435
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
436
+ # external source for authentication to Google Cloud, you must validate it before
437
+ # providing it to a Google API client library. Providing an unvalidated credential
438
+ # configuration to Google APIs can compromise the security of your systems and data.
439
+ # For more information, refer to [Validate credential configurations from external
440
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
434
441
  # @return [::Object]
435
442
  # @!attribute [rw] scope
436
443
  # The OAuth scopes
@@ -408,6 +408,13 @@ module Google
408
408
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
409
409
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
410
410
  # * (`nil`) indicating no credentials
411
+ #
412
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
413
+ # external source for authentication to Google Cloud, you must validate it before
414
+ # providing it to a Google API client library. Providing an unvalidated credential
415
+ # configuration to Google APIs can compromise the security of your systems and data.
416
+ # For more information, refer to [Validate credential configurations from external
417
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
411
418
  # @return [::Object]
412
419
  # @!attribute [rw] scope
413
420
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Run
23
23
  module V2
24
- VERSION = "0.20.0"
24
+ VERSION = "0.21.0"
25
25
  end
26
26
  end
27
27
  end
@@ -37,9 +37,13 @@ module Google
37
37
  # @!attribute [rw] buildpack_build
38
38
  # @return [::Google::Cloud::Run::V2::SubmitBuildRequest::BuildpacksBuild]
39
39
  # Build the source using Buildpacks.
40
+ #
41
+ # Note: The following fields are mutually exclusive: `buildpack_build`, `docker_build`. If a field in that set is populated, all other fields in the set will automatically be cleared.
40
42
  # @!attribute [rw] docker_build
41
43
  # @return [::Google::Cloud::Run::V2::SubmitBuildRequest::DockerBuild]
42
44
  # Build the source using Docker. This means the source has a Dockerfile.
45
+ #
46
+ # Note: The following fields are mutually exclusive: `docker_build`, `buildpack_build`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
47
  # @!attribute [rw] service_account
44
48
  # @return [::String]
45
49
  # Optional. The service account to use for the build. If not set, the default
@@ -44,12 +44,18 @@ module Google
44
44
  # @!attribute [r] reason
45
45
  # @return [::Google::Cloud::Run::V2::Condition::CommonReason]
46
46
  # Output only. A common (service-level) reason for this condition.
47
+ #
48
+ # Note: The following fields are mutually exclusive: `reason`, `revision_reason`, `execution_reason`. If a field in that set is populated, all other fields in the set will automatically be cleared.
47
49
  # @!attribute [r] revision_reason
48
50
  # @return [::Google::Cloud::Run::V2::Condition::RevisionReason]
49
51
  # Output only. A reason for the revision condition.
52
+ #
53
+ # Note: The following fields are mutually exclusive: `revision_reason`, `reason`, `execution_reason`. If a field in that set is populated, all other fields in the set will automatically be cleared.
50
54
  # @!attribute [r] execution_reason
51
55
  # @return [::Google::Cloud::Run::V2::Condition::ExecutionReason]
52
56
  # Output only. A reason for the execution condition.
57
+ #
58
+ # Note: The following fields are mutually exclusive: `execution_reason`, `reason`, `revision_reason`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
59
  class Condition
54
60
  include ::Google::Protobuf::MessageExts
55
61
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -326,11 +326,15 @@ module Google
326
326
  # A unique string used as a suffix creating a new execution. The Job will
327
327
  # become ready when the execution is successfully started.
328
328
  # The sum of job name and token length must be fewer than 63 characters.
329
+ #
330
+ # Note: The following fields are mutually exclusive: `start_execution_token`, `run_execution_token`. If a field in that set is populated, all other fields in the set will automatically be cleared.
329
331
  # @!attribute [rw] run_execution_token
330
332
  # @return [::String]
331
333
  # A unique string used as a suffix for creating a new execution. The Job
332
334
  # will become ready when the execution is successfully completed.
333
335
  # The sum of job name and token length must be fewer than 63 characters.
336
+ #
337
+ # Note: The following fields are mutually exclusive: `run_execution_token`, `start_execution_token`. If a field in that set is populated, all other fields in the set will automatically be cleared.
334
338
  # @!attribute [r] etag
335
339
  # @return [::String]
336
340
  # Output only. A system-generated fingerprint for this version of the
@@ -127,9 +127,13 @@ module Google
127
127
  # Literal value of the environment variable.
128
128
  # Defaults to "", and the maximum length is 32768 bytes.
129
129
  # Variable references are not supported in Cloud Run.
130
+ #
131
+ # Note: The following fields are mutually exclusive: `value`, `value_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
130
132
  # @!attribute [rw] value_source
131
133
  # @return [::Google::Cloud::Run::V2::EnvVarSource]
132
134
  # Source for the environment variable's value.
135
+ #
136
+ # Note: The following fields are mutually exclusive: `value_source`, `value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
133
137
  class EnvVar
134
138
  include ::Google::Protobuf::MessageExts
135
139
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -198,20 +202,30 @@ module Google
198
202
  # @!attribute [rw] secret
199
203
  # @return [::Google::Cloud::Run::V2::SecretVolumeSource]
200
204
  # Secret represents a secret that should populate this volume.
205
+ #
206
+ # Note: The following fields are mutually exclusive: `secret`, `cloud_sql_instance`, `empty_dir`, `nfs`, `gcs`. If a field in that set is populated, all other fields in the set will automatically be cleared.
201
207
  # @!attribute [rw] cloud_sql_instance
202
208
  # @return [::Google::Cloud::Run::V2::CloudSqlInstance]
203
209
  # For Cloud SQL volumes, contains the specific instances that should be
204
210
  # mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
205
211
  # more information on how to connect Cloud SQL and Cloud Run.
212
+ #
213
+ # Note: The following fields are mutually exclusive: `cloud_sql_instance`, `secret`, `empty_dir`, `nfs`, `gcs`. If a field in that set is populated, all other fields in the set will automatically be cleared.
206
214
  # @!attribute [rw] empty_dir
207
215
  # @return [::Google::Cloud::Run::V2::EmptyDirVolumeSource]
208
216
  # Ephemeral storage used as a shared volume.
217
+ #
218
+ # Note: The following fields are mutually exclusive: `empty_dir`, `secret`, `cloud_sql_instance`, `nfs`, `gcs`. If a field in that set is populated, all other fields in the set will automatically be cleared.
209
219
  # @!attribute [rw] nfs
210
220
  # @return [::Google::Cloud::Run::V2::NFSVolumeSource]
211
221
  # For NFS Voumes, contains the path to the nfs Volume
222
+ #
223
+ # Note: The following fields are mutually exclusive: `nfs`, `secret`, `cloud_sql_instance`, `empty_dir`, `gcs`. If a field in that set is populated, all other fields in the set will automatically be cleared.
212
224
  # @!attribute [rw] gcs
213
225
  # @return [::Google::Cloud::Run::V2::GCSVolumeSource]
214
226
  # Persistent storage backed by a Google Cloud Storage bucket.
227
+ #
228
+ # Note: The following fields are mutually exclusive: `gcs`, `secret`, `cloud_sql_instance`, `empty_dir`, `nfs`. If a field in that set is populated, all other fields in the set will automatically be cleared.
215
229
  class Volume
216
230
  include ::Google::Protobuf::MessageExts
217
231
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -396,14 +410,20 @@ module Google
396
410
  # @return [::Google::Cloud::Run::V2::HTTPGetAction]
397
411
  # Optional. HTTPGet specifies the http request to perform.
398
412
  # Exactly one of httpGet, tcpSocket, or grpc must be specified.
413
+ #
414
+ # Note: The following fields are mutually exclusive: `http_get`, `tcp_socket`, `grpc`. If a field in that set is populated, all other fields in the set will automatically be cleared.
399
415
  # @!attribute [rw] tcp_socket
400
416
  # @return [::Google::Cloud::Run::V2::TCPSocketAction]
401
417
  # Optional. TCPSocket specifies an action involving a TCP port.
402
418
  # Exactly one of httpGet, tcpSocket, or grpc must be specified.
419
+ #
420
+ # Note: The following fields are mutually exclusive: `tcp_socket`, `http_get`, `grpc`. If a field in that set is populated, all other fields in the set will automatically be cleared.
403
421
  # @!attribute [rw] grpc
404
422
  # @return [::Google::Cloud::Run::V2::GRPCAction]
405
423
  # Optional. GRPC specifies an action involving a gRPC port.
406
424
  # Exactly one of httpGet, tcpSocket, or grpc must be specified.
425
+ #
426
+ # Note: The following fields are mutually exclusive: `grpc`, `http_get`, `tcp_socket`. If a field in that set is populated, all other fields in the set will automatically be cleared.
407
427
  class Probe
408
428
  include ::Google::Protobuf::MessageExts
409
429
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -83,10 +83,14 @@ module Google
83
83
  # @return [::Boolean]
84
84
  # Optional. If True, indicates to use the default project's binary
85
85
  # authorization policy. If False, binary authorization will be disabled.
86
+ #
87
+ # Note: The following fields are mutually exclusive: `use_default`, `policy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
86
88
  # @!attribute [rw] policy
87
89
  # @return [::String]
88
90
  # Optional. The path to a binary authorization policy.
89
91
  # Format: `projects/{project}/platforms/cloudRun/{policy-name}`
92
+ #
93
+ # Note: The following fields are mutually exclusive: `policy`, `use_default`. If a field in that set is populated, all other fields in the set will automatically be cleared.
90
94
  # @!attribute [rw] breakglass_justification
91
95
  # @return [::String]
92
96
  # Optional. If present, indicates to use Breakglass using this justification.
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-run-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -200,7 +199,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
200
199
  licenses:
201
200
  - Apache-2.0
202
201
  metadata: {}
203
- post_install_message:
204
202
  rdoc_options: []
205
203
  require_paths:
206
204
  - lib
@@ -208,15 +206,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
206
  requirements:
209
207
  - - ">="
210
208
  - !ruby/object:Gem::Version
211
- version: '2.7'
209
+ version: '3.0'
212
210
  required_rubygems_version: !ruby/object:Gem::Requirement
213
211
  requirements:
214
212
  - - ">="
215
213
  - !ruby/object:Gem::Version
216
214
  version: '0'
217
215
  requirements: []
218
- rubygems_version: 3.5.23
219
- signing_key:
216
+ rubygems_version: 3.6.2
220
217
  specification_version: 4
221
218
  summary: Deploy and manage user provided container images that scale automatically
222
219
  based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving