google-apis-cloudbuild_v1 0.48.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: 9ff9d52fe96347ab0d59568b33cdaa95a2d25e58c0480ab19580eba5cf798e2a
4
- data.tar.gz: bb7955bd40259a8e89b1f7ed9ad4c9b2a1959dee666f966bbb3bebebf3e35baf
3
+ metadata.gz: ad89ff5ba18b964c2b8c2a13503f8e15bf07a193a2cdc511f34577ad29b89481
4
+ data.tar.gz: 4fb2af94777daac12a06b6fa1c211f04bc0ab1a4ba72c7f561a9b6df0b9ce67b
5
5
  SHA512:
6
- metadata.gz: 3067c36efac30164ceece4ac61bb9deb2760f8a05ec4712692a2cb345c579e48d4e7337b7f1d8e370e1f0558f59e099eebb94524e597896a221c1122047255c4
7
- data.tar.gz: 41880b4f1b4110ea518e1740b909571e8410395b7ef41da1fa93042daaa9b9a05e27f19b8b7c79ac68da7684d48180cfd42a84740f42ad4c83e15f98ac1f6219
6
+ metadata.gz: 53eb01279746c63c927b6480fdbc09f4731621f0758364870db1e9f1d2078f70989ef4c864268f057d540decd3d66bb33014c1619c6b7fdb9c4249e1c6d08bfe
7
+ data.tar.gz: e4d507b58f80c44af63fd65afec80a1a3c966fa1a0790e5429f9577b69a2677d5a82c182acc1991e18fcfcf184f7b811fc016994fd70f5e7e8f81836d38b267d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.48.0 (2023-03-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20230312
@@ -2485,6 +2485,46 @@ module Google
2485
2485
  end
2486
2486
  end
2487
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
+
2488
2528
  # Container message for hash values.
2489
2529
  class HashProp
2490
2530
  include Google::Apis::Core::Hashable
@@ -3626,6 +3666,11 @@ module Google
3626
3666
  class Source
3627
3667
  include Google::Apis::Core::Hashable
3628
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
+
3629
3674
  # Location of the source in a Google Cloud Source Repository.
3630
3675
  # Corresponds to the JSON property `repoSource`
3631
3676
  # @return [Google::Apis::CloudbuildV1::RepoSource]
@@ -3649,6 +3694,7 @@ module Google
3649
3694
 
3650
3695
  # Update properties of this object
3651
3696
  def update!(**args)
3697
+ @git_source = args[:git_source] if args.key?(:git_source)
3652
3698
  @repo_source = args[:repo_source] if args.key?(:repo_source)
3653
3699
  @storage_source = args[:storage_source] if args.key?(:storage_source)
3654
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.48.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 = "20230312"
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
 
@@ -1265,6 +1271,15 @@ module Google
1265
1271
  end
1266
1272
  end
1267
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
+
1268
1283
  class HashProp
1269
1284
  # @private
1270
1285
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1589,6 +1604,8 @@ module Google
1589
1604
  class Source
1590
1605
  # @private
1591
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
+
1592
1609
  property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
1593
1610
 
1594
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.48.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-03-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.48.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: []