google-apis-cloudbuild_v2 0.9.0 → 0.11.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: 5c0847e5f32c4dab7d328ce457bb55d5edee21ed142ac189b2218509996d92d2
4
- data.tar.gz: 50b226d35f880f56e56d86ff34c9a382ccad0af8335d8c8b6110d112f0afbe7c
3
+ metadata.gz: 658d05b4374ba5d28cb9aa8592cd7e0661b11793f3a00e424b3b91fbeb90e7c4
4
+ data.tar.gz: 602955d56c3fe7d77570330d62066d20eacc947d5a973db13fee4d472605cc7a
5
5
  SHA512:
6
- metadata.gz: 73ac533dfe8fc292541c29b2465698415de04cac593d079a39af68b6a487f206e3cb39dfa9fa64a65fd423ed21583cd5e588332e7e90a7c4ff3cc1ede11d4116
7
- data.tar.gz: 43fca6fbba7556f4069459680fefcfca033ff9389e7338b21ac866cd03437ed67368a5c397936323009a8f488f1fe0886d82a9a60b8a7c834e96a6feb7347a92
6
+ metadata.gz: 77dbb926f8d52b72fba9128ef2daff462fda80920385cbb344f7e139e5382490974740da3ca9272104c397398fabf21d82b4a3647b39dd49398973cb53e3f958
7
+ data.tar.gz: 539710eded76e8a710a554d67532853883997a0e55ec1accfc614aed744ffc0a210a02bee056d3a13e2b3efb4825bdcb23a39fdb8e701304cb608d3542539ac9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudbuild_v2
2
2
 
3
+ ### v0.11.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240207
6
+
7
+ ### v0.10.0 (2024-02-04)
8
+
9
+ * Regenerated from discovery document revision 20240130
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.9.0 (2024-01-23)
4
13
 
5
14
  * 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
@@ -229,6 +232,107 @@ module Google
229
232
  end
230
233
  end
231
234
 
