google-apis-cloudbuild_v2 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a58fee1c36974a1d29fa03343275316805bcb0ab630208adf875b1405a31b013
|
4
|
+
data.tar.gz: 712618ccfab0a96fbff08cd634b6bce51b5d7fa755e13f9c5f1664e3d768407d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be69f6ca7b3e7f9498278284c58965fa160e865e95971c21b5a0ad7c1ffb783dc0dd9bf98341b491c2da2880610302a1daca216c61b400ea02028d3f8aba6880
|
7
|
+
data.tar.gz: 8590940c906a29a97c36f61b39fbbb7615dfbfa3d54f9541d791fa350718408e762f1992caef225e47f263d0ef4613d23c876f3344f37af5c0455e232f14580a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v2
|
2
2
|
|
3
|
+
### v0.4.0 (2023-11-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231031
|
6
|
+
|
7
|
+
### v0.3.0 (2023-10-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231011
|
10
|
+
|
3
11
|
### v0.2.0 (2023-09-17)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230907
|
@@ -220,6 +220,31 @@ module Google
|
|
220
220
|
end
|
221
221
|
end
|
222
222
|
|
223
|
+
# Capabilities adds and removes POSIX capabilities from running containers.
|
224
|
+
class Capabilities
|
225
|
+
include Google::Apis::Core::Hashable
|
226
|
+
|
227
|
+
# Optional. Added capabilities +optional
|
228
|
+
# Corresponds to the JSON property `add`
|
229
|
+
# @return [Array<String>]
|
230
|
+
attr_accessor :add
|
231
|
+
|
232
|
+
# Optional. Removed capabilities +optional
|
233
|
+
# Corresponds to the JSON property `drop`
|
234
|
+
# @return [Array<String>]
|
235
|
+
attr_accessor :drop
|
236
|
+
|
237
|
+
def initialize(**args)
|
238
|
+
update!(**args)
|
239
|
+
end
|
240
|
+
|
241
|
+
# Update properties of this object
|
242
|
+
def update!(**args)
|
243
|
+
@add = args[:add] if args.key?(:add)
|
244
|
+
@drop = args[:drop] if args.key?(:drop)
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
223
248
|
# ChildStatusReference is used to point to the statuses of individual TaskRuns
|
224
249
|
# and Runs within this PipelineRun.
|
225
250
|
class ChildStatusReference
|
@@ -259,7 +284,7 @@ module Google
|
|
259
284
|
end
|
260
285
|
end
|
261
286
|
|
262
|
-
# A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket
|
287
|
+
# A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center or
|
263
288
|
# GitLab.
|
264
289
|
class Connection
|
265
290
|
include Google::Apis::Core::Hashable
|
@@ -463,6 +488,30 @@ module Google
|
|
463
488
|
end
|
464
489
|
end
|
465
490
|
|
491
|
+
# ExecAction describes a "run in container" action.
|
492
|
+
class ExecAction
|
493
|
+
include Google::Apis::Core::Hashable
|
494
|
+
|
495
|
+
# Optional. Command is the command line to execute inside the container, the
|
496
|
+
# working directory for the command is root ('/') in the container's filesystem.
|
497
|
+
# The command is simply exec'd, it is not run inside a shell, so traditional
|
498
|
+
# shell instructions ('|', etc) won't work. To use a shell, you need to
|
499
|
+
# explicitly call out to that shell. Exit status of 0 is treated as live/healthy
|
500
|
+
# and non-zero is unhealthy. +optional
|
501
|
+
# Corresponds to the JSON property `command`
|
502
|
+
# @return [Array<String>]
|
503
|
+
attr_accessor :command
|
504
|
+
|
505
|
+
def initialize(**args)
|
506
|
+
update!(**args)
|
507
|
+
end
|
508
|
+
|
509
|
+
# Update properties of this object
|
510
|
+
def update!(**args)
|
511
|
+
@command = args[:command] if args.key?(:command)
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
466
515
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
467
516
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
468
517
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -1469,7 +1518,7 @@ module Google
|
|
1469
1518
|
# @return [Google::Apis::CloudbuildV2::PipelineRef]
|
1470
1519
|
attr_accessor :pipeline_ref
|
1471
1520
|
|
1472
|
-
#
|
1521
|
+
# Pipelinerun status the user can provide. Used for cancellation.
|
1473
1522
|
# Corresponds to the JSON property `pipelineRunStatus`
|
1474
1523
|
# @return [String]
|
1475
1524
|
attr_accessor :pipeline_run_status
|
@@ -1811,6 +1860,33 @@ module Google
|
|
1811
1860
|
end
|
1812
1861
|
end
|
1813
1862
|
|
1863
|
+
# Probe describes a health check to be performed against a container to
|
1864
|
+
# determine whether it is alive or ready to receive traffic.
|
1865
|
+
class Probe
|
1866
|
+
include Google::Apis::Core::Hashable
|
1867
|
+
|
1868
|
+
# ExecAction describes a "run in container" action.
|
1869
|
+
# Corresponds to the JSON property `exec`
|
1870
|
+
# @return [Google::Apis::CloudbuildV2::ExecAction]
|
1871
|
+
attr_accessor :exec
|
1872
|
+
|
1873
|
+
# Optional. How often (in seconds) to perform the probe. Default to 10 seconds.
|
1874
|
+
# Minimum value is 1. +optional
|
1875
|
+
# Corresponds to the JSON property `periodSeconds`
|
1876
|
+
# @return [Fixnum]
|
1877
|
+
attr_accessor :period_seconds
|
1878
|
+
|
1879
|
+
def initialize(**args)
|
1880
|
+
update!(**args)
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
# Update properties of this object
|
1884
|
+
def update!(**args)
|
1885
|
+
@exec = args[:exec] if args.key?(:exec)
|
1886
|
+
@period_seconds = args[:period_seconds] if args.key?(:period_seconds)
|
1887
|
+
end
|
1888
|
+
end
|
1889
|
+
|
1814
1890
|
# PropertySpec holds information about a property in an object.
|
1815
1891
|
class PropertySpec
|
1816
1892
|
include Google::Apis::Core::Hashable
|
@@ -1977,19 +2053,69 @@ module Google
|
|
1977
2053
|
class SecurityContext
|
1978
2054
|
include Google::Apis::Core::Hashable
|
1979
2055
|
|
2056
|
+
# Optional. AllowPrivilegeEscalation controls whether a process can gain more
|
2057
|
+
# privileges than its parent process. This bool directly controls if the
|
2058
|
+
# no_new_privs flag will be set on the container process.
|
2059
|
+
# AllowPrivilegeEscalation is true always when the container is: 1) run as
|
2060
|
+
# Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.
|
2061
|
+
# os.name is windows. +optional
|
2062
|
+
# Corresponds to the JSON property `allowPrivilegeEscalation`
|
2063
|
+
# @return [Boolean]
|
2064
|
+
attr_accessor :allow_privilege_escalation
|
2065
|
+
alias_method :allow_privilege_escalation?, :allow_privilege_escalation
|
2066
|
+
|
2067
|
+
# Capabilities adds and removes POSIX capabilities from running containers.
|
2068
|
+
# Corresponds to the JSON property `capabilities`
|
2069
|
+
# @return [Google::Apis::CloudbuildV2::Capabilities]
|
2070
|
+
attr_accessor :capabilities
|
2071
|
+
|
1980
2072
|
# Run container in privileged mode.
|
1981
2073
|
# Corresponds to the JSON property `privileged`
|
1982
2074
|
# @return [Boolean]
|
1983
2075
|
attr_accessor :privileged
|
1984
2076
|
alias_method :privileged?, :privileged
|
1985
2077
|
|
2078
|
+
# Optional. The GID to run the entrypoint of the container process. Uses runtime
|
2079
|
+
# default if unset. May also be set in PodSecurityContext. If set in both
|
2080
|
+
# SecurityContext and PodSecurityContext, the value specified in SecurityContext
|
2081
|
+
# takes precedence. Note that this field cannot be set when spec.os.name is
|
2082
|
+
# windows. +optional
|
2083
|
+
# Corresponds to the JSON property `runAsGroup`
|
2084
|
+
# @return [Fixnum]
|
2085
|
+
attr_accessor :run_as_group
|
2086
|
+
|
2087
|
+
# Optional. Indicates that the container must run as a non-root user. If true,
|
2088
|
+
# the Kubelet will validate the image at runtime to ensure that it does not run
|
2089
|
+
# as UID 0 (root) and fail to start the container if it does. If unset or false,
|
2090
|
+
# no such validation will be performed. May also be set in PodSecurityContext.
|
2091
|
+
# If set in both SecurityContext and PodSecurityContext, the value specified in
|
2092
|
+
# SecurityContext takes precedence. +optional
|
2093
|
+
# Corresponds to the JSON property `runAsNonRoot`
|
2094
|
+
# @return [Boolean]
|
2095
|
+
attr_accessor :run_as_non_root
|
2096
|
+
alias_method :run_as_non_root?, :run_as_non_root
|
2097
|
+
|
2098
|
+
# Optional. The UID to run the entrypoint of the container process. Defaults to
|
2099
|
+
# user specified in image metadata if unspecified. May also be set in
|
2100
|
+
# PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the
|
2101
|
+
# value specified in SecurityContext takes precedence. Note that this field
|
2102
|
+
# cannot be set when spec.os.name is windows. +optional
|
2103
|
+
# Corresponds to the JSON property `runAsUser`
|
2104
|
+
# @return [Fixnum]
|
2105
|
+
attr_accessor :run_as_user
|
2106
|
+
|
1986
2107
|
def initialize(**args)
|
1987
2108
|
update!(**args)
|
1988
2109
|
end
|
1989
2110
|
|
1990
2111
|
# Update properties of this object
|
1991
2112
|
def update!(**args)
|
2113
|
+
@allow_privilege_escalation = args[:allow_privilege_escalation] if args.key?(:allow_privilege_escalation)
|
2114
|
+
@capabilities = args[:capabilities] if args.key?(:capabilities)
|
1992
2115
|
@privileged = args[:privileged] if args.key?(:privileged)
|
2116
|
+
@run_as_group = args[:run_as_group] if args.key?(:run_as_group)
|
2117
|
+
@run_as_non_root = args[:run_as_non_root] if args.key?(:run_as_non_root)
|
2118
|
+
@run_as_user = args[:run_as_user] if args.key?(:run_as_user)
|
1993
2119
|
end
|
1994
2120
|
end
|
1995
2121
|
|
@@ -2075,6 +2201,12 @@ module Google
|
|
2075
2201
|
# @return [String]
|
2076
2202
|
attr_accessor :name
|
2077
2203
|
|
2204
|
+
# Probe describes a health check to be performed against a container to
|
2205
|
+
# determine whether it is alive or ready to receive traffic.
|
2206
|
+
# Corresponds to the JSON property `readinessProbe`
|
2207
|
+
# @return [Google::Apis::CloudbuildV2::Probe]
|
2208
|
+
attr_accessor :readiness_probe
|
2209
|
+
|
2078
2210
|
# The contents of an executable file to execute.
|
2079
2211
|
# Corresponds to the JSON property `script`
|
2080
2212
|
# @return [String]
|
@@ -2106,6 +2238,7 @@ module Google
|
|
2106
2238
|
@env = args[:env] if args.key?(:env)
|
2107
2239
|
@image = args[:image] if args.key?(:image)
|
2108
2240
|
@name = args[:name] if args.key?(:name)
|
2241
|
+
@readiness_probe = args[:readiness_probe] if args.key?(:readiness_probe)
|
2109
2242
|
@script = args[:script] if args.key?(:script)
|
2110
2243
|
@security_context = args[:security_context] if args.key?(:security_context)
|
2111
2244
|
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
@@ -2220,6 +2353,11 @@ module Google
|
|
2220
2353
|
# @return [String]
|
2221
2354
|
attr_accessor :script
|
2222
2355
|
|
2356
|
+
# Security options the container should be run with.
|
2357
|
+
# Corresponds to the JSON property `securityContext`
|
2358
|
+
# @return [Google::Apis::CloudbuildV2::SecurityContext]
|
2359
|
+
attr_accessor :security_context
|
2360
|
+
|
2223
2361
|
# Time after which the Step times out. Defaults to never.
|
2224
2362
|
# Corresponds to the JSON property `timeout`
|
2225
2363
|
# @return [String]
|
@@ -2247,12 +2385,33 @@ module Google
|
|
2247
2385
|
@image = args[:image] if args.key?(:image)
|
2248
2386
|
@name = args[:name] if args.key?(:name)
|
2249
2387
|
@script = args[:script] if args.key?(:script)
|
2388
|
+
@security_context = args[:security_context] if args.key?(:security_context)
|
2250
2389
|
@timeout = args[:timeout] if args.key?(:timeout)
|
2251
2390
|
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
2252
2391
|
@working_dir = args[:working_dir] if args.key?(:working_dir)
|
2253
2392
|
end
|
2254
2393
|
end
|
2255
2394
|
|
2395
|
+
# StepTemplate can be used as the basis for all step containers within the Task,
|
2396
|
+
# so that the steps inherit settings on the base container.
|
2397
|
+
class StepTemplate
|
2398
|
+
include Google::Apis::Core::Hashable
|
2399
|
+
|
2400
|
+
# Optional. List of environment variables to set in the Step. Cannot be updated.
|
2401
|
+
# Corresponds to the JSON property `env`
|
2402
|
+
# @return [Array<Google::Apis::CloudbuildV2::EnvVar>]
|
2403
|
+
attr_accessor :env
|
2404
|
+
|
2405
|
+
def initialize(**args)
|
2406
|
+
update!(**args)
|
2407
|
+
end
|
2408
|
+
|
2409
|
+
# Update properties of this object
|
2410
|
+
def update!(**args)
|
2411
|
+
@env = args[:env] if args.key?(:env)
|
2412
|
+
end
|
2413
|
+
end
|
2414
|
+
|
2256
2415
|
# TaskRef can be used to refer to a specific instance of a task. PipelineRef can
|
2257
2416
|
# be used to refer to a specific instance of a Pipeline.
|
2258
2417
|
class TaskRef
|
@@ -2356,6 +2515,12 @@ module Google
|
|
2356
2515
|
# @return [Array<Google::Apis::CloudbuildV2::Sidecar>]
|
2357
2516
|
attr_accessor :sidecars
|
2358
2517
|
|
2518
|
+
# Optional. StepTemplate can be used as the basis for all step containers within
|
2519
|
+
# the Task, so that the steps inherit settings on the base container.
|
2520
|
+
# Corresponds to the JSON property `stepTemplate`
|
2521
|
+
# @return [Array<Google::Apis::CloudbuildV2::StepTemplate>]
|
2522
|
+
attr_accessor :step_template
|
2523
|
+
|
2359
2524
|
# Steps of the task.
|
2360
2525
|
# Corresponds to the JSON property `steps`
|
2361
2526
|
# @return [Array<Google::Apis::CloudbuildV2::Step>]
|
@@ -2382,6 +2547,7 @@ module Google
|
|
2382
2547
|
@params = args[:params] if args.key?(:params)
|
2383
2548
|
@results = args[:results] if args.key?(:results)
|
2384
2549
|
@sidecars = args[:sidecars] if args.key?(:sidecars)
|
2550
|
+
@step_template = args[:step_template] if args.key?(:step_template)
|
2385
2551
|
@steps = args[:steps] if args.key?(:steps)
|
2386
2552
|
@volumes = args[:volumes] if args.key?(:volumes)
|
2387
2553
|
@workspaces = args[:workspaces] if args.key?(:workspaces)
|
@@ -2667,6 +2833,13 @@ module Google
|
|
2667
2833
|
# @return [String]
|
2668
2834
|
attr_accessor :name
|
2669
2835
|
|
2836
|
+
# Optional. Optional marks a Workspace as not being required in TaskRuns. By
|
2837
|
+
# default this field is false and so declared workspaces are required.
|
2838
|
+
# Corresponds to the JSON property `optional`
|
2839
|
+
# @return [Boolean]
|
2840
|
+
attr_accessor :optional
|
2841
|
+
alias_method :optional?, :optional
|
2842
|
+
|
2670
2843
|
# ReadOnly dictates whether a mounted volume is writable.
|
2671
2844
|
# Corresponds to the JSON property `readOnly`
|
2672
2845
|
# @return [Boolean]
|
@@ -2682,6 +2855,7 @@ module Google
|
|
2682
2855
|
@description = args[:description] if args.key?(:description)
|
2683
2856
|
@mount_path = args[:mount_path] if args.key?(:mount_path)
|
2684
2857
|
@name = args[:name] if args.key?(:name)
|
2858
|
+
@optional = args[:optional] if args.key?(:optional)
|
2685
2859
|
@read_only = args[:read_only] if args.key?(:read_only)
|
2686
2860
|
end
|
2687
2861
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudbuildV2
|
18
18
|
# Version of the google-apis-cloudbuild_v2 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.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231031"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -58,6 +58,12 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class Capabilities
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
61
67
|
class ChildStatusReference
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
69
|
|
@@ -100,6 +106,12 @@ module Google
|
|
100
106
|
include Google::Apis::Core::JsonObjectSupport
|
101
107
|
end
|
102
108
|
|
109
|
+
class ExecAction
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
103
115
|
class Expr
|
104
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
117
|
|
@@ -286,6 +298,12 @@ module Google
|
|
286
298
|
include Google::Apis::Core::JsonObjectSupport
|
287
299
|
end
|
288
300
|
|
301
|
+
class Probe
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
289
307
|
class PropertySpec
|
290
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
309
|
|
@@ -346,6 +364,12 @@ module Google
|
|
346
364
|
include Google::Apis::Core::JsonObjectSupport
|
347
365
|
end
|
348
366
|
|
367
|
+
class StepTemplate
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
349
373
|
class TaskRef
|
350
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
375
|
|
@@ -479,6 +503,14 @@ module Google
|
|
479
503
|
end
|
480
504
|
end
|
481
505
|
|
506
|
+
class Capabilities
|
507
|
+
# @private
|
508
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
509
|
+
collection :add, as: 'add'
|
510
|
+
collection :drop, as: 'drop'
|
511
|
+
end
|
512
|
+
end
|
513
|
+
|
482
514
|
class ChildStatusReference
|
483
515
|
# @private
|
484
516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -550,6 +582,13 @@ module Google
|
|
550
582
|
end
|
551
583
|
end
|
552
584
|
|
585
|
+
class ExecAction
|
586
|
+
# @private
|
587
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
588
|
+
collection :command, as: 'command'
|
589
|
+
end
|
590
|
+
end
|
591
|
+
|
553
592
|
class Expr
|
554
593
|
# @private
|
555
594
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -899,6 +938,15 @@ module Google
|
|
899
938
|
end
|
900
939
|
end
|
901
940
|
|
941
|
+
class Probe
|
942
|
+
# @private
|
943
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
944
|
+
property :exec, as: 'exec', class: Google::Apis::CloudbuildV2::ExecAction, decorator: Google::Apis::CloudbuildV2::ExecAction::Representation
|
945
|
+
|
946
|
+
property :period_seconds, as: 'periodSeconds'
|
947
|
+
end
|
948
|
+
end
|
949
|
+
|
902
950
|
class PropertySpec
|
903
951
|
# @private
|
904
952
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -943,7 +991,13 @@ module Google
|
|
943
991
|
class SecurityContext
|
944
992
|
# @private
|
945
993
|
class Representation < Google::Apis::Core::JsonRepresentation
|
994
|
+
property :allow_privilege_escalation, as: 'allowPrivilegeEscalation'
|
995
|
+
property :capabilities, as: 'capabilities', class: Google::Apis::CloudbuildV2::Capabilities, decorator: Google::Apis::CloudbuildV2::Capabilities::Representation
|
996
|
+
|
946
997
|
property :privileged, as: 'privileged'
|
998
|
+
property :run_as_group, :numeric_string => true, as: 'runAsGroup'
|
999
|
+
property :run_as_non_root, as: 'runAsNonRoot'
|
1000
|
+
property :run_as_user, :numeric_string => true, as: 'runAsUser'
|
947
1001
|
end
|
948
1002
|
end
|
949
1003
|
|
@@ -965,6 +1019,8 @@ module Google
|
|
965
1019
|
|
966
1020
|
property :image, as: 'image'
|
967
1021
|
property :name, as: 'name'
|
1022
|
+
property :readiness_probe, as: 'readinessProbe', class: Google::Apis::CloudbuildV2::Probe, decorator: Google::Apis::CloudbuildV2::Probe::Representation
|
1023
|
+
|
968
1024
|
property :script, as: 'script'
|
969
1025
|
property :security_context, as: 'securityContext', class: Google::Apis::CloudbuildV2::SecurityContext, decorator: Google::Apis::CloudbuildV2::SecurityContext::Representation
|
970
1026
|
|
@@ -1003,6 +1059,8 @@ module Google
|
|
1003
1059
|
property :image, as: 'image'
|
1004
1060
|
property :name, as: 'name'
|
1005
1061
|
property :script, as: 'script'
|
1062
|
+
property :security_context, as: 'securityContext', class: Google::Apis::CloudbuildV2::SecurityContext, decorator: Google::Apis::CloudbuildV2::SecurityContext::Representation
|
1063
|
+
|
1006
1064
|
property :timeout, as: 'timeout'
|
1007
1065
|
collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::CloudbuildV2::VolumeMount, decorator: Google::Apis::CloudbuildV2::VolumeMount::Representation
|
1008
1066
|
|
@@ -1010,6 +1068,14 @@ module Google
|
|
1010
1068
|
end
|
1011
1069
|
end
|
1012
1070
|
|
1071
|
+
class StepTemplate
|
1072
|
+
# @private
|
1073
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1074
|
+
collection :env, as: 'env', class: Google::Apis::CloudbuildV2::EnvVar, decorator: Google::Apis::CloudbuildV2::EnvVar::Representation
|
1075
|
+
|
1076
|
+
end
|
1077
|
+
end
|
1078
|
+
|
1013
1079
|
class TaskRef
|
1014
1080
|
# @private
|
1015
1081
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1042,6 +1108,8 @@ module Google
|
|
1042
1108
|
|
1043
1109
|
collection :sidecars, as: 'sidecars', class: Google::Apis::CloudbuildV2::Sidecar, decorator: Google::Apis::CloudbuildV2::Sidecar::Representation
|
1044
1110
|
|
1111
|
+
collection :step_template, as: 'stepTemplate', class: Google::Apis::CloudbuildV2::StepTemplate, decorator: Google::Apis::CloudbuildV2::StepTemplate::Representation
|
1112
|
+
|
1045
1113
|
collection :steps, as: 'steps', class: Google::Apis::CloudbuildV2::Step, decorator: Google::Apis::CloudbuildV2::Step::Representation
|
1046
1114
|
|
1047
1115
|
collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV2::VolumeSource, decorator: Google::Apis::CloudbuildV2::VolumeSource::Representation
|
@@ -1135,6 +1203,7 @@ module Google
|
|
1135
1203
|
property :description, as: 'description'
|
1136
1204
|
property :mount_path, as: 'mountPath'
|
1137
1205
|
property :name, as: 'name'
|
1206
|
+
property :optional, as: 'optional'
|
1138
1207
|
property :read_only, as: 'readOnly'
|
1139
1208
|
end
|
1140
1209
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudbuild_v2
|
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: 2023-
|
11
|
+
date: 2023-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v2/v0.4.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|