google-apis-cloudbuild_v1 0.2.0 → 0.7.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: 66b323c789e6bc9947e8dac8417316c704493f796dcafe8fc6a2963da747967d
4
- data.tar.gz: 9baeb8eee4f65e4d90902cce1b03f16661b40f7c9ca40b10051f34210773c693
3
+ metadata.gz: 849f155da3ff3f5318f325fc2dbffce2eadec79d3d6644ef88a5d49a3624c69d
4
+ data.tar.gz: 49d6eae3879b2147d95fe4f6c0c6eda2c342e2bfc9165b63fac0c88f30d56fd5
5
5
  SHA512:
6
- metadata.gz: 3b58cffc5613b51372423c05625cbd2cab5c2447075ff3c89e7b8a63b9c21298ae31677397d76128013e2f98bbadf66280a19efe8ea0043ff038703504fff530
7
- data.tar.gz: 67c42a3adf0a93f62959d338b7e1f1b129809d4b88ba15431c406498e024ed9dae90b67db8f7656b55b648e27fdfa79c773a78bf5bb37527cefcb3f7c6ae9b62
6
+ metadata.gz: d5a1c26af1d5e2749f343e08a25c5df6c73bc50eb1af76f48bbeb57e330e9ae1176f8e763f51fc45d22a6d1c8671748e4366652870c74b4f5fd46e8092f0be6b
7
+ data.tar.gz: fc071cfeaed9548124a23e31125dfd77b841ea97a70e0b6ae6e42c8033d2d4090409f36ae2b4f942c73fc5e29d3abb0365f5b71e1ff6bed59ad02df2076466f7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.7.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.6.0 (2021-05-12)
8
+
9
+ * Regenerated from discovery document revision 20210511
10
+
11
+ ### v0.5.0 (2021-03-23)
12
+
13
+ * Regenerated from discovery document revision 20210319
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.4.0 (2021-03-04)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.3.0 (2021-02-24)
21
+
22
+ * Regenerated from discovery document revision 20210218
23
+
3
24
  ### v0.2.0 (2021-02-02)
4
25
 
5
26
  * Regenerated from discovery document revision 20210128
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
32
+ # See, edit, configure, and delete your Google Cloud Platform data
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
@@ -223,7 +223,7 @@ module Google
223
223
 
224
224
  # IAM service account whose credentials will be used at build runtime. Must be
225
225
  # of the format `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. ACCOUNT can
226
- # be email address or uniqueId of the service account. This field is in beta.
226
+ # be email address or uniqueId of the service account.
227
227
  # Corresponds to the JSON property `serviceAccount`
228
228
  # @return [String]
229
229
  attr_accessor :service_account
@@ -285,6 +285,11 @@ module Google
285
285
  # @return [Hash<String,Google::Apis::CloudbuildV1::TimeSpan>]
286
286
  attr_accessor :timing
287
287
 
288
+ # Output only. Non-fatal problems encountered during the execution of the build.
289
+ # Corresponds to the JSON property `warnings`
290
+ # @return [Array<Google::Apis::CloudbuildV1::Warning>]
291
+ attr_accessor :warnings
292
+
288
293
  def initialize(**args)
289
294
  update!(**args)
290
295
  end
@@ -317,6 +322,7 @@ module Google
317
322
  @tags = args[:tags] if args.key?(:tags)
318
323
  @timeout = args[:timeout] if args.key?(:timeout)
319
324
  @timing = args[:timing] if args.key?(:timing)
325
+ @warnings = args[:warnings] if args.key?(:warnings)
320
326
  end
321
327
  end
322
328
 
@@ -621,11 +627,17 @@ module Google
621
627
  attr_accessor :disabled
622
628
  alias_method :disabled?, :disabled
623
629
 
624
- # Path, from the source root, to a file whose contents is used for the template.
630
+ # Path, from the source root, to the build configuration file (i.e. cloudbuild.
631
+ # yaml).
625
632
  # Corresponds to the JSON property `filename`
626
633
  # @return [String]
627
634
  attr_accessor :filename
628
635
 
636
+ # Optional. A Common Expression Language string.
637
+ # Corresponds to the JSON property `filter`
638
+ # @return [String]
639
+ attr_accessor :filter
640
+
629
641
  # GitHubEventsConfig describes the configuration of a trigger that creates a
