google-apis-cloudbuild_v1 0.5.0 → 0.6.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: 39aac7ae09c9d2440d5bc63fa5afd818a2e90cc9c768c58037489150ed196b44
4
- data.tar.gz: 774b11a8d06f065714792c5b195a7237ffd23ff08f71b7a607b8465f9519183b
3
+ metadata.gz: fe09b14ec704112605d3798aa9c336839d352449fc72f025a96880bfcc43ad94
4
+ data.tar.gz: 52d80cd95db5c3fbc4609b1e8c637bfe93219bdfc907ab4f44aa82d6dea07d5d
5
5
  SHA512:
6
- metadata.gz: 18033746b46870b4c55e230b3d8dc9450947f24456dbfdf3b2fde1cbe972d35c79ab9285cef8f82a0e15235efee1a16cf8c2dc6b35bcb233ac368a64b5729533
7
- data.tar.gz: 7e2b0ac055ddd939ad65b7928658bf4a7f5f64d7ec183a1f5062a24c5e1c65d3a312ab912588f086153dc93e0cfdb37926bf7af65635dc9097b0ec0b9ca9ba4d
6
+ metadata.gz: 55522af34c4f74f57a4d47ca0538bfb53a4905214566b0eaeb9a06a6255d080aca42b1ccf2f7e160b5a7127c0c63796ed748450c4183e8e9292926f0d7da1e90
7
+ data.tar.gz: b85d99bd5781fd6f596a9e650880ba38279a61217d7b3bd3fb8288170762e8311bbc52e32d0170299902ed0671fc7bc6b79f7eb1d053b00faac17607c2d37d25
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.6.0 (2021-05-12)
4
+
5
+ * Regenerated from discovery document revision 20210511
6
+
3
7
  ### v0.5.0 (2021-03-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20210319
@@ -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
 
@@ -627,6 +633,11 @@ module Google
627
633
  # @return [String]
628
634
  attr_accessor :filename
629
635
 
636
+ # Optional. A Common Expression Language string.
637
+ # Corresponds to the JSON property `filter`
638
+ # @return [String]
639
+ attr_accessor :filter
640
+
630
641
  # GitHubEventsConfig describes the configuration of a trigger that creates a
631
642
  # build whenever a GitHub event is received. This message is experimental.
632
643
  # Corresponds to the JSON property `github`
@@ -666,6 +677,12 @@ module Google
666
677
  # @return [String]
667
678
  attr_accessor :name
668
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
+
669
686
  # Substitutions for Build resource. The keys must match the following regular
670
687
  # expression: `^_[A-Z0-9_]+$`.
671
688
  # Corresponds to the JSON property `substitutions`
@@ -693,11 +710,13 @@ module Google
693
710
  @description = args[:description] if args.key?(:description)
694
711
  @disabled = args[:disabled] if args.key?(:disabled)
695
712
  @filename = args[:filename] if args.key?(:filename)
713
+ @filter = args[:filter] if args.key?(:filter)
696
714
  @github = args[:github] if args.key?(:github)
697
715
  @id = args[:id] if args.key?(:id)
698
716
  @ignored_files = args[:ignored_files] if args.key?(:ignored_files)
699
717
  @included_files = args[:included_files] if args.key?(:included_files)
700
718
  @name = args[:name] if args.key?(:name)
719
+ @pubsub_config = args[:pubsub_config] if args.key?(:pubsub_config)
701
720
  @substitutions = args[:substitutions] if args.key?(:substitutions)
702
721
  @tags = args[:tags] if args.key?(:tags)
703
722
  @trigger_template = args[:trigger_template] if args.key?(:trigger_template)
@@ -1292,6 +1311,47 @@ module Google
1292
1311
  end
1293
1312
  end
1294
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
+
1295
1355
  # PullRequestFilter contains filter properties for matching GitHub Pull Requests.
1296
1356
  class PullRequestFilter
1297
1357
  include Google::Apis::Core::Hashable
@@ -1931,6 +1991,31 @@ module Google
1931
1991
  @path = args[:path] if args.key?(:path)
1932
1992
  end
1933
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
1934
2019
  end
1935
2020
  end
1936
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.5.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210319"
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
 
@@ -292,6 +298,12 @@ module Google
292
298
  include Google::Apis::Core::JsonObjectSupport
293
299
  end
294
300
 
301
+ class Warning
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
295
307
  class ArtifactObjects
296
308
  # @private
297
309
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -358,6 +370,8 @@ module Google
358
370
  property :timeout, as: 'timeout'
359
371
  hash :timing, as: 'timing', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
360
372
 
373
+ collection :warnings, as: 'warnings', class: Google::Apis::CloudbuildV1::Warning, decorator: Google::Apis::CloudbuildV1::Warning::Representation
374
+
361
375
  end
362
376
  end
363
377
 
@@ -419,12 +433,15 @@ module Google
419
433
  property :description, as: 'description'
420
434
  property :disabled, as: 'disabled'
421
435
  property :filename, as: 'filename'
436
+ property :filter, as: 'filter'
422
437
  property :github, as: 'github', class: Google::Apis::CloudbuildV1::GitHubEventsConfig, decorator: Google::Apis::CloudbuildV1::GitHubEventsConfig::Representation
423
438
 
424
439
  property :id, as: 'id'
425
440
  collection :ignored_files, as: 'ignoredFiles'
426
441
  collection :included_files, as: 'includedFiles'
427
442
  property :name, as: 'name'
443
+ property :pubsub_config, as: 'pubsubConfig', class: Google::Apis::CloudbuildV1::PubsubConfig, decorator: Google::Apis::CloudbuildV1::PubsubConfig::Representation
444
+
428
445
  hash :substitutions, as: 'substitutions'
429
446
  collection :tags, as: 'tags'
430
447
  property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
@@ -605,6 +622,16 @@ module Google
605
622
  end
606
623
  end
607
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
+
608
635
  class PullRequestFilter
609
636
  # @private
610
637
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -781,6 +808,14 @@ module Google
781
808
  property :path, as: 'path'
782
809
  end
783
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
784
819
  end
785
820
  end
786
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.5.0
4
+ version: 0.6.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-03-29 00:00:00.000000000 Z
11
+ date: 2021-05-18 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.5.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.6.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: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
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