google-cloud-run-v2 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/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/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/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 +1 -1
- 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/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/version.rb +1 -1
- data/proto_docs/google/cloud/run/v2/service.rb +7 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e75fe5056cefd3b728971ea9d66ba693857fe440d47dd4e078605b138422a6c3
|
4
|
+
data.tar.gz: c7b8bedc33ec48d7f556148629dd5a72b67ec950609bc04aeebcbcf5707c0346
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1ab81792e132aad4a49d4a28fec7b1852aebc40fa1055c19f1d3c99d4924a9a76fd3f165d28c79adc41f840ffe5cc1a0d37ea5e9c8c02f5ba5d7274675d13b7
|
7
|
+
data.tar.gz: 21cc965d2fc1111637bab8ac0a42f7b2bda20f6aeb9f1ed53f772715713eca3140e0a931f35028cbb9a9d24010951145b4e4dbb35d48b2b3c0eb4e2327ef7737
|
@@ -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
|
@@ -543,7 +543,9 @@ module Google
|
|
543
543
|
class Configuration
|
544
544
|
extend ::Gapic::Config
|
545
545
|
|
546
|
-
|
546
|
+
DEFAULT_ENDPOINT = "run.googleapis.com"
|
547
|
+
|
548
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
547
549
|
config_attr :credentials, nil do |value|
|
548
550
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
549
551
|
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
|
@@ -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
|
@@ -445,7 +445,9 @@ module Google
|
|
445
445
|
class Configuration
|
446
446
|
extend ::Gapic::Config
|
447
447
|
|
448
|
-
|
448
|
+
DEFAULT_ENDPOINT = "run.googleapis.com"
|
449
|
+
|
450
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
449
451
|
config_attr :credentials, nil do |value|
|
450
452
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
451
453
|
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_get_execution_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_executions_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_delete_execution_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
|
@@ -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
|
@@ -1125,7 +1125,9 @@ module Google
|
|
1125
1125
|
class Configuration
|
1126
1126
|
extend ::Gapic::Config
|
1127
1127
|
|
1128
|
-
|
1128
|
+
DEFAULT_ENDPOINT = "run.googleapis.com"
|
1129
|
+
|
1130
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
1129
1131
|
config_attr :credentials, nil do |value|
|
1130
1132
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1131
1133
|
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
|
@@ -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
|
@@ -868,7 +868,9 @@ module Google
|
|
868
868
|
class Configuration
|
869
869
|
extend ::Gapic::Config
|
870
870
|
|
871
|
-
|
871
|
+
DEFAULT_ENDPOINT = "run.googleapis.com"
|
872
|
+
|
873
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
872
874
|
config_attr :credentials, nil do |value|
|
873
875
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
874
876
|
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_job_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_job_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_jobs_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_job_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_job_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_run_job_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_get_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_set_iam_policy_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
|
@@ -363,7 +363,7 @@ module Google
|
|
363
363
|
|
364
364
|
verb, uri, query_string_params, body = ServiceStub.transcode_test_iam_permissions_request request_pb
|
365
365
|
query_string_params = if query_string_params.any?
|
366
|
-
query_string_params.to_h { |p| p.split
|
366
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
367
367
|
else
|
368
368
|
{}
|
369
369
|
end
|
@@ -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
|
@@ -550,7 +550,9 @@ module Google
|
|
550
550
|
class Configuration
|
551
551
|
extend ::Gapic::Config
|
552
552
|
|
553
|
-
|
553
|
+
DEFAULT_ENDPOINT = "run.googleapis.com"
|
554
|
+
|
555
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
554
556
|
config_attr :credentials, nil do |value|
|
555
557
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
556
558
|
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
|
@@ -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
|
@@ -443,7 +443,9 @@ module Google
|
|
443
443
|
class Configuration
|
444
444
|
extend ::Gapic::Config
|
445
445
|
|
446
|
-
|
446
|
+
DEFAULT_ENDPOINT = "run.googleapis.com"
|
447
|
+
|
448
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
447
449
|
config_attr :credentials, nil do |value|
|
448
450
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
449
451
|
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_get_revision_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_revisions_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_delete_revision_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
|
@@ -20,7 +20,7 @@ require 'google/longrunning/operations_pb'
|
|
20
20
|
require 'google/protobuf/timestamp_pb'
|
21
21
|
|
22
22
|
|
23
|
-
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\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\"x\n\x14UpdateServiceRequest\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\x15\n\rallow_missing\x18\x04 \x01(\x08\"\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\"\
|
23
|
+
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\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\"x\n\x14UpdateServiceRequest\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\x15\n\rallow_missing\x18\x04 \x01(\x08\"\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\"\xce\x0b\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\x38\n\x06labels\x18\x05 \x03(\x0b\x32(.google.cloud.run.v2.Service.LabelsEntry\x12\x42\n\x0b\x61nnotations\x18\x06 \x03(\x0b\x32-.google.cloud.run.v2.Service.AnnotationsEntry\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\x34\n\x07ingress\x18\x0f \x01(\x0e\x32#.google.cloud.run.v2.IngressTraffic\x12-\n\x0claunch_stage\x18\x10 \x01(\x0e\x32\x17.google.api.LaunchStage\x12\x46\n\x14\x62inary_authorization\x18\x11 \x01(\x0b\x32(.google.cloud.run.v2.BinaryAuthorization\x12<\n\x08template\x18\x12 \x01(\x0b\x32%.google.cloud.run.v2.RevisionTemplateB\x03\xe0\x41\x02\x12\x33\n\x07traffic\x18\x13 \x03(\x0b\x32\".google.cloud.run.v2.TrafficTarget\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\x18\n\x10\x63ustom_audiences\x18% \x03(\t\x12\x1a\n\rsatisfies_pzs\x18& \x01(\x08\x42\x03\xe0\x41\x03\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\xb7\r\n\x08Services\x12\xfd\x01\n\rCreateService\x12).google.cloud.run.v2.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\x82\xd3\xe4\x93\x02\x37\",/v2/{parent=projects/*/locations/*}/services:\x07service\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\xda\x41\x19parent,service,service_id\xca\x41\x12\n\x07Service\x12\x07Service\x12\xc3\x01\n\nGetService\x12&.google.cloud.run.v2.GetServiceRequest\x1a\x1c.google.cloud.run.v2.Service\"o\x82\xd3\xe4\x93\x02.\x12,/v2/{name=projects/*/locations/*/services/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\xda\x41\x04name\x12\xd5\x01\n\x0cListServices\x12(.google.cloud.run.v2.ListServicesRequest\x1a).google.cloud.run.v2.ListServicesResponse\"p\x82\xd3\xe4\x93\x02.\x12,/v2/{parent=projects/*/locations/*}/services\x8a\xd3\xe4\x93\x02-\x12+\n\x06parent\x12!projects/*/locations/{location=*}\xda\x41\x06parent\x12\xfc\x01\n\rUpdateService\x12).google.cloud.run.v2.UpdateServiceRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\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=*}/**\xda\x41\x07service\xca\x41\x12\n\x07Service\x12\x07Service\x12\xe0\x01\n\rDeleteService\x12).google.cloud.run.v2.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\x82\xd3\xe4\x93\x02.*,/v2/{name=projects/*/locations/*/services/*}\x8a\xd3\xe4\x93\x02.\x12,\n\x04name\x12$projects/*/locations/{location=*}/**\xda\x41\x04name\xca\x41\x12\n\x07Service\x12\x07Service\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"
|
24
24
|
|
25
25
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
26
26
|
|
@@ -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
|
@@ -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
|
@@ -272,6 +272,13 @@ module Google
|
|
272
272
|
# @!attribute [r] uri
|
273
273
|
# @return [::String]
|
274
274
|
# Output only. The main URI in which this Service is serving traffic.
|
275
|
+
# @!attribute [rw] custom_audiences
|
276
|
+
# @return [::Array<::String>]
|
277
|
+
# One or more custom audiences that you want this service to support. Specify
|
278
|
+
# each custom audience as the full URL in a string. The custom audiences are
|
279
|
+
# encoded in the token and used to authenticate requests. For more
|
280
|
+
# information, see
|
281
|
+
# https://cloud.google.com/run/docs/configuring/custom-audiences.
|
275
282
|
# @!attribute [r] satisfies_pzs
|
276
283
|
# @return [::Boolean]
|
277
284
|
# Output only. Reserved for future use.
|
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.10.0
|
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-07-10 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.
|
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.19.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|