google-apis-cloudbuild_v1 0.41.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: 011343fe49f6aeb1f21f562f36b20f43d0dd6ff770f1111d9e8d44ab770ff7e3
4
- data.tar.gz: 1c9a91aee9a16c310bd8f0255700a0cba7811d07728b6a7df5494ae7caa9b535
3
+ metadata.gz: f49f0b7d89b10b1b3196b06ff2ab8b509008164394ffcbc2edb7d5843ba585b8
4
+ data.tar.gz: 1de6a888f41327f145908be19440e159cb90af572c27734a97c9d6fa703093e9
5
5
  SHA512:
6
- metadata.gz: 9e91aba37941b379c92f65d7df64185fc81706c8814864cac23d1fd06aeeaa3022b0ffce092c234bb509cbdcb14f8930c95b44e9c2a7c588e5c5e0c30239572b
7
- data.tar.gz: 2474e10216da7476fcf571a048a01da2b0ba48de2779a48238c890495488f7dae89c608424b65bfd962ab212fdf0720de8fac9eb28059f738706a106d582378a
6
+ metadata.gz: 501997339d6b0b19fd25483325e5a9d7094f866907f611165be502791817c3d5993571b79bd9399746f3f37a9a6783ee817cb27065c0645351a7784508082701
7
+ data.tar.gz: 653c9ffede65f7282fbfd8bcec4244ae5abe5df693c40c0920d1080036a9e75325c0dab3b63f54a2e63baa95e5e2aec8bdf91811efd14888ee28ce1a96b91212
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.42.0 (2022-11-04)
8
+
9
+ * Regenerated from discovery document revision 20221027
10
+
3
11
  ### v0.41.0 (2022-10-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20221015
@@ -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)
@@ -2471,65 +2478,6 @@ module Google
2471
2478
  end
2472
2479
  end
2473
2480
 
2474
- # Represents the metadata of the long-running operation.
2475
- class GoogleDevtoolsCloudbuildV2OperationMetadata
2476
- include Google::Apis::Core::Hashable
2477
-
2478
- # Output only. API version used to start the operation.
2479
- # Corresponds to the JSON property `apiVersion`
2480
- # @return [String]
2481
- attr_accessor :api_version
2482
-
2483
- # Output only. The time the operation was created.
2484
- # Corresponds to the JSON property `createTime`
2485
- # @return [String]
2486
- attr_accessor :create_time
2487
-
2488
- # Output only. The time the operation finished running.
2489
- # Corresponds to the JSON property `endTime`
2490
- # @return [String]
2491
- attr_accessor :end_time
2492
-
2493
- # Output only. Identifies whether the user has requested cancellation of the
2494
- # operation. Operations that have successfully been cancelled have Operation.
2495
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
2496
- # CANCELLED`.
2497
- # Corresponds to the JSON property `requestedCancellation`
2498
- # @return [Boolean]
2499
- attr_accessor :requested_cancellation
2500
- alias_method :requested_cancellation?, :requested_cancellation
2501
-
2502
- # Output only. Human-readable status of the operation, if any.
2503
- # Corresponds to the JSON property `statusMessage`
2504
- # @return [String]
2505
- attr_accessor :status_message
2506
-
2507
- # Output only. Server-defined resource path for the target of the operation.
2508
- # Corresponds to the JSON property `target`
2509
- # @return [String]
2510
- attr_accessor :target
2511
-
2512
- # Output only. Name of the verb executed by the operation.
2513
- # Corresponds to the JSON property `verb`
2514
- # @return [String]
2515
- attr_accessor :verb
2516
-
2517
- def initialize(**args)
2518
- update!(**args)
2519
- end
2520
-
2521
- # Update properties of this object
2522
- def update!(**args)
2523
- @api_version = args[:api_version] if args.key?(:api_version)
2524
- @create_time = args[:create_time] if args.key?(:create_time)
2525
- @end_time = args[:end_time] if args.key?(:end_time)
2526
- @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
2527
- @status_message = args[:status_message] if args.key?(:status_message)
2528
- @target = args[:target] if args.key?(:target)
2529
- @verb = args[:verb] if args.key?(:verb)
2530
- end
2531
- end
2532
-
2533
2481
  # HTTPDelivery is the delivery configuration for an HTTP notification.
2534
2482
  class HttpDelivery
2535
2483
  include Google::Apis::Core::Hashable
@@ -3594,6 +3542,44 @@ module Google
3594
3542
  end
3595
3543
  end
3596
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
+
3597
3583
  # Artifacts created by the build pipeline.
3598
3584
  class Results
3599
3585
  include Google::Apis::Core::Hashable
@@ -3723,65 +3709,6 @@ module Google
3723
3709
  end
3724
3710
  end
3725
3711
 
