google-apis-cloudbuild_v1 0.42.0 → 0.43.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: f5c37ab05e2e4cbca64f5d8f566c1b2541d0a12e1b538612f2172e08a0395ad8
4
- data.tar.gz: 81494e4a7b566edc20a0efe7a29c49a5a8244e3d1bb2cf8fc6f60824d89e6915
3
+ metadata.gz: f49f0b7d89b10b1b3196b06ff2ab8b509008164394ffcbc2edb7d5843ba585b8
4
+ data.tar.gz: 1de6a888f41327f145908be19440e159cb90af572c27734a97c9d6fa703093e9
5
5
  SHA512:
6
- metadata.gz: d1e4fc8068bd539ee838be78762c7078eeb126cc1943d11c6e7fc6cfe12ac3b7173cffff80a2c4c3a458a779884eb6c35df7b611fcfdee0100d8c29357536ea2
7
- data.tar.gz: 90a8c8d48294ee1b5f84b57f0d557b9a186a2d18cd5da735fa9f146f2f37b1dc0c4f34da7092247fc0297ef6616131499653921eb24b0de1dd7f57f1a1cf6def
6
+ metadata.gz: 501997339d6b0b19fd25483325e5a9d7094f866907f611165be502791817c3d5993571b79bd9399746f3f37a9a6783ee817cb27065c0645351a7784508082701
7
+ data.tar.gz: 653c9ffede65f7282fbfd8bcec4244ae5abe5df693c40c0920d1080036a9e75325c0dab3b63f54a2e63baa95e5e2aec8bdf91811efd14888ee28ce1a96b91212
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.43.0 (2022-11-13)
4
+
5
+ * Regenerated from discovery document revision 20221103
6
+
3
7
  ### v0.42.0 (2022-11-04)
4
8
 
5
9
  * Regenerated from discovery document revision 20221027
@@ -1358,6 +1358,12 @@ module Google
1358
1358
  # @return [Google::Apis::CloudbuildV1::PubsubConfig]
1359
1359
  attr_accessor :pubsub_config
1360
1360
 
1361
+ # The configuration of a trigger that creates a build whenever an event from
1362
+ # Repo API is received.
1363
+ # Corresponds to the JSON property `repositoryEventConfig`
1364
+ # @return [Google::Apis::CloudbuildV1::RepositoryEventConfig]
1365
+ attr_accessor :repository_event_config
1366
+
1361
1367
  # The `Trigger` name with format: `projects/`project`/locations/`location`/
1362
1368
  # triggers/`trigger``, where `trigger` is a unique identifier generated by the
1363
1369
  # service.
@@ -1426,6 +1432,7 @@ module Google
1426
1432
  @included_files = args[:included_files] if args.key?(:included_files)
1427
1433
  @name = args[:name] if args.key?(:name)
1428
1434
  @pubsub_config = args[:pubsub_config] if args.key?(:pubsub_config)
1435
+ @repository_event_config = args[:repository_event_config] if args.key?(:repository_event_config)
1429
1436
  @resource_name = args[:resource_name] if args.key?(:resource_name)
1430
1437
  @service_account = args[:service_account] if args.key?(:service_account)
1431
1438
  @source_to_build = args[:source_to_build] if args.key?(:source_to_build)
@@ -3535,6 +3542,44 @@ module Google
3535
3542
  end
3536
3543
  end
3537
3544
 
3545
+ # The configuration of a trigger that creates a build whenever an event from
3546
+ # Repo API is received.
3547
+ class RepositoryEventConfig
3548
+ include Google::Apis::Core::Hashable
3549
+
3550
+ # PullRequestFilter contains filter properties for matching GitHub Pull Requests.
3551
+ # Corresponds to the JSON property `pullRequest`
3552
+ # @return [Google::Apis::CloudbuildV1::PullRequestFilter]
3553
+ attr_accessor :pull_request
3554
+
3555
+ # Push contains filter properties for matching GitHub git pushes.
3556
+ # Corresponds to the JSON property `push`
3557
+ # @return [Google::Apis::CloudbuildV1::PushFilter]
3558
+ attr_accessor :push
3559
+
3560
+ # The resource name of the Repo API resource.
3561
+ # Corresponds to the JSON property `repository`
3562
+ # @return [String]
3563
+ attr_accessor :repository
3564
+
3565
+ # Output only. The type of the SCM vendor the repository points to.
3566
+ # Corresponds to the JSON property `repositoryType`
3567
+ # @return [String]
3568
+ attr_accessor :repository_type
3569
+
3570
+ def initialize(**args)
3571
+ update!(**args)
3572
+ end
3573
+
3574
+ # Update properties of this object
3575
+ def update!(**args)
3576
+ @pull_request = args[:pull_request] if args.key?(:pull_request)
3577
+ @push = args[:push] if args.key?(:push)
3578
+ @repository = args[:repository] if args.key?(:repository)
3579
+ @repository_type = args[:repository_type] if args.key?(:repository_type)
3580
+ end
3581
+ end
3582
+
3538
3583
  # Artifacts created by the build pipeline.
3539
3584
  class Results
3540
3585
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudbuildV1
18
18
  # Version of the google-apis-cloudbuild_v1 gem
19
- GEM_VERSION = "0.42.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221027"
25
+ REVISION = "20221103"
26
26
  end
27
27
  end
28
28
  end
@@ -532,6 +532,12 @@ module Google
532
532
  include Google::Apis::Core::JsonObjectSupport
533
533
  end
534
534
 
535
+ class RepositoryEventConfig
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
535
541
  class Results
536
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
543
 
@@ -1012,6 +1018,8 @@ module Google
1012
1018
  property :name, as: 'name'
1013
1019
  property :pubsub_config, as: 'pubsubConfig', class: Google::Apis::CloudbuildV1::PubsubConfig, decorator: Google::Apis::CloudbuildV1::PubsubConfig::Representation
1014
1020
 
1021
+ property :repository_event_config, as: 'repositoryEventConfig', class: Google::Apis::CloudbuildV1::RepositoryEventConfig, decorator: Google::Apis::CloudbuildV1::RepositoryEventConfig::Representation
1022
+
1015
1023
  property :resource_name, as: 'resourceName'
1016
1024
  property :service_account, as: 'serviceAccount'
1017
1025
  property :source_to_build, as: 'sourceToBuild', class: Google::Apis::CloudbuildV1::GitRepoSource, decorator: Google::Apis::CloudbuildV1::GitRepoSource::Representation
@@ -1614,6 +1622,18 @@ module Google
1614
1622
  end
1615
1623
  end
1616
1624
 
1625
+ class RepositoryEventConfig
1626
+ # @private
1627
+ class Representation < Google::Apis::Core::JsonRepresentation
1628
+ property :pull_request, as: 'pullRequest', class: Google::Apis::CloudbuildV1::PullRequestFilter, decorator: Google::Apis::CloudbuildV1::PullRequestFilter::Representation
1629
+
1630
+ property :push, as: 'push', class: Google::Apis::CloudbuildV1::PushFilter, decorator: Google::Apis::CloudbuildV1::PushFilter::Representation
1631
+
1632
+ property :repository, as: 'repository'
1633
+ property :repository_type, as: 'repositoryType'
1634
+ end
1635
+ end
1636
+
1617
1637
  class Results
1618
1638
  # @private
1619
1639
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.42.0
4
+ version: 0.43.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: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2022-11-14 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.42.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.43.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1
63
63
  post_install_message:
64
64
  rdoc_options: []