235
+ # Configuration for connections to Bitbucket Cloud.
236
+ class BitbucketCloudConfig
237
+ include Google::Apis::Core::Hashable
238
+
239
+ # Represents a personal access token that authorized the Connection, and
240
+ # associated metadata.
241
+ # Corresponds to the JSON property `authorizerCredential`
242
+ # @return [Google::Apis::CloudbuildV2::UserCredential]
243
+ attr_accessor :authorizer_credential
244
+
245
+ # Represents a personal access token that authorized the Connection, and
246
+ # associated metadata.
247
+ # Corresponds to the JSON property `readAuthorizerCredential`
248
+ # @return [Google::Apis::CloudbuildV2::UserCredential]
249
+ attr_accessor :read_authorizer_credential
250
+
251
+ # Required. SecretManager resource containing the webhook secret used to verify
252
+ # webhook events, formatted as `projects/*/secrets/*/versions/*`.
253
+ # Corresponds to the JSON property `webhookSecretSecretVersion`
254
+ # @return [String]
255
+ attr_accessor :webhook_secret_secret_version
256
+
257
+ # Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud
258
+ # Platform.
259
+ # Corresponds to the JSON property `workspace`
260
+ # @return [String]
261
+ attr_accessor :workspace
262
+
263
+ def initialize(**args)
264
+ update!(**args)
265
+ end
266
+
267
+ # Update properties of this object
268
+ def update!(**args)
269
+ @authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential)
270
+ @read_authorizer_credential = args[:read_authorizer_credential] if args.key?(:read_authorizer_credential)
271
+ @webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version)
272
+ @workspace = args[:workspace] if args.key?(:workspace)
273
+ end
274
+ end
275
+
276
+ # Configuration for connections to Bitbucket Data Center.
277
+ class BitbucketDataCenterConfig
278
+ include Google::Apis::Core::Hashable
279
+
280
+ # Represents a personal access token that authorized the Connection, and
281
+ # associated metadata.
282
+ # Corresponds to the JSON property `authorizerCredential`
283
+ # @return [Google::Apis::CloudbuildV2::UserCredential]
284
+ attr_accessor :authorizer_credential
285
+
286
+ # Required. The URI of the Bitbucket Data Center instance or cluster this
287
+ # connection is for.
288
+ # Corresponds to the JSON property `hostUri`
289
+ # @return [String]
290
+ attr_accessor :host_uri
291
+
292
+ # Represents a personal access token that authorized the Connection, and
293
+ # associated metadata.
294
+ # Corresponds to the JSON property `readAuthorizerCredential`
295
+ # @return [Google::Apis::CloudbuildV2::UserCredential]
296
+ attr_accessor :read_authorizer_credential
297
+
298
+ # Output only. Version of the Bitbucket Data Center running on the `host_uri`.
299
+ # Corresponds to the JSON property `serverVersion`
300
+ # @return [String]
301
+ attr_accessor :server_version
302
+
303
+ # ServiceDirectoryConfig represents Service Directory configuration for a
304
+ # connection.
305
+ # Corresponds to the JSON property `serviceDirectoryConfig`
306
+ # @return [Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig]
307
+ attr_accessor :service_directory_config
308
+
309
+ # Optional. SSL certificate to use for requests to the Bitbucket Data Center.
310
+ # Corresponds to the JSON property `sslCa`
311
+ # @return [String]
312
+ attr_accessor :ssl_ca
313
+
314
+ # Required. Immutable. SecretManager resource containing the webhook secret used
315
+ # to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
316
+ # Corresponds to the JSON property `webhookSecretSecretVersion`
317
+ # @return [String]
318
+ attr_accessor :webhook_secret_secret_version
319
+
320
+ def initialize(**args)
321
+ update!(**args)
322
+ end
323
+
324
+ # Update properties of this object
325
+ def update!(**args)
326
+ @authorizer_credential = args[:authorizer_credential] if args.key?(:authorizer_credential)
327
+ @host_uri = args[:host_uri] if args.key?(:host_uri)
328
+ @read_authorizer_credential = args[:read_authorizer_credential] if args.key?(:read_authorizer_credential)
329
+ @server_version = args[:server_version] if args.key?(:server_version)
330
+ @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config)
331
+ @ssl_ca = args[:ssl_ca] if args.key?(:ssl_ca)
332
+ @webhook_secret_secret_version = args[:webhook_secret_secret_version] if args.key?(:webhook_secret_secret_version)
333
+ end
334
+ end
335
+
232
336
  # The request message for Operations.CancelOperation.
233
337
  class CancelOperationRequest
234
338
  include Google::Apis::Core::Hashable
@@ -306,8 +410,8 @@ module Google
306
410
  end
307
411
  end
308
412
 
309
- # A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center or
310
- # GitLab.
413
+ # A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center,
414
+ # Bitbucket Cloud or GitLab.
311
415
  class Connection
312
416
  include Google::Apis::Core::Hashable
313
417
 
@@ -316,6 +420,16 @@ module Google
316
420
  # @return [Hash<String,String>]
317
421
  attr_accessor :annotations
318
422
 
423
+ # Configuration for connections to Bitbucket Cloud.
424
+ # Corresponds to the JSON property `bitbucketCloudConfig`
425
+ # @return [Google::Apis::CloudbuildV2::BitbucketCloudConfig]
426
+ attr_accessor :bitbucket_cloud_config
427
+
428
+ # Configuration for connections to Bitbucket Data Center.
429
+ # Corresponds to the JSON property `bitbucketDataCenterConfig`
430
+ # @return [Google::Apis::CloudbuildV2::BitbucketDataCenterConfig]
431
+ attr_accessor :bitbucket_data_center_config
432
+
319
433
  # Output only. Server assigned timestamp for when the connection was created.
320
434
  # Corresponds to the JSON property `createTime`
321
435
  # @return [String]
@@ -383,6 +497,8 @@ module Google
383
497
  # Update properties of this object
