google-apis-run_v1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/run_v1.rb +1 -1
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/service.rb +67 -15
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c7e99b7037421074f36608200f01592a22a9f7f48700dd83c4b01d50a1e939b
|
4
|
+
data.tar.gz: a01c160f43fa8b25cd316afb824c1d761e98a43d2736983606407462d4b9da2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85bc07cc5e597931116e333fee1da4a2e917514cde156f751016558b53e5b24ef0fe83e4c4735d8450c8bf4dce8a752e6ef995b0bf4c1acd9933c5469d46b41e
|
7
|
+
data.tar.gz: 39d3f79b46ae6a2125bd4a5634c2e93a9cd60c9ba247b3492e479372de55c22bc62efeedcfff20639db7acc0c1845e06ff98f362142da98b2964caea4d579a9e
|
data/CHANGELOG.md
CHANGED
data/lib/google/apis/run_v1.rb
CHANGED
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RunV1
|
18
18
|
# Version of the google-apis-run_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210312"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -179,6 +179,9 @@ module Google
|
|
179
179
|
# The namespace in which the domain mapping should be created. For Cloud Run (
|
180
180
|
# fully managed), replace `namespace_id` with the project ID or number.
|
181
181
|
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
|
182
|
+
# @param [String] dry_run
|
183
|
+
# DryRun is a query string parameter which indicates that the server should run
|
184
|
+
# validation without persisting the request.
|
182
185
|
# @param [String] fields
|
183
186
|
# Selector specifying which fields to include in a partial response.
|
184
187
|
# @param [String] quota_user
|
@@ -196,13 +199,14 @@ module Google
|
|
196
199
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
197
200
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
198
201
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
199
|
-
def create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
202
|
+
def create_namespace_domainmapping(parent, domain_mapping_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
200
203
|
command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1/{+parent}/domainmappings', options)
|
201
204
|
command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
|
202
205
|
command.request_object = domain_mapping_object
|
203
206
|
command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
|
204
207
|
command.response_class = Google::Apis::RunV1::DomainMapping
|
205
208
|
command.params['parent'] = parent unless parent.nil?
|
209
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
206
210
|
command.query['fields'] = fields unless fields.nil?
|
207
211
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
208
212
|
execute_or_queue_command(command, &block)
|
@@ -214,6 +218,9 @@ module Google
|
|
214
218
|
# replace `namespace_id` with the project ID or number.
|
215
219
|
# @param [String] api_version
|
216
220
|
# Cloud Run currently ignores this parameter.
|
221
|
+
# @param [String] dry_run
|
222
|
+
# DryRun is a query string parameter which indicates that the server should run
|
223
|
+
# validation without persisting the request.
|
217
224
|
# @param [String] kind
|
218
225
|
# Cloud Run currently ignores this parameter.
|
219
226
|
# @param [String] propagation_policy
|
@@ -237,12 +244,13 @@ module Google
|
|
237
244
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
238
245
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
239
246
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
240
|
-
def delete_namespace_domainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
247
|
+
def delete_namespace_domainmapping(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
241
248
|
command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1/{+name}', options)
|
242
249
|
command.response_representation = Google::Apis::RunV1::Status::Representation
|
243
250
|
command.response_class = Google::Apis::RunV1::Status
|
244
251
|
command.params['name'] = name unless name.nil?
|
245
252
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
253
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
246
254
|
command.query['kind'] = kind unless kind.nil?
|
247
255
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
248
256
|
command.query['fields'] = fields unless fields.nil?
|
@@ -344,6 +352,9 @@ module Google
|
|
344
352
|
# namespace_id` with the project ID or number.
|
345
353
|
# @param [String] api_version
|
346
354
|
# Cloud Run currently ignores this parameter.
|
355
|
+
# @param [String] dry_run
|
356
|
+
# DryRun is a query string parameter which indicates that the server should run
|
357
|
+
# validation without persisting the request.
|
347
358
|
# @param [String] kind
|
348
359
|
# Cloud Run currently ignores this parameter.
|
349
360
|
# @param [String] propagation_policy
|
@@ -367,12 +378,13 @@ module Google
|
|
367
378
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
368
379
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
369
380
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
370
|
-
def delete_namespace_revision(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
381
|
+
def delete_namespace_revision(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
371
382
|
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
|
372
383
|
command.response_representation = Google::Apis::RunV1::Status::Representation
|
373
384
|
command.response_class = Google::Apis::RunV1::Status
|
374
385
|
command.params['name'] = name unless name.nil?
|
375
386
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
387
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
376
388
|
command.query['kind'] = kind unless kind.nil?
|
377
389
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
378
390
|
command.query['fields'] = fields unless fields.nil?
|
@@ -561,6 +573,9 @@ module Google
|
|
561
573
|
# The namespace in which the service should be created. For Cloud Run (fully
|
562
574
|
# managed), replace `namespace_id` with the project ID or number.
|
563
575
|
# @param [Google::Apis::RunV1::Service] service_object
|
576
|
+
# @param [String] dry_run
|
577
|
+
# DryRun is a query string parameter which indicates that the server should run
|
578
|
+
# validation without persisting the request.
|
564
579
|
# @param [String] fields
|
565
580
|
# Selector specifying which fields to include in a partial response.
|
566
581
|
# @param [String] quota_user
|
@@ -578,13 +593,14 @@ module Google
|
|
578
593
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
579
594
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
580
595
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
581
|
-
def create_namespace_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
596
|
+
def create_namespace_service(parent, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
582
597
|
command = make_simple_command(:post, 'apis/serving.knative.dev/v1/{+parent}/services', options)
|
583
598
|
command.request_representation = Google::Apis::RunV1::Service::Representation
|
584
599
|
command.request_object = service_object
|
585
600
|
command.response_representation = Google::Apis::RunV1::Service::Representation
|
586
601
|
command.response_class = Google::Apis::RunV1::Service
|
587
602
|
command.params['parent'] = parent unless parent.nil?
|
603
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
588
604
|
command.query['fields'] = fields unless fields.nil?
|
589
605
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
590
606
|
execute_or_queue_command(command, &block)
|
@@ -597,6 +613,9 @@ module Google
|
|
597
613
|
# namespace_id` with the project ID or number.
|
598
614
|
# @param [String] api_version
|
599
615
|
# Cloud Run currently ignores this parameter.
|
616
|
+
# @param [String] dry_run
|
617
|
+
# DryRun is a query string parameter which indicates that the server should run
|
618
|
+
# validation without persisting the request.
|
600
619
|
# @param [String] kind
|
601
620
|
# Cloud Run currently ignores this parameter.
|
602
621
|
# @param [String] propagation_policy
|
@@ -620,12 +639,13 @@ module Google
|
|
620
639
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
621
640
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
622
641
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
623
|
-
def delete_namespace_service(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
642
|
+
def delete_namespace_service(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
624
643
|
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1/{+name}', options)
|
625
644
|
command.response_representation = Google::Apis::RunV1::Status::Representation
|
626
645
|
command.response_class = Google::Apis::RunV1::Status
|
627
646
|
command.params['name'] = name unless name.nil?
|
628
647
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
648
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
629
649
|
command.query['kind'] = kind unless kind.nil?
|
630
650
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
631
651
|
command.query['fields'] = fields unless fields.nil?
|
@@ -729,6 +749,9 @@ module Google
|
|
729
749
|
# The name of the service being replaced. For Cloud Run (fully managed), replace
|
730
750
|
# `namespace_id` with the project ID or number.
|
731
751
|
# @param [Google::Apis::RunV1::Service] service_object
|
752
|
+
# @param [String] dry_run
|
753
|
+
# DryRun is a query string parameter which indicates that the server should run
|
754
|
+
# validation without persisting the request.
|
732
755
|
# @param [String] fields
|
733
756
|
# Selector specifying which fields to include in a partial response.
|
734
757
|
# @param [String] quota_user
|
@@ -746,13 +769,14 @@ module Google
|
|
746
769
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
747
770
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
748
771
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
749
|
-
def replace_namespace_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
772
|
+
def replace_namespace_service_service(name, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
750
773
|
command = make_simple_command(:put, 'apis/serving.knative.dev/v1/{+name}', options)
|
751
774
|
command.request_representation = Google::Apis::RunV1::Service::Representation
|
752
775
|
command.request_object = service_object
|
753
776
|
command.response_representation = Google::Apis::RunV1::Service::Representation
|
754
777
|
command.response_class = Google::Apis::RunV1::Service
|
755
778
|
command.params['name'] = name unless name.nil?
|
779
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
756
780
|
command.query['fields'] = fields unless fields.nil?
|
757
781
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
758
782
|
execute_or_queue_command(command, &block)
|
@@ -798,11 +822,15 @@ module Google
|
|
798
822
|
# @param [String] name
|
799
823
|
# The resource that owns the locations collection, if applicable.
|
800
824
|
# @param [String] filter
|
801
|
-
#
|
825
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
826
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
827
|
+
# AIP-160](https://google.aip.dev/160).
|
802
828
|
# @param [Fixnum] page_size
|
803
|
-
# The
|
829
|
+
# The maximum number of results to return. If not set, the service will select a
|
830
|
+
# default.
|
804
831
|
# @param [String] page_token
|
805
|
-
#
|
832
|
+
# A page token received from the `next_page_token` field in the response. Send
|
833
|
+
# that page token to receive the subsequent page.
|
806
834
|
# @param [String] fields
|
807
835
|
# Selector specifying which fields to include in a partial response.
|
808
836
|
# @param [String] quota_user
|
@@ -962,6 +990,9 @@ module Google
|
|
962
990
|
# The namespace in which the domain mapping should be created. For Cloud Run (
|
963
991
|
# fully managed), replace `namespace_id` with the project ID or number.
|
964
992
|
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
|
993
|
+
# @param [String] dry_run
|
994
|
+
# DryRun is a query string parameter which indicates that the server should run
|
995
|
+
# validation without persisting the request.
|
965
996
|
# @param [String] fields
|
966
997
|
# Selector specifying which fields to include in a partial response.
|
967
998
|
# @param [String] quota_user
|
@@ -979,13 +1010,14 @@ module Google
|
|
979
1010
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
980
1011
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
981
1012
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
982
|
-
def create_project_location_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1013
|
+
def create_project_location_domainmapping(parent, domain_mapping_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
983
1014
|
command = make_simple_command(:post, 'v1/{+parent}/domainmappings', options)
|
984
1015
|
command.request_representation = Google::Apis::RunV1::DomainMapping::Representation
|
985
1016
|
command.request_object = domain_mapping_object
|
986
1017
|
command.response_representation = Google::Apis::RunV1::DomainMapping::Representation
|
987
1018
|
command.response_class = Google::Apis::RunV1::DomainMapping
|
988
1019
|
command.params['parent'] = parent unless parent.nil?
|
1020
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
989
1021
|
command.query['fields'] = fields unless fields.nil?
|
990
1022
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
991
1023
|
execute_or_queue_command(command, &block)
|
@@ -997,6 +1029,9 @@ module Google
|
|
997
1029
|
# replace `namespace_id` with the project ID or number.
|
998
1030
|
# @param [String] api_version
|
999
1031
|
# Cloud Run currently ignores this parameter.
|
1032
|
+
# @param [String] dry_run
|
1033
|
+
# DryRun is a query string parameter which indicates that the server should run
|
1034
|
+
# validation without persisting the request.
|
1000
1035
|
# @param [String] kind
|
1001
1036
|
# Cloud Run currently ignores this parameter.
|
1002
1037
|
# @param [String] propagation_policy
|
@@ -1020,12 +1055,13 @@ module Google
|
|
1020
1055
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1021
1056
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1022
1057
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1023
|
-
def delete_project_location_domainmapping(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1058
|
+
def delete_project_location_domainmapping(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1024
1059
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1025
1060
|
command.response_representation = Google::Apis::RunV1::Status::Representation
|
1026
1061
|
command.response_class = Google::Apis::RunV1::Status
|
1027
1062
|
command.params['name'] = name unless name.nil?
|
1028
1063
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
1064
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
1029
1065
|
command.query['kind'] = kind unless kind.nil?
|
1030
1066
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
1031
1067
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1127,6 +1163,9 @@ module Google
|
|
1127
1163
|
# namespace_id` with the project ID or number.
|
1128
1164
|
# @param [String] api_version
|
1129
1165
|
# Cloud Run currently ignores this parameter.
|
1166
|
+
# @param [String] dry_run
|
1167
|
+
# DryRun is a query string parameter which indicates that the server should run
|
1168
|
+
# validation without persisting the request.
|
1130
1169
|
# @param [String] kind
|
1131
1170
|
# Cloud Run currently ignores this parameter.
|
1132
1171
|
# @param [String] propagation_policy
|
@@ -1150,12 +1189,13 @@ module Google
|
|
1150
1189
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1151
1190
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1152
1191
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1153
|
-
def delete_project_location_revision(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1192
|
+
def delete_project_location_revision(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1154
1193
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1155
1194
|
command.response_representation = Google::Apis::RunV1::Status::Representation
|
1156
1195
|
command.response_class = Google::Apis::RunV1::Status
|
1157
1196
|
command.params['name'] = name unless name.nil?
|
1158
1197
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
1198
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
1159
1199
|
command.query['kind'] = kind unless kind.nil?
|
1160
1200
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
1161
1201
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1344,6 +1384,9 @@ module Google
|
|
1344
1384
|
# The namespace in which the service should be created. For Cloud Run (fully
|
1345
1385
|
# managed), replace `namespace_id` with the project ID or number.
|
1346
1386
|
# @param [Google::Apis::RunV1::Service] service_object
|
1387
|
+
# @param [String] dry_run
|
1388
|
+
# DryRun is a query string parameter which indicates that the server should run
|
1389
|
+
# validation without persisting the request.
|
1347
1390
|
# @param [String] fields
|
1348
1391
|
# Selector specifying which fields to include in a partial response.
|
1349
1392
|
# @param [String] quota_user
|
@@ -1361,13 +1404,14 @@ module Google
|
|
1361
1404
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1362
1405
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1363
1406
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1364
|
-
def create_project_location_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1407
|
+
def create_project_location_service(parent, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1365
1408
|
command = make_simple_command(:post, 'v1/{+parent}/services', options)
|
1366
1409
|
command.request_representation = Google::Apis::RunV1::Service::Representation
|
1367
1410
|
command.request_object = service_object
|
1368
1411
|
command.response_representation = Google::Apis::RunV1::Service::Representation
|
1369
1412
|
command.response_class = Google::Apis::RunV1::Service
|
1370
1413
|
command.params['parent'] = parent unless parent.nil?
|
1414
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
1371
1415
|
command.query['fields'] = fields unless fields.nil?
|
1372
1416
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1373
1417
|
execute_or_queue_command(command, &block)
|
@@ -1380,6 +1424,9 @@ module Google
|
|
1380
1424
|
# namespace_id` with the project ID or number.
|
1381
1425
|
# @param [String] api_version
|
1382
1426
|
# Cloud Run currently ignores this parameter.
|
1427
|
+
# @param [String] dry_run
|
1428
|
+
# DryRun is a query string parameter which indicates that the server should run
|
1429
|
+
# validation without persisting the request.
|
1383
1430
|
# @param [String] kind
|
1384
1431
|
# Cloud Run currently ignores this parameter.
|
1385
1432
|
# @param [String] propagation_policy
|
@@ -1403,12 +1450,13 @@ module Google
|
|
1403
1450
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1404
1451
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1405
1452
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1406
|
-
def delete_project_location_service(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1453
|
+
def delete_project_location_service(name, api_version: nil, dry_run: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1407
1454
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1408
1455
|
command.response_representation = Google::Apis::RunV1::Status::Representation
|
1409
1456
|
command.response_class = Google::Apis::RunV1::Status
|
1410
1457
|
command.params['name'] = name unless name.nil?
|
1411
1458
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
1459
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
1412
1460
|
command.query['kind'] = kind unless kind.nil?
|
1413
1461
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
1414
1462
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1553,6 +1601,9 @@ module Google
|
|
1553
1601
|
# The name of the service being replaced. For Cloud Run (fully managed), replace
|
1554
1602
|
# `namespace_id` with the project ID or number.
|
1555
1603
|
# @param [Google::Apis::RunV1::Service] service_object
|
1604
|
+
# @param [String] dry_run
|
1605
|
+
# DryRun is a query string parameter which indicates that the server should run
|
1606
|
+
# validation without persisting the request.
|
1556
1607
|
# @param [String] fields
|
1557
1608
|
# Selector specifying which fields to include in a partial response.
|
1558
1609
|
# @param [String] quota_user
|
@@ -1570,13 +1621,14 @@ module Google
|
|
1570
1621
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1571
1622
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1572
1623
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1573
|
-
def replace_project_location_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1624
|
+
def replace_project_location_service_service(name, service_object = nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1574
1625
|
command = make_simple_command(:put, 'v1/{+name}', options)
|
1575
1626
|
command.request_representation = Google::Apis::RunV1::Service::Representation
|
1576
1627
|
command.request_object = service_object
|
1577
1628
|
command.response_representation = Google::Apis::RunV1::Service::Representation
|
1578
1629
|
command.response_class = Google::Apis::RunV1::Service
|
1579
1630
|
command.params['name'] = name unless name.nil?
|
1631
|
+
command.query['dryRun'] = dry_run unless dry_run.nil?
|
1580
1632
|
command.query['fields'] = fields unless fields.nil?
|
1581
1633
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1582
1634
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-run_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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: 2021-03-
|
11
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-run_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.4.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-run_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|