google-apis-cloudbuild_v1 0.47.0 → 0.49.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: 5b0a716bb580b41fd9e0c25c78d9e92fe42b82b4f9a54349d14875ac12d85d48
4
- data.tar.gz: ef673e708cbe419f88a70cf2fc76de047cfd7dd2ae81f7d1bcc3d3f17557a7fe
3
+ metadata.gz: ad89ff5ba18b964c2b8c2a13503f8e15bf07a193a2cdc511f34577ad29b89481
4
+ data.tar.gz: 4fb2af94777daac12a06b6fa1c211f04bc0ab1a4ba72c7f561a9b6df0b9ce67b
5
5
  SHA512:
6
- metadata.gz: cb16202e0c33e572ce5e395e7155a7cfa48ebd10cc9ecf0756c5464ef53c0fba0a0090bda15e00f5dd1cdc74e0117695f88947cfc2c366cdd09b3b6156402301
7
- data.tar.gz: 4be67d5ecbd0e716b68c37a987c87c77754f7819f02fce5e73574693fc1f4bb56572958ec0d182a93296ffd67e6c4c590b079afd550683f3f89fbde7c6232c9c
6
+ metadata.gz: 53eb01279746c63c927b6480fdbc09f4731621f0758364870db1e9f1d2078f70989ef4c864268f057d540decd3d66bb33014c1619c6b7fdb9c4249e1c6d08bfe
7
+ data.tar.gz: e4d507b58f80c44af63fd65afec80a1a3c966fa1a0790e5429f9577b69a2677d5a82c182acc1991e18fcfcf184f7b811fc016994fd70f5e7e8f81836d38b267d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.49.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230406
6
+
7
+ ### v0.48.0 (2023-03-19)
8
+
9
+ * Regenerated from discovery document revision 20230312
10
+
3
11
  ### v0.47.0 (2023-02-15)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -951,6 +951,11 @@ module Google
951
951
  class BuildOptions
952
952
  include Google::Apis::Core::Hashable
953
953
 
954
+ # Optional. Option to specify how default logs buckets are setup.
955
+ # Corresponds to the JSON property `defaultLogsBucketBehavior`
956
+ # @return [String]
957
+ attr_accessor :default_logs_bucket_behavior
958
+
954
959
  # Requested disk size for the VM that runs the build. Note that this is *NOT* "
955
960
  # disk free"; some of the space will be used by the operating system and build
956
961
  # utilities. Also note that this is the minimum disk size that will be allocated
@@ -1046,6 +1051,7 @@ module Google
1046
1051
 
1047
1052
  # Update properties of this object
1048
1053
  def update!(**args)
1054
+ @default_logs_bucket_behavior = args[:default_logs_bucket_behavior] if args.key?(:default_logs_bucket_behavior)
1049
1055
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1050
1056
  @dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
1051
1057
  @env = args[:env] if args.key?(:env)
@@ -2479,6 +2485,46 @@ module Google
2479
2485
  end
2480
2486
  end
2481
2487
 
2488
+ # Location of the source in any accessible Git repository.
2489
+ class GitSource
2490
+ include Google::Apis::Core::Hashable
2491
+
2492
+ # Directory, relative to the source root, in which to run the build. This must
2493
+ # be a relative path. If a step's `dir` is specified and is an absolute path,
2494
+ # this value is ignored for that step's execution.
2495
+ # Corresponds to the JSON property `dir`
2496
+ # @return [String]
2497
+ attr_accessor :dir
2498
+
2499
+ # The revision to fetch from the Git repository such as a branch, a tag, a
2500
+ # commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision
2501
+ # from the Git repository; therefore make sure that the string you provide for `
2502
+ # revision` is parsable by the command. For information on string values
2503
+ # accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
2504
+ # _specifying_revisions. For information on `git fetch`, see https://git-scm.com/
2505
+ # docs/git-fetch.
2506
+ # Corresponds to the JSON property `revision`
2507
+ # @return [String]
2508
+ attr_accessor :revision
2509
+
2510
+ # Location of the Git repo to build. This will be used as a `git remote`, see
2511
+ # https://git-scm.com/docs/git-remote.
2512
+ # Corresponds to the JSON property `url`
2513
+ # @return [String]
2514
+ attr_accessor :url
2515
+
2516
+ def initialize(**args)
2517
+ update!(**args)
2518
+ end
2519
+
2520
+ # Update properties of this object
2521
+ def update!(**args)
2522
+ @dir = args[:dir] if args.key?(:dir)
2523
+ @revision = args[:revision] if args.key?(:revision)
2524
+ @url = args[:url] if args.key?(:url)
2525
+ end
2526
+ end
2527
+
2482
2528
  # Container message for hash values.
