google-cloud-run-v2 0.8.0 → 0.9.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/condition_pb.rb +25 -65
- data/lib/google/cloud/run/v2/execution_pb.rb +27 -48
- data/lib/google/cloud/run/v2/execution_template_pb.rb +25 -8
- data/lib/google/cloud/run/v2/executions/client.rb +4 -2
- data/lib/google/cloud/run/v2/executions/operations.rb +3 -1
- data/lib/google/cloud/run/v2/executions/rest/client.rb +4 -2
- data/lib/google/cloud/run/v2/executions/rest/operations.rb +8 -6
- data/lib/google/cloud/run/v2/executions/rest/service_stub.rb +3 -3
- data/lib/google/cloud/run/v2/job_pb.rb +28 -66
- data/lib/google/cloud/run/v2/jobs/client.rb +4 -2
- data/lib/google/cloud/run/v2/jobs/operations.rb +3 -1
- data/lib/google/cloud/run/v2/jobs/rest/client.rb +4 -2
- data/lib/google/cloud/run/v2/jobs/rest/operations.rb +8 -6
- data/lib/google/cloud/run/v2/jobs/rest/service_stub.rb +9 -9
- data/lib/google/cloud/run/v2/k8s.min_pb.rb +24 -88
- data/lib/google/cloud/run/v2/revision_pb.rb +29 -50
- data/lib/google/cloud/run/v2/revision_template_pb.rb +27 -16
- data/lib/google/cloud/run/v2/revisions/client.rb +4 -2
- data/lib/google/cloud/run/v2/revisions/operations.rb +3 -1
- data/lib/google/cloud/run/v2/revisions/rest/client.rb +4 -2
- data/lib/google/cloud/run/v2/revisions/rest/operations.rb +8 -6
- data/lib/google/cloud/run/v2/revisions/rest/service_stub.rb +3 -3
- data/lib/google/cloud/run/v2/service_pb.rb +29 -61
- data/lib/google/cloud/run/v2/services/client.rb +4 -2
- data/lib/google/cloud/run/v2/services/operations.rb +3 -1
- data/lib/google/cloud/run/v2/services/rest/client.rb +4 -2
- data/lib/google/cloud/run/v2/services/rest/operations.rb +8 -6
- data/lib/google/cloud/run/v2/services/rest/service_stub.rb +8 -8
- data/lib/google/cloud/run/v2/task_pb.rb +30 -50
- data/lib/google/cloud/run/v2/task_template_pb.rb +27 -13
- data/lib/google/cloud/run/v2/tasks/client.rb +4 -2
- data/lib/google/cloud/run/v2/tasks/rest/client.rb +4 -2
- data/lib/google/cloud/run/v2/tasks/rest/service_stub.rb +2 -2
- data/lib/google/cloud/run/v2/traffic_target_pb.rb +24 -19
- data/lib/google/cloud/run/v2/vendor_settings_pb.rb +24 -36
- data/lib/google/cloud/run/v2/version.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
| @@ -140,7 +140,7 @@ module Google | |
| 140 140 | 
             
                          credentials = @config.credentials
         | 
| 141 141 | 
             
                          # Use self-signed JWT if the endpoint is unchanged from default,
         | 
| 142 142 | 
             
                          # but only if the default endpoint does not have a region prefix.
         | 
| 143 | 
            -
                          enable_self_signed_jwt = @config.endpoint ==  | 
| 143 | 
            +
                          enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
         | 
| 144 144 | 
             
                                                   !@config.endpoint.split(".").first.include?("-")
         | 
| 145 145 | 
             
                          credentials ||= Credentials.default scope: @config.scope,
         | 
| 146 146 | 
             
                                                              enable_self_signed_jwt: enable_self_signed_jwt
         | 
| @@ -1059,7 +1059,9 @@ module Google | |
| 1059 1059 | 
             
                        class Configuration
         | 
| 1060 1060 | 
             
                          extend ::Gapic::Config
         | 
| 1061 1061 |  | 
| 1062 | 
            -
                           | 
| 1062 | 
            +
                          DEFAULT_ENDPOINT = "run.googleapis.com"
         | 
| 1063 | 
            +
             | 
| 1064 | 
            +
                          config_attr :endpoint,      DEFAULT_ENDPOINT, ::String
         | 
| 1063 1065 | 
             
                          config_attr :credentials,   nil do |value|
         | 
| 1064 1066 | 
             
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         | 
| 1065 1067 | 
             
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
         | 
| @@ -672,7 +672,9 @@ module Google | |
| 672 672 | 
             
                        class Configuration
         | 
| 673 673 | 
             
                          extend ::Gapic::Config
         | 
| 674 674 |  | 
| 675 | 
            -
                           | 
| 675 | 
            +
                          DEFAULT_ENDPOINT = "run.googleapis.com"
         | 