384
498
  def update!(**args)
385
499
  @annotations = args[:annotations] if args.key?(:annotations)
500
+ @bitbucket_cloud_config = args[:bitbucket_cloud_config] if args.key?(:bitbucket_cloud_config)
501
+ @bitbucket_data_center_config = args[:bitbucket_data_center_config] if args.key?(:bitbucket_data_center_config)
386
502
  @create_time = args[:create_time] if args.key?(:create_time)
387
503
  @disabled = args[:disabled] if args.key?(:disabled)
388
504
  @etag = args[:etag] if args.key?(:etag)
@@ -1530,6 +1646,11 @@ module Google
1530
1646
  # @return [String]
1531
1647
  attr_accessor :finally_start_time
1532
1648
 
1649
+ # Output only. GCB default params.
1650
+ # Corresponds to the JSON property `gcbParams`
1651
+ # @return [Hash<String,String>]
1652
+ attr_accessor :gcb_params
1653
+
1533
1654
  # Output only. The `PipelineRun` name with format `projects/`project`/locations/`
1534
1655
  # location`/pipelineRuns/`pipeline_run``
1535
1656
  # Corresponds to the JSON property `name`
@@ -1556,11 +1677,27 @@ module Google
1556
1677
  # @return [Google::Apis::CloudbuildV2::PipelineSpec]
1557
1678
  attr_accessor :pipeline_spec
1558
1679
 
1680
+ # Provenance configuration.
1681
+ # Corresponds to the JSON property `provenance`
1682
+ # @return [Google::Apis::CloudbuildV2::Provenance]
1683
+ attr_accessor :provenance
1684
+
1685
+ # Output only. The `Record` of this `PipelineRun`. Format: `projects/`project`/
1686
+ # locations/`location`/results/`result_id`/records/`record_id``
1687
+ # Corresponds to the JSON property `record`
1688
+ # @return [String]
1689
+ attr_accessor :record
1690
+
1559
1691
  # PipelineSpec defines the desired state of Pipeline.
1560
1692
  # Corresponds to the JSON property `resolvedPipelineSpec`
1561
1693
  # @return [Google::Apis::CloudbuildV2::PipelineSpec]
1562
1694
  attr_accessor :resolved_pipeline_spec
1563
1695
 
1696
+ # Security configuration.
1697
+ # Corresponds to the JSON property `security`
1698
+ # @return [Google::Apis::CloudbuildV2::Security]
1699
+ attr_accessor :security
1700
+
1564
1701
  # Service account used in the Pipeline.
1565
1702
  # Corresponds to the JSON property `serviceAccount`
1566
1703
  # @return [String]
@@ -1594,6 +1731,11 @@ module Google
1594
1731
  # @return [String]
1595
1732
  attr_accessor :update_time
1596
1733
 
1734
+ # Configuration for the worker.
1735
+ # Corresponds to the JSON property `worker`
1736
+ # @return [Google::Apis::CloudbuildV2::Worker]
1737
+ attr_accessor :worker
1738
+
1597
1739
  # Output only. The WorkerPool used to run this PipelineRun.
1598
1740
  # Corresponds to the JSON property `workerPool`
1599
1741
  # @return [String]
@@ -1622,18 +1764,23 @@ module Google
1622
1764
  @create_time = args[:create_time] if args.key?(:create_time)
1623
1765
  @etag = args[:etag] if args.key?(:etag)
1624
1766
  @finally_start_time = args[:finally_start_time] if args.key?(:finally_start_time)
1767
+ @gcb_params = args[:gcb_params] if args.key?(:gcb_params)
1625
1768
  @name = args[:name] if args.key?(:name)
1626
1769
  @params = args[:params] if args.key?(:params)
1627
1770
  @pipeline_ref = args[:pipeline_ref] if args.key?(:pipeline_ref)
1628
1771
  @pipeline_run_status = args[:pipeline_run_status] if args.key?(:pipeline_run_status)