2483
2529
  class HashProp
2484
2530
  include Google::Apis::Core::Hashable
@@ -3620,6 +3666,11 @@ module Google
3620
3666
  class Source
3621
3667
  include Google::Apis::Core::Hashable
3622
3668
 
3669
+ # Location of the source in any accessible Git repository.
3670
+ # Corresponds to the JSON property `gitSource`
3671
+ # @return [Google::Apis::CloudbuildV1::GitSource]
3672
+ attr_accessor :git_source
3673
+
3623
3674
  # Location of the source in a Google Cloud Source Repository.
3624
3675
  # Corresponds to the JSON property `repoSource`
3625
3676
  # @return [Google::Apis::CloudbuildV1::RepoSource]
@@ -3643,6 +3694,7 @@ module Google
3643
3694
 
3644
3695
  # Update properties of this object
3645
3696
  def update!(**args)
3697
+ @git_source = args[:git_source] if args.key?(:git_source)
3646
3698
  @repo_source = args[:repo_source] if args.key?(:repo_source)
3647
3699
  @storage_source = args[:storage_source] if args.key?(:storage_source)
3648
3700
  @storage_source_manifest = args[:storage_source_manifest] if args.key?(:storage_source_manifest)
@@ -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.47.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230115"
25
+ REVISION = "20230406"
26
26
  end
27
27
  end
28
28
  end
@@ -334,6 +334,12 @@ module Google
334
334
  include Google::Apis::Core::JsonObjectSupport
335
335
  end
336
336
 
337
+ class GitSource
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
337
343
  class HashProp
338
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
345
 
@@ -891,6 +897,7 @@ module Google
891
897
  class BuildOptions
892
898
  # @private
893
899
  class Representation < Google::Apis::Core::JsonRepresentation
900
+ property :default_logs_bucket_behavior, as: 'defaultLogsBucketBehavior'
894
901
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
895
902
  property :dynamic_substitutions, as: 'dynamicSubstitutions'
896
903
  collection :env, as: 'env'
@@ -1264,6 +1271,15 @@ module Google
1264
1271
  end
1265
1272
  end
1266
1273
 
1274
+ class GitSource
1275
+ # @private
1276
+ class Representation < Google::Apis::Core::JsonRepresentation
1277
+ property :dir, as: 'dir'
1278
+ property :revision, as: 'revision'
1279
+ property :url, as: 'url'
1280
+ end
1281
+ end
1282
+
1267
1283
  class HashProp
1268
1284
  # @private
1269
1285
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1588,6 +1604,8 @@ module Google
1588
1604
  class Source
1589
1605
  # @private
1590
1606
  class Representation < Google::Apis::Core::JsonRepresentation
1607
+ property :git_source, as: 'gitSource', class: Google::Apis::CloudbuildV1::GitSource, decorator: Google::Apis::CloudbuildV1::GitSource::Representation
1608
+
1591
1609
  property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
1592
1610
 
1593
1611
  property :storage_source, as: 'storageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
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.47.0
4
+ version: 0.49.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: 2023-02-19 00:00:00.000000000 Z
11
+ date: 2023-04-16 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.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.49.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: []