| 676 | 
            +
             | 
| 677 | 
            +
                          config_attr :endpoint,      DEFAULT_ENDPOINT, ::String
         | 
| 676 678 | 
             
                          config_attr :credentials,   nil do |value|
         | 
| 677 679 | 
             
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         | 
| 678 680 | 
             
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
         | 
| @@ -136,7 +136,7 @@ module Google | |
| 136 136 | 
             
                            credentials = @config.credentials
         | 
| 137 137 | 
             
                            # Use self-signed JWT if the endpoint is unchanged from default,
         | 
| 138 138 | 
             
                            # but only if the default endpoint does not have a region prefix.
         | 
| 139 | 
            -
                            enable_self_signed_jwt = @config.endpoint ==  | 
| 139 | 
            +
                            enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
         | 
| 140 140 | 
             
                                                     !@config.endpoint.split(".").first.include?("-")
         | 
| 141 141 | 
             
                            credentials ||= Credentials.default scope: @config.scope,
         | 
| 142 142 | 
             
                                                                enable_self_signed_jwt: enable_self_signed_jwt
         | 
| @@ -817,7 +817,9 @@ module Google | |
| 817 817 | 
             
                          class Configuration
         | 
| 818 818 | 
             
                            extend ::Gapic::Config
         | 
| 819 819 |  | 
| 820 | 
            -
                             | 
| 820 | 
            +
                            DEFAULT_ENDPOINT = "run.googleapis.com"
         | 
| 821 | 
            +
             | 
| 822 | 
            +
                            config_attr :endpoint,      DEFAULT_ENDPOINT, ::String
         | 
| 821 823 | 
             
                            config_attr :credentials,   nil do |value|
         | 
| 822 824 | 
             
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         | 
| 823 825 | 
             
                              allowed.any? { |klass| klass === value }
         | 
| @@ -521,7 +521,9 @@ module Google | |
| 521 521 | 
             
                          class Configuration
         | 
| 522 522 | 
             
                            extend ::Gapic::Config
         | 
| 523 523 |  | 
| 524 | 
            -
                             | 
| 524 | 
            +
                            DEFAULT_ENDPOINT = "run.googleapis.com"
         | 
| 525 | 
            +
             | 
| 526 | 
            +
                            config_attr :endpoint,      DEFAULT_ENDPOINT, ::String
         | 
| 525 527 | 
             
                            config_attr :credentials,   nil do |value|
         | 
| 526 528 | 
             
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         | 
| 527 529 | 
             
                              allowed.any? { |klass| klass === value }
         | 
| @@ -649,7 +651,7 @@ module Google | |
| 649 651 |  | 
| 650 652 | 
             
                            verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
         | 
| 651 653 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 652 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 654 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 653 655 | 
             
                                                  else
         | 
| 654 656 | 
             
                                                    {}
         | 
| 655 657 | 
             
                                                  end
         | 
| @@ -687,7 +689,7 @@ module Google | |
| 687 689 |  | 
| 688 690 | 
             
                            verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
         | 
| 689 691 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 690 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 692 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 691 693 | 
             
                                                  else
         | 
| 692 694 | 
             
                                                    {}
         | 
| 693 695 | 
             
                                                  end
         | 
| @@ -725,7 +727,7 @@ module Google | |
| 725 727 |  | 
| 726 728 | 
             
                            verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
         | 
| 727 729 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 728 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 730 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 729 731 | 
             
                                                  else
         | 
| 730 732 | 
             
                                                    {}
         | 
| 731 733 | 
             
                                                  end
         | 
| @@ -763,7 +765,7 @@ module Google | |
| 763 765 |  | 
| 764 766 | 
             
                            verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
         | 
| 765 767 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 766 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 768 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 767 769 | 
             
                                                  else
         | 
| 768 770 | 
             
                                                    {}
         | 
| 769 771 | 
             
                                                  end
         | 
| @@ -801,7 +803,7 @@ module Google | |
| 801 803 |  | 
| 802 804 | 
             
                            verb, uri, query_string_params, body = OperationsServiceStub.transcode_wait_operation_request request_pb
         | 
| 803 805 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 804 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 806 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 805 807 | 
             
                                                  else
         | 
| 806 808 | 
             
                                                    {}
         | 
| 807 809 | 
             
                                                  end
         | 
| @@ -59,7 +59,7 @@ module Google | |
| 59 59 |  | 
| 60 60 | 
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_create_service_request request_pb
         | 
| 61 61 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 62 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 62 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 63 63 | 
             
                                                  else
         | 
| 64 64 | 
             
                                                    {}
         | 
| 65 65 | 
             
                                                  end
         | 
| @@ -97,7 +97,7 @@ module Google | |
| 97 97 |  | 
| 98 98 | 
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_get_service_request request_pb
         | 