1629
1772
  @pipeline_spec = args[:pipeline_spec] if args.key?(:pipeline_spec)
1773
+ @provenance = args[:provenance] if args.key?(:provenance)
1774
+ @record = args[:record] if args.key?(:record)
1630
1775
  @resolved_pipeline_spec = args[:resolved_pipeline_spec] if args.key?(:resolved_pipeline_spec)
1776
+ @security = args[:security] if args.key?(:security)
1631
1777
  @service_account = args[:service_account] if args.key?(:service_account)
1632
1778
  @skipped_tasks = args[:skipped_tasks] if args.key?(:skipped_tasks)
1633
1779
  @start_time = args[:start_time] if args.key?(:start_time)
1634
1780
  @timeouts = args[:timeouts] if args.key?(:timeouts)
1635
1781
  @uid = args[:uid] if args.key?(:uid)
1636
1782
  @update_time = args[:update_time] if args.key?(:update_time)
1783
+ @worker = args[:worker] if args.key?(:worker)
1637
1784
  @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
1638
1785
  @workflow = args[:workflow] if args.key?(:workflow)
1639
1786
  @workspaces = args[:workspaces] if args.key?(:workspaces)
@@ -1935,6 +2082,37 @@ module Google
1935
2082
  end
1936
2083
  end
1937
2084
 
2085
+ # Provenance configuration.
2086
+ class Provenance
2087
+ include Google::Apis::Core::Hashable
2088
+
2089
+ # Optional. Provenance push mode.
2090
+ # Corresponds to the JSON property `enabled`
2091
+ # @return [String]
2092
+ attr_accessor :enabled
2093
+
2094
+ # Optional. Provenance region.
2095
+ # Corresponds to the JSON property `region`
2096
+ # @return [String]
2097
+ attr_accessor :region
2098
+
2099
+ # Optional. Where provenance is stored.
2100
+ # Corresponds to the JSON property `storage`
2101
+ # @return [String]
2102
+ attr_accessor :storage
2103
+
2104
+ def initialize(**args)
2105
+ update!(**args)
2106
+ end
2107
+
2108
+ # Update properties of this object
2109
+ def update!(**args)
2110
+ @enabled = args[:enabled] if args.key?(:enabled)
2111
+ @region = args[:region] if args.key?(:region)
2112
+ @storage = args[:storage] if args.key?(:storage)
2113
+ end
2114
+ end
2115
+
1938
2116
  # A repository associated to a parent connection.
1939
2117
  class Repository
1940
2118
  include Google::Apis::Core::Hashable
@@ -2078,6 +2256,31 @@ module Google
2078
2256
  end
2079
2257
  end
2080
2258
 
2259
+ # Security configuration.
2260
+ class Security
2261
+ include Google::Apis::Core::Hashable
2262
+
2263
+ # Optional. Privilege mode.
2264
+ # Corresponds to the JSON property `privilegeMode`
2265
+ # @return [String]
2266
+ attr_accessor :privilege_mode
2267
+
2268
+ # IAM service account whose credentials will be used at runtime.
2269
+ # Corresponds to the JSON property `serviceAccount`
2270
+ # @return [String]
2271
+ attr_accessor :service_account
2272
+
2273
+ def initialize(**args)
2274
+ update!(**args)
2275
+ end
2276
+
2277
+ # Update properties of this object
2278
+ def update!(**args)
2279
+ @privilege_mode = args[:privilege_mode] if args.key?(:privilege_mode)
2280
+ @service_account = args[:service_account] if args.key?(:service_account)
2281
+ end
2282
+ end
2283
+
2081
2284
  # Security options the container should be run with.
2082
2285
  class SecurityContext
2083
2286
  include Google::Apis::Core::Hashable
@@ -2817,6 +3020,25 @@ module Google
2817
3020
  end
2818
3021
  end
2819
3022
 
