google-apis-run_v1 0.2.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/run_v1.rb +1 -1
- data/lib/google/apis/run_v1/classes.rb +77 -47
- data/lib/google/apis/run_v1/gem_version.rb +3 -3
- data/lib/google/apis/run_v1/representations.rb +2 -0
- data/lib/google/apis/run_v1/service.rb +67 -15
- 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: eb89456d9abb7c00c45e52f5ba97442b270cedeb25712c4a600f3e03956ba471
|
4
|
+
data.tar.gz: dc7668057796e0624003d78d3f92e57547115760e3ad181e40016433cd74e5e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd3ae6507a7b63ca2c032f9b26db9ad723553bbc990264a16f567814aee2ed473bb0e4ff12caf8062ae13897d45e6d100015f571fa6a732ea263fba87f10d13b
|
7
|
+
data.tar.gz: 1779bf3edc3c5a8db371696561a317520152bd07938a9027ac748770ba9bc1bb64f9ba8dc51b63fe5eb7abd6dbc64941eb83a65d78bf441bdd94890f096777e1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-run_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-04-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210409
|
6
|
+
|
7
|
+
### v0.6.0 (2021-04-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210326
|
10
|
+
|
11
|
+
### v0.5.0 (2021-03-26)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210319
|
14
|
+
|
15
|
+
### v0.4.0 (2021-03-20)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210312
|
18
|
+
|
19
|
+
### v0.3.0 (2021-03-13)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210308
|
22
|
+
* Regenerated using generator version 0.2.0
|
23
|
+
|
3
24
|
### v0.2.0 (2021-03-06)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210301
|
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
|
@@ -564,6 +566,13 @@ module Google
|
|
564
566
|
# @return [Google::Apis::RunV1::SecurityContext]
|
565
567
|
attr_accessor :security_context
|
566
568
|
|
569
|
+
# Cloud Run fully managed: not supported Cloud Run for Anthos: supported Probe
|
570
|
+
# describes a health check to be performed against a container to determine
|
571
|
+
# whether it is alive or ready to receive traffic.
|
572
|
+
# Corresponds to the JSON property `startupProbe`
|
573
|
+
# @return [Google::Apis::RunV1::Probe]
|
574
|
+
attr_accessor :startup_probe
|
575
|
+
|
567
576
|
# (Optional) Cloud Run fully managed: not supported Cloud Run for Anthos:
|
568
577
|
# supported Path at which the file to which the container's termination message
|
569
578
|
# will be written is mounted into the container's filesystem. Message written is
|
@@ -586,8 +595,9 @@ module Google
|
|
586
595
|
# @return [String]
|
587
596
|
attr_accessor :termination_message_policy
|
588
597
|
|
589
|
-
# (Optional) Cloud Run fully managed:
|
590
|
-
#
|
598
|
+
# (Optional) Cloud Run fully managed: supported Volume to mount into the
|
599
|
+
# container's filesystem. Only supports SecretVolumeSources. Cloud Run for
|
600
|
+
# Anthos: supported Pod volumes to mount into the container's filesystem.
|
591
601
|
# Corresponds to the JSON property `volumeMounts`
|
592
602
|
# @return [Array<Google::Apis::RunV1::VolumeMount>]
|
593
603
|
attr_accessor :volume_mounts
|
@@ -618,6 +628,7 @@ module Google
|
|
618
628
|
@readiness_probe = args[:readiness_probe] if args.key?(:readiness_probe)
|
619
629
|
@resources = args[:resources] if args.key?(:resources)
|
620
630
|
@security_context = args[:security_context] if args.key?(:security_context)
|
631
|
+
@startup_probe = args[:startup_probe] if args.key?(:startup_probe)
|
621
632
|
@termination_message_path = args[:termination_message_path] if args.key?(:termination_message_path)
|
622
633
|
@termination_message_policy = args[:termination_message_policy] if args.key?(:termination_message_policy)
|
623
634
|
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
@@ -1099,13 +1110,14 @@ module Google
|
|
1099
1110
|
end
|
1100
1111
|
end
|
1101
1112
|
|
1102
|
-
# Cloud Run fully managed:
|
1113
|
+
# Cloud Run fully managed: supported Cloud Run for Anthos: supported Maps a
|
1103
1114
|
# string key to a path within a volume.
|
1104
1115
|
class KeyToPath
|
1105
1116
|
include Google::Apis::Core::Hashable
|
1106
1117
|
|
1107
|
-
# Cloud Run fully managed:
|
1108
|
-
#
|
1118
|
+
# Cloud Run fully managed: supported The Cloud Secret Manager secret version.
|
1119
|
+
# Can be 'latest' for the latest value or an integer for a specific version.
|
1120
|
+
# Cloud Run for Anthos: supported The key to project.
|
1109
1121
|
# Corresponds to the JSON property `key`
|
1110
1122
|
# @return [String]
|
1111
1123
|
attr_accessor :key
|
@@ -1119,7 +1131,7 @@ module Google
|
|
1119
1131
|
# @return [Fixnum]
|
1120
1132
|
attr_accessor :mode
|
1121
1133
|
|
1122
|
-
# Cloud Run fully managed:
|
1134
|
+
# Cloud Run fully managed: supported Cloud Run for Anthos: supported The
|
1123
1135
|
# relative path of the file to map the key to. May not be an absolute path. May
|
1124
1136
|
# not contain the path element '..'. May not start with the string '..'.
|
1125
1137
|
# Corresponds to the JSON property `path`
|
@@ -1656,15 +1668,15 @@ module Google
|
|
1656
1668
|
# @return [Array<Google::Apis::RunV1::OwnerReference>]
|
1657
1669
|
attr_accessor :owner_references
|
1658
1670
|
|
1659
|
-
#
|
1671
|
+
# Optional. An opaque value that represents the internal version of this object
|
1660
1672
|
# that can be used by clients to determine when objects have changed. May be
|
1661
1673
|
# used for optimistic concurrency, change detection, and the watch operation on
|
1662
1674
|
# a resource or set of resources. Clients must treat these values as opaque and
|
1663
|
-
# passed unmodified back to the server
|
1664
|
-
#
|
1665
|
-
#
|
1666
|
-
#
|
1667
|
-
# consistency
|
1675
|
+
# passed unmodified back to the server or omit the value to disable conflict-
|
1676
|
+
# detection. They may only be valid for a particular resource or set of
|
1677
|
+
# resources. Populated by the system. Read-only. Value must be treated as opaque
|
1678
|
+
# by clients or omitted. More info: https://git.k8s.io/community/contributors/
|
1679
|
+
# devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
1668
1680
|
# Corresponds to the JSON property `resourceVersion`
|
1669
1681
|
# @return [String]
|
1670
1682
|
attr_accessor :resource_version
|
@@ -1735,7 +1747,7 @@ module Google
|
|
1735
1747
|
alias_method :controller?, :controller
|
1736
1748
|
|
1737
1749
|
# Kind of the referent. More info: https://git.k8s.io/community/contributors/
|
1738
|
-
# devel/api-conventions.md#types-kinds
|
1750
|
+
# devel/sig-architecture/api-conventions.md#types-kinds
|
1739
1751
|
# Corresponds to the JSON property `kind`
|
1740
1752
|
# @return [String]
|
1741
1753
|
attr_accessor :kind
|
@@ -2368,8 +2380,10 @@ module Google
|
|
2368
2380
|
class SecretKeySelector
|
2369
2381
|
include Google::Apis::Core::Hashable
|
2370
2382
|
|
2371
|
-
# Cloud Run fully managed:
|
2372
|
-
#
|
2383
|
+
# Cloud Run fully managed: supported A Cloud Secret Manager secret version. Must
|
2384
|
+
# be 'latest' for the latest version or an integer for a specific version. Cloud
|
2385
|
+
# Run for Anthos: supported The key of the secret to select from. Must be a
|
2386
|
+
# valid secret key.
|
2373
2387
|
# Corresponds to the JSON property `key`
|
2374
2388
|
# @return [String]
|
2375
2389
|
attr_accessor :key
|
@@ -2381,8 +2395,13 @@ module Google
|
|
2381
2395
|
# @return [Google::Apis::RunV1::LocalObjectReference]
|
2382
2396
|
attr_accessor :local_object_reference
|
2383
2397
|
|
2384
|
-
# Cloud Run fully managed:
|
2385
|
-
#
|
2398
|
+
# Cloud Run fully managed: supported The name of the secret in Cloud Secret
|
2399
|
+
# Manager. By default, the secret is assumed to be in the same project. If the
|
2400
|
+
# secret is in another project, you must define an alias. An alias definition
|
2401
|
+
# has the form: :projects//secrets/. If multiple alias definitions are needed,
|
2402
|
+
# they must be separated by commas. The alias definitions must be set on the run.
|
2403
|
+
# googleapis.com/secrets annotation. Cloud Run for Anthos: supported The name of
|
2404
|
+
# the secret in the pod's namespace to select from.
|
2386
2405
|
# Corresponds to the JSON property `name`
|
2387
2406
|
# @return [String]
|
2388
2407
|
attr_accessor :name
|
@@ -2407,9 +2426,11 @@ module Google
|
|
2407
2426
|
end
|
2408
2427
|
end
|
2409
2428
|
|
2410
|
-
# Cloud Run fully managed:
|
2411
|
-
#
|
2412
|
-
#
|
2429
|
+
# Cloud Run fully managed: supported The secret's value will be presented as the
|
2430
|
+
# content of a file whose name is defined in the item path. If no items are
|
2431
|
+
# defined, the name of the file is the secret_name. Cloud Run for Anthos:
|
2432
|
+
# supported The contents of the target Secret's Data field will be presented in
|
2433
|
+
# a volume as files using the keys in the Data field as the file names.
|
2413
2434
|
class SecretVolumeSource
|
2414
2435
|
include Google::Apis::Core::Hashable
|
2415
2436
|
|
@@ -2425,13 +2446,16 @@ module Google
|
|
2425
2446
|
# @return [Fixnum]
|
2426
2447
|
attr_accessor :default_mode
|
2427
2448
|
|
2428
|
-
# (Optional) Cloud Run fully managed:
|
2429
|
-
#
|
2430
|
-
#
|
2431
|
-
# the
|
2432
|
-
#
|
2433
|
-
#
|
2434
|
-
#
|
2449
|
+
# (Optional) Cloud Run fully managed: supported If unspecified, the volume will
|
2450
|
+
# expose a file whose name is the secret_name. If specified, the key will be
|
2451
|
+
# used as the version to fetch from Cloud Secret Manager and the path will be
|
2452
|
+
# the name of the file exposed in the volume. When items are defined, they must
|
2453
|
+
# specify a key and a path. Cloud Run for Anthos: supported If unspecified, each
|
2454
|
+
# key-value pair in the Data field of the referenced Secret will be projected
|
2455
|
+
# into the volume as a file whose name is the key and content is the value. If
|
2456
|
+
# specified, the listed keys will be projected into the specified paths, and
|
2457
|
+
# unlisted keys will not be present. If a key is specified which is not present
|
2458
|
+
# in the Secret, the volume setup will error unless it is marked optional.
|
2435
2459
|
# Corresponds to the JSON property `items`
|
2436
2460
|
# @return [Array<Google::Apis::RunV1::KeyToPath>]
|
2437
2461
|
attr_accessor :items
|
@@ -2443,8 +2467,13 @@ module Google
|
|
2443
2467
|
attr_accessor :optional
|
2444
2468
|
alias_method :optional?, :optional
|
2445
2469
|
|
2446
|
-
# Cloud Run fully managed:
|
2447
|
-
# the secret in the
|
2470
|
+
# Cloud Run fully managed: supported The name of the secret in Cloud Secret
|
2471
|
+
# Manager. By default, the secret is assumed to be in the same project. If the
|
2472
|
+
# secret is in another project, you must define an alias. An alias definition
|
2473
|
+
# has the form: :projects//secrets/. If multiple alias definitions are needed,
|
2474
|
+
# they must be separated by commas. The alias definitions must be set on the run.
|
2475
|
+
# googleapis.com/secrets annotation. Cloud Run for Anthos: supported Name of the
|
2476
|
+
# secret in the container's namespace to use.
|
2448
2477
|
# Corresponds to the JSON property `secretName`
|
2449
2478
|
# @return [String]
|
2450
2479
|
attr_accessor :secret_name
|
@@ -2735,8 +2764,8 @@ module Google
|
|
2735
2764
|
attr_accessor :reason
|
2736
2765
|
|
2737
2766
|
# Status of the operation. One of: "Success" or "Failure". More info: https://
|
2738
|
-
# git.k8s.io/community/contributors/devel/api-conventions.md#
|
2739
|
-
# optional
|
2767
|
+
# git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
2768
|
+
# spec-and-status +optional
|
2740
2769
|
# Corresponds to the JSON property `status`
|
2741
2770
|
# @return [String]
|
2742
2771
|
attr_accessor :status
|
@@ -2817,8 +2846,8 @@ module Google
|
|
2817
2846
|
|
2818
2847
|
# The kind attribute of the resource associated with the status StatusReason. On
|
2819
2848
|
# some operations may differ from the requested resource Kind. More info: https:/
|
2820
|
-
# /git.k8s.io/community/contributors/devel/api-conventions.md#
|
2821
|
-
# optional
|
2849
|
+
# /git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
2850
|
+
# types-kinds +optional
|
2822
2851
|
# Corresponds to the JSON property `kind`
|
2823
2852
|
# @return [String]
|
2824
2853
|
attr_accessor :kind
|
@@ -2975,7 +3004,7 @@ module Google
|
|
2975
3004
|
# Output only. URL displays the URL for accessing tagged traffic targets. URL is
|
2976
3005
|
# displayed in status, and is disallowed on spec. URL must contain a scheme (e.g.
|
2977
3006
|
# http://) and a hostname, but may not contain anything else (e.g. basic auth,
|
2978
|
-
# url path, etc.
|
3007
|
+
# url path, etc.)
|
2979
3008
|
# Corresponds to the JSON property `url`
|
2980
3009
|
# @return [String]
|
2981
3010
|
attr_accessor :url
|
@@ -3009,15 +3038,17 @@ module Google
|
|
3009
3038
|
# @return [Google::Apis::RunV1::ConfigMapVolumeSource]
|
3010
3039
|
attr_accessor :config_map
|
3011
3040
|
|
3012
|
-
# Cloud Run fully managed:
|
3013
|
-
#
|
3041
|
+
# Cloud Run fully managed: supported Cloud Run for Anthos: supported Volume's
|
3042
|
+
# name.
|
3014
3043
|
# Corresponds to the JSON property `name`
|
3015
3044
|
# @return [String]
|
3016
3045
|
attr_accessor :name
|
3017
3046
|
|
3018
|
-
# Cloud Run fully managed:
|
3019
|
-
#
|
3020
|
-
#
|
3047
|
+
# Cloud Run fully managed: supported The secret's value will be presented as the
|
3048
|
+
# content of a file whose name is defined in the item path. If no items are
|
3049
|
+
# defined, the name of the file is the secret_name. Cloud Run for Anthos:
|
3050
|
+
# supported The contents of the target Secret's Data field will be presented in
|
3051
|
+
# a volume as files using the keys in the Data field as the file names.
|
3021
3052
|
# Corresponds to the JSON property `secret`
|
3022
3053
|
# @return [Google::Apis::RunV1::SecretVolumeSource]
|
3023
3054
|
attr_accessor :secret
|
@@ -3039,21 +3070,20 @@ module Google
|
|
3039
3070
|
class VolumeMount
|
3040
3071
|
include Google::Apis::Core::Hashable
|
3041
3072
|
|
3042
|
-
# Cloud Run fully managed:
|
3043
|
-
#
|
3044
|
-
# '.
|
3073
|
+
# Cloud Run fully managed: supported Cloud Run for Anthos: supported Path within
|
3074
|
+
# the container at which the volume should be mounted. Must not contain ':'.
|
3045
3075
|
# Corresponds to the JSON property `mountPath`
|
3046
3076
|
# @return [String]
|
3047
3077
|
attr_accessor :mount_path
|
3048
3078
|
|
3049
|
-
# Cloud Run fully managed:
|
3050
|
-
#
|
3079
|
+
# Cloud Run fully managed: supported Cloud Run for Anthos: supported This must
|
3080
|
+
# match the Name of a Volume.
|
3051
3081
|
# Corresponds to the JSON property `name`
|
3052
3082
|
# @return [String]
|
3053
3083
|
attr_accessor :name
|
3054
3084
|
|
3055
|
-
# (Optional) Cloud Run fully managed:
|
3056
|
-
#
|
3085
|
+
# (Optional) Cloud Run fully managed: supported Cloud Run for Anthos: supported
|
3086
|
+
# Only true is accepted. Defaults to true.
|
3057
3087
|
# Corresponds to the JSON property `readOnly`
|
3058
3088
|
# @return [Boolean]
|
3059
3089
|
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.7.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 = "20210409"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -541,6 +541,8 @@ module Google
|
|
541
541
|
|
542
542
|
property :security_context, as: 'securityContext', class: Google::Apis::RunV1::SecurityContext, decorator: Google::Apis::RunV1::SecurityContext::Representation
|
543
543
|
|
544
|
+
property :startup_probe, as: 'startupProbe', class: Google::Apis::RunV1::Probe, decorator: Google::Apis::RunV1::Probe::Representation
|
545
|
+
|
544
546
|
property :termination_message_path, as: 'terminationMessagePath'
|
545
547
|
property :termination_message_policy, as: 'terminationMessagePolicy'
|
546
548
|
collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV1::VolumeMount, decorator: Google::Apis::RunV1::VolumeMount::Representation
|
@@ -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 selects 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.7.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-05-18 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.7.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: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Cloud Run Admin API V1
|