google-apis-cloudbuild_v2 0.3.0 → 0.5.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: dd0b9a771da357d8a22a22de621e8bff9f19970a493e9da87b5dfefcc1b0719f
|
4
|
+
data.tar.gz: dc3debb0eeaa5b747d170b63664a0feb06e6fff2c21927dd9e83d21fc0712f82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c523285d6bb9e5aac70a04445b4b92268ca94c7d1e84b326c471514215abaa357555e22ddd82d0c0afee148a718d60e2e9a98951c23a8e3b554dfe1c42d72e1
|
7
|
+
data.tar.gz: bcf9864e384153d7c85a51b85cbe6fe4180098cbefc3c1b3a3a778f79a80f3df40992483da8d8a9a822d653e9f8d7facefd3d63ed89340af87739eac695a49c8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v2
|
2
2
|
|
3
|
+
### v0.5.0 (2023-11-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231109
|
6
|
+
|
7
|
+
### v0.4.0 (2023-11-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231031
|
10
|
+
|
3
11
|
### v0.3.0 (2023-10-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231011
|
@@ -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
|
@@ -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:
|
@@ -1453,6 +1502,12 @@ module Google
|
|
1453
1502
|
# @return [String]
|
1454
1503
|
attr_accessor :etag
|
1455
1504
|
|
1505
|
+
# Output only. FinallyStartTime is when all non-finally tasks have been
|
1506
|
+
# completed and only finally tasks are being executed. +optional
|
1507
|
+
# Corresponds to the JSON property `finallyStartTime`
|
1508
|
+
# @return [String]
|
1509
|
+
attr_accessor :finally_start_time
|
1510
|
+
|
1456
1511
|
# Output only. The `PipelineRun` name with format `projects/`project`/locations/`
|
1457
1512
|
# location`/pipelineRuns/`pipeline_run``
|
1458
1513
|
# Corresponds to the JSON property `name`
|
@@ -1544,6 +1599,7 @@ module Google
|
|
1544
1599
|
@conditions = args[:conditions] if args.key?(:conditions)
|
1545
1600
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1546
1601
|
@etag = args[:etag] if args.key?(:etag)
|
1602
|
+
@finally_start_time = args[:finally_start_time] if args.key?(:finally_start_time)
|
1547
1603
|
@name = args[:name] if args.key?(:name)
|
1548
1604
|
@params = args[:params] if args.key?(:params)
|
1549
1605
|
@pipeline_ref = args[:pipeline_ref] if args.key?(:pipeline_ref)
|
@@ -1811,6 +1867,33 @@ module Google
|
|
1811
1867
|
end
|
1812
1868
|
end
|
1813
1869
|
|
1870
|
+
# Probe describes a health check to be performed against a container to
|
1871
|
+
# determine whether it is alive or ready to receive traffic.
|
1872
|
+
class Probe
|
1873
|
+
include Google::Apis::Core::Hashable
|
1874
|
+
|
1875
|
+
# ExecAction describes a "run in container" action.
|
1876
|
+
# Corresponds to the JSON property `exec`
|
1877
|
+
# @return [Google::Apis::CloudbuildV2::ExecAction]
|
1878
|
+
attr_accessor :exec
|
1879
|
+
|
1880
|
+
# Optional. How often (in seconds) to perform the probe. Default to 10 seconds.
|
1881
|
+
# Minimum value is 1. +optional
|
1882
|
+
# Corresponds to the JSON property `periodSeconds`
|
1883
|
+
# @return [Fixnum]
|
1884
|
+
attr_accessor :period_seconds
|
1885
|
+
|
1886
|
+
def initialize(**args)
|
1887
|
+
update!(**args)
|
1888
|
+
end
|
1889
|
+
|
1890
|
+
# Update properties of this object
|
1891
|
+
def update!(**args)
|
1892
|
+
@exec = args[:exec] if args.key?(:exec)
|
1893
|
+
@period_seconds = args[:period_seconds] if args.key?(:period_seconds)
|
1894
|
+
end
|
1895
|
+
end
|
1896
|
+
|
1814
1897
|
# PropertySpec holds information about a property in an object.
|
1815
1898
|
class PropertySpec
|
1816
1899
|
include Google::Apis::Core::Hashable
|
@@ -1977,19 +2060,69 @@ module Google
|
|
1977
2060
|
class SecurityContext
|
1978
2061
|
include Google::Apis::Core::Hashable
|
1979
2062
|
|
2063
|
+
# Optional. AllowPrivilegeEscalation controls whether a process can gain more
|
2064
|
+
# privileges than its parent process. This bool directly controls if the
|
2065
|
+
# no_new_privs flag will be set on the container process.
|
2066
|
+
# AllowPrivilegeEscalation is true always when the container is: 1) run as
|
2067
|
+
# Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.
|
2068
|
+
# os.name is windows. +optional
|
2069
|
+
# Corresponds to the JSON property `allowPrivilegeEscalation`
|
2070
|
+
# @return [Boolean]
|
2071
|
+
attr_accessor :allow_privilege_escalation
|
2072
|
+
alias_method :allow_privilege_escalation?, :allow_privilege_escalation
|
2073
|
+
|
2074
|
+
# Capabilities adds and removes POSIX capabilities from running containers.
|
2075
|
+
# Corresponds to the JSON property `capabilities`
|
2076
|
+
# @return [Google::Apis::CloudbuildV2::Capabilities]
|
2077
|
+
attr_accessor :capabilities
|
2078
|
+
|
1980
2079
|
# Run container in privileged mode.
|
1981
2080
|
# Corresponds to the JSON property `privileged`
|
1982
2081
|
# @return [Boolean]
|
1983
2082
|
attr_accessor :privileged
|
1984
2083
|
alias_method :privileged?, :privileged
|
1985
2084
|
|
2085
|
+
# Optional. The GID to run the entrypoint of the container process. Uses runtime
|
2086
|
+
# default if unset. May also be set in PodSecurityContext. If set in both
|
2087
|
+
# SecurityContext and PodSecurityContext, the value specified in SecurityContext
|
2088
|
+
# takes precedence. Note that this field cannot be set when spec.os.name is
|
2089
|
+
# windows. +optional
|
2090
|
+
# Corresponds to the JSON property `runAsGroup`
|
2091
|
+
# @return [Fixnum]
|
2092
|
+
attr_accessor :run_as_group
|
2093
|
+
|
2094
|
+
# Optional. Indicates that the container must run as a non-root user. If true,
|
2095
|
+
# the Kubelet will validate the image at runtime to ensure that it does not run
|
2096
|
+
# as UID 0 (root) and fail to start the container if it does. If unset or false,
|
2097
|
+
# no such validation will be performed. May also be set in PodSecurityContext.
|
2098
|
+
# If set in both SecurityContext and PodSecurityContext, the value specified in
|
2099
|
+
# SecurityContext takes precedence. +optional
|
2100
|
+
# Corresponds to the JSON property `runAsNonRoot`
|
2101
|
+
# @return [Boolean]
|
2102
|
+
attr_accessor :run_as_non_root
|
2103
|
+
alias_method :run_as_non_root?, :run_as_non_root
|
2104
|
+
|
2105
|
+
# Optional. The UID to run the entrypoint of the container process. Defaults to
|
2106
|
+
# user specified in image metadata if unspecified. May also be set in
|
2107
|
+
# PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the
|
2108
|
+
# value specified in SecurityContext takes precedence. Note that this field
|
2109
|
+
# cannot be set when spec.os.name is windows. +optional
|
2110
|
+
# Corresponds to the JSON property `runAsUser`
|
2111
|
+
# @return [Fixnum]
|
2112
|
+
attr_accessor :run_as_user
|
2113
|
+
|
1986
2114
|
def initialize(**args)
|
1987
2115
|
update!(**args)
|
1988
2116
|
end
|
1989
2117
|
|
1990
2118
|
# Update properties of this object
|
1991
2119
|
def update!(**args)
|
2120
|
+
@allow_privilege_escalation = args[:allow_privilege_escalation] if args.key?(:allow_privilege_escalation)
|
2121
|
+
@capabilities = args[:capabilities] if args.key?(:capabilities)
|
1992
2122
|
@privileged = args[:privileged] if args.key?(:privileged)
|
2123
|
+
@run_as_group = args[:run_as_group] if args.key?(:run_as_group)
|
2124
|
+
@run_as_non_root = args[:run_as_non_root] if args.key?(:run_as_non_root)
|
2125
|
+
@run_as_user = args[:run_as_user] if args.key?(:run_as_user)
|
1993
2126
|
end
|
1994
2127
|
end
|
1995
2128
|
|
@@ -2075,6 +2208,12 @@ module Google
|
|
2075
2208
|
# @return [String]
|
2076
2209
|
attr_accessor :name
|
2077
2210
|
|
2211
|
+
# Probe describes a health check to be performed against a container to
|
2212
|
+
# determine whether it is alive or ready to receive traffic.
|
2213
|
+
# Corresponds to the JSON property `readinessProbe`
|
2214
|
+
# @return [Google::Apis::CloudbuildV2::Probe]
|
2215
|
+
attr_accessor :readiness_probe
|
2216
|
+
|
2078
2217
|
# The contents of an executable file to execute.
|
2079
2218
|
# Corresponds to the JSON property `script`
|
2080
2219
|
# @return [String]
|
@@ -2106,6 +2245,7 @@ module Google
|
|
2106
2245
|
@env = args[:env] if args.key?(:env)
|
2107
2246
|
@image = args[:image] if args.key?(:image)
|
2108
2247
|
@name = args[:name] if args.key?(:name)
|
2248
|
+
@readiness_probe = args[:readiness_probe] if args.key?(:readiness_probe)
|
2109
2249
|
@script = args[:script] if args.key?(:script)
|
2110
2250
|
@security_context = args[:security_context] if args.key?(:security_context)
|
2111
2251
|
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
@@ -2220,6 +2360,11 @@ module Google
|
|
2220
2360
|
# @return [String]
|
2221
2361
|
attr_accessor :script
|
2222
2362
|
|
2363
|
+
# Security options the container should be run with.
|
2364
|
+
# Corresponds to the JSON property `securityContext`
|
2365
|
+
# @return [Google::Apis::CloudbuildV2::SecurityContext]
|
2366
|
+
attr_accessor :security_context
|
2367
|
+
|
2223
2368
|
# Time after which the Step times out. Defaults to never.
|
2224
2369
|
# Corresponds to the JSON property `timeout`
|
2225
2370
|
# @return [String]
|
@@ -2247,12 +2392,33 @@ module Google
|
|
2247
2392
|
@image = args[:image] if args.key?(:image)
|
2248
2393
|
@name = args[:name] if args.key?(:name)
|
2249
2394
|
@script = args[:script] if args.key?(:script)
|
2395
|
+
@security_context = args[:security_context] if args.key?(:security_context)
|
2250
2396
|
@timeout = args[:timeout] if args.key?(:timeout)
|
2251
2397
|
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
2252
2398
|
@working_dir = args[:working_dir] if args.key?(:working_dir)
|
2253
2399
|
end
|
2254
2400
|
end
|
2255
2401
|
|
2402
|
+
# StepTemplate can be used as the basis for all step containers within the Task,
|
2403
|
+
# so that the steps inherit settings on the base container.
|
2404
|
+
class StepTemplate
|
2405
|
+
include Google::Apis::Core::Hashable
|
2406
|
+
|
2407
|
+
# Optional. List of environment variables to set in the Step. Cannot be updated.
|
2408
|
+
# Corresponds to the JSON property `env`
|
2409
|
+
# @return [Array<Google::Apis::CloudbuildV2::EnvVar>]
|
2410
|
+
attr_accessor :env
|
2411
|
+
|
2412
|
+
def initialize(**args)
|
2413
|
+
update!(**args)
|
2414
|
+
end
|
2415
|
+
|
2416
|
+
# Update properties of this object
|
2417
|
+
def update!(**args)
|
2418
|
+
@env = args[:env] if args.key?(:env)
|
2419
|
+
end
|
2420
|
+
end
|
2421
|
+
|
2256
2422
|
# TaskRef can be used to refer to a specific instance of a task. PipelineRef can
|
2257
2423
|
# be used to refer to a specific instance of a Pipeline.
|
2258
2424
|
class TaskRef
|
@@ -2356,6 +2522,12 @@ module Google
|
|
2356
2522
|
# @return [Array<Google::Apis::CloudbuildV2::Sidecar>]
|
2357
2523
|
attr_accessor :sidecars
|
2358
2524
|
|
2525
|
+
# Optional. StepTemplate can be used as the basis for all step containers within
|
2526
|
+
# the Task, so that the steps inherit settings on the base container.
|
2527
|
+
# Corresponds to the JSON property `stepTemplate`
|
2528
|
+
# @return [Array<Google::Apis::CloudbuildV2::StepTemplate>]
|
2529
|
+
attr_accessor :step_template
|
2530
|
+
|
2359
2531
|
# Steps of the task.
|
2360
2532
|
# Corresponds to the JSON property `steps`
|
2361
2533
|
# @return [Array<Google::Apis::CloudbuildV2::Step>]
|
@@ -2382,6 +2554,7 @@ module Google
|
|
2382
2554
|
@params = args[:params] if args.key?(:params)
|
2383
2555
|
@results = args[:results] if args.key?(:results)
|
2384
2556
|
@sidecars = args[:sidecars] if args.key?(:sidecars)
|
2557
|
+
@step_template = args[:step_template] if args.key?(:step_template)
|
2385
2558
|
@steps = args[:steps] if args.key?(:steps)
|
2386
2559
|
@volumes = args[:volumes] if args.key?(:volumes)
|
2387
2560
|
@workspaces = args[:workspaces] if args.key?(:workspaces)
|
@@ -2631,6 +2804,13 @@ module Google
|
|
2631
2804
|
# @return [Google::Apis::CloudbuildV2::SecretVolumeSource]
|
2632
2805
|
attr_accessor :secret
|
2633
2806
|
|
2807
|
+
# Optional. SubPath is optionally a directory on the volume which should be used
|
2808
|
+
# for this binding (i.e. the volume will be mounted at this sub directory). +
|
2809
|
+
# optional
|
2810
|
+
# Corresponds to the JSON property `subPath`
|
2811
|
+
# @return [String]
|
2812
|
+
attr_accessor :sub_path
|
2813
|
+
|
2634
2814
|
# VolumeClaim is a user's request for a volume.
|
2635
2815
|
# Corresponds to the JSON property `volumeClaim`
|
2636
2816
|
# @return [Google::Apis::CloudbuildV2::VolumeClaim]
|
@@ -2644,6 +2824,7 @@ module Google
|
|
2644
2824
|
def update!(**args)
|
2645
2825
|
@name = args[:name] if args.key?(:name)
|
2646
2826
|
@secret = args[:secret] if args.key?(:secret)
|
2827
|
+
@sub_path = args[:sub_path] if args.key?(:sub_path)
|
2647
2828
|
@volume_claim = args[:volume_claim] if args.key?(:volume_claim)
|
2648
2829
|
end
|
2649
2830
|
end
|
@@ -2667,6 +2848,13 @@ module Google
|
|
2667
2848
|
# @return [String]
|
2668
2849
|
attr_accessor :name
|
2669
2850
|
|
2851
|
+
# Optional. Optional marks a Workspace as not being required in TaskRuns. By
|
2852
|
+
# default this field is false and so declared workspaces are required.
|
2853
|
+
# Corresponds to the JSON property `optional`
|
2854
|
+
# @return [Boolean]
|
2855
|
+
attr_accessor :optional
|
2856
|
+
alias_method :optional?, :optional
|
2857
|
+
|
2670
2858
|
# ReadOnly dictates whether a mounted volume is writable.
|
2671
2859
|
# Corresponds to the JSON property `readOnly`
|
2672
2860
|
# @return [Boolean]
|
@@ -2682,6 +2870,7 @@ module Google
|
|
2682
2870
|
@description = args[:description] if args.key?(:description)
|
2683
2871
|
@mount_path = args[:mount_path] if args.key?(:mount_path)
|
2684
2872
|
@name = args[:name] if args.key?(:name)
|
2873
|
+
@optional = args[:optional] if args.key?(:optional)
|
2685
2874
|
@read_only = args[:read_only] if args.key?(:read_only)
|
2686
2875
|
end
|
2687
2876
|
end
|
@@ -2696,6 +2885,13 @@ module Google
|
|
2696
2885
|
# @return [String]
|
2697
2886
|
attr_accessor :name
|
2698
2887
|
|
2888
|
+
# Optional. SubPath is optionally a directory on the volume which should be used
|
2889
|
+
# for this binding (i.e. the volume will be mounted at this sub directory). +
|
2890
|
+
# optional
|
2891
|
+
# Corresponds to the JSON property `subPath`
|
2892
|
+
# @return [String]
|
2893
|
+
attr_accessor :sub_path
|
2894
|
+
|
2699
2895
|
# Name of the workspace declared by the pipeline.
|
2700
2896
|
# Corresponds to the JSON property `workspace`
|
2701
2897
|
# @return [String]
|
@@ -2708,6 +2904,7 @@ module Google
|
|
2708
2904
|
# Update properties of this object
|
2709
2905
|
def update!(**args)
|
2710
2906
|
@name = args[:name] if args.key?(:name)
|
2907
|
+
@sub_path = args[:sub_path] if args.key?(:sub_path)
|
2711
2908
|
@workspace = args[:workspace] if args.key?(:workspace)
|
2712
2909
|
end
|
2713
2910
|
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.5.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 = "20231109"
|
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
|
@@ -818,6 +857,7 @@ module Google
|
|
818
857
|
|
819
858
|
property :create_time, as: 'createTime'
|
820
859
|
property :etag, as: 'etag'
|
860
|
+
property :finally_start_time, as: 'finallyStartTime'
|
821
861
|
property :name, as: 'name'
|
822
862
|
collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
|
823
863
|
|
@@ -899,6 +939,15 @@ module Google
|
|
899
939
|
end
|
900
940
|
end
|
901
941
|
|
942
|
+
class Probe
|
943
|
+
# @private
|
944
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
945
|
+
property :exec, as: 'exec', class: Google::Apis::CloudbuildV2::ExecAction, decorator: Google::Apis::CloudbuildV2::ExecAction::Representation
|
946
|
+
|
947
|
+
property :period_seconds, as: 'periodSeconds'
|
948
|
+
end
|
949
|
+
end
|
950
|
+
|
902
951
|
class PropertySpec
|
903
952
|
# @private
|
904
953
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -943,7 +992,13 @@ module Google
|
|
943
992
|
class SecurityContext
|
944
993
|
# @private
|
945
994
|
class Representation < Google::Apis::Core::JsonRepresentation
|
995
|
+
property :allow_privilege_escalation, as: 'allowPrivilegeEscalation'
|
996
|
+
property :capabilities, as: 'capabilities', class: Google::Apis::CloudbuildV2::Capabilities, decorator: Google::Apis::CloudbuildV2::Capabilities::Representation
|
997
|
+
|
946
998
|
property :privileged, as: 'privileged'
|
999
|
+
property :run_as_group, :numeric_string => true, as: 'runAsGroup'
|
1000
|
+
property :run_as_non_root, as: 'runAsNonRoot'
|
1001
|
+
property :run_as_user, :numeric_string => true, as: 'runAsUser'
|
947
1002
|
end
|
948
1003
|
end
|
949
1004
|
|
@@ -965,6 +1020,8 @@ module Google
|
|
965
1020
|
|
966
1021
|
property :image, as: 'image'
|
967
1022
|
property :name, as: 'name'
|
1023
|
+
property :readiness_probe, as: 'readinessProbe', class: Google::Apis::CloudbuildV2::Probe, decorator: Google::Apis::CloudbuildV2::Probe::Representation
|
1024
|
+
|
968
1025
|
property :script, as: 'script'
|
969
1026
|
property :security_context, as: 'securityContext', class: Google::Apis::CloudbuildV2::SecurityContext, decorator: Google::Apis::CloudbuildV2::SecurityContext::Representation
|
970
1027
|
|
@@ -1003,6 +1060,8 @@ module Google
|
|
1003
1060
|
property :image, as: 'image'
|
1004
1061
|
property :name, as: 'name'
|
1005
1062
|
property :script, as: 'script'
|
1063
|
+
property :security_context, as: 'securityContext', class: Google::Apis::CloudbuildV2::SecurityContext, decorator: Google::Apis::CloudbuildV2::SecurityContext::Representation
|
1064
|
+
|
1006
1065
|
property :timeout, as: 'timeout'
|
1007
1066
|
collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::CloudbuildV2::VolumeMount, decorator: Google::Apis::CloudbuildV2::VolumeMount::Representation
|
1008
1067
|
|
@@ -1010,6 +1069,14 @@ module Google
|
|
1010
1069
|
end
|
1011
1070
|
end
|
1012
1071
|
|
1072
|
+
class StepTemplate
|
1073
|
+
# @private
|
1074
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1075
|
+
collection :env, as: 'env', class: Google::Apis::CloudbuildV2::EnvVar, decorator: Google::Apis::CloudbuildV2::EnvVar::Representation
|
1076
|
+
|
1077
|
+
end
|
1078
|
+
end
|
1079
|
+
|
1013
1080
|
class TaskRef
|
1014
1081
|
# @private
|
1015
1082
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1042,6 +1109,8 @@ module Google
|
|
1042
1109
|
|
1043
1110
|
collection :sidecars, as: 'sidecars', class: Google::Apis::CloudbuildV2::Sidecar, decorator: Google::Apis::CloudbuildV2::Sidecar::Representation
|
1044
1111
|
|
1112
|
+
collection :step_template, as: 'stepTemplate', class: Google::Apis::CloudbuildV2::StepTemplate, decorator: Google::Apis::CloudbuildV2::StepTemplate::Representation
|
1113
|
+
|
1045
1114
|
collection :steps, as: 'steps', class: Google::Apis::CloudbuildV2::Step, decorator: Google::Apis::CloudbuildV2::Step::Representation
|
1046
1115
|
|
1047
1116
|
collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV2::VolumeSource, decorator: Google::Apis::CloudbuildV2::VolumeSource::Representation
|
@@ -1124,6 +1193,7 @@ module Google
|
|
1124
1193
|
property :name, as: 'name'
|
1125
1194
|
property :secret, as: 'secret', class: Google::Apis::CloudbuildV2::SecretVolumeSource, decorator: Google::Apis::CloudbuildV2::SecretVolumeSource::Representation
|
1126
1195
|
|
1196
|
+
property :sub_path, as: 'subPath'
|
1127
1197
|
property :volume_claim, as: 'volumeClaim', class: Google::Apis::CloudbuildV2::VolumeClaim, decorator: Google::Apis::CloudbuildV2::VolumeClaim::Representation
|
1128
1198
|
|
1129
1199
|
end
|
@@ -1135,6 +1205,7 @@ module Google
|
|
1135
1205
|
property :description, as: 'description'
|
1136
1206
|
property :mount_path, as: 'mountPath'
|
1137
1207
|
property :name, as: 'name'
|
1208
|
+
property :optional, as: 'optional'
|
1138
1209
|
property :read_only, as: 'readOnly'
|
1139
1210
|
end
|
1140
1211
|
end
|
@@ -1143,6 +1214,7 @@ module Google
|
|
1143
1214
|
# @private
|
1144
1215
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1145
1216
|
property :name, as: 'name'
|
1217
|
+
property :sub_path, as: 'subPath'
|
1146
1218
|
property :workspace, as: 'workspace'
|
1147
1219
|
end
|
1148
1220
|
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.5.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-19 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.5.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: []
|