3023
+ # Configuration for the worker.
3024
+ class Worker
3025
+ include Google::Apis::Core::Hashable
3026
+
3027
+ # Optional. Machine type of a worker, default is "e2-standard-2".
3028
+ # Corresponds to the JSON property `machineType`
3029
+ # @return [String]
3030
+ attr_accessor :machine_type
3031
+
3032
+ def initialize(**args)
3033
+ update!(**args)
3034
+ end
3035
+
3036
+ # Update properties of this object
3037
+ def update!(**args)
3038
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
3039
+ end
3040
+ end
3041
+
2820
3042
  # WorkspaceBinding maps a workspace to a Volume. PipelineRef can be used to
2821
3043
  # refer to a specific instance of a Pipeline.
2822
3044
  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.9.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231231"
25
+ REVISION = "20240207"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,18 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class BitbucketCloudConfig
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class BitbucketDataCenterConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
55
67
  class CancelOperationRequest
56
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
69
 
@@ -310,6 +322,12 @@ module Google
310
322
  include Google::Apis::Core::JsonObjectSupport
311
323
  end
312
324
 
325
+ class Provenance
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
313
331
  class Repository
314
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
333
 
@@ -328,6 +346,12 @@ module Google
328
346
  include Google::Apis::Core::JsonObjectSupport
329
347
  end
330
348
 
349
+ class Security
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
331
355
  class SecurityContext
332
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
357
 
@@ -436,6 +460,12 @@ module Google
436
460
  include Google::Apis::Core::JsonObjectSupport
437
461
  end
438
462
 
463
+ class Worker
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
439
469
  class WorkspaceBinding
440
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
471
 
@@ -497,6 +527,34 @@ module Google
497
527
  end
498
528
  end
499
529
 
530
+ class BitbucketCloudConfig
531
+ # @private
532
+ class Representation < Google::Apis::Core::JsonRepresentation
533
+ property :authorizer_credential, as: 'authorizerCredential', class: Google::Apis::CloudbuildV2::UserCredential, decorator: Google::Apis::CloudbuildV2::UserCredential::Representation
534
+
535
+ property :read_authorizer_credential, as: 'readAuthorizerCredential', class: Google::Apis::CloudbuildV2::UserCredential, decorator: Google::Apis::CloudbuildV2::UserCredential::Representation
536
+
537
+ property :webhook_secret_secret_version, as: 'webhookSecretSecretVersion'
538
+ property :workspace, as: 'workspace'
539
+ end
540
+ end
541
+
542
+ class BitbucketDataCenterConfig
543
+ # @private
544
+ class Representation < Google::Apis::Core::JsonRepresentation
545
+ property :authorizer_credential, as: 'authorizerCredential', class: Google::Apis::CloudbuildV2::UserCredential, decorator: Google::Apis::CloudbuildV2::UserCredential::Representation
546
+
547
+ property :host_uri, as: 'hostUri'
548
+ property :read_authorizer_credential, as: 'readAuthorizerCredential', class: Google::Apis::CloudbuildV2::UserCredential, decorator: Google::Apis::CloudbuildV2::UserCredential::Representation
549
+
550
+ property :server_version, as: 'serverVersion'
551
+ property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig, decorator: Google::Apis::CloudbuildV2::GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig::Representation
552
+
553
+ property :ssl_ca, as: 'sslCa'
554
+ property :webhook_secret_secret_version, as: 'webhookSecretSecretVersion'
555
+ end
556
+ end
557
+
500
558
  class CancelOperationRequest
501
559
  # @private
502
560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -526,6 +584,10 @@ module Google
526
584
  # @private
527
585
  class Representation < Google::Apis::Core::JsonRepresentation
528
586
  hash :annotations, as: 'annotations'
587
+ property :bitbucket_cloud_config, as: 'bitbucketCloudConfig', class: Google::Apis::CloudbuildV2::BitbucketCloudConfig, decorator: Google::Apis::CloudbuildV2::BitbucketCloudConfig::Representation
588
+
589
+ property :bitbucket_data_center_config, as: 'bitbucketDataCenterConfig', class: Google::Apis::CloudbuildV2::BitbucketDataCenterConfig, decorator: Google::Apis::CloudbuildV2::BitbucketDataCenterConfig::Representation
590
+
529
591
  property :create_time, as: 'createTime'