| 99 99 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 100 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 100 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 101 101 | 
             
                                                  else
         | 
| 102 102 | 
             
                                                    {}
         | 
| 103 103 | 
             
                                                  end
         | 
| @@ -135,7 +135,7 @@ module Google | |
| 135 135 |  | 
| 136 136 | 
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_list_services_request request_pb
         | 
| 137 137 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 138 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 138 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 139 139 | 
             
                                                  else
         | 
| 140 140 | 
             
                                                    {}
         | 
| 141 141 | 
             
                                                  end
         | 
| @@ -173,7 +173,7 @@ module Google | |
| 173 173 |  | 
| 174 174 | 
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_update_service_request request_pb
         | 
| 175 175 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 176 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 176 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 177 177 | 
             
                                                  else
         | 
| 178 178 | 
             
                                                    {}
         | 
| 179 179 | 
             
                                                  end
         | 
| @@ -211,7 +211,7 @@ module Google | |
| 211 211 |  | 
| 212 212 | 
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_delete_service_request request_pb
         | 
| 213 213 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 214 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 214 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 215 215 | 
             
                                                  else
         | 
| 216 216 | 
             
                                                    {}
         | 
| 217 217 | 
             
                                                  end
         | 
| @@ -249,7 +249,7 @@ module Google | |
| 249 249 |  | 
| 250 250 | 
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_get_iam_policy_request request_pb
         | 
| 251 251 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 252 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 252 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 253 253 | 
             
                                                  else
         | 
| 254 254 | 
             
                                                    {}
         | 
| 255 255 | 
             
                                                  end
         | 
| @@ -287,7 +287,7 @@ module Google | |
| 287 287 |  | 
| 288 288 | 
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_set_iam_policy_request request_pb
         | 
| 289 289 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 290 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 290 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 291 291 | 
             
                                                  else
         | 
| 292 292 | 
             
                                                    {}
         | 
| 293 293 | 
             
                                                  end
         | 
| @@ -325,7 +325,7 @@ module Google | |
| 325 325 |  | 
| 326 326 | 
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_test_iam_permissions_request request_pb
         | 
| 327 327 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 328 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 328 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 329 329 | 
             
                                                  else
         | 
| 330 330 | 
             
                                                    {}
         | 
| 331 331 | 
             
                                                  end
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/run/v2/task.proto
         | 
| 3 4 |  | 
| @@ -14,58 +15,37 @@ require 'google/protobuf/duration_pb' | |
| 14 15 | 
             
            require 'google/protobuf/timestamp_pb'
         | 
| 15 16 | 
             
            require 'google/rpc/status_pb'
         | 
| 16 17 |  | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
             | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 29 | 
            -
             | 
| 30 | 
            -
             | 
| 31 | 
            -
             | 
| 32 | 
            -
             | 
| 33 | 
            -
             | 
| 34 | 
            -
             | 
| 35 | 
            -
             | 
| 36 | 
            -
             | 
| 37 | 
            -
             | 
| 38 | 
            -
             | 
| 39 | 
            -
             | 
| 40 | 
            -
             | 
| 41 | 
            -
             | 
| 42 | 
            -
             | 
| 43 | 
            -
                   | 
| 44 | 
            -
                  optional :job, :string, 12
         | 
| 45 | 
            -
                  optional :execution, :string, 13
         | 
| 46 | 
            -
                  repeated :containers, :message, 14, "google.cloud.run.v2.Container"
         | 
| 47 | 
            -
                  repeated :volumes, :message, 15, "google.cloud.run.v2.Volume"
         | 
| 48 | 
            -
                  optional :max_retries, :int32, 16
         | 
| 49 | 
            -
                  optional :timeout, :message, 17, "google.protobuf.Duration"
         | 
| 50 | 
            -
                  optional :service_account, :string, 18
         | 
| 51 | 
            -
                  optional :execution_environment, :enum, 20, "google.cloud.run.v2.ExecutionEnvironment"
         | 
| 52 | 
            -
                  optional :reconciling, :bool, 21
         | 
| 53 | 
            -
                  repeated :conditions, :message, 22, "google.cloud.run.v2.Condition"
         | 
| 54 | 
            -
                  optional :observed_generation, :int64, 23
         | 
| 55 | 
            -
                  optional :index, :int32, 24
         | 
| 56 | 
            -
                  optional :retried, :int32, 25
         | 
| 57 | 
            -
                  optional :last_attempt_result, :message, 26, "google.cloud.run.v2.TaskAttemptResult"
         | 
| 58 | 
            -
                  optional :encryption_key, :string, 28
         | 
| 59 | 
            -
                  optional :vpc_access, :message, 29, "google.cloud.run.v2.VpcAccess"
         | 
| 60 | 
            -
                  optional :log_uri, :string, 32
         | 