3726
- # Represents the custom metadata of the RunWorkflow long-running operation.
3727
- class RunWorkflowCustomOperationMetadata
3728
- include Google::Apis::Core::Hashable
3729
-
3730
- # Output only. API version used to start the operation.
3731
- # Corresponds to the JSON property `apiVersion`
3732
- # @return [String]
3733
- attr_accessor :api_version
3734
-
3735
- # Output only. The time the operation was created.
3736
- # Corresponds to the JSON property `createTime`
3737
- # @return [String]
3738
- attr_accessor :create_time
3739
-
3740
- # Output only. The time the operation finished running.
3741
- # Corresponds to the JSON property `endTime`
3742
- # @return [String]
3743
- attr_accessor :end_time
3744
-
3745
- # Output only. ID of the pipeline run created by RunWorkflow.
3746
- # Corresponds to the JSON property `pipelineRunId`
3747
- # @return [String]
3748
- attr_accessor :pipeline_run_id
3749
-
3750
- # Output only. Identifies whether the user has requested cancellation of the
3751
- # operation. Operations that have successfully been cancelled have Operation.
3752
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
3753
- # CANCELLED`.
3754
- # Corresponds to the JSON property `requestedCancellation`
3755
- # @return [Boolean]
3756
- attr_accessor :requested_cancellation
3757
- alias_method :requested_cancellation?, :requested_cancellation
3758
-
3759
- # Output only. Server-defined resource path for the target of the operation.
3760
- # Corresponds to the JSON property `target`
3761
- # @return [String]
3762
- attr_accessor :target
3763
-
3764
- # Output only. Name of the verb executed by the operation.
3765
- # Corresponds to the JSON property `verb`
3766
- # @return [String]
3767
- attr_accessor :verb
3768
-
3769
- def initialize(**args)
3770
- update!(**args)
3771
- end
3772
-
3773
- # Update properties of this object
3774
- def update!(**args)
3775
- @api_version = args[:api_version] if args.key?(:api_version)
3776
- @create_time = args[:create_time] if args.key?(:create_time)
3777
- @end_time = args[:end_time] if args.key?(:end_time)
3778
- @pipeline_run_id = args[:pipeline_run_id] if args.key?(:pipeline_run_id)
3779
- @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
3780
- @target = args[:target] if args.key?(:target)
3781
- @verb = args[:verb] if args.key?(:verb)
3782
- end
3783
- end
3784
-
3785
3712
  # SMTPDelivery is the delivery configuration for an SMTP (email) notification.
3786
3713
  class SmtpDelivery
3787
3714
  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.41.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 = "20221015"
25
+ REVISION = "20221103"
26
26
  end
27
27
  end
28
28
  end
@@ -334,12 +334,6 @@ module Google
334
334
  include Google::Apis::Core::JsonObjectSupport
335
335
  end
336
336
 
337
- class GoogleDevtoolsCloudbuildV2OperationMetadata
338
- class Representation < Google::Apis::Core::JsonRepresentation; end
339
-
340
- include Google::Apis::Core::JsonObjectSupport
341
- end
342
-
343
337
  class HttpDelivery
344
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
339
 
@@ -538,25 +532,25 @@ module Google
538
532
  include Google::Apis::Core::JsonObjectSupport
539
533
  end
540
534
 
541
- class Results
535
+ class RepositoryEventConfig
542
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
537
 
544
538
  include Google::Apis::Core::JsonObjectSupport
545
539
  end
546
540
 
547
- class RetryBuildRequest
541
+ class Results
548
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
543
 
550
544
  include Google::Apis::Core::JsonObjectSupport
551
545
  end
552
546
 
553
- class RunBuildTriggerRequest
547
+ class RetryBuildRequest
554
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
549
 
556
550
  include Google::Apis::Core::JsonObjectSupport
557
551
  end
558
552
 
559
- class RunWorkflowCustomOperationMetadata
553
+ class RunBuildTriggerRequest
560
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
561
555
 
562
556
  include Google::Apis::Core::JsonObjectSupport
@@ -1024,6 +1018,8 @@ module Google
1024
1018
  property :name, as: 'name'
1025
1019
  property :pubsub_config, as: 'pubsubConfig', class: Google::Apis::CloudbuildV1::PubsubConfig, decorator: Google::Apis::CloudbuildV1::PubsubConfig::Representation
1026
1020
 
1021
+ property :repository_event_config, as: 'repositoryEventConfig', class: Google::Apis::CloudbuildV1::RepositoryEventConfig, decorator: Google::Apis::CloudbuildV1::RepositoryEventConfig::Representation
1022
+
1027
1023
  property :resource_name, as: 'resourceName'
1028
1024
  property :service_account, as: 'serviceAccount'
1029
1025
  property :source_to_build, as: 'sourceToBuild', class: Google::Apis::CloudbuildV1::GitRepoSource, decorator: Google::Apis::CloudbuildV1::GitRepoSource::Representation
@@ -1322,19 +1318,6 @@ module Google
1322
1318
  end
1323
1319
  end
1324
1320
 
1325
- class GoogleDevtoolsCloudbuildV2OperationMetadata
1326
- # @private
1327
- class Representation < Google::Apis::Core::JsonRepresentation
1328
- property :api_version, as: 'apiVersion'
1329
- property :create_time, as: 'createTime'
1330
- property :end_time, as: 'endTime'
1331
- property :requested_cancellation, as: 'requestedCancellation'
1332
- property :status_message, as: 'statusMessage'
1333
- property :target, as: 'target'
1334
- property :verb, as: 'verb'
1335
- end
1336
- end
1337
-
1338
1321
  class HttpDelivery
1339
1322
  # @private
1340
1323
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1639,6 +1622,18 @@ module Google
1639
1622
  end
1640
1623
  end
1641
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
+
1642
1637
  class Results
1643
1638
  # @private
1644
1639
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1676,19 +1671,6 @@ module Google
1676
1671
  end
1677
1672
  end
1678
1673
 
1679
- class RunWorkflowCustomOperationMetadata
1680
- # @private
1681
- class Representation < Google::Apis::Core::JsonRepresentation
1682
- property :api_version, as: 'apiVersion'
1683
- property :create_time, as: 'createTime'
1684
- property :end_time, as: 'endTime'
1685
- property :pipeline_run_id, as: 'pipelineRunId'
1686
- property :requested_cancellation, as: 'requestedCancellation'
1687
- property :target, as: 'target'
1688
- property :verb, as: 'verb'
1689
- end
1690
- end
1691
-
1692
1674
  class SmtpDelivery
1693
1675
  # @private
1694
1676
  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.41.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-10-21 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.41.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: []