google-apis-cloudbuild_v2 0.9.0 → 0.10.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d76afc7c5283adca7c76d3b8926c09ec90882398d149d19ce2f1261e7361128d
|
4
|
+
data.tar.gz: 18d2e1469c35562e4c3eb4794930c3f607b9b849a69dcf9178f362cc4069d5db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e15217496a3a6e273bda77970c00472bccfc3bd4a3bd16b54fbcc8d2b66c8a0e26ecedf330e9f711b17d0dbb5b56f5d1702a3a89432c7d6cd5de58835d435846
|
7
|
+
data.tar.gz: e9df775387c5912ae087b74b16fd6d143c2f618a13a403344cdd4c15ff408deaa44e9f1a9d2a6d2e0d4a65e7265889a91cbb7341d471eda560af544249f1f747
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-cloudbuild_v2
|
2
2
|
|
3
|
+
### v0.10.0 (2024-02-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240130
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
3
8
|
### v0.9.0 (2024-01-23)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.13.0
|
@@ -212,7 +212,10 @@ module Google
|
|
212
212
|
attr_accessor :members
|
213
213
|
|
214
214
|
# Role that is assigned to the list of `members`, or principals. For example, `
|
215
|
-
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
215
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
|
216
|
+
# roles and permissions, see the [IAM documentation](https://cloud.google.com/
|
217
|
+
# iam/docs/roles-overview). For a list of the available pre-defined roles, see [
|
218
|
+
# here](https://cloud.google.com/iam/docs/understanding-roles).
|
216
219
|
# Corresponds to the JSON property `role`
|
217
220
|
# @return [String]
|
218
221
|
attr_accessor :role
|
@@ -1530,6 +1533,11 @@ module Google
|
|
1530
1533
|
# @return [String]
|
1531
1534
|
attr_accessor :finally_start_time
|
1532
1535
|
|
1536
|
+
# Output only. GCB default params.
|
1537
|
+
# Corresponds to the JSON property `gcbParams`
|
1538
|
+
# @return [Hash<String,String>]
|
1539
|
+
attr_accessor :gcb_params
|
1540
|
+
|
1533
1541
|
# Output only. The `PipelineRun` name with format `projects/`project`/locations/`
|
1534
1542
|
# location`/pipelineRuns/`pipeline_run``
|
1535
1543
|
# Corresponds to the JSON property `name`
|
@@ -1556,11 +1564,21 @@ module Google
|
|
1556
1564
|
# @return [Google::Apis::CloudbuildV2::PipelineSpec]
|
1557
1565
|
attr_accessor :pipeline_spec
|
1558
1566
|
|
1567
|
+
# Provenance configuration.
|
1568
|
+
# Corresponds to the JSON property `provenance`
|
1569
|
+
# @return [Google::Apis::CloudbuildV2::Provenance]
|
1570
|
+
attr_accessor :provenance
|
1571
|
+
|
1559
1572
|
# PipelineSpec defines the desired state of Pipeline.
|
1560
1573
|
# Corresponds to the JSON property `resolvedPipelineSpec`
|
1561
1574
|
# @return [Google::Apis::CloudbuildV2::PipelineSpec]
|
1562
1575
|
attr_accessor :resolved_pipeline_spec
|
1563
1576
|
|
1577
|
+
# Security configuration.
|
1578
|
+
# Corresponds to the JSON property `security`
|
1579
|
+
# @return [Google::Apis::CloudbuildV2::Security]
|
1580
|
+
attr_accessor :security
|
1581
|
+
|
1564
1582
|
# Service account used in the Pipeline.
|
1565
1583
|
# Corresponds to the JSON property `serviceAccount`
|
1566
1584
|
# @return [String]
|
@@ -1594,6 +1612,11 @@ module Google
|
|
1594
1612
|
# @return [String]
|
1595
1613
|
attr_accessor :update_time
|
1596
1614
|
|
1615
|
+
# Configuration for the worker.
|
1616
|
+
# Corresponds to the JSON property `worker`
|
1617
|
+
# @return [Google::Apis::CloudbuildV2::Worker]
|
1618
|
+
attr_accessor :worker
|
1619
|
+
|
1597
1620
|
# Output only. The WorkerPool used to run this PipelineRun.
|
1598
1621
|
# Corresponds to the JSON property `workerPool`
|
1599
1622
|
# @return [String]
|
@@ -1622,18 +1645,22 @@ module Google
|
|
1622
1645
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1623
1646
|
@etag = args[:etag] if args.key?(:etag)
|
1624
1647
|
@finally_start_time = args[:finally_start_time] if args.key?(:finally_start_time)
|
1648
|
+
@gcb_params = args[:gcb_params] if args.key?(:gcb_params)
|
1625
1649
|
@name = args[:name] if args.key?(:name)
|
1626
1650
|
@params = args[:params] if args.key?(:params)
|
1627
1651
|
@pipeline_ref = args[:pipeline_ref] if args.key?(:pipeline_ref)
|
1628
1652
|
@pipeline_run_status = args[:pipeline_run_status] if args.key?(:pipeline_run_status)
|
1629
1653
|
@pipeline_spec = args[:pipeline_spec] if args.key?(:pipeline_spec)
|
1654
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
1630
1655
|
@resolved_pipeline_spec = args[:resolved_pipeline_spec] if args.key?(:resolved_pipeline_spec)
|
1656
|
+
@security = args[:security] if args.key?(:security)
|
1631
1657
|
@service_account = args[:service_account] if args.key?(:service_account)
|
1632
1658
|
@skipped_tasks = args[:skipped_tasks] if args.key?(:skipped_tasks)
|
1633
1659
|
@start_time = args[:start_time] if args.key?(:start_time)
|
1634
1660
|
@timeouts = args[:timeouts] if args.key?(:timeouts)
|
1635
1661
|
@uid = args[:uid] if args.key?(:uid)
|
1636
1662
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1663
|
+
@worker = args[:worker] if args.key?(:worker)
|
1637
1664
|
@worker_pool = args[:worker_pool] if args.key?(:worker_pool)
|
1638
1665
|
@workflow = args[:workflow] if args.key?(:workflow)
|
1639
1666
|
@workspaces = args[:workspaces] if args.key?(:workspaces)
|
@@ -1935,6 +1962,37 @@ module Google
|
|
1935
1962
|
end
|
1936
1963
|
end
|
1937
1964
|
|
1965
|
+
# Provenance configuration.
|
1966
|
+
class Provenance
|
1967
|
+
include Google::Apis::Core::Hashable
|
1968
|
+
|
1969
|
+
# Optional. Provenance push mode.
|
1970
|
+
# Corresponds to the JSON property `enabled`
|
1971
|
+
# @return [String]
|
1972
|
+
attr_accessor :enabled
|
1973
|
+
|
1974
|
+
# Optional. Provenance region.
|
1975
|
+
# Corresponds to the JSON property `region`
|
1976
|
+
# @return [String]
|
1977
|
+
attr_accessor :region
|
1978
|
+
|
1979
|
+
# Optional. Where provenance is stored.
|
1980
|
+
# Corresponds to the JSON property `storage`
|
1981
|
+
# @return [String]
|
1982
|
+
attr_accessor :storage
|
1983
|
+
|
1984
|
+
def initialize(**args)
|
1985
|
+
update!(**args)
|
1986
|
+
end
|
1987
|
+
|
1988
|
+
# Update properties of this object
|
1989
|
+
def update!(**args)
|
1990
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1991
|
+
@region = args[:region] if args.key?(:region)
|
1992
|
+
@storage = args[:storage] if args.key?(:storage)
|
1993
|
+
end
|
1994
|
+
end
|
1995
|
+
|
1938
1996
|
# A repository associated to a parent connection.
|
1939
1997
|
class Repository
|
1940
1998
|
include Google::Apis::Core::Hashable
|
@@ -2078,6 +2136,31 @@ module Google
|
|
2078
2136
|
end
|
2079
2137
|
end
|
2080
2138
|
|
2139
|
+
# Security configuration.
|
2140
|
+
class Security
|
2141
|
+
include Google::Apis::Core::Hashable
|
2142
|
+
|
2143
|
+
# Optional. Privilege mode.
|
2144
|
+
# Corresponds to the JSON property `privilegeMode`
|
2145
|
+
# @return [String]
|
2146
|
+
attr_accessor :privilege_mode
|
2147
|
+
|
2148
|
+
# IAM service account whose credentials will be used at runtime.
|
2149
|
+
# Corresponds to the JSON property `serviceAccount`
|
2150
|
+
# @return [String]
|
2151
|
+
attr_accessor :service_account
|
2152
|
+
|
2153
|
+
def initialize(**args)
|
2154
|
+
update!(**args)
|
2155
|
+
end
|
2156
|
+
|
2157
|
+
# Update properties of this object
|
2158
|
+
def update!(**args)
|
2159
|
+
@privilege_mode = args[:privilege_mode] if args.key?(:privilege_mode)
|
2160
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
2161
|
+
end
|
2162
|
+
end
|
2163
|
+
|
2081
2164
|
# Security options the container should be run with.
|
2082
2165
|
class SecurityContext
|
2083
2166
|
include Google::Apis::Core::Hashable
|
@@ -2817,6 +2900,25 @@ module Google
|
|
2817
2900
|
end
|
2818
2901
|
end
|
2819
2902
|
|
2903
|
+
# Configuration for the worker.
|
2904
|
+
class Worker
|
2905
|
+
include Google::Apis::Core::Hashable
|
2906
|
+
|
2907
|
+
# Optional. Machine type of a worker, default is "e2-standard-2".
|
2908
|
+
# Corresponds to the JSON property `machineType`
|
2909
|
+
# @return [String]
|
2910
|
+
attr_accessor :machine_type
|
2911
|
+
|
2912
|
+
def initialize(**args)
|
2913
|
+
update!(**args)
|
2914
|
+
end
|
2915
|
+
|
2916
|
+
# Update properties of this object
|
2917
|
+
def update!(**args)
|
2918
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
2919
|
+
end
|
2920
|
+
end
|
2921
|
+
|
2820
2922
|
# WorkspaceBinding maps a workspace to a Volume. PipelineRef can be used to
|
2821
2923
|
# refer to a specific instance of a Pipeline.
|
2822
2924
|
class WorkspaceBinding
|
@@ -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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240130"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -310,6 +310,12 @@ module Google
|
|
310
310
|
include Google::Apis::Core::JsonObjectSupport
|
311
311
|
end
|
312
312
|
|
313
|
+
class Provenance
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
313
319
|
class Repository
|
314
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
321
|
|
@@ -328,6 +334,12 @@ module Google
|
|
328
334
|
include Google::Apis::Core::JsonObjectSupport
|
329
335
|
end
|
330
336
|
|
337
|
+
class Security
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
331
343
|
class SecurityContext
|
332
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
345
|
|
@@ -436,6 +448,12 @@ module Google
|
|
436
448
|
include Google::Apis::Core::JsonObjectSupport
|
437
449
|
end
|
438
450
|
|
451
|
+
class Worker
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
439
457
|
class WorkspaceBinding
|
440
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
459
|
|
@@ -858,6 +876,7 @@ module Google
|
|
858
876
|
property :create_time, as: 'createTime'
|
859
877
|
property :etag, as: 'etag'
|
860
878
|
property :finally_start_time, as: 'finallyStartTime'
|
879
|
+
hash :gcb_params, as: 'gcbParams'
|
861
880
|
property :name, as: 'name'
|
862
881
|
collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
|
863
882
|
|
@@ -866,8 +885,12 @@ module Google
|
|
866
885
|
property :pipeline_run_status, as: 'pipelineRunStatus'
|
867
886
|
property :pipeline_spec, as: 'pipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
|
868
887
|
|
888
|
+
property :provenance, as: 'provenance', class: Google::Apis::CloudbuildV2::Provenance, decorator: Google::Apis::CloudbuildV2::Provenance::Representation
|
889
|
+
|
869
890
|
property :resolved_pipeline_spec, as: 'resolvedPipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
|
870
891
|
|
892
|
+
property :security, as: 'security', class: Google::Apis::CloudbuildV2::Security, decorator: Google::Apis::CloudbuildV2::Security::Representation
|
893
|
+
|
871
894
|
property :service_account, as: 'serviceAccount'
|
872
895
|
collection :skipped_tasks, as: 'skippedTasks', class: Google::Apis::CloudbuildV2::SkippedTask, decorator: Google::Apis::CloudbuildV2::SkippedTask::Representation
|
873
896
|
|
@@ -876,6 +899,8 @@ module Google
|
|
876
899
|
|
877
900
|
property :uid, as: 'uid'
|
878
901
|
property :update_time, as: 'updateTime'
|
902
|
+
property :worker, as: 'worker', class: Google::Apis::CloudbuildV2::Worker, decorator: Google::Apis::CloudbuildV2::Worker::Representation
|
903
|
+
|
879
904
|
property :worker_pool, as: 'workerPool'
|
880
905
|
property :workflow, as: 'workflow'
|
881
906
|
collection :workspaces, as: 'workspaces', class: Google::Apis::CloudbuildV2::WorkspaceBinding, decorator: Google::Apis::CloudbuildV2::WorkspaceBinding::Representation
|
@@ -955,6 +980,15 @@ module Google
|
|
955
980
|
end
|
956
981
|
end
|
957
982
|
|
983
|
+
class Provenance
|
984
|
+
# @private
|
985
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
986
|
+
property :enabled, as: 'enabled'
|
987
|
+
property :region, as: 'region'
|
988
|
+
property :storage, as: 'storage'
|
989
|
+
end
|
990
|
+
end
|
991
|
+
|
958
992
|
class Repository
|
959
993
|
# @private
|
960
994
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -989,6 +1023,14 @@ module Google
|
|
989
1023
|
end
|
990
1024
|
end
|
991
1025
|
|
1026
|
+
class Security
|
1027
|
+
# @private
|
1028
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1029
|
+
property :privilege_mode, as: 'privilegeMode'
|
1030
|
+
property :service_account, as: 'serviceAccount'
|
1031
|
+
end
|
1032
|
+
end
|
1033
|
+
|
992
1034
|
class SecurityContext
|
993
1035
|
# @private
|
994
1036
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1189,6 +1231,13 @@ module Google
|
|
1189
1231
|
end
|
1190
1232
|
end
|
1191
1233
|
|
1234
|
+
class Worker
|
1235
|
+
# @private
|
1236
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1237
|
+
property :machine_type, as: 'machineType'
|
1238
|
+
end
|
1239
|
+
end
|
1240
|
+
|
1192
1241
|
class WorkspaceBinding
|
1193
1242
|
# @private
|
1194
1243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.10.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: 2024-
|
11
|
+
date: 2024-02-04 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.10.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: []
|