| 61 | 
            -
                  optional :satisfies_pzs, :bool, 33
         | 
| 62 | 
            -
                  optional :etag, :string, 99
         | 
| 63 | 
            -
                end
         | 
| 64 | 
            -
                add_message "google.cloud.run.v2.TaskAttemptResult" do
         | 
| 65 | 
            -
                  optional :status, :message, 1, "google.rpc.Status"
         | 
| 66 | 
            -
                  optional :exit_code, :int32, 2
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            descriptor_data = "\n\x1egoogle/cloud/run/v2/task.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/cloud/run/v2/condition.proto\x1a!google/cloud/run/v2/k8s.min.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"?\n\x0eGetTaskRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\n\x17run.googleapis.com/Task\"\x80\x01\n\x10ListTasksRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17run.googleapis.com/Task\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\"V\n\x11ListTasksResponse\x12(\n\x05tasks\x18\x01 \x03(\x0b\x32\x19.google.cloud.run.v2.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xff\x0b\n\x04Task\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\x17\n\ngeneration\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12:\n\x06labels\x18\x04 \x03(\x0b\x32%.google.cloud.run.v2.Task.LabelsEntryB\x03\xe0\x41\x03\x12\x44\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32*.google.cloud.run.v2.Task.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\x1b \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\x03job\x18\x0c \x01(\tB\x1e\xe0\x41\x03\xfa\x41\x18\n\x16run.googleapis.com/Job\x12\x37\n\texecution\x18\r \x01(\tB$\xe0\x41\x03\xfa\x41\x1e\n\x1crun.googleapis.com/Execution\x12\x32\n\ncontainers\x18\x0e \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12,\n\x07volumes\x18\x0f \x03(\x0b\x32\x1b.google.cloud.run.v2.Volume\x12\x13\n\x0bmax_retries\x18\x10 \x01(\x05\x12*\n\x07timeout\x18\x11 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x17\n\x0fservice_account\x18\x12 \x01(\t\x12H\n\x15\x65xecution_environment\x18\x14 \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironment\x12\x18\n\x0breconciling\x18\x15 \x01(\x08\x42\x03\xe0\x41\x03\x12\x37\n\nconditions\x18\x16 \x03(\x0b\x32\x1e.google.cloud.run.v2.ConditionB\x03\xe0\x41\x03\x12 \n\x13observed_generation\x18\x17 \x01(\x03\x42\x03\xe0\x41\x03\x12\x12\n\x05index\x18\x18 \x01(\x05\x42\x03\xe0\x41\x03\x12\x14\n\x07retried\x18\x19 \x01(\x05\x42\x03\xe0\x41\x03\x12H\n\x13last_attempt_result\x18\x1a \x01(\x0b\x32&.google.cloud.run.v2.TaskAttemptResultB\x03\xe0\x41\x03\x12\x41\n\x0e\x65ncryption_key\x18\x1c \x01(\tB)\xe0\x41\x03\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x37\n\nvpc_access\x18\x1d \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\x03\xe0\x41\x03\x12\x14\n\x07log_uri\x18  \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsatisfies_pzs\x18! \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:w\xea\x41t\n\x17run.googleapis.com/Task\x12Vprojects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task}R\x01\x01\"T\n\x11TaskAttemptResult\x12\'\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x16\n\texit_code\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x32\x96\x03\n\x05Tasks\x12\x97\x01\n\x07GetTask\x12#.google.cloud.run.v2.GetTaskRequest\x1a\x19.google.cloud.run.v2.Task\"L\x82\xd3\xe4\x93\x02?\x12=/v2/{name=projects/*/locations/*/jobs/*/executions/*/tasks/*}\xda\x41\x04name\x12\xaa\x01\n\tListTasks\x12%.google.cloud.run.v2.ListTasksRequest\x1a&.google.cloud.run.v2.ListTasksResponse\"N\x82\xd3\xe4\x93\x02?\x12=/v2/{parent=projects/*/locations/*/jobs/*/executions/*}/tasks\xda\x41\x06parent\x1a\x46\xca\x41\x12run.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBQ\n\x17\x63om.google.cloud.run.v2B\tTaskProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
         | 
| 20 | 
            +
             | 
| 21 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 22 | 
            +
             | 
| 23 | 
            +
            begin
         | 
| 24 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 25 | 
            +
            rescue TypeError => e
         | 
| 26 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 27 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 28 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 29 | 
            +
              parsed.clear_dependency
         | 