530
592
  property :disabled, as: 'disabled'
531
593
  property :etag, as: 'etag'
@@ -858,6 +920,7 @@ module Google
858
920
  property :create_time, as: 'createTime'
859
921
  property :etag, as: 'etag'
860
922
  property :finally_start_time, as: 'finallyStartTime'
923
+ hash :gcb_params, as: 'gcbParams'
861
924
  property :name, as: 'name'
862
925
  collection :params, as: 'params', class: Google::Apis::CloudbuildV2::Param, decorator: Google::Apis::CloudbuildV2::Param::Representation
863
926
 
@@ -866,8 +929,13 @@ module Google
866
929
  property :pipeline_run_status, as: 'pipelineRunStatus'
867
930
  property :pipeline_spec, as: 'pipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
868
931
 
932
+ property :provenance, as: 'provenance', class: Google::Apis::CloudbuildV2::Provenance, decorator: Google::Apis::CloudbuildV2::Provenance::Representation
933
+
934
+ property :record, as: 'record'
869
935
  property :resolved_pipeline_spec, as: 'resolvedPipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
870
936
 
937
+ property :security, as: 'security', class: Google::Apis::CloudbuildV2::Security, decorator: Google::Apis::CloudbuildV2::Security::Representation
938
+
871
939
  property :service_account, as: 'serviceAccount'
872
940
  collection :skipped_tasks, as: 'skippedTasks', class: Google::Apis::CloudbuildV2::SkippedTask, decorator: Google::Apis::CloudbuildV2::SkippedTask::Representation
873
941
 
@@ -876,6 +944,8 @@ module Google
876
944
 
877
945
  property :uid, as: 'uid'
878
946
  property :update_time, as: 'updateTime'
947
+ property :worker, as: 'worker', class: Google::Apis::CloudbuildV2::Worker, decorator: Google::Apis::CloudbuildV2::Worker::Representation
948
+
879
949
  property :worker_pool, as: 'workerPool'
880
950
  property :workflow, as: 'workflow'
881
951
  collection :workspaces, as: 'workspaces', class: Google::Apis::CloudbuildV2::WorkspaceBinding, decorator: Google::Apis::CloudbuildV2::WorkspaceBinding::Representation
@@ -955,6 +1025,15 @@ module Google
955
1025
  end
956
1026
  end
957
1027
 
1028
+ class Provenance
1029
+ # @private
1030
+ class Representation < Google::Apis::Core::JsonRepresentation
1031
+ property :enabled, as: 'enabled'
1032
+ property :region, as: 'region'
1033
+ property :storage, as: 'storage'
1034
+ end
1035
+ end
1036
+
958
1037
  class Repository
959
1038
  # @private
960
1039
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -989,6 +1068,14 @@ module Google
989
1068
  end
990
1069
  end
991
1070
 
1071
+ class Security
1072
+ # @private
1073
+ class Representation < Google::Apis::Core::JsonRepresentation
1074
+ property :privilege_mode, as: 'privilegeMode'
1075
+ property :service_account, as: 'serviceAccount'
1076
+ end
1077
+ end
1078
+
992
1079
  class SecurityContext
993
1080
  # @private
994
1081
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1189,6 +1276,13 @@ module Google
1189
1276
  end
1190
1277
  end
1191
1278
 
1279
+ class Worker
1280
+ # @private
1281
+ class Representation < Google::Apis::Core::JsonRepresentation
1282
+ property :machine_type, as: 'machineType'
1283
+ end
1284
+ end
1285
+
1192
1286
  class WorkspaceBinding
1193
1287
  # @private
1194
1288
  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.9.0
4
+ version: 0.11.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-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-18 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.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v2/v0.11.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: []