google-cloud-run-v2 0.21.0 → 0.22.1
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/lib/google/cloud/run/v2/build_pb.rb +1 -1
- data/lib/google/cloud/run/v2/builds/client.rb +2 -2
- data/lib/google/cloud/run/v2/builds/rest/client.rb +1 -1
- data/lib/google/cloud/run/v2/execution_pb.rb +1 -1
- data/lib/google/cloud/run/v2/executions/client.rb +2 -2
- data/lib/google/cloud/run/v2/executions/operations.rb +2 -2
- data/lib/google/cloud/run/v2/executions/rest/client.rb +1 -1
- data/lib/google/cloud/run/v2/executions/rest/operations.rb +1 -1
- data/lib/google/cloud/run/v2/jobs/client.rb +2 -2
- data/lib/google/cloud/run/v2/jobs/operations.rb +2 -2
- data/lib/google/cloud/run/v2/jobs/rest/client.rb +1 -1
- data/lib/google/cloud/run/v2/jobs/rest/operations.rb +1 -1
- data/lib/google/cloud/run/v2/k8s.min_pb.rb +2 -1
- data/lib/google/cloud/run/v2/revisions/client.rb +2 -2
- data/lib/google/cloud/run/v2/revisions/operations.rb +2 -2
- data/lib/google/cloud/run/v2/revisions/rest/client.rb +1 -1
- data/lib/google/cloud/run/v2/revisions/rest/operations.rb +1 -1
- data/lib/google/cloud/run/v2/service_pb.rb +1 -1
- data/lib/google/cloud/run/v2/services/client.rb +2 -2
- data/lib/google/cloud/run/v2/services/operations.rb +2 -2
- data/lib/google/cloud/run/v2/services/paths.rb +38 -0
- data/lib/google/cloud/run/v2/services/rest/client.rb +1 -1
- data/lib/google/cloud/run/v2/services/rest/operations.rb +1 -1
- data/lib/google/cloud/run/v2/tasks/client.rb +2 -2
- data/lib/google/cloud/run/v2/tasks/rest/client.rb +1 -1
- 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 +14 -0
- data/proto_docs/google/api/routing.rb +1 -1
- data/proto_docs/google/cloud/run/v2/build.rb +6 -1
- data/proto_docs/google/cloud/run/v2/execution.rb +5 -1
- data/proto_docs/google/cloud/run/v2/job.rb +1 -1
- data/proto_docs/google/cloud/run/v2/k8s.min.rb +20 -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 +55 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1a162d059adfa206b16ce0794dd7c9c932378c725ad12d780cdd12509bf6558
|
4
|
+
data.tar.gz: f4ca942d6efc30b04ae2f966d0f20a6b6efc7c20136bd5b1ca778029c37faef0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aac7d6338cda2ab0897fa179cb814070a75439909dcce4213b7e5da9c6bc722a72c6206d911a504a2ca1f8ff9575f6bce8b75370a311ed9a36ce06a668cd1f8c
|
7
|
+
data.tar.gz: be5af0ec5af109c86175fb55136b8c949c968bf7d3f3c4ee629034e6f7af219c2533daa856ee5ce1c594e75c6fa4d31c0de375cc478c113e9f22a9efb81fc732
|
@@ -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
|
|
@@ -416,8 +416,8 @@ module Google
|
|
416
416
|
|
417
417
|
config_attr :endpoint, nil, ::String, nil
|
418
418
|
config_attr :credentials, nil do |value|
|
419
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
420
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
419
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
420
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
421
421
|
allowed.any? { |klass| klass === value }
|
422
422
|
end
|
423
423
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -393,7 +393,7 @@ module Google
|
|
393
393
|
|
394
394
|
config_attr :endpoint, nil, ::String, nil
|
395
395
|
config_attr :credentials, nil do |value|
|
396
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
396
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
397
397
|
allowed.any? { |klass| klass === value }
|
398
398
|
end
|
399
399
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
|
@@ -714,8 +714,8 @@ module Google
|
|
714
714
|
|
715
715
|
config_attr :endpoint, nil, ::String, nil
|
716
716
|
config_attr :credentials, nil do |value|
|
717
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
718
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
717
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
718
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
719
719
|
allowed.any? { |klass| klass === value }
|
720
720
|
end
|
721
721
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -709,8 +709,8 @@ module Google
|
|
709
709
|
|
710
710
|
config_attr :endpoint, nil, ::String, nil
|
711
711
|
config_attr :credentials, nil do |value|
|
712
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
713
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
712
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
713
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
714
714
|
allowed.any? { |klass| klass === value }
|
715
715
|
end
|
716
716
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -670,7 +670,7 @@ module Google
|
|
670
670
|
|
671
671
|
config_attr :endpoint, nil, ::String, nil
|
672
672
|
config_attr :credentials, nil do |value|
|
673
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
673
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
674
674
|
allowed.any? { |klass| klass === value }
|
675
675
|
end
|
676
676
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -655,7 +655,7 @@ module Google
|
|
655
655
|
|
656
656
|
config_attr :endpoint, nil, ::String, nil
|
657
657
|
config_attr :credentials, nil do |value|
|
658
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
658
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
659
659
|
allowed.any? { |klass| klass === value }
|
660
660
|
end
|
661
661
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -1216,8 +1216,8 @@ module Google
|
|
1216
1216
|
|
1217
1217
|
config_attr :endpoint, nil, ::String, nil
|
1218
1218
|
config_attr :credentials, nil do |value|
|
1219
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1220
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1219
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1220
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
1221
1221
|
allowed.any? { |klass| klass === value }
|
1222
1222
|
end
|
1223
1223
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -709,8 +709,8 @@ module Google
|
|
709
709
|
|
710
710
|
config_attr :endpoint, nil, ::String, nil
|
711
711
|
config_attr :credentials, nil do |value|
|
712
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
713
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
712
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
713
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
714
714
|
allowed.any? { |klass| klass === value }
|
715
715
|
end
|
716
716
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -1119,7 +1119,7 @@ module Google
|
|
1119
1119
|
|
1120
1120
|
config_attr :endpoint, nil, ::String, nil
|
1121
1121
|
config_attr :credentials, nil do |value|
|
1122
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1122
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1123
1123
|
allowed.any? { |klass| klass === value }
|
1124
1124
|
end
|
1125
1125
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -655,7 +655,7 @@ module Google
|
|
655
655
|
|
656
656
|
config_attr :endpoint, nil, ::String, nil
|
657
657
|
config_attr :credentials, nil do |value|
|
658
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
658
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
659
659
|
allowed.any? { |klass| klass === value }
|
660
660
|
end
|
661
661
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -618,8 +618,8 @@ module Google
|
|
618
618
|
|
619
619
|
config_attr :endpoint, nil, ::String, nil
|
620
620
|
config_attr :credentials, nil do |value|
|
621
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
622
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
621
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
622
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
623
623
|
allowed.any? { |klass| klass === value }
|
624
624
|
end
|
625
625
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -709,8 +709,8 @@ module Google
|
|
709
709
|
|
710
710
|
config_attr :endpoint, nil, ::String, nil
|
711
711
|
config_attr :credentials, nil do |value|
|
712
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
713
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
712
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
713
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
714
714
|
allowed.any? { |klass| klass === value }
|
715
715
|
end
|
716
716
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -572,7 +572,7 @@ module Google
|
|
572
572
|
|
573
573
|
config_attr :endpoint, nil, ::String, nil
|
574
574
|
config_attr :credentials, nil do |value|
|
575
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
575
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
576
576
|
allowed.any? { |klass| klass === value }
|
577
577
|
end
|
578
578
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -655,7 +655,7 @@ module Google
|
|
655
655
|
|
656
656
|
config_attr :endpoint, nil, ::String, nil
|
657
657
|
config_attr :credentials, nil do |value|
|
658
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
658
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
659
659
|
allowed.any? { |klass| klass === value }
|
660
660
|
end
|
661
661
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
|
@@ -1130,8 +1130,8 @@ module Google
|
|
1130
1130
|
|
1131
1131
|
config_attr :endpoint, nil, ::String, nil
|
1132
1132
|
config_attr :credentials, nil do |value|
|
1133
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1134
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1133
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1134
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
1135
1135
|
allowed.any? { |klass| klass === value }
|
1136
1136
|
end
|
1137
1137
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -709,8 +709,8 @@ module Google
|
|
709
709
|
|
710
710
|
config_attr :endpoint, nil, ::String, nil
|
711
711
|
config_attr :credentials, nil do |value|
|
712
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
713
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
712
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
713
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
714
714
|
allowed.any? { |klass| klass === value }
|
715
715
|
end
|
716
716
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -1043,7 +1043,7 @@ module Google
|
|
1043
1043
|
|
1044
1044
|
config_attr :endpoint, nil, ::String, nil
|
1045
1045
|
config_attr :credentials, nil do |value|
|
1046
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1046
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1047
1047
|
allowed.any? { |klass| klass === value }
|
1048
1048
|
end
|
1049
1049
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -655,7 +655,7 @@ module Google
|
|
655
655
|
|
656
656
|
config_attr :endpoint, nil, ::String, nil
|
657
657
|
config_attr :credentials, nil do |value|
|
658
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
658
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
659
659
|
allowed.any? { |klass| klass === value }
|
660
660
|
end
|
661
661
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -492,8 +492,8 @@ module Google
|
|
492
492
|
|
493
493
|
config_attr :endpoint, nil, ::String, nil
|
494
494
|
config_attr :credentials, nil do |value|
|
495
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
496
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
495
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
496
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
497
497
|
allowed.any? { |klass| klass === value }
|
498
498
|
end
|
499
499
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -462,7 +462,7 @@ module Google
|
|
462
462
|
|
463
463
|
config_attr :endpoint, nil, ::String, nil
|
464
464
|
config_attr :credentials, nil do |value|
|
465
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
465
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
466
466
|
allowed.any? { |klass| klass === value }
|
467
467
|
end
|
468
468
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -52,7 +52,7 @@ module Google
|
|
52
52
|
# The routing header consists of one or multiple key-value pairs. Every key
|
53
53
|
# and value must be percent-encoded, and joined together in the format of
|
54
54
|
# `key1=value1&key2=value2`.
|
55
|
-
#
|
55
|
+
# The examples below skip the percent-encoding for readability.
|
56
56
|
#
|
57
57
|
# Example 1
|
58
58
|
#
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# The build will clean up the temporary image on a best-effort basis.
|
88
88
|
# @!attribute [rw] base_image
|
89
89
|
# @return [::String]
|
90
|
-
# Optional. The base image
|
90
|
+
# Optional. The base image to use for the build.
|
91
91
|
# @!attribute [rw] environment_variables
|
92
92
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
93
93
|
# Optional. User-provided build-time environment variables.
|
@@ -96,6 +96,11 @@ module Google
|
|
96
96
|
# Optional. Whether or not the application container will be enrolled in
|
97
97
|
# automatic base image updates. When true, the application will be built on
|
98
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.
|
99
104
|
class BuildpacksBuild
|
100
105
|
include ::Google::Protobuf::MessageExts
|
101
106
|
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
|
@@ -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
|
@@ -486,6 +493,19 @@ module Google
|
|
486
493
|
include ::Google::Protobuf::MessageExts
|
487
494
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
488
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
|
489
509
|
end
|
490
510
|
end
|
491
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,
|
@@ -172,6 +172,61 @@ module Google
|
|
172
172
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
173
173
|
end
|
174
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
|
+
|
175
230
|
# Allowed ingress traffic for the Container.
|
176
231
|
module IngressTraffic
|
177
232
|
# Unspecified
|
metadata
CHANGED
@@ -1,13 +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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: gapic-common
|
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: '0'
|
215
215
|
requirements: []
|
216
|
-
rubygems_version: 3.6.
|
216
|
+
rubygems_version: 3.6.8
|
217
217
|
specification_version: 4
|
218
218
|
summary: Deploy and manage user provided container images that scale automatically
|
219
219
|
based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving
|