| 30 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 31 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 32 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 33 | 
            +
              imports = [
         | 
| 34 | 
            +
                ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
         | 
| 35 | 
            +
                ["google.cloud.run.v2.Container", "google/cloud/run/v2/k8s.min.proto"],
         | 
| 36 | 
            +
                ["google.protobuf.Duration", "google/protobuf/duration.proto"],
         | 
| 37 | 
            +
                ["google.cloud.run.v2.Condition", "google/cloud/run/v2/condition.proto"],
         | 
| 38 | 
            +
                ["google.cloud.run.v2.VpcAccess", "google/cloud/run/v2/vendor_settings.proto"],
         | 
| 39 | 
            +
                ["google.rpc.Status", "google/rpc/status.proto"],
         | 
| 40 | 
            +
              ]
         | 
| 41 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 42 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 43 | 
            +
                if import_file.name != expected_filename
         | 
| 44 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 67 45 | 
             
                end
         | 
| 68 46 | 
             
              end
         | 
| 47 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 48 | 
            +
              warn "This will become an error in the next major version."
         | 
| 69 49 | 
             
            end
         | 
| 70 50 |  | 
| 71 51 | 
             
            module Google
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/run/v2/task_template.proto
         | 
| 3 4 |  | 
| @@ -8,21 +9,34 @@ require 'google/cloud/run/v2/k8s.min_pb' | |
| 8 9 | 
             
            require 'google/cloud/run/v2/vendor_settings_pb'
         | 
| 9 10 | 
             
            require 'google/protobuf/duration_pb'
         | 
| 10 11 |  | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 12 | 
            +
             | 
| 13 | 
            +
            descriptor_data = "\n\'google/cloud/run/v2/task_template.proto\x12\x13google.cloud.run.v2\x1a\x19google/api/resource.proto\x1a!google/cloud/run/v2/k8s.min.proto\x1a)google/cloud/run/v2/vendor_settings.proto\x1a\x1egoogle/protobuf/duration.proto\"\x95\x03\n\x0cTaskTemplate\x12\x32\n\ncontainers\x18\x01 \x03(\x0b\x32\x1e.google.cloud.run.v2.Container\x12,\n\x07volumes\x18\x02 \x03(\x0b\x32\x1b.google.cloud.run.v2.Volume\x12\x15\n\x0bmax_retries\x18\x03 \x01(\x05H\x00\x12*\n\x07timeout\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x17\n\x0fservice_account\x18\x05 \x01(\t\x12H\n\x15\x65xecution_environment\x18\x06 \x01(\x0e\x32).google.cloud.run.v2.ExecutionEnvironment\x12>\n\x0e\x65ncryption_key\x18\x07 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x32\n\nvpc_access\x18\x08 \x01(\x0b\x32\x1e.google.cloud.run.v2.VpcAccessB\t\n\x07retriesBY\n\x17\x63om.google.cloud.run.v2B\x11TaskTemplateProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            begin
         | 
| 18 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 19 | 
            +
            rescue TypeError => e
         | 
| 20 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 21 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 22 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 23 | 
            +
              parsed.clear_dependency
         | 
| 24 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 25 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 26 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 27 | 
            +
              imports = [
         | 
| 28 | 
            +
                ["google.cloud.run.v2.Container", "google/cloud/run/v2/k8s.min.proto"],
         | 
| 29 | 
            +
                ["google.protobuf.Duration", "google/protobuf/duration.proto"],
         | 
| 30 | 
            +
                ["google.cloud.run.v2.VpcAccess", "google/cloud/run/v2/vendor_settings.proto"],
         | 
| 31 | 
            +
              ]
         | 
| 32 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 33 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 34 | 
            +
                if import_file.name != expected_filename
         | 
| 35 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 24 36 | 
             
                end
         | 
| 25 37 | 
             
              end
         | 
| 38 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 39 | 
            +
              warn "This will become an error in the next major version."
         | 
| 26 40 | 
             
            end
         | 
| 27 41 |  | 
| 28 42 | 
             
            module Google
         | 
| @@ -124,7 +124,7 @@ module Google | |
| 124 124 | 
             
                          credentials = @config.credentials
         | 
| 125 125 | 
             
                          # Use self-signed JWT if the endpoint is unchanged from default,
         | 
| 126 126 | 
             
                          # but only if the default endpoint does not have a region prefix.
         | 
| 127 | 
            -
                          enable_self_signed_jwt = @config.endpoint ==  | 
| 127 | 
            +
                          enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
         | 
| 128 128 | 
             
                                                   !@config.endpoint.split(".").first.include?("-")
         | 
| 129 129 | 
             
                          credentials ||= Credentials.default scope: @config.scope,
         | 
| 130 130 | 
             
                                                              enable_self_signed_jwt: enable_self_signed_jwt
         | 
| @@ -427,7 +427,9 @@ module Google | |
| 427 427 | 
             
                        class Configuration
         | 
| 428 428 | 
             
                          extend ::Gapic::Config
         | 
| 429 429 |  | 
| 430 | 
            -
                           | 
| 430 | 
            +
                          DEFAULT_ENDPOINT = "run.googleapis.com"
         | 
| 431 | 
            +
             | 
