google-cloud-run-v2 0.20.0 → 0.22.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/README.md +1 -1
- data/lib/google/cloud/run/v2/build_pb.rb +1 -1
- data/lib/google/cloud/run/v2/builds/client.rb +11 -0
- data/lib/google/cloud/run/v2/builds/rest/client.rb +11 -0
- data/lib/google/cloud/run/v2/execution_pb.rb +1 -1
- data/lib/google/cloud/run/v2/executions/client.rb +7 -0
- data/lib/google/cloud/run/v2/executions/operations.rb +7 -0
- data/lib/google/cloud/run/v2/executions/rest/client.rb +7 -0
- data/lib/google/cloud/run/v2/executions/rest/operations.rb +7 -0
- data/lib/google/cloud/run/v2/jobs/client.rb +7 -0
- data/lib/google/cloud/run/v2/jobs/operations.rb +7 -0
- data/lib/google/cloud/run/v2/jobs/rest/client.rb +7 -0
- data/lib/google/cloud/run/v2/jobs/rest/operations.rb +7 -0
- data/lib/google/cloud/run/v2/k8s.min_pb.rb +2 -1
- data/lib/google/cloud/run/v2/revisions/client.rb +7 -0
- data/lib/google/cloud/run/v2/revisions/operations.rb +7 -0
- data/lib/google/cloud/run/v2/revisions/rest/client.rb +7 -0
- data/lib/google/cloud/run/v2/revisions/rest/operations.rb +7 -0
- data/lib/google/cloud/run/v2/service_pb.rb +1 -1
- data/lib/google/cloud/run/v2/services/client.rb +7 -0
- data/lib/google/cloud/run/v2/services/operations.rb +7 -0
- data/lib/google/cloud/run/v2/services/paths.rb +38 -0
- data/lib/google/cloud/run/v2/services/rest/client.rb +7 -0
- data/lib/google/cloud/run/v2/services/rest/operations.rb +7 -0
- data/lib/google/cloud/run/v2/tasks/client.rb +7 -0
- data/lib/google/cloud/run/v2/tasks/rest/client.rb +7 -0
- data/lib/google/cloud/run/v2/vendor_settings_pb.rb +2 -1
- data/lib/google/cloud/run/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/cloud/run/v2/build.rb +10 -1
- data/proto_docs/google/cloud/run/v2/condition.rb +6 -0
- data/proto_docs/google/cloud/run/v2/execution.rb +5 -1
- data/proto_docs/google/cloud/run/v2/job.rb +5 -1
- data/proto_docs/google/cloud/run/v2/k8s.min.rb +40 -0
- data/proto_docs/google/cloud/run/v2/revision.rb +2 -1
- data/proto_docs/google/cloud/run/v2/service.rb +6 -3
- data/proto_docs/google/cloud/run/v2/vendor_settings.rb +59 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23e09fa19082999127f6a3ddbfce1959ef8595420f734bdb95555ae08d903ffe
|
4
|
+
data.tar.gz: f26e0a29d51b35050b76b9921d504156fcbf9fe96718d19ea3765c0fd1174c4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9091fb8716e4eecd12d9b4433bb7f8a9f7c7fe539758203bb9ab114a4da8465c97e51d17627fc6e6a837e81e49fcf8fe57420739ec616d6a97b75b5e435e257
|
7
|
+
data.tar.gz: 53364489dea5f886cf11a8adfea8d53ecae2e45a4ba9f6c254501de837ca2e2181f6e5c33d7f0985bd25b87a854814ca25ffa1ba6102c99f2626cacec0ee33b1
|
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
|
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
|
@@ -11,7 +11,7 @@ require 'google/api/resource_pb'
|
|
11
11
|
require 'google/longrunning/operations_pb'
|
12
12
|
|
13
13
|
|
14
|
-
descriptor_data = "\n\x1fgoogle/cloud/run/v2/build.proto\x12\x13google.cloud.run.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\"\
|
14
|
+
descriptor_data = "\n\x1fgoogle/cloud/run/v2/build.proto\x12\x13google.cloud.run.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\"\xba\x06\n\x12SubmitBuildRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\x0estorage_source\x18\x02 \x01(\x0b\x32\".google.cloud.run.v2.StorageSourceB\x03\xe0\x41\x02H\x00\x12\x16\n\timage_uri\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12R\n\x0f\x62uildpack_build\x18\x04 \x01(\x0b\x32\x37.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuildH\x01\x12K\n\x0c\x64ocker_build\x18\x05 \x01(\x0b\x32\x33.google.cloud.run.v2.SubmitBuildRequest.DockerBuildH\x01\x12\x1c\n\x0fservice_account\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x41\n\x0bworker_pool\x18\x07 \x01(\tB,\xe0\x41\x01\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12\x11\n\x04tags\x18\x08 \x03(\tB\x03\xe0\x41\x01\x1a\r\n\x0b\x44ockerBuild\x1a\xf7\x02\n\x0f\x42uildpacksBuild\x12\x13\n\x07runtime\x18\x01 \x01(\tB\x02\x18\x01\x12\x1c\n\x0f\x66unction_target\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x63\x61\x63he_image_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nbase_image\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12u\n\x15\x65nvironment_variables\x18\x05 \x03(\x0b\x32Q.google.cloud.run.v2.SubmitBuildRequest.BuildpacksBuild.EnvironmentVariablesEntryB\x03\xe0\x41\x01\x12%\n\x18\x65nable_automatic_updates\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1f\n\x12project_descriptor\x18\x07 \x01(\tB\x03\xe0\x41\x01\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x08\n\x06sourceB\x0c\n\nbuild_type\"\x81\x01\n\x13SubmitBuildResponse\x12\x36\n\x0f\x62uild_operation\x18\x01 \x01(\x0b\x32\x1d.google.longrunning.Operation\x12\x16\n\x0e\x62\x61se_image_uri\x18\x02 \x01(\t\x12\x1a\n\x12\x62\x61se_image_warning\x18\x03 \x01(\t\"R\n\rStorageSource\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06object\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ngeneration\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x32\xf1\x01\n\x06\x42uilds\x12\x9e\x01\n\x0bSubmitBuild\x12\'.google.cloud.run.v2.SubmitBuildRequest\x1a(.google.cloud.run.v2.SubmitBuildResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v2/{parent=projects/*/locations/*}/builds:submit:\x01*\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbe\x01\n\x17\x63om.google.cloud.run.v2B\nBuildProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpb\xea\x41i\n$cloudbuild.googleapis.com/WorkerPool\x12\x41projects/{project}/locations/{location}/workerPools/{worker_pool}b\x06proto3"
|
15
15
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
17
|
|
@@ -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
|
@@ -15,7 +15,7 @@ require 'google/longrunning/operations_pb'
|
|
15
15
|
require 'google/protobuf/timestamp_pb'
|
16
16
|
|
17
17
|
|
18
|
-
descriptor_data = "\n#google/cloud/run/v2/execution.proto\x12\x13google.cloud.run.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1dgoogle/api/launch_stage.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/run/v2/condition.proto\x1a\'google/cloud/run/v2/task_template.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"I\n\x13GetExecutionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\"\x8a\x01\n\x15ListExecutionsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1crun.googleapis.com/Execution\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"e\n\x16ListExecutionsResponse\x12\x32\n\nexecutions\x18\x01 \x03(\x0b\x32\x1e.google.cloud.run.v2.Execution\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"q\n\x16\x44\x65leteExecutionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"q\n\x16\x43\x61ncelExecutionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\
|
18
|
+
descriptor_data = "\n#google/cloud/run/v2/execution.proto\x12\x13google.cloud.run.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1dgoogle/api/launch_stage.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/run/v2/condition.proto\x1a\'google/cloud/run/v2/task_template.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"I\n\x13GetExecutionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\"\x8a\x01\n\x15ListExecutionsRequest\x12\x34\n\x06parent\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\x12\x1crun.googleapis.com/Execution\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"e\n\x16ListExecutionsResponse\x12\x32\n\nexecutions\x18\x01 \x03(\x0b\x32\x1e.google.cloud.run.v2.Execution\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"q\n\x16\x44\x65leteExecutionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"q\n\x16\x43\x61ncelExecutionRequest\x12\x32\n\x04name\x18\x01 \x01(\tB$\xe0\x41\x02\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\x98\n\n\tExecution\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07\x63reator\x18 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\ngeneration\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12?\n\x06labels\x18\x04 \x03(\x0b\x32*.google.cloud.run.v2.Execution.LabelsEntryB\x03\xe0\x41\x03\x12I\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32/.google.cloud.run.v2.Execution.AnnotationsEntryB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x38\n\x0f\x63ompletion_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12-\n\x0claunch_stage\x18\x0b \x01(\x0e\x32\x17.google.api.LaunchStage\x12+\n\x03job\x18\x0c \x01(\tB\x1e\xe0\x41\x03\xfa\x41\x18\n\x16run.googleapis.com/Job\x12\x18\n\x0bparallelism\x18\r \x01(\x05\x42\x03\xe0\x41\x03\x12\x17\n\ntask_count\x18\x0e \x01(\x05\x42\x03\xe0\x41\x03\x12\x38\n\x08template\x18\x0f \x01(\x0b\x32!.google.cloud.run.v2.TaskTemplateB\x03\xe0\x41\x03\x12\x18\n\x0breconciling\x18\x10 \x01(\x08\x42\x03\xe0\x41\x03\x12\x37\n\nconditions\x18\x11 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x03\xe0\x41\x03\x12 \n\x13observed_generation\x18\x12 \x01(\x03\x42\x03\xe0\x41\x03\x12\x1a\n\rrunning_count\x18\x13 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0fsucceeded_count\x18\x14 \x01(\x05\x42\x03\xe0\x41\x03\x12\x19\n\x0c\x66\x61iled_count\x18\x15 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1c\n\x0f\x63\x61ncelled_count\x18\x18 \x01(\x05\x42\x03\xe0\x41\x03\x12\x1a\n\rretried_count\x18\x19 \x01(\x05\x42\x03\xe0\x41\x03\x12\x14\n\x07log_uri\x18\x1a \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18\x1b \x01(\x08\x42\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x63 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:o\xea\x41l\n\x1crun.googleapis.com/Execution\x12Iprojects/{project}/locations/{location}/jobs/{job}/executions/{execution}R\x01\x01\x32\xb1\x06\n\nExecutions\x12\x9e\x01\n\x0cGetExecution\x12(.google.cloud.run.v2.GetExecutionRequest\x1a\x1e.google.cloud.run.v2.Execution\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{name=projects/*/locations/*/jobs/*/executions/*}\x12\xb1\x01\n\x0eListExecutions\x12*.google.cloud.run.v2.ListExecutionsRequest\x1a+.google.cloud.run.v2.ListExecutionsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v2/{parent=projects/*/locations/*/jobs/*}/executions\x12\xbc\x01\n\x0f\x44\x65leteExecution\x12+.google.cloud.run.v2.DeleteExecutionRequest\x1a\x1d.google.longrunning.Operation\"]\xca\x41\x16\n\tExecution\x12\tExecution\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v2/{name=projects/*/locations/*/jobs/*/executions/*}\x12\xc6\x01\n\x0f\x43\x61ncelExecution\x12+.google.cloud.run.v2.CancelExecutionRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41\x16\n\tExecution\x12\tExecution\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\"</v2/{name=projects/*/locations/*/jobs/*/executions/*}:cancel:\x01*\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBV\n\x17\x63om.google.cloud.run.v2B\x0e\x45xecutionProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
|
19
19
|
|
20
20
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
21
|
|
@@ -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
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n!google/cloud/run/v2/k8s.min.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\
|
11
|
+
descriptor_data = "\n!google/cloud/run/v2/k8s.min.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x81\x04\n\tContainer\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\x05image\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x07\x63ommand\x18\x03 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x04 \x03(\t\x12(\n\x03\x65nv\x18\x05 \x03(\x0b\x32\x1b.google.cloud.run.v2.EnvVar\x12<\n\tresources\x18\x06 \x01(\x0b\x32).google.cloud.run.v2.ResourceRequirements\x12\x31\n\x05ports\x18\x07 \x03(\x0b\x32\".google.cloud.run.v2.ContainerPort\x12\x37\n\rvolume_mounts\x18\x08 \x03(\x0b\x32 .google.cloud.run.v2.VolumeMount\x12\x13\n\x0bworking_dir\x18\t \x01(\t\x12\x32\n\x0eliveness_probe\x18\n \x01(\x0b\x32\x1a.google.cloud.run.v2.Probe\x12\x31\n\rstartup_probe\x18\x0b \x01(\x0b\x32\x1a.google.cloud.run.v2.Probe\x12\x12\n\ndepends_on\x18\x0c \x03(\t\x12\x16\n\x0e\x62\x61se_image_uri\x18\r \x01(\t\x12\x37\n\nbuild_info\x18\x0f \x01(\x0b\x32\x1e.google.cloud.run.v2.BuildInfoB\x03\xe0\x41\x03\"\xb9\x01\n\x14ResourceRequirements\x12\x45\n\x06limits\x18\x01 \x03(\x0b\x32\x35.google.cloud.run.v2.ResourceRequirements.LimitsEntry\x12\x10\n\x08\x63pu_idle\x18\x02 \x01(\x08\x12\x19\n\x11startup_cpu_boost\x18\x03 \x01(\x08\x1a-\n\x0bLimitsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"q\n\x06\x45nvVar\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x05value\x18\x02 \x01(\tH\x00\x12\x39\n\x0cvalue_source\x18\x03 \x01(\x0b\x32!.google.cloud.run.v2.EnvVarSourceH\x00\x42\x08\n\x06values\"N\n\x0c\x45nvVarSource\x12>\n\x0esecret_key_ref\x18\x01 \x01(\x0b\x32&.google.cloud.run.v2.SecretKeySelector\"\x92\x01\n\x11SecretKeySelector\x12;\n\x06secret\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\x12@\n\x07version\x18\x02 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"5\n\rContainerPort\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\x0e\x63ontainer_port\x18\x03 \x01(\x05\"9\n\x0bVolumeMount\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nmount_path\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xd4\x02\n\x06Volume\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x06secret\x18\x02 \x01(\x0b\x32\'.google.cloud.run.v2.SecretVolumeSourceH\x00\x12\x43\n\x12\x63loud_sql_instance\x18\x03 \x01(\x0b\x32%.google.cloud.run.v2.CloudSqlInstanceH\x00\x12>\n\tempty_dir\x18\x04 \x01(\x0b\x32).google.cloud.run.v2.EmptyDirVolumeSourceH\x00\x12\x33\n\x03nfs\x18\x05 \x01(\x0b\x32$.google.cloud.run.v2.NFSVolumeSourceH\x00\x12\x33\n\x03gcs\x18\x06 \x01(\x0b\x32$.google.cloud.run.v2.GCSVolumeSourceH\x00\x42\r\n\x0bvolume_type\"r\n\x12SecretVolumeSource\x12\x13\n\x06secret\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x31\n\x05items\x18\x02 \x03(\x0b\x32\".google.cloud.run.v2.VersionToPath\x12\x14\n\x0c\x64\x65\x66\x61ult_mode\x18\x03 \x01(\x05\"A\n\rVersionToPath\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0c\n\x04mode\x18\x03 \x01(\x05\"%\n\x10\x43loudSqlInstance\x12\x11\n\tinstances\x18\x01 \x03(\t\"\x9a\x01\n\x14\x45mptyDirVolumeSource\x12@\n\x06medium\x18\x01 \x01(\x0e\x32\x30.google.cloud.run.v2.EmptyDirVolumeSource.Medium\x12\x12\n\nsize_limit\x18\x02 \x01(\t\",\n\x06Medium\x12\x16\n\x12MEDIUM_UNSPECIFIED\x10\x00\x12\n\n\x06MEMORY\x10\x01\"B\n\x0fNFSVolumeSource\x12\x0e\n\x06server\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x03 \x01(\x08\"K\n\x0fGCSVolumeSource\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x11\n\tread_only\x18\x02 \x01(\x08\x12\x15\n\rmount_options\x18\x03 \x03(\t\"\xc8\x02\n\x05Probe\x12\"\n\x15initial_delay_seconds\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1c\n\x0ftimeout_seconds\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0eperiod_seconds\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1e\n\x11\x66\x61ilure_threshold\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12;\n\x08http_get\x18\x05 \x01(\x0b\x32\".google.cloud.run.v2.HTTPGetActionB\x03\xe0\x41\x01H\x00\x12?\n\ntcp_socket\x18\x06 \x01(\x0b\x32$.google.cloud.run.v2.TCPSocketActionB\x03\xe0\x41\x01H\x00\x12\x34\n\x04grpc\x18\x07 \x01(\x0b\x32\x1f.google.cloud.run.v2.GRPCActionB\x03\xe0\x41\x01H\x00\x42\x0c\n\nprobe_type\"q\n\rHTTPGetAction\x12\x11\n\x04path\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12:\n\x0chttp_headers\x18\x04 \x03(\x0b\x32\x1f.google.cloud.run.v2.HTTPHeaderB\x03\xe0\x41\x01\x12\x11\n\x04port\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\"3\n\nHTTPHeader\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x01\"$\n\x0fTCPSocketAction\x12\x11\n\x04port\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\"5\n\nGRPCAction\x12\x11\n\x04port\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x14\n\x07service\x18\x02 \x01(\tB\x03\xe0\x41\x01\"G\n\tBuildInfo\x12\x1c\n\x0f\x66unction_target\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fsource_location\x18\x02 \x01(\tB\x03\xe0\x41\x03\x42\xe9\x03\n\x17\x63om.google.cloud.run.v2B\x0bK8sMinProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpb\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}\xea\x41J\n#secretmanager.googleapis.com/Secret\x12#projects/{project}/secrets/{secret}\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}\xea\x41\x64\n\"vpcaccess.googleapis.com/Connector\x12>projects/{project}/locations/{location}/connectors/{connector}b\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -58,6 +58,7 @@ module Google
|
|
58
58
|
HTTPHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.HTTPHeader").msgclass
|
59
59
|
TCPSocketAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.TCPSocketAction").msgclass
|
60
60
|
GRPCAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.GRPCAction").msgclass
|
61
|
+
BuildInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.BuildInfo").msgclass
|
61
62
|
end
|
62
63
|
end
|
63
64
|
end
|
@@ -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
|
@@ -21,7 +21,7 @@ require 'google/protobuf/field_mask_pb'
|
|
21
21
|
require 'google/protobuf/timestamp_pb'
|
22
22
|
|
23
23
|
|
24
|
-
descriptor_data = "\n!google/cloud/run/v2/service.proto\x12\x13google.cloud.run.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1dgoogle/api/launch_stage.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a#google/cloud/run/v2/condition.proto\x1a+google/cloud/run/v2/revision_template.proto\x1a(google/cloud/run/v2/traffic_target.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xae\x01\n\x14\x43reateServiceRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\x12\x1arun.googleapis.com/Service\x12\x32\n\x07service\x18\x02 \x01(\x0b\x32\x1c.google.cloud.run.v2.ServiceB\x03\xe0\x41\x02\x12\x17\n\nservice_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb3\x01\n\x14UpdateServiceRequest\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x32\n\x07service\x18\x01 \x01(\x0b\x32\x1c.google.cloud.run.v2.ServiceB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x86\x01\n\x13ListServicesRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\x12\x1arun.googleapis.com/Service\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"_\n\x14ListServicesResponse\x12.\n\x08services\x18\x01 \x03(\x0b\x32\x1c.google.cloud.run.v2.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"E\n\x11GetServiceRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\"m\n\x14\x44\x65leteServiceRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\
|
24
|
+
descriptor_data = "\n!google/cloud/run/v2/service.proto\x12\x13google.cloud.run.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1dgoogle/api/launch_stage.proto\x1a\x19google/api/resource.proto\x1a\x18google/api/routing.proto\x1a#google/cloud/run/v2/condition.proto\x1a+google/cloud/run/v2/revision_template.proto\x1a(google/cloud/run/v2/traffic_target.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xae\x01\n\x14\x43reateServiceRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\x12\x1arun.googleapis.com/Service\x12\x32\n\x07service\x18\x02 \x01(\x0b\x32\x1c.google.cloud.run.v2.ServiceB\x03\xe0\x41\x02\x12\x17\n\nservice_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb3\x01\n\x14UpdateServiceRequest\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x32\n\x07service\x18\x01 \x01(\x0b\x32\x1c.google.cloud.run.v2.ServiceB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x86\x01\n\x13ListServicesRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\x12\x1arun.googleapis.com/Service\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x0cshow_deleted\x18\x04 \x01(\x08\"_\n\x14ListServicesResponse\x12.\n\x08services\x18\x01 \x03(\x0b\x32\x1c.google.cloud.run.v2.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"E\n\x11GetServiceRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\"m\n\x14\x44\x65leteServiceRequest\x12\x30\n\x04name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\x12\x15\n\rvalidate_only\x18\x02 \x01(\x08\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\"\xbd\r\n\x07Service\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x10\n\x03uid\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\ngeneration\x18\x04 \x01(\x03\x42\x03\xe0\x41\x03\x12=\n\x06labels\x18\x05 \x03(\x0b\x32(.google.cloud.run.v2.Service.LabelsEntryB\x03\xe0\x41\x01\x12G\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32-.google.cloud.run.v2.Service.AnnotationsEntryB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x07\x63reator\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rlast_modifier\x18\x0c \x01(\tB\x03\xe0\x41\x03\x12\x0e\n\x06\x63lient\x18\r \x01(\t\x12\x16\n\x0e\x63lient_version\x18\x0e \x01(\t\x12\x39\n\x07ingress\x18\x0f \x01(\x0e\x32#.google.cloud.run.v2.IngressTrafficB\x03\xe0\x41\x01\x12\x32\n\x0claunch_stage\x18\x10 \x01(\x0e\x32\x17.google.api.LaunchStageB\x03\xe0\x41\x01\x12K\n\x14\x62inary_authorization\x18\x11 \x01(\x0b\x32(.google.cloud.run.v2.BinaryAuthorizationB\x03\xe0\x41\x01\x12<\n\x08template\x18\x12 \x01(\x0b\x32%.google.cloud.run.v2.RevisionTemplateB\x03\xe0\x41\x02\x12\x38\n\x07traffic\x18\x13 \x03(\x0b\x32\".google.cloud.run.v2.TrafficTargetB\x03\xe0\x41\x01\x12\x39\n\x07scaling\x18\x14 \x01(\x0b\x32#.google.cloud.run.v2.ServiceScalingB\x03\xe0\x41\x01\x12!\n\x14invoker_iam_disabled\x18\x15 \x01(\x08\x42\x03\xe0\x41\x01\x12!\n\x14\x64\x65\x66\x61ult_uri_disabled\x18\x16 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04urls\x18\x18 \x03(\tB\x03\xe0\x41\x03\x12\x18\n\x10\x63ustom_audiences\x18% \x03(\t\x12 \n\x13observed_generation\x18\x1e \x01(\x03\x42\x03\xe0\x41\x03\x12?\n\x12terminal_condition\x18\x1f \x01(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x03\xe0\x41\x03\x12\x37\n\nconditions\x18 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x03\xe0\x41\x03\x12\x42\n\x15latest_ready_revision\x18! \x01(\tB#\xe0\x41\x03\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12\x44\n\x17latest_created_revision\x18\" \x01(\tB#\xe0\x41\x03\xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12G\n\x10traffic_statuses\x18# \x03(\x0b\x32(.google.cloud.run.v2.TrafficTargetStatusB\x03\xe0\x41\x03\x12\x10\n\x03uri\x18$ \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18& \x01(\x08\x42\x03\xe0\x41\x03\x12;\n\x0c\x62uild_config\x18) \x01(\x0b\x32 .google.cloud.run.v2.BuildConfigB\x03\xe0\x41\x01\x12\x18\n\x0breconciling\x18\x62 \x01(\x08\x42\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x63 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:^\xea\x41[\n\x1arun.googleapis.com/Service\x12:projects/{project}/locations/{location}/services/{service}R\x01\x01\x32\xcd\r\n\x08Services\x12\xfd\x01\n\rCreateService\x12).google.cloud.run.v2.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\xca\x41\x12\n\x07Service\x12\x07Service\xda\x41\x19parent,service,service_id\x82\xd3\xe4\x93\x02\x37\",/v2/{parent=projects/*/locations/*}/services:\x07service\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\xc3\x01\n\nGetService\x12&.google.cloud.run.v2.GetServiceRequest\x1a\x1c.google.cloud.run.v2.Service\"o\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v2/{name=projects/*/locations/*/services/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\xd5\x01\n\x0cListServices\x12(.google.cloud.run.v2.ListServicesRequest\x1a).google.cloud.run.v2.ListServicesResponse\"p\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v2/{parent=projects/*/locations/*}/services\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\x12\x92\x02\n\rUpdateService\x12).google.cloud.run.v2.UpdateServiceRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41\x12\n\x07Service\x12\x07Service\xda\x41\x07service\xda\x41\x13service,update_mask\x82\xd3\xe4\x93\x02?24/v2/{service.name=projects/*/locations/*/services/*}:\x07service\x8a\xd3\xe4\x93\x02\x36\x12\x34\n\x0cservice.name\x12$projects/*/locations/{location=*}/**\x12\xe0\x01\n\rDeleteService\x12).google.cloud.run.v2.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\xca\x41\x12\n\x07Service\x12\x07Service\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v2/{name=projects/*/locations/*/services/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\x12\x90\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"E\x82\xd3\xe4\x93\x02?\x12=/v2/{resource=projects/*/locations/*/services/*}:getIamPolicy\x12\x93\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"H\x82\xd3\xe4\x93\x02\x42\"=/v2/{resource=projects/*/locations/*/services/*}:setIamPolicy:\x01*\x12\xb9\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"N\x82\xd3\xe4\x93\x02H\"C/v2/{resource=projects/*/locations/*/services/*}:testIamPermissions:\x01*\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBT\n\x17\x63om.google.cloud.run.v2B\x0cServiceProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
|
25
25
|
|
26
26
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
27
27
|
|
@@ -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
|
@@ -24,6 +24,25 @@ module Google
|
|
24
24
|
module Services
|
25
25
|
# Path helper methods for the Services API.
|
26
26
|
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified Build resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/locations/{location}/builds/{build}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param build [String]
|
37
|
+
#
|
38
|
+
# @return [::String]
|
39
|
+
def build_path project:, location:, build:
|
40
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
41
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
42
|
+
|
43
|
+
"projects/#{project}/locations/#{location}/builds/#{build}"
|
44
|
+
end
|
45
|
+
|
27
46
|
##
|
28
47
|
# Create a fully-qualified Connector resource string.
|
29
48
|
#
|
@@ -209,6 +228,25 @@ module Google
|
|
209
228
|
"projects/#{project}/locations/#{location}/services/#{service}"
|
210
229
|
end
|
211
230
|
|
231
|
+
##
|
232
|
+
# Create a fully-qualified WorkerPool resource string.
|
233
|
+
#
|
234
|
+
# The resource will be in the following format:
|
235
|
+
#
|
236
|
+
# `projects/{project}/locations/{location}/workerPools/{worker_pool}`
|
237
|
+
#
|
238
|
+
# @param project [String]
|
239
|
+
# @param location [String]
|
240
|
+
# @param worker_pool [String]
|
241
|
+
#
|
242
|
+
# @return [::String]
|
243
|
+
def worker_pool_path project:, location:, worker_pool:
|
244
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
245
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
246
|
+
|
247
|
+
"projects/#{project}/locations/#{location}/workerPools/#{worker_pool}"
|
248
|
+
end
|
249
|
+
|
212
250
|
extend self
|
213
251
|
end
|
214
252
|
end
|
@@ -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
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/api/resource_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n)google/cloud/run/v2/vendor_settings.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x81\x03\n\tVpcAccess\x12:\n\tconnector\x18\x01 \x01(\tB\'\xfa\x41$\n\"vpcaccess.googleapis.com/Connector\x12=\n\x06\x65gress\x18\x02 \x01(\x0e\x32(.google.cloud.run.v2.VpcAccess.VpcEgressB\x03\xe0\x41\x01\x12P\n\x12network_interfaces\x18\x03 \x03(\x0b\x32/.google.cloud.run.v2.VpcAccess.NetworkInterfaceB\x03\xe0\x41\x01\x1aT\n\x10NetworkInterface\x12\x14\n\x07network\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nsubnetwork\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04tags\x18\x03 \x03(\tB\x03\xe0\x41\x01\"Q\n\tVpcEgress\x12\x1a\n\x16VPC_EGRESS_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x41LL_TRAFFIC\x10\x01\x12\x17\n\x13PRIVATE_RANGES_ONLY\x10\x02\"\xb0\x01\n\x13\x42inaryAuthorization\x12\x1a\n\x0buse_default\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x12\x43\n\x06policy\x18\x03 \x01(\tB1\xe0\x41\x01\xfa\x41+\n)binaryauthorization.googleapis.com/PolicyH\x00\x12%\n\x18\x62reakglass_justification\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\x11\n\x0f\x62inauthz_method\"S\n\x0fRevisionScaling\x12\x1f\n\x12min_instance_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1f\n\x12max_instance_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\"E\n\x0bServiceMesh\x12\x36\n\x04mesh\x18\x01 \x01(\tB(\xfa\x41%\n#networkservices.googleapis.com/Mesh\"\x88\x02\n\x0eServiceScaling\x12\x1f\n\x12min_instance_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12J\n\x0cscaling_mode\x18\x03 \x01(\x0e\x32/.google.cloud.run.v2.ServiceScaling.ScalingModeB\x03\xe0\x41\x01\x12\'\n\x15manual_instance_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\"F\n\x0bScalingMode\x12\x1c\n\x18SCALING_MODE_UNSPECIFIED\x10\x00\x12\r\n\tAUTOMATIC\x10\x01\x12\n\n\x06MANUAL\x10\x02\x42\x18\n\x16_manual_instance_count\"(\n\x0cNodeSelector\x12\x18\n\x0b\x61\x63\x63\x65lerator\x18\x01 \x01(\tB\x03\xe0\x41\x02*\xb3\x01\n\x0eIngressTraffic\x12\x1f\n\x1bINGRESS_TRAFFIC_UNSPECIFIED\x10\x00\x12\x17\n\x13INGRESS_TRAFFIC_ALL\x10\x01\x12!\n\x1dINGRESS_TRAFFIC_INTERNAL_ONLY\x10\x02\x12*\n&INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER\x10\x03\x12\x18\n\x14INGRESS_TRAFFIC_NONE\x10\x04*}\n\x14\x45xecutionEnvironment\x12%\n!EXECUTION_ENVIRONMENT_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x45XECUTION_ENVIRONMENT_GEN1\x10\x01\x12\x1e\n\x1a\x45XECUTION_ENVIRONMENT_GEN2\x10\x02*p\n\x1d\x45ncryptionKeyRevocationAction\x12\x30\n,ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPREVENT_NEW\x10\x01\x12\x0c\n\x08SHUTDOWN\x10\x02\x42\
|
11
|
+
descriptor_data = "\n)google/cloud/run/v2/vendor_settings.proto\x12\x13google.cloud.run.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x81\x03\n\tVpcAccess\x12:\n\tconnector\x18\x01 \x01(\tB\'\xfa\x41$\n\"vpcaccess.googleapis.com/Connector\x12=\n\x06\x65gress\x18\x02 \x01(\x0e\x32(.google.cloud.run.v2.VpcAccess.VpcEgressB\x03\xe0\x41\x01\x12P\n\x12network_interfaces\x18\x03 \x03(\x0b\x32/.google.cloud.run.v2.VpcAccess.NetworkInterfaceB\x03\xe0\x41\x01\x1aT\n\x10NetworkInterface\x12\x14\n\x07network\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nsubnetwork\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x11\n\x04tags\x18\x03 \x03(\tB\x03\xe0\x41\x01\"Q\n\tVpcEgress\x12\x1a\n\x16VPC_EGRESS_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x41LL_TRAFFIC\x10\x01\x12\x17\n\x13PRIVATE_RANGES_ONLY\x10\x02\"\xb0\x01\n\x13\x42inaryAuthorization\x12\x1a\n\x0buse_default\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x12\x43\n\x06policy\x18\x03 \x01(\tB1\xe0\x41\x01\xfa\x41+\n)binaryauthorization.googleapis.com/PolicyH\x00\x12%\n\x18\x62reakglass_justification\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\x11\n\x0f\x62inauthz_method\"S\n\x0fRevisionScaling\x12\x1f\n\x12min_instance_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1f\n\x12max_instance_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\"E\n\x0bServiceMesh\x12\x36\n\x04mesh\x18\x01 \x01(\tB(\xfa\x41%\n#networkservices.googleapis.com/Mesh\"\x88\x02\n\x0eServiceScaling\x12\x1f\n\x12min_instance_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12J\n\x0cscaling_mode\x18\x03 \x01(\x0e\x32/.google.cloud.run.v2.ServiceScaling.ScalingModeB\x03\xe0\x41\x01\x12\'\n\x15manual_instance_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\"F\n\x0bScalingMode\x12\x1c\n\x18SCALING_MODE_UNSPECIFIED\x10\x00\x12\r\n\tAUTOMATIC\x10\x01\x12\n\n\x06MANUAL\x10\x02\x42\x18\n\x16_manual_instance_count\"(\n\x0cNodeSelector\x12\x18\n\x0b\x61\x63\x63\x65lerator\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xd1\x03\n\x0b\x42uildConfig\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x03\xfa\x41!\n\x1f\x63loudbuild.googleapis.com/Build\x12\x17\n\x0fsource_location\x18\x02 \x01(\t\x12\x1c\n\x0f\x66unction_target\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\timage_uri\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nbase_image\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18\x65nable_automatic_updates\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x41\n\x0bworker_pool\x18\x07 \x01(\tB,\xe0\x41\x01\xfa\x41&\n$cloudbuild.googleapis.com/WorkerPool\x12^\n\x15\x65nvironment_variables\x18\x08 \x03(\x0b\x32:.google.cloud.run.v2.BuildConfig.EnvironmentVariablesEntryB\x03\xe0\x41\x01\x12\x1c\n\x0fservice_account\x18\t \x01(\tB\x03\xe0\x41\x01\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*\xb3\x01\n\x0eIngressTraffic\x12\x1f\n\x1bINGRESS_TRAFFIC_UNSPECIFIED\x10\x00\x12\x17\n\x13INGRESS_TRAFFIC_ALL\x10\x01\x12!\n\x1dINGRESS_TRAFFIC_INTERNAL_ONLY\x10\x02\x12*\n&INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER\x10\x03\x12\x18\n\x14INGRESS_TRAFFIC_NONE\x10\x04*}\n\x14\x45xecutionEnvironment\x12%\n!EXECUTION_ENVIRONMENT_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x45XECUTION_ENVIRONMENT_GEN1\x10\x01\x12\x1e\n\x1a\x45XECUTION_ENVIRONMENT_GEN2\x10\x02*p\n\x1d\x45ncryptionKeyRevocationAction\x12\x30\n,ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPREVENT_NEW\x10\x01\x12\x0c\n\x08SHUTDOWN\x10\x02\x42\xfc\x02\n\x17\x63om.google.cloud.run.v2B\x13VendorSettingsProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpb\xea\x41\x63\n)binaryauthorization.googleapis.com/Policy\x12\x19projects/{project}/policy\x12\x1blocations/{location}/policy\xea\x41\\\n#networkservices.googleapis.com/Mesh\x12\x35projects/{project}/locations/{location}/meshes/{mesh}\xea\x41Y\n\x1f\x63loudbuild.googleapis.com/Build\x12\x36projects/{project}/locations/{location}/builds/{build}b\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -47,6 +47,7 @@ module Google
|
|
47
47
|
ServiceScaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ServiceScaling").msgclass
|
48
48
|
ServiceScaling::ScalingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ServiceScaling.ScalingMode").enummodule
|
49
49
|
NodeSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.NodeSelector").msgclass
|
50
|
+
BuildConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.BuildConfig").msgclass
|
50
51
|
IngressTraffic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.IngressTraffic").enummodule
|
51
52
|
ExecutionEnvironment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ExecutionEnvironment").enummodule
|
52
53
|
EncryptionKeyRevocationAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.EncryptionKeyRevocationAction").enummodule
|
@@ -409,6 +409,14 @@ module Google
|
|
409
409
|
# @return [::Array<::String>]
|
410
410
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
411
|
# on public client surfaces.
|
412
|
+
# @!attribute [rw] generate_omitted_as_internal
|
413
|
+
# @return [::Boolean]
|
414
|
+
# Setting this to true indicates to the client generators that methods
|
415
|
+
# that would be excluded from the generation should instead be generated
|
416
|
+
# in a way that indicates these methods should not be consumed by
|
417
|
+
# end users. How this is expressed is up to individual language
|
418
|
+
# implementations to decide. Some examples may be: added annotations,
|
419
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
420
|
class SelectiveGapicGeneration
|
413
421
|
include ::Google::Protobuf::MessageExts
|
414
422
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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
|
@@ -83,7 +87,7 @@ module Google
|
|
83
87
|
# The build will clean up the temporary image on a best-effort basis.
|
84
88
|
# @!attribute [rw] base_image
|
85
89
|
# @return [::String]
|
86
|
-
# Optional. The base image
|
90
|
+
# Optional. The base image to use for the build.
|
87
91
|
# @!attribute [rw] environment_variables
|
88
92
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
89
93
|
# Optional. User-provided build-time environment variables.
|
@@ -92,6 +96,11 @@ module Google
|
|
92
96
|
# Optional. Whether or not the application container will be enrolled in
|
93
97
|
# automatic base image updates. When true, the application will be built on
|
94
98
|
# a scratch base image, so the base layers can be appended at run time.
|
99
|
+
# @!attribute [rw] project_descriptor
|
100
|
+
# @return [::String]
|
101
|
+
# Optional. project_descriptor stores the path to the project descriptor
|
102
|
+
# file. When empty, it means that there is no project descriptor file in
|
103
|
+
# the source.
|
95
104
|
class BuildpacksBuild
|
96
105
|
include ::Google::Protobuf::MessageExts
|
97
106
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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
|
@@ -119,6 +119,9 @@ module Google
|
|
119
119
|
# Output only. Server assigned unique identifier for the Execution. The value
|
120
120
|
# is a UUID4 string and guaranteed to remain unchanged until the resource is
|
121
121
|
# deleted.
|
122
|
+
# @!attribute [r] creator
|
123
|
+
# @return [::String]
|
124
|
+
# Output only. Email address of the authenticated creator.
|
122
125
|
# @!attribute [r] generation
|
123
126
|
# @return [::Integer]
|
124
127
|
# Output only. A number that monotonically increases every time the user
|
@@ -169,7 +172,8 @@ module Google
|
|
169
172
|
# [Google Cloud Platform Launch
|
170
173
|
# Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
|
171
174
|
# `ALPHA`, `BETA`, and `GA`.
|
172
|
-
#
|
175
|
+
#
|
176
|
+
# Note that this value might not be what was used
|
173
177
|
# as input. For example, if ALPHA was provided as input in the parent
|
174
178
|
# resource, but only BETA and GA-level features are were, this field will be
|
175
179
|
# BETA.
|
@@ -266,7 +266,7 @@ module Google
|
|
266
266
|
# Set the launch stage to a preview stage on input to allow use of preview
|
267
267
|
# features in that stage. On read (or output), describes whether the resource
|
268
268
|
# uses preview features.
|
269
|
-
#
|
269
|
+
#
|
270
270
|
# For example, if ALPHA is provided as input, but only BETA and GA-level
|
271
271
|
# features are used, this field will be BETA on output.
|
272
272
|
# @!attribute [rw] binary_authorization
|
@@ -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
|
@@ -77,6 +77,13 @@ module Google
|
|
77
77
|
# @!attribute [rw] depends_on
|
78
78
|
# @return [::Array<::String>]
|
79
79
|
# Names of the containers that must start before this container.
|
80
|
+
# @!attribute [rw] base_image_uri
|
81
|
+
# @return [::String]
|
82
|
+
# Base image for this container. Only supported for services. If set, it
|
83
|
+
# indicates that the service is enrolled into automatic base image update.
|
84
|
+
# @!attribute [r] build_info
|
85
|
+
# @return [::Google::Cloud::Run::V2::BuildInfo]
|
86
|
+
# Output only. The build info of the container image.
|
80
87
|
class Container
|
81
88
|
include ::Google::Protobuf::MessageExts
|
82
89
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -127,9 +134,13 @@ module Google
|
|
127
134
|
# Literal value of the environment variable.
|
128
135
|
# Defaults to "", and the maximum length is 32768 bytes.
|
129
136
|
# Variable references are not supported in Cloud Run.
|
137
|
+
#
|
138
|
+
# 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
139
|
# @!attribute [rw] value_source
|
131
140
|
# @return [::Google::Cloud::Run::V2::EnvVarSource]
|
132
141
|
# Source for the environment variable's value.
|
142
|
+
#
|
143
|
+
# 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
144
|
class EnvVar
|
134
145
|
include ::Google::Protobuf::MessageExts
|
135
146
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -198,20 +209,30 @@ module Google
|
|
198
209
|
# @!attribute [rw] secret
|
199
210
|
# @return [::Google::Cloud::Run::V2::SecretVolumeSource]
|
200
211
|
# Secret represents a secret that should populate this volume.
|
212
|
+
#
|
213
|
+
# 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
214
|
# @!attribute [rw] cloud_sql_instance
|
202
215
|
# @return [::Google::Cloud::Run::V2::CloudSqlInstance]
|
203
216
|
# For Cloud SQL volumes, contains the specific instances that should be
|
204
217
|
# mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for
|
205
218
|
# more information on how to connect Cloud SQL and Cloud Run.
|
219
|
+
#
|
220
|
+
# 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
221
|
# @!attribute [rw] empty_dir
|
207
222
|
# @return [::Google::Cloud::Run::V2::EmptyDirVolumeSource]
|
208
223
|
# Ephemeral storage used as a shared volume.
|
224
|
+
#
|
225
|
+
# 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
226
|
# @!attribute [rw] nfs
|
210
227
|
# @return [::Google::Cloud::Run::V2::NFSVolumeSource]
|
211
228
|
# For NFS Voumes, contains the path to the nfs Volume
|
229
|
+
#
|
230
|
+
# 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
231
|
# @!attribute [rw] gcs
|
213
232
|
# @return [::Google::Cloud::Run::V2::GCSVolumeSource]
|
214
233
|
# Persistent storage backed by a Google Cloud Storage bucket.
|
234
|
+
#
|
235
|
+
# 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
236
|
class Volume
|
216
237
|
include ::Google::Protobuf::MessageExts
|
217
238
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -396,14 +417,20 @@ module Google
|
|
396
417
|
# @return [::Google::Cloud::Run::V2::HTTPGetAction]
|
397
418
|
# Optional. HTTPGet specifies the http request to perform.
|
398
419
|
# Exactly one of httpGet, tcpSocket, or grpc must be specified.
|
420
|
+
#
|
421
|
+
# 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
422
|
# @!attribute [rw] tcp_socket
|
400
423
|
# @return [::Google::Cloud::Run::V2::TCPSocketAction]
|
401
424
|
# Optional. TCPSocket specifies an action involving a TCP port.
|
402
425
|
# Exactly one of httpGet, tcpSocket, or grpc must be specified.
|
426
|
+
#
|
427
|
+
# 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
428
|
# @!attribute [rw] grpc
|
404
429
|
# @return [::Google::Cloud::Run::V2::GRPCAction]
|
405
430
|
# Optional. GRPC specifies an action involving a gRPC port.
|
406
431
|
# Exactly one of httpGet, tcpSocket, or grpc must be specified.
|
432
|
+
#
|
433
|
+
# 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
434
|
class Probe
|
408
435
|
include ::Google::Protobuf::MessageExts
|
409
436
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -466,6 +493,19 @@ module Google
|
|
466
493
|
include ::Google::Protobuf::MessageExts
|
467
494
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
468
495
|
end
|
496
|
+
|
497
|
+
# Build information of the image.
|
498
|
+
# @!attribute [r] function_target
|
499
|
+
# @return [::String]
|
500
|
+
# Output only. Entry point of the function when the image is a Cloud Run
|
501
|
+
# function.
|
502
|
+
# @!attribute [r] source_location
|
503
|
+
# @return [::String]
|
504
|
+
# Output only. Source code location of the image.
|
505
|
+
class BuildInfo
|
506
|
+
include ::Google::Protobuf::MessageExts
|
507
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
508
|
+
end
|
469
509
|
end
|
470
510
|
end
|
471
511
|
end
|
@@ -138,7 +138,8 @@ module Google
|
|
138
138
|
# [Google Cloud Platform Launch
|
139
139
|
# Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports
|
140
140
|
# `ALPHA`, `BETA`, and `GA`.
|
141
|
-
#
|
141
|
+
#
|
142
|
+
# Note that this value might not be what was used
|
142
143
|
# as input. For example, if ALPHA was provided as input in the parent
|
143
144
|
# resource, but only BETA and GA-level features are were, this field will be
|
144
145
|
# BETA.
|
@@ -197,7 +197,7 @@ module Google
|
|
197
197
|
# @!attribute [r] expire_time
|
198
198
|
# @return [::Google::Protobuf::Timestamp]
|
199
199
|
# Output only. For a deleted resource, the time after which it will be
|
200
|
-
#
|
200
|
+
# permanently deleted.
|
201
201
|
# @!attribute [r] creator
|
202
202
|
# @return [::String]
|
203
203
|
# Output only. Email address of the authenticated creator.
|
@@ -224,7 +224,7 @@ module Google
|
|
224
224
|
# Set the launch stage to a preview stage on input to allow use of preview
|
225
225
|
# features in that stage. On read (or output), describes whether the resource
|
226
226
|
# uses preview features.
|
227
|
-
#
|
227
|
+
#
|
228
228
|
# For example, if ALPHA is provided as input, but only BETA and GA-level
|
229
229
|
# features are used, this field will be BETA on output.
|
230
230
|
# @!attribute [rw] binary_authorization
|
@@ -300,6 +300,9 @@ module Google
|
|
300
300
|
# @!attribute [r] satisfies_pzs
|
301
301
|
# @return [::Boolean]
|
302
302
|
# Output only. Reserved for future use.
|
303
|
+
# @!attribute [rw] build_config
|
304
|
+
# @return [::Google::Cloud::Run::V2::BuildConfig]
|
305
|
+
# Optional. Configuration for building a Cloud Run function.
|
303
306
|
# @!attribute [r] reconciling
|
304
307
|
# @return [::Boolean]
|
305
308
|
# Output only. Returns true if the Service is currently being acted upon by
|
@@ -309,7 +312,7 @@ module Google
|
|
309
312
|
# will asynchronously perform all necessary steps to bring the Service to the
|
310
313
|
# desired serving state. This process is called reconciliation.
|
311
314
|
# While reconciliation is in process, `observed_generation`,
|
312
|
-
# `
|
315
|
+
# `latest_ready_revision`, `traffic_statuses`, and `uri` will have transient
|
313
316
|
# values that might mismatch the intended state: Once reconciliation is over
|
314
317
|
# (and this field is false), there are two possible outcomes: reconciliation
|
315
318
|
# succeeded and the serving state matches the Service, or there was an error,
|
@@ -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.
|
@@ -168,6 +172,61 @@ module Google
|
|
168
172
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
169
173
|
end
|
170
174
|
|
175
|
+
# Describes the Build step of the function that builds a container from the
|
176
|
+
# given source.
|
177
|
+
# @!attribute [r] name
|
178
|
+
# @return [::String]
|
179
|
+
# Output only. The Cloud Build name of the latest successful deployment of
|
180
|
+
# the function.
|
181
|
+
# @!attribute [rw] source_location
|
182
|
+
# @return [::String]
|
183
|
+
# The Cloud Storage bucket URI where the function source code is located.
|
184
|
+
# @!attribute [rw] function_target
|
185
|
+
# @return [::String]
|
186
|
+
# Optional. The name of the function (as defined in source code) that will be
|
187
|
+
# executed. Defaults to the resource name suffix, if not specified. For
|
188
|
+
# backward compatibility, if function with given name is not found, then the
|
189
|
+
# system will try to use function named "function".
|
190
|
+
# @!attribute [rw] image_uri
|
191
|
+
# @return [::String]
|
192
|
+
# Optional. Artifact Registry URI to store the built image.
|
193
|
+
# @!attribute [rw] base_image
|
194
|
+
# @return [::String]
|
195
|
+
# Optional. The base image used to build the function.
|
196
|
+
# @!attribute [rw] enable_automatic_updates
|
197
|
+
# @return [::Boolean]
|
198
|
+
# Optional. Sets whether the function will receive automatic base image
|
199
|
+
# updates.
|
200
|
+
# @!attribute [rw] worker_pool
|
201
|
+
# @return [::String]
|
202
|
+
# Optional. Name of the Cloud Build Custom Worker Pool that should be used to
|
203
|
+
# build the Cloud Run function. The format of this field is
|
204
|
+
# `projects/{project}/locations/{region}/workerPools/{workerPool}` where
|
205
|
+
# `{project}` and `{region}` are the project id and region respectively where
|
206
|
+
# the worker pool is defined and `{workerPool}` is the short name of the
|
207
|
+
# worker pool.
|
208
|
+
# @!attribute [rw] environment_variables
|
209
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
210
|
+
# Optional. User-provided build-time environment variables for the function
|
211
|
+
# @!attribute [rw] service_account
|
212
|
+
# @return [::String]
|
213
|
+
# Optional. Service account to be used for building the container. The format
|
214
|
+
# of this field is
|
215
|
+
# `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.
|
216
|
+
class BuildConfig
|
217
|
+
include ::Google::Protobuf::MessageExts
|
218
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
219
|
+
|
220
|
+
# @!attribute [rw] key
|
221
|
+
# @return [::String]
|
222
|
+
# @!attribute [rw] value
|
223
|
+
# @return [::String]
|
224
|
+
class EnvironmentVariablesEntry
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
171
230
|
# Allowed ingress traffic for the Container.
|
172
231
|
module IngressTraffic
|
173
232
|
# Unspecified
|
@@ -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.
|
4
|
+
version: 0.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-05 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.
|
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.
|
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: '
|
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.
|
219
|
-
signing_key:
|
216
|
+
rubygems_version: 3.6.3
|
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
|