google-cloud-run-v2 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- 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/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
- 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: 01a731c6870148aebc38e963aadf7d7a4ce8a8443dbc7fff301d9c7b744737b7
|
4
|
+
data.tar.gz: 22f72e27426657902a9782a72c9eb3d1f9ef7e6b44ff508c0599831bfc998f57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e55020293a92f520a60b4fed3a991d9aec401f6339bdab446899351c217ea9cfe29658fb009b286db24f218f2fda99acabbd3812f5fe2418f5682f58db0e995
|
7
|
+
data.tar.gz: 4e9963849ff1c58f75799f2c09cdb99cd947e5d7bfab7fc3b27798318d5b046832f7c2f73a7fe07cc2ba5c123b839a6893fb389403341d70ec8cda5fd62f9df8
|
@@ -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
|
@@ -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
|
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.9.
|
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-06-
|
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.
|
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
|