| 432 | 
            +
                          config_attr :endpoint,      DEFAULT_ENDPOINT, ::String
         | 
| 431 433 | 
             
                          config_attr :credentials,   nil do |value|
         | 
| 432 434 | 
             
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         | 
| 433 435 | 
             
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
         | 
| @@ -120,7 +120,7 @@ module Google | |
| 120 120 | 
             
                            credentials = @config.credentials
         | 
| 121 121 | 
             
                            # Use self-signed JWT if the endpoint is unchanged from default,
         | 
| 122 122 | 
             
                            # but only if the default endpoint does not have a region prefix.
         | 
| 123 | 
            -
                            enable_self_signed_jwt = @config.endpoint ==  | 
| 123 | 
            +
                            enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
         | 
| 124 124 | 
             
                                                     !@config.endpoint.split(".").first.include?("-")
         | 
| 125 125 | 
             
                            credentials ||= Credentials.default scope: @config.scope,
         | 
| 126 126 | 
             
                                                                enable_self_signed_jwt: enable_self_signed_jwt
         | 
| @@ -359,7 +359,9 @@ module Google | |
| 359 359 | 
             
                          class Configuration
         | 
| 360 360 | 
             
                            extend ::Gapic::Config
         | 
| 361 361 |  | 
| 362 | 
            -
                             | 
| 362 | 
            +
                            DEFAULT_ENDPOINT = "run.googleapis.com"
         | 
| 363 | 
            +
             | 
| 364 | 
            +
                            config_attr :endpoint,      DEFAULT_ENDPOINT, ::String
         | 
| 363 365 | 
             
                            config_attr :credentials,   nil do |value|
         | 
| 364 366 | 
             
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         | 
| 365 367 | 
             
                              allowed.any? { |klass| klass === value }
         | 
| @@ -59,7 +59,7 @@ module Google | |
| 59 59 |  | 
| 60 60 | 
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_get_task_request request_pb
         | 
| 61 61 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 62 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 62 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 63 63 | 
             
                                                  else
         | 
| 64 64 | 
             
                                                    {}
         | 
| 65 65 | 
             
                                                  end
         | 
| @@ -97,7 +97,7 @@ module Google | |
| 97 97 |  | 
| 98 98 | 
             
                            verb, uri, query_string_params, body = ServiceStub.transcode_list_tasks_request request_pb
         | 
| 99 99 | 
             
                            query_string_params = if query_string_params.any?
         | 
