google-apis-cloudbuild_v2 0.10.0 → 0.12.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: d76afc7c5283adca7c76d3b8926c09ec90882398d149d19ce2f1261e7361128d
4
- data.tar.gz: 18d2e1469c35562e4c3eb4794930c3f607b9b849a69dcf9178f362cc4069d5db
3
+ metadata.gz: 0a00befcf1725b0382a0f3fb94e44b677b1fef5f571fe8946200fd1a90a91874
4
+ data.tar.gz: 3f168298280d2a6ee122911761f3a182320f51cc02d77a78f7a3c6ba3e0fa7bd
5
5
  SHA512:
6
- metadata.gz: e15217496a3a6e273bda77970c00472bccfc3bd4a3bd16b54fbcc8d2b66c8a0e26ecedf330e9f711b17d0dbb5b56f5d1702a3a89432c7d6cd5de58835d435846
7
- data.tar.gz: e9df775387c5912ae087b74b16fd6d143c2f618a13a403344cdd4c15ff408deaa44e9f1a9d2a6d2e0d4a65e7265889a91cbb7341d471eda560af544249f1f747
6
+ metadata.gz: 93b9a6285ba20c1eb4ef2c9cca710a9816597d6bc701c0308a7afed302c5573537033f8da52c0a1b6b7dfbc79bb27aaac8bf3f6a7e6565a722d88005c21afd8e
7
+ data.tar.gz: 4211f7e5c44b3b2efdc636fedd0f7ac80f78d92f2637d5e979e138ebd6ccf31080803122613388bbe004ead315ee28081b4bd600f0bae0d39c4de8e28341ee44
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudbuild_v2
2
2
 
3
+ ### v0.12.0 (2024-02-23)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.11.0 (2024-02-18)
8
+
9
+ * Regenerated from discovery document revision 20240207
10
+
3
11
  ### v0.10.0 (2024-02-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20240130
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/cloud-build/docs/) may prov
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -232,6 +232,107 @@ module Google
232
232
  end
233
233
  end
234
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
+
235
336
  # The request message for Operations.CancelOperation.
236
337
  class CancelOperationRequest
237
338
  include Google::Apis::Core::Hashable
@@ -309,8 +410,8 @@ module Google
309
410
  end
310
411
  end
311
412
 
312
- # A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center or
313
- # GitLab.
413
+ # A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center,
414
+ # Bitbucket Cloud or GitLab.
314
415
  class Connection
315
416
  include Google::Apis::Core::Hashable
316
417
 
@@ -319,6 +420,16 @@ module Google
319
420
  # @return [Hash<String,String>]
320
421
  attr_accessor :annotations
321
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
+
322
433
  # Output only. Server assigned timestamp for when the connection was created.
323
434
  # Corresponds to the JSON property `createTime`
324
435
  # @return [String]
@@ -386,6 +497,8 @@ module Google
386
497
  # Update properties of this object
387
498
  def update!(**args)
388
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)
389
502
  @create_time = args[:create_time] if args.key?(:create_time)
390
503
  @disabled = args[:disabled] if args.key?(:disabled)
391
504
  @etag = args[:etag] if args.key?(:etag)
@@ -1569,6 +1682,12 @@ module Google
1569
1682
  # @return [Google::Apis::CloudbuildV2::Provenance]
1570
1683
  attr_accessor :provenance
1571
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
+
1572
1691
  # PipelineSpec defines the desired state of Pipeline.
1573
1692
  # Corresponds to the JSON property `resolvedPipelineSpec`
1574
1693
  # @return [Google::Apis::CloudbuildV2::PipelineSpec]
@@ -1652,6 +1771,7 @@ module Google
1652
1771
  @pipeline_run_status = args[:pipeline_run_status] if args.key?(:pipeline_run_status)
1653
1772
  @pipeline_spec = args[:pipeline_spec] if args.key?(:pipeline_spec)
1654
1773
  @provenance = args[:provenance] if args.key?(:provenance)
1774
+ @record = args[:record] if args.key?(:record)
1655
1775
  @resolved_pipeline_spec = args[:resolved_pipeline_spec] if args.key?(:resolved_pipeline_spec)
1656
1776
  @security = args[:security] if args.key?(:security)
1657
1777
  @service_account = args[:service_account] if args.key?(:service_account)
@@ -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.10.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240130"
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
 
@@ -515,6 +527,34 @@ module Google
515
527
  end
516
528
  end
517
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
+
518
558
  class CancelOperationRequest
519
559
  # @private
520
560
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -544,6 +584,10 @@ module Google
544
584
  # @private
545
585
  class Representation < Google::Apis::Core::JsonRepresentation
546
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
+
547
591
  property :create_time, as: 'createTime'
548
592
  property :disabled, as: 'disabled'
549
593
  property :etag, as: 'etag'
@@ -887,6 +931,7 @@ module Google
887
931
 
888
932
  property :provenance, as: 'provenance', class: Google::Apis::CloudbuildV2::Provenance, decorator: Google::Apis::CloudbuildV2::Provenance::Representation
889
933
 
934
+ property :record, as: 'record'
890
935
  property :resolved_pipeline_spec, as: 'resolvedPipelineSpec', class: Google::Apis::CloudbuildV2::PipelineSpec, decorator: Google::Apis::CloudbuildV2::PipelineSpec::Representation
891
936
 
892
937
  property :security, as: 'security', class: Google::Apis::CloudbuildV2::Security, decorator: Google::Apis::CloudbuildV2::Security::Representation
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.10.0
4
+ version: 0.12.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-02-04 00:00:00.000000000 Z
11
+ date: 2024-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v2/v0.12.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Build API V2