google-apis-run_v1 0.1.0 → 0.6.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 +22 -0
- data/lib/google/apis/run_v1.rb +1 -1
- data/lib/google/apis/run_v1/classes.rb +70 -49
- data/lib/google/apis/run_v1/gem_version.rb +3 -3
- data/lib/google/apis/run_v1/service.rb +67 -15
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5201b9fd0302bb4a950d48bc52f1b586603dbfff405465ca6f8f9c3104f2db5
|
4
|
+
data.tar.gz: b38677a6a6921f3d412ae3adeebad0d09a223a86ae8c5936e2ef8cdb79c7f44f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74ea7ff0fb43cbc384439d171d82ecb15be8f799e7f2ff1f1f866a8157b6879581f738bd6b18eb26f3fd5fb6b39d53ff71cadc04b56e746fda7014351be4dbb9
|
7
|
+
data.tar.gz: e1d2b061a2f1d59d38570a1a62b454a8fd765b922ff52986115a7f4452baa0019adbd8ffca0844f35d9c8a8296eec27011b0b05a2278afb67c3f0df70f8278b3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-run_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2021-04-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210326
|
6
|
+
|
7
|
+
### v0.5.0 (2021-03-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210319
|
10
|
+
|
11
|
+
### v0.4.0 (2021-03-20)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210312
|
14
|
+
|
15
|
+
### v0.3.0 (2021-03-13)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210308
|
18
|
+
* Regenerated using generator version 0.2.0
|
19
|
+
|
20
|
+
### v0.2.0 (2021-03-06)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210301
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
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
|
@@ -529,7 +529,9 @@ module Google
|
|
529
529
|
# @return [Google::Apis::RunV1::Probe]
|
530
530
|
attr_accessor :liveness_probe
|
531
531
|
|
532
|
-
# (Optional) Name of the container specified as a DNS_LABEL.
|
532
|
+
# (Optional) Name of the container specified as a DNS_LABEL. Currently unused in
|
533
|
+
# Cloud Run. More info: https://kubernetes.io/docs/concepts/overview/working-
|
534
|
+
# with-objects/names/#dns-label-names
|
533
535
|
# Corresponds to the JSON property `name`
|
534
536
|
# @return [String]
|
535
537
|
attr_accessor :name
|
@@ -586,8 +588,9 @@ module Google
|
|
586
588
|
# @return [String]
|
587
589
|
attr_accessor :termination_message_policy
|
588
590
|
|
589
|
-
# (Optional) Cloud Run fully managed:
|
590
|
-
#
|
591
|
+
# (Optional) Cloud Run fully managed: supported Volume to mount into the
|
592
|
+
# container's filesystem. Only supports SecretVolumeSources. Cloud Run for
|
593
|
+
# Anthos: supported Pod volumes to mount into the container's filesystem.
|
591
594
|
# Corresponds to the JSON property `volumeMounts`
|
592
595
|
# @return [Array<Google::Apis::RunV1::VolumeMount>]
|
593
596
|
attr_accessor :volume_mounts
|
@@ -635,8 +638,7 @@ module Google
|
|
635
638
|
# @return [Fixnum]
|
636
639
|
attr_accessor :container_port
|
637
640
|
|
638
|
-
# (Optional)
|
639
|
-
# supported If specified, used to specify which protocol to use. Allowed values
|
641
|
+
# (Optional) If specified, used to specify which protocol to use. Allowed values
|
640
642
|
# are "http1" and "h2c".
|
641
643
|
# Corresponds to the JSON property `name`
|
642
644
|
# @return [String]
|
@@ -1100,13 +1102,14 @@ module Google
|
|
1100
1102
|
end
|
1101
1103
|
end
|
1102
1104
|
|
1103
|
-
# Cloud Run fully managed:
|
1105
|
+
# Cloud Run fully managed: supported Cloud Run for Anthos: supported Maps a
|
1104
1106
|
# string key to a path within a volume.
|
1105
1107
|
class KeyToPath
|
1106
1108
|
include Google::Apis::Core::Hashable
|
1107
1109
|
|
1108
|
-
# Cloud Run fully managed:
|
1109
|
-
#
|
1110
|
+
# Cloud Run fully managed: supported The Cloud Secret Manager secret version.
|
1111
|
+
# Can be 'latest' for the latest value or an integer for a specific version.
|
1112
|
+
# Cloud Run for Anthos: supported The key to project.
|
1110
1113
|
# Corresponds to the JSON property `key`
|
1111
1114
|
# @return [String]
|
1112
1115
|
attr_accessor :key
|
@@ -1120,7 +1123,7 @@ module Google
|
|
1120
1123
|
# @return [Fixnum]
|
1121
1124
|
attr_accessor :mode
|
1122
1125
|
|
1123
|
-
# Cloud Run fully managed:
|
1126
|
+
# Cloud Run fully managed: supported Cloud Run for Anthos: supported The
|
1124
1127
|
# relative path of the file to map the key to. May not be an absolute path. May
|
1125
1128
|
# not contain the path element '..'. May not start with the string '..'.
|
1126
1129
|
# Corresponds to the JSON property `path`
|
@@ -1657,15 +1660,15 @@ module Google
|
|
1657
1660
|
# @return [Array<Google::Apis::RunV1::OwnerReference>]
|
1658
1661
|
attr_accessor :owner_references
|
1659
1662
|
|
1660
|
-
#
|
1663
|
+
# Optional. An opaque value that represents the internal version of this object
|
1661
1664
|
# that can be used by clients to determine when objects have changed. May be
|
1662
1665
|
# used for optimistic concurrency, change detection, and the watch operation on
|
1663
1666
|
# a resource or set of resources. Clients must treat these values as opaque and
|
1664
|
-
# passed unmodified back to the server
|
1665
|
-
#
|
1666
|
-
#
|
1667
|
-
#
|
1668
|
-
# consistency
|
1667
|
+
# passed unmodified back to the server or omit the value to disable conflict-
|
1668
|
+
# detection. They may only be valid for a particular resource or set of
|
1669
|
+
# resources. Populated by the system. Read-only. Value must be treated as opaque
|
1670
|
+
# by clients or omitted. More info: https://git.k8s.io/community/contributors/
|
1671
|
+
# devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
1669
1672
|
# Corresponds to the JSON property `resourceVersion`
|
1670
1673
|
# @return [String]
|
1671
1674
|
attr_accessor :resource_version
|
@@ -1736,7 +1739,7 @@ module Google
|
|
1736
1739
|
alias_method :controller?, :controller
|
1737
1740
|
|
1738
1741
|
# Kind of the referent. More info: https://git.k8s.io/community/contributors/
|
1739
|
-
# devel/api-conventions.md#types-kinds
|
1742
|
+
# devel/sig-architecture/api-conventions.md#types-kinds
|
1740
1743
|
# Corresponds to the JSON property `kind`
|
1741
1744
|
# @return [String]
|
1742
1745
|
attr_accessor :kind
|
@@ -2369,8 +2372,10 @@ module Google
|
|
2369
2372
|
class SecretKeySelector
|
2370
2373
|
include Google::Apis::Core::Hashable
|
2371
2374
|
|
2372
|
-
# Cloud Run fully managed:
|
2373
|
-
#
|
2375
|
+
# Cloud Run fully managed: supported A Cloud Secret Manager secret version. Must
|
2376
|
+
# be 'latest' for the latest version or an integer for a specific version. Cloud
|
2377
|
+
# Run for Anthos: supported The key of the secret to select from. Must be a
|
2378
|
+
# valid secret key.
|
2374
2379
|
# Corresponds to the JSON property `key`
|
2375
2380
|
# @return [String]
|
2376
2381
|
attr_accessor :key
|
@@ -2382,8 +2387,13 @@ module Google
|
|
2382
2387
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
2383
2388
|
attr_accessor :local_object_reference
|
2384
2389
|
|
2385
|
-
# Cloud Run fully managed:
|
2386
|
-
#
|
2390
|
+
# Cloud Run fully managed: supported The name of the secret in Cloud Secret
|
2391
|
+
# Manager. By default, the secret is assumed to be in the same project. If the
|
2392
|
+
# secret is in another project, you must define an alias. An alias definition
|
2393
|
+
# has the form: :projects//secrets/. If multiple alias definitions are needed,
|
2394
|
+
# they must be separated by commas. The alias definitions must be set on the run.
|
2395
|
+
# googleapis.com/secrets annotation. Cloud Run for Anthos: supported The name of
|
2396
|
+
# the secret in the pod's namespace to select from.
|
2387
2397
|
# Corresponds to the JSON property `name`
|
2388
2398
|
# @return [String]
|
2389
2399
|
attr_accessor :name
|
@@ -2408,9 +2418,11 @@ module Google
|
|
2408
2418
|
end
|
2409
2419
|
end
|
2410
2420
|
|
2411
|
-
# Cloud Run fully managed:
|
2412
|
-
#
|
2413
|
-
#
|
2421
|
+
# Cloud Run fully managed: supported The secret's value will be presented as the
|
2422
|
+
# content of a file whose name is defined in the item path. If no items are
|
2423
|
+
# defined, the name of the file is the secret_name. Cloud Run for Anthos:
|
2424
|
+
# supported The contents of the target Secret's Data field will be presented in
|
2425
|
+
# a volume as files using the keys in the Data field as the file names.
|
2414
2426
|
class SecretVolumeSource
|
2415
2427
|
include Google::Apis::Core::Hashable
|
2416
2428
|
|
@@ -2426,13 +2438,16 @@ module Google
|
|
2426
2438
|
# @return [Fixnum]
|
2427
2439
|
attr_accessor :default_mode
|
2428
2440
|
|
2429
|
-
# (Optional) Cloud Run fully managed:
|
2430
|
-
#
|
2431
|
-
#
|
2432
|
-
# the
|
2433
|
-
#
|
2434
|
-
#
|
2435
|
-
#
|
2441
|
+
# (Optional) Cloud Run fully managed: supported If unspecified, the volume will
|
2442
|
+
# expose a file whose name is the secret_name. If specified, the key will be
|
2443
|
+
# used as the version to fetch from Cloud Secret Manager and the path will be
|
2444
|
+
# the name of the file exposed in the volume. When items are defined, they must
|
2445
|
+
# specify a key and a path. Cloud Run for Anthos: supported If unspecified, each
|
2446
|
+
# key-value pair in the Data field of the referenced Secret will be projected
|
2447
|
+
# into the volume as a file whose name is the key and content is the value. If
|
2448
|
+
# specified, the listed keys will be projected into the specified paths, and
|
2449
|
+
# unlisted keys will not be present. If a key is specified which is not present
|
2450
|
+
# in the Secret, the volume setup will error unless it is marked optional.
|
2436
2451
|
# Corresponds to the JSON property `items`
|
2437
2452
|
# @return [Array<Google::Apis::RunV1::KeyToPath>]
|
2438
2453
|
attr_accessor :items
|
@@ -2444,8 +2459,13 @@ module Google
|
|
2444
2459
|
attr_accessor :optional
|
2445
2460
|
alias_method :optional?, :optional
|
2446
2461
|
|
2447
|
-
# Cloud Run fully managed:
|
2448
|
-
# the secret in the
|
2462
|
+
# Cloud Run fully managed: supported The name of the secret in Cloud Secret
|
2463
|
+
# Manager. By default, the secret is assumed to be in the same project. If the
|
2464
|
+
# secret is in another project, you must define an alias. An alias definition
|
2465
|
+
# has the form: :projects//secrets/. If multiple alias definitions are needed,
|
2466
|
+
# they must be separated by commas. The alias definitions must be set on the run.
|
2467
|
+
# googleapis.com/secrets annotation. Cloud Run for Anthos: supported Name of the
|
2468
|
+
# secret in the container's namespace to use.
|
2449
2469
|
# Corresponds to the JSON property `secretName`
|
2450
2470
|
# @return [String]
|
2451
2471
|
attr_accessor :secret_name
|
@@ -2736,8 +2756,8 @@ module Google
|
|
2736
2756
|
attr_accessor :reason
|
2737
2757
|
|
2738
2758
|
# Status of the operation. One of: "Success" or "Failure". More info: https://
|
2739
|
-
# git.k8s.io/community/contributors/devel/api-conventions.md#
|
2740
|
-
# optional
|
2759
|
+
# git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
2760
|
+
# spec-and-status +optional
|
2741
2761
|
# Corresponds to the JSON property `status`
|
2742
2762
|
# @return [String]
|
2743
2763
|
attr_accessor :status
|
@@ -2818,8 +2838,8 @@ module Google
|
|
2818
2838
|
|
2819
2839
|
# The kind attribute of the resource associated with the status StatusReason. On
|
2820
2840
|
# some operations may differ from the requested resource Kind. More info: https:/
|
2821
|
-
# /git.k8s.io/community/contributors/devel/api-conventions.md#
|
2822
|
-
# optional
|
2841
|
+
# /git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
2842
|
+
# types-kinds +optional
|
2823
2843
|
# Corresponds to the JSON property `kind`
|
2824
2844
|
# @return [String]
|
2825
2845
|
attr_accessor :kind
|
@@ -2976,7 +2996,7 @@ module Google
|
|
2976
2996
|
# Output only. URL displays the URL for accessing tagged traffic targets. URL is
|
2977
2997
|
# displayed in status, and is disallowed on spec. URL must contain a scheme (e.g.
|
2978
2998
|
# http://) and a hostname, but may not contain anything else (e.g. basic auth,
|
2979
|
-
# url path, etc.
|
2999
|
+
# url path, etc.)
|
2980
3000
|
# Corresponds to the JSON property `url`
|
2981
3001
|
# @return [String]
|
2982
3002
|
attr_accessor :url
|
@@ -3010,15 +3030,17 @@ module Google
|
|
3010
3030
|
# @return [Google::Apis::RunV1::ConfigMapVolumeSource]
|
3011
3031
|
attr_accessor :config_map
|
3012
3032
|
|
3013
|
-
# Cloud Run fully managed:
|
3014
|
-
#
|
3033
|
+
# Cloud Run fully managed: supported Cloud Run for Anthos: supported Volume's
|
3034
|
+
# name.
|
3015
3035
|
# Corresponds to the JSON property `name`
|
3016
3036
|
# @return [String]
|
3017
3037
|
attr_accessor :name
|
3018
3038
|
|
3019
|
-
# Cloud Run fully managed:
|
3020
|
-
#
|
3021
|
-
#
|
3039
|
+
# Cloud Run fully managed: supported The secret's value will be presented as the
|
3040
|
+
# content of a file whose name is defined in the item path. If no items are
|
3041
|
+
# defined, the name of the file is the secret_name. Cloud Run for Anthos:
|
3042
|
+
# supported The contents of the target Secret's Data field will be presented in
|
3043
|
+
# a volume as files using the keys in the Data field as the file names.
|
3022
3044
|
# Corresponds to the JSON property `secret`
|
3023
3045
|
# @return [Google::Apis::RunV1::SecretVolumeSource]
|
3024
3046
|
attr_accessor :secret
|
@@ -3040,21 +3062,20 @@ module Google
|
|
3040
3062
|
class VolumeMount
|
3041
3063
|
include Google::Apis::Core::Hashable
|
3042
3064
|
|
3043
|
-
# Cloud Run fully managed:
|
3044
|
-
#
|
3045
|
-
# '.
|
3065
|
+
# Cloud Run fully managed: supported Cloud Run for Anthos: supported Path within
|
3066
|
+
# the container at which the volume should be mounted. Must not contain ':'.
|
3046
3067
|
# Corresponds to the JSON property `mountPath`
|
3047
3068
|
# @return [String]
|
3048
3069
|
attr_accessor :mount_path
|
3049
3070
|
|
3050
|
-
# Cloud Run fully managed:
|
3051
|
-
#
|
3071
|
+
# Cloud Run fully managed: supported Cloud Run for Anthos: supported This must
|
3072
|
+
# match the Name of a Volume.
|
3052
3073
|
# Corresponds to the JSON property `name`
|
3053
3074
|
# @return [String]
|
3054
3075
|
attr_accessor :name
|
3055
3076
|
|
3056
|
-
# (Optional) Cloud Run fully managed:
|
3057
|
-
#
|
3077
|
+
# (Optional) Cloud Run fully managed: supported Cloud Run for Anthos: supported
|
3078
|
+
# Only true is accepted. Defaults to true.
|
3058
3079
|
# Corresponds to the JSON property `readOnly`
|
3059
3080
|
# @return [Boolean]
|
3060
3081
|
attr_accessor :read_only
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210326"
|
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
|
+
# Indicates that the server should validate the request and populate default
|
184
|
+
# values without persisting the request. Supported values: `all`
|
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
|
+
# Indicates that the server should validate the request and populate default
|
223
|
+
# values without persisting the request. Supported values: `all`
|
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
|
+
# Indicates that the server should validate the request and populate default
|
357
|
+
# values without persisting the request. Supported values: `all`
|
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
|
+
# Indicates that the server should validate the request and populate default
|
578
|
+
# values without persisting the request. Supported values: `all`
|
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
|
+
# Indicates that the server should validate the request and populate default
|
618
|
+
# values without persisting the request. Supported values: `all`
|
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
|
+
# Indicates that the server should validate the request and populate default
|
754
|
+
# values without persisting the request. Supported values: `all`
|
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
|
+
# Indicates that the server should validate the request and populate default
|
995
|
+
# values without persisting the request. Supported values: `all`
|
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
|
+
# Indicates that the server should validate the request and populate default
|
1034
|
+
# values without persisting the request. Supported values: `all`
|
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
|
+
# Indicates that the server should validate the request and populate default
|
1168
|
+
# values without persisting the request. Supported values: `all`
|
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
|
+
# Indicates that the server should validate the request and populate default
|
1389
|
+
# values without persisting the request. Supported values: `all`
|
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
|
+
# Indicates that the server should validate the request and populate default
|
1429
|
+
# values without persisting the request. Supported values: `all`
|
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
|
+
# Indicates that the server should validate the request and populate default
|
1606
|
+
# values without persisting the request. Supported values: `all`
|
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.6.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-
|
11
|
+
date: 2021-04-05 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.6.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: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Run Admin API V1
|