| 100 | 
            -
                                                    query_string_params.to_h { |p| p.split | 
| 100 | 
            +
                                                    query_string_params.to_h { |p| p.split "=", 2 }
         | 
| 101 101 | 
             
                                                  else
         | 
| 102 102 | 
             
                                                    {}
         | 
| 103 103 | 
             
                                                  end
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/run/v2/traffic_target.proto
         | 
| 3 4 |  | 
| @@ -5,27 +6,31 @@ require 'google/protobuf' | |
| 5 6 |  | 
| 6 7 | 
             
            require 'google/api/resource_pb'
         | 
| 7 8 |  | 
| 8 | 
            -
             | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
             | 
| 26 | 
            -
             | 
| 9 | 
            +
             | 
| 10 | 
            +
            descriptor_data = "\n(google/cloud/run/v2/traffic_target.proto\x12\x13google.cloud.run.v2\x1a\x19google/api/resource.proto\"\xa1\x01\n\rTrafficTarget\x12>\n\x04type\x18\x01 \x01(\x0e\x32\x30.google.cloud.run.v2.TrafficTargetAllocationType\x12\x32\n\x08revision\x18\x02 \x01(\tB \xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12\x0f\n\x07percent\x18\x03 \x01(\x05\x12\x0b\n\x03tag\x18\x04 \x01(\t\"\xb4\x01\n\x13TrafficTargetStatus\x12>\n\x04type\x18\x01 \x01(\x0e\x32\x30.google.cloud.run.v2.TrafficTargetAllocationType\x12\x32\n\x08revision\x18\x02 \x01(\tB \xfa\x41\x1d\n\x1brun.googleapis.com/Revision\x12\x0f\n\x07percent\x18\x03 \x01(\x05\x12\x0b\n\x03tag\x18\x04 \x01(\t\x12\x0b\n\x03uri\x18\x05 \x01(\t*\xa5\x01\n\x1bTrafficTargetAllocationType\x12.\n*TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED\x10\x00\x12)\n%TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST\x10\x01\x12+\n\'TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION\x10\x02\x42Z\n\x17\x63om.google.cloud.run.v2B\x12TrafficTargetProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            begin
         | 
| 15 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 16 | 
            +
            rescue TypeError => e
         | 
| 17 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 18 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 19 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 20 | 
            +
              parsed.clear_dependency
         | 
| 21 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 22 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 23 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 24 | 
            +
              imports = [
         | 
| 25 | 
            +
              ]
         | 
| 26 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 27 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 28 | 
            +
                if import_file.name != expected_filename
         | 
| 29 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 27 30 | 
             
                end
         | 
| 28 31 | 
             
              end
         | 
| 32 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 33 | 
            +
              warn "This will become an error in the next major version."
         | 
| 29 34 | 
             
            end
         | 
| 30 35 |  | 
| 31 36 | 
             
            module Google
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 1 2 | 
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         | 
| 2 3 | 
             
            # source: google/cloud/run/v2/vendor_settings.proto
         | 
| 3 4 |  | 
| @@ -5,44 +6,31 @@ require 'google/protobuf' | |
| 5 6 |  | 
| 6 7 | 
             
            require 'google/api/resource_pb'
         | 
| 7 8 |  | 
| 8 | 
            -
             | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
             | 
| 20 | 
            -
             | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
             | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 29 | 
            -
                add_enum "google.cloud.run.v2.IngressTraffic" do
         | 
| 30 | 
            -
                  value :INGRESS_TRAFFIC_UNSPECIFIED, 0
         | 
| 31 | 
            -
                  value :INGRESS_TRAFFIC_ALL, 1
         | 
| 32 | 
            -
                  value :INGRESS_TRAFFIC_INTERNAL_ONLY, 2
         | 
| 33 | 
            -
                  value :INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER, 3
         | 
| 34 | 
            -
                end
         | 
| 35 | 
            -
                add_enum "google.cloud.run.v2.ExecutionEnvironment" do
         | 
| 36 | 
            -
                  value :EXECUTION_ENVIRONMENT_UNSPECIFIED, 0
         | 
| 37 | 
            -
                  value :EXECUTION_ENVIRONMENT_GEN1, 1
         | 
| 38 | 
            -
                  value :EXECUTION_ENVIRONMENT_GEN2, 2
         | 
| 39 | 
            -
                end
         | 
| 40 | 
            -
                add_enum "google.cloud.run.v2.EncryptionKeyRevocationAction" do
         | 
| 41 | 
            -
                  value :ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED, 0
         | 
| 42 | 
            -
                  value :PREVENT_NEW, 1
         | 
| 43 | 
            -
                  value :SHUTDOWN, 2
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            descriptor_data = "\n)google/cloud/run/v2/vendor_settings.proto\x12\x13google.cloud.run.v2\x1a\x19google/api/resource.proto\"\xd4\x01\n\tVpcAccess\x12:\n\tconnector\x18\x01 \x01(\tB\'\xfa\x41$\n\"vpcaccess.googleapis.com/Connector\x12\x38\n\x06\x65gress\x18\x02 \x01(\x0e\x32(.google.cloud.run.v2.VpcAccess.VpcEgress\"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\"a\n\x13\x42inaryAuthorization\x12\x15\n\x0buse_default\x18\x01 \x01(\x08H\x00\x12 \n\x18\x62reakglass_justification\x18\x02 \x01(\tB\x11\n\x0f\x62inauthz_method\"I\n\x0fRevisionScaling\x12\x1a\n\x12min_instance_count\x18\x01 \x01(\x05\x12\x1a\n\x12max_instance_count\x18\x02 \x01(\x05*\x99\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*}\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[\n\x17\x63om.google.cloud.run.v2B\x13VendorSettingsProtoP\x01Z)cloud.google.com/go/run/apiv2/runpb;runpbb\x06proto3"
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            begin
         | 
| 15 | 
            +
              pool.add_serialized_file(descriptor_data)
         | 
| 16 | 
            +
            rescue TypeError => e
         | 
| 17 | 
            +
              # Compatibility code: will be removed in the next major version.
         | 
| 18 | 
            +
              require 'google/protobuf/descriptor_pb'
         | 
| 19 | 
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         | 
| 20 | 
            +
              parsed.clear_dependency
         | 
| 21 | 
            +
              serialized = parsed.class.encode(parsed)
         | 
| 22 | 
            +
              file = pool.add_serialized_file(serialized)
         | 
| 23 | 
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         | 
| 24 | 
            +
              imports = [
         | 
| 25 | 
            +
              ]
         | 
| 26 | 
            +
              imports.each do |type_name, expected_filename|
         | 
| 27 | 
            +
                import_file = pool.lookup(type_name).file_descriptor
         | 
| 28 | 
            +
                if import_file.name != expected_filename
         | 
| 29 | 
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         | 
| 44 30 | 
             
                end
         | 
| 45 31 | 
             
              end
         | 
| 32 | 
            +
              warn "Each proto file must use a consistent fully-qualified name."
         | 
| 33 | 
            +
              warn "This will become an error in the next major version."
         | 
| 46 34 | 
             
            end
         | 
| 47 35 |  | 
| 48 36 | 
             
            module Google
         | 
| @@ -43,8 +43,12 @@ module Google | |
| 43 43 | 
             
                #     if (any.is(Foo.class)) {
         | 
| 44 44 | 
             
                #       foo = any.unpack(Foo.class);
         | 
| 45 45 | 
             
                #     }
         | 
| 46 | 
            +
                #     // or ...
         | 
| 47 | 
            +
                #     if (any.isSameTypeAs(Foo.getDefaultInstance())) {
         | 
| 48 | 
            +
                #       foo = any.unpack(Foo.getDefaultInstance());
         | 
| 49 | 
            +
                #     }
         | 
| 46 50 | 
             
                #
         | 
| 47 | 
            -
                # | 
| 51 | 
            +
                #  Example 3: Pack and unpack a message in Python.
         | 
| 48 52 | 
             
                #
         | 
| 49 53 | 
             
                #     foo = Foo(...)
         | 
| 50 54 | 
             
                #     any = Any()
         | 
| @@ -54,7 +58,7 @@ module Google | |
| 54 58 | 
             
                #       any.Unpack(foo)
         | 
| 55 59 | 
             
                #       ...
         | 
| 56 60 | 
             
                #
         | 
| 57 | 
            -
                # | 
| 61 | 
            +
                #  Example 4: Pack and unpack a message in Go
         | 
| 58 62 | 
             
                #
         | 
| 59 63 | 
             
                #      foo := &pb.Foo{...}
         | 
| 60 64 | 
             
                #      any, err := anypb.New(foo)
         | 
| @@ -73,9 +77,8 @@ module Google | |
| 73 77 | 
             
                # in the type URL, for example "foo.bar.com/x/y.z" will yield type
         | 
| 74 78 | 
             
                # name "y.z".
         | 
| 75 79 | 
             
                #
         | 
| 76 | 
            -
                #
         | 
| 77 80 | 
             
                # JSON
         | 
| 78 | 
            -
                #
         | 
| 81 | 
            +
                # ====
         | 
| 79 82 | 
             
                # The JSON representation of an `Any` value uses the regular
         | 
| 80 83 | 
             
                # representation of the deserialized, embedded message, with an
         | 
| 81 84 | 
             
                # additional field `@type` which contains the type URL. Example:
         | 
| @@ -69,7 +69,6 @@ module Google | |
| 69 69 | 
             
                #     Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
         | 
| 70 70 | 
             
                #         .setNanos((int) ((millis % 1000) * 1000000)).build();
         | 
| 71 71 | 
             
                #
         | 
| 72 | 
            -
                #
         | 
| 73 72 | 
             
                # Example 5: Compute Timestamp from Java `Instant.now()`.
         | 
| 74 73 | 
             
                #
         | 
| 75 74 | 
             
                #     Instant now = Instant.now();
         | 
| @@ -78,7 +77,6 @@ module Google | |
| 78 77 | 
             
                #         Timestamp.newBuilder().setSeconds(now.getEpochSecond())
         | 
| 79 78 | 
             
                #             .setNanos(now.getNano()).build();
         | 
| 80 79 | 
             
                #
         | 
| 81 | 
            -
                #
         | 
| 82 80 | 
             
                # Example 6: Compute Timestamp from current time in Python.
         | 
| 83 81 | 
             
                #
         | 
| 84 82 | 
             
                #     timestamp = Timestamp()
         | 
| @@ -108,7 +106,7 @@ module Google | |
| 108 106 | 
             
                # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
         | 
| 109 107 | 
             
                # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
         | 
| 110 108 | 
             
                # the Joda Time's [`ISODateTimeFormat.dateTime()`](
         | 
| 111 | 
            -
                # http:// | 
| 109 | 
            +
                # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
         | 
| 112 110 | 
             
                # ) to obtain a formatter capable of generating timestamps in this format.
         | 
| 113 111 | 
             
                # @!attribute [rw] seconds
         | 
| 114 112 | 
             
                #   @return [::Integer]
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-cloud-run-v2
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.9.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023- | 
| 11 | 
            +
            date: 2023-06-06 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: gapic-common
         | 
| @@ -16,7 +16,7 @@ dependencies: | |
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - ">="
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: 0. | 
| 19 | 
            +
                    version: 0.19.1
         | 
| 20 20 | 
             
                - - "<"
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 22 | 
             
                    version: 2.a
         | 
| @@ -26,7 +26,7 @@ dependencies: | |
| 26 26 | 
             
                requirements:
         | 
| 27 27 | 
             
                - - ">="
         | 
| 28 28 | 
             
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            -
                    version: 0. | 
| 29 | 
            +
                    version: 0.19.1
         | 
| 30 30 | 
             
                - - "<"
         | 
| 31 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 32 | 
             
                    version: 2.a
         |