630
642
  # build whenever a GitHub event is received. This message is experimental.
631
643
  # Corresponds to the JSON property `github`
@@ -665,6 +677,12 @@ module Google
665
677
  # @return [String]
666
678
  attr_accessor :name
667
679
 
680
+ # PubsubConfig describes the configuration of a trigger that creates a build
681
+ # whenever a Pub/Sub message is published.
682
+ # Corresponds to the JSON property `pubsubConfig`
683
+ # @return [Google::Apis::CloudbuildV1::PubsubConfig]
684
+ attr_accessor :pubsub_config
685
+
668
686
  # Substitutions for Build resource. The keys must match the following regular
669
687
  # expression: `^_[A-Z0-9_]+$`.
670
688
  # Corresponds to the JSON property `substitutions`
@@ -692,11 +710,13 @@ module Google
692
710
  @description = args[:description] if args.key?(:description)
693
711
  @disabled = args[:disabled] if args.key?(:disabled)
694
712
  @filename = args[:filename] if args.key?(:filename)
713
+ @filter = args[:filter] if args.key?(:filter)
695
714
  @github = args[:github] if args.key?(:github)
696
715
  @id = args[:id] if args.key?(:id)
697
716
  @ignored_files = args[:ignored_files] if args.key?(:ignored_files)
698
717
  @included_files = args[:included_files] if args.key?(:included_files)
699
718
  @name = args[:name] if args.key?(:name)
719
+ @pubsub_config = args[:pubsub_config] if args.key?(:pubsub_config)
700
720
  @substitutions = args[:substitutions] if args.key?(:substitutions)
701
721
  @tags = args[:tags] if args.key?(:tags)
702
722
  @trigger_template = args[:trigger_template] if args.key?(:trigger_template)
@@ -1291,6 +1311,47 @@ module Google
1291
1311
  end
1292
1312
  end
1293
1313
 
1314
+ # PubsubConfig describes the configuration of a trigger that creates a build
1315
+ # whenever a Pub/Sub message is published.
1316
+ class PubsubConfig
1317
+ include Google::Apis::Core::Hashable
1318
+
1319
+ # Service account that will make the push request.
1320
+ # Corresponds to the JSON property `serviceAccountEmail`
1321
+ # @return [String]
1322
+ attr_accessor :service_account_email
1323
+
1324
+ # Potential issues with the underlying Pub/Sub subscription configuration. Only
1325
+ # populated on get requests.
1326
+ # Corresponds to the JSON property `state`
1327
+ # @return [String]
1328
+ attr_accessor :state
1329
+
1330
+ # Output only. Name of the subscription. Format is `projects/`project`/
1331
+ # subscriptions/`subscription``.
1332
+ # Corresponds to the JSON property `subscription`
1333
+ # @return [String]
1334
+ attr_accessor :subscription
1335
+
1336
+ # The name of the topic from which this subscription is receiving messages.
1337
+ # Format is `projects/`project`/topics/`topic``.
1338
+ # Corresponds to the JSON property `topic`
1339
+ # @return [String]
1340
+ attr_accessor :topic
1341
+
1342
+ def initialize(**args)
1343
+ update!(**args)
1344
+ end
1345
+
1346
+ # Update properties of this object
1347
+ def update!(**args)
1348
+ @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
1349
+ @state = args[:state] if args.key?(:state)
1350
+ @subscription = args[:subscription] if args.key?(:subscription)
1351
+ @topic = args[:topic] if args.key?(:topic)
1352
+ end
1353
+ end
1354
+
1294
1355
  # PullRequestFilter contains filter properties for matching GitHub Pull Requests.
1295
1356
  class PullRequestFilter
1296
1357
  include Google::Apis::Core::Hashable
@@ -1703,6 +1764,12 @@ module Google
1703
1764
  # @return [Google::Apis::CloudbuildV1::StorageSource]
1704
1765
  attr_accessor :storage_source
1705
1766
 
1767
+ # Location of the source manifest in Google Cloud Storage. This feature is in
1768
+ # Preview.
1769
+ # Corresponds to the JSON property `storageSourceManifest`
1770
+ # @return [Google::Apis::CloudbuildV1::StorageSourceManifest]
1771
+ attr_accessor :storage_source_manifest
1772
+
1706
1773
  def initialize(**args)
1707
1774
  update!(**args)
1708
1775
  end
@@ -1711,6 +1778,7 @@ module Google
1711
1778
  def update!(**args)
1712
1779
  @repo_source = args[:repo_source] if args.key?(:repo_source)
1713
1780
  @storage_source = args[:storage_source] if args.key?(:storage_source)
1781
+ @storage_source_manifest = args[:storage_source_manifest] if args.key?(:storage_source_manifest)
1714
1782
  end
1715
1783
  end
1716
1784
 
@@ -1740,6 +1808,12 @@ module Google
1740
1808
  # @return [Google::Apis::CloudbuildV1::StorageSource]
1741
1809
  attr_accessor :resolved_storage_source
1742
1810
 
1811
+ # Location of the source manifest in Google Cloud Storage. This feature is in
1812
+ # Preview.
1813
+ # Corresponds to the JSON property `resolvedStorageSourceManifest`
1814
+ # @return [Google::Apis::CloudbuildV1::StorageSourceManifest]
1815
+ attr_accessor :resolved_storage_source_manifest
1816
+
1743
1817
  def initialize(**args)
1744
1818
  update!(**args)
1745
1819
  end
@@ -1749,6 +1823,7 @@ module Google
1749
1823
  @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
1750
1824
  @resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
1751
1825
  @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
1826
+ @resolved_storage_source_manifest = args[:resolved_storage_source_manifest] if args.key?(:resolved_storage_source_manifest)
1752
1827
  end
1753
1828
  end
1754
1829
 
@@ -1826,6 +1901,42 @@ module Google
1826
1901
  end
1827
1902
  end
1828
1903
 
1904
+ # Location of the source manifest in Google Cloud Storage. This feature is in
1905
+ # Preview.
1906
+ class StorageSourceManifest
1907
+ include Google::Apis::Core::Hashable
1908
+
1909
+ # Google Cloud Storage bucket containing the source manifest (see [Bucket Name
1910
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
1911
+ # ).
1912
+ # Corresponds to the JSON property `bucket`
1913
+ # @return [String]
1914
+ attr_accessor :bucket
1915
+
1916
+ # Google Cloud Storage generation for the object. If the generation is omitted,
1917
+ # the latest generation will be used.
1918
+ # Corresponds to the JSON property `generation`
1919
+ # @return [Fixnum]
1920
+ attr_accessor :generation
1921
+
1922
+ # Google Cloud Storage object containing the source manifest. This object must
1923
+ # be a JSON file.
1924
+ # Corresponds to the JSON property `object`
1925
+ # @return [String]
1926
+ attr_accessor :object
1927
+
1928
+ def initialize(**args)
1929
+ update!(**args)
1930
+ end
1931
+
1932
+ # Update properties of this object
1933
+ def update!(**args)
1934
+ @bucket = args[:bucket] if args.key?(:bucket)
1935
+ @generation = args[:generation] if args.key?(:generation)
1936
+ @object = args[:object] if args.key?(:object)
1937
+ end
1938
+ end
1939
+
1829
1940
  # Start and end times for a build execution phase.
1830
1941
  class TimeSpan
1831
1942
  include Google::Apis::Core::Hashable
@@ -1880,6 +1991,31 @@ module Google
1880
1991
  @path = args[:path] if args.key?(:path)
1881
1992
  end
1882
1993
  end
1994
+
1995
+ # A non-fatal problem encountered during the execution of the build.
1996
+ class Warning
1997
+ include Google::Apis::Core::Hashable
1998
+
1999
+ # The priority for this warning.
2000
+ # Corresponds to the JSON property `priority`
2001
+ # @return [String]
2002
+ attr_accessor :priority
2003
+
2004
+ # Explanation of the warning generated.
2005
+ # Corresponds to the JSON property `text`
2006
+ # @return [String]
2007
+ attr_accessor :text
2008
+
2009
+ def initialize(**args)
2010
+ update!(**args)
2011
+ end
2012
+
2013
+ # Update properties of this object
2014
+ def update!(**args)
2015
+ @priority = args[:priority] if args.key?(:priority)
2016
+ @text = args[:text] if args.key?(:text)
2017
+ end
2018
+ end
1883
2019
  end
1884
2020
  end
1885
2021
  end
@@ -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.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210128"
25
+ REVISION = "20210511"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class PubsubConfig
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class PullRequestFilter
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -274,6 +280,12 @@ module Google
274
280
  include Google::Apis::Core::JsonObjectSupport
275
281
  end
276
282
 
283
+ class StorageSourceManifest
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
277
289
  class TimeSpan
278
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
291
 
@@ -286,6 +298,12 @@ module Google
286
298
  include Google::Apis::Core::JsonObjectSupport
287
299
  end
288
300
 
301
+ class Warning
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
289
307
  class ArtifactObjects
290
308
  # @private
291
309
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -352,6 +370,8 @@ module Google
352
370
  property :timeout, as: 'timeout'
353
371
  hash :timing, as: 'timing', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
354
372
 
373
+ collection :warnings, as: 'warnings', class: Google::Apis::CloudbuildV1::Warning, decorator: Google::Apis::CloudbuildV1::Warning::Representation
374
+
355
375
  end
356
376
  end
357
377
 
@@ -413,12 +433,15 @@ module Google
413
433
  property :description, as: 'description'
414
434
  property :disabled, as: 'disabled'
415
435
  property :filename, as: 'filename'
436
+ property :filter, as: 'filter'
416
437
  property :github, as: 'github', class: Google::Apis::CloudbuildV1::GitHubEventsConfig, decorator: Google::Apis::CloudbuildV1::GitHubEventsConfig::Representation
417
438
 
418
439
  property :id, as: 'id'
419
440
  collection :ignored_files, as: 'ignoredFiles'
420
441
  collection :included_files, as: 'includedFiles'
421
442
  property :name, as: 'name'
443
+ property :pubsub_config, as: 'pubsubConfig', class: Google::Apis::CloudbuildV1::PubsubConfig, decorator: Google::Apis::CloudbuildV1::PubsubConfig::Representation
444
+
422
445
  hash :substitutions, as: 'substitutions'
423
446
  collection :tags, as: 'tags'
424
447
  property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
@@ -599,6 +622,16 @@ module Google
599
622
  end
600
623
  end
601
624
 
625
+ class PubsubConfig
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :service_account_email, as: 'serviceAccountEmail'
629
+ property :state, as: 'state'
630
+ property :subscription, as: 'subscription'
631
+ property :topic, as: 'topic'
632
+ end
633
+ end
634
+
602
635
  class PullRequestFilter
603
636
  # @private
604
637
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -714,6 +747,8 @@ module Google
714
747
 
715
748
  property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
716
749
 
750
+ property :storage_source_manifest, as: 'storageSourceManifest', class: Google::Apis::CloudbuildV1::StorageSourceManifest, decorator: Google::Apis::CloudbuildV1::StorageSourceManifest::Representation
751
+
717
752
  end
718
753
  end
719
754
 
@@ -726,6 +761,8 @@ module Google
726
761
 
727
762
  property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
728
763
 
764
+ property :resolved_storage_source_manifest, as: 'resolvedStorageSourceManifest', class: Google::Apis::CloudbuildV1::StorageSourceManifest, decorator: Google::Apis::CloudbuildV1::StorageSourceManifest::Representation
765
+
729
766
  end
730
767
  end
731
768
 
@@ -747,6 +784,15 @@ module Google
747
784
  end
748
785
  end
749
786
 
787
+ class StorageSourceManifest
788
+ # @private
789
+ class Representation < Google::Apis::Core::JsonRepresentation
790
+ property :bucket, as: 'bucket'
791
+ property :generation, :numeric_string => true, as: 'generation'
792
+ property :object, as: 'object'
793
+ end
794
+ end
795
+
750
796
  class TimeSpan
751
797
  # @private
752
798
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -762,6 +808,14 @@ module Google
762
808
  property :path, as: 'path'
763
809
  end
764
810
  end
811
+
812
+ class Warning
813
+ # @private
814
+ class Representation < Google::Apis::Core::JsonRepresentation
815
+ property :priority, as: 'priority'
816
+ property :text, as: 'text'
817
+ end
818
+ end
765
819
  end
766
820
  end
767
821
  end
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.2.0
4
+ version: 0.7.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: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.7.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudbuild_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.6
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Build API V1