google-apis-cloudbuild_v1 0.52.0 → 0.54.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: 336fe55b0d4ea744e03a1909e9b996b0110126b2744acc335ff15a98b91bfa13
4
- data.tar.gz: 13d4b1a1c9a2f06687c613396e54a1385b545e267c287767ec834b913039c1eb
3
+ metadata.gz: 44ed685ad2bc85a2b94113f105eeca9d8b23c684e16594f08b18334739f23ab5
4
+ data.tar.gz: a1eceaa5836043e44e306d4cacdc59afbf2ce212a5a7151f07a9ce9d85348a68
5
5
  SHA512:
6
- metadata.gz: e02a7e4e96255e2144f7cf677dbd23c53fbc558007efa256c8c1e03ec436850398fc061c4547ea25cc1b00d2f42ab0de342ba29698951df3450700f44baa9358
7
- data.tar.gz: 9c902d1f704b738047f0a077fdc121ca1b23e7f579400c60aa32b9c0c2c65b727897955e2c39f71c28065ea9fc2e7a32d015462be259ac5b31c824cd4c1e2265
6
+ metadata.gz: daf05bef0e26011c519dea4e517502e3e4de10ca76f958765dd81509cbe8e165dc1bbb5bf0bb7c380810ae662982904dde4249df5d8a92895a9434b9c2dfaf84
7
+ data.tar.gz: 7865e5fa16e45bc522ba3e8bbfeb084226c39f985ef6552c2c8a45969f7f70f991b6a67ec1bb75646f8cc8cdf779b64c4d3e963e6ef42e7b3928e47979f939fb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.54.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230811
6
+
7
+ ### v0.53.0 (2023-08-06)
8
+
9
+ * Regenerated from discovery document revision 20230801
10
+
3
11
  ### v0.52.0 (2023-05-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20230522
@@ -961,6 +961,13 @@ module Google
961
961
  class BuildOptions
962
962
  include Google::Apis::Core::Hashable
963
963
 
964
+ # Option to include built-in and custom substitutions as env variables for all
965
+ # build steps.
966
+ # Corresponds to the JSON property `automapSubstitutions`
967
+ # @return [Boolean]
968
+ attr_accessor :automap_substitutions
969
+ alias_method :automap_substitutions?, :automap_substitutions
970
+
964
971
  # Optional. Option to specify how default logs buckets are setup.
965
972
  # Corresponds to the JSON property `defaultLogsBucketBehavior`
966
973
  # @return [String]
@@ -1061,6 +1068,7 @@ module Google
1061
1068
 
1062
1069
  # Update properties of this object
1063
1070
  def update!(**args)
1071
+ @automap_substitutions = args[:automap_substitutions] if args.key?(:automap_substitutions)
1064
1072
  @default_logs_bucket_behavior = args[:default_logs_bucket_behavior] if args.key?(:default_logs_bucket_behavior)
1065
1073
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1066
1074
  @dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
@@ -1107,6 +1115,13 @@ module Google
1107
1115
  # @return [Array<String>]
1108
1116
  attr_accessor :args
1109
1117
 
1118
+ # Option to include built-in and custom substitutions as env variables for this
1119
+ # build step. This option will override the global option in BuildOption.
1120
+ # Corresponds to the JSON property `automapSubstitutions`
1121
+ # @return [Boolean]
1122
+ attr_accessor :automap_substitutions
1123
+ alias_method :automap_substitutions?, :automap_substitutions
1124
+
1110
1125
  # Working directory to use when running this step's container. If this value is
1111
1126
  # a relative path, it is relative to the build's working directory. If this
1112
1127
  # value is absolute, it may be outside the build's working directory, in which
@@ -1220,6 +1235,7 @@ module Google
1220
1235
  @allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
1221
1236
  @allow_failure = args[:allow_failure] if args.key?(:allow_failure)
1222
1237
  @args = args[:args] if args.key?(:args)
1238
+ @automap_substitutions = args[:automap_substitutions] if args.key?(:automap_substitutions)
1223
1239
  @dir = args[:dir] if args.key?(:dir)
1224
1240
  @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
1225
1241
  @env = args[:env] if args.key?(:env)
@@ -1536,6 +1552,39 @@ module Google
1536
1552
  end
1537
1553
  end
1538
1554
 
1555
+ # Location of the source in a 2nd-gen Google Cloud Build repository resource.
1556
+ class ConnectedRepository
1557
+ include Google::Apis::Core::Hashable
1558
+
1559
+ # Directory, relative to the source root, in which to run the build.
1560
+ # Corresponds to the JSON property `dir`
1561
+ # @return [String]
1562
+ attr_accessor :dir
1563
+
1564
+ # Required. Name of the Google Cloud Build repository, formatted as `projects/*/
1565
+ # locations/*/connections/*/repositories/*`.
1566
+ # Corresponds to the JSON property `repository`
1567
+ # @return [String]
1568
+ attr_accessor :repository
1569
+
1570
+ # The revision to fetch from the Git repository such as a branch, a tag, a
1571
+ # commit SHA, or any Git ref.
1572
+ # Corresponds to the JSON property `revision`
1573
+ # @return [String]
1574
+ attr_accessor :revision
1575
+
1576
+ def initialize(**args)
1577
+ update!(**args)
1578
+ end
1579
+
1580
+ # Update properties of this object
1581
+ def update!(**args)
1582
+ @dir = args[:dir] if args.key?(:dir)
1583
+ @repository = args[:repository] if args.key?(:repository)
1584
+ @revision = args[:revision] if args.key?(:revision)
1585
+ end
1586
+ end
1587
+
1539
1588
  # Metadata for `CreateBitbucketServerConfig` operation.
1540
1589
  class CreateBitbucketServerConfigOperationMetadata
1541
1590
  include Google::Apis::Core::Hashable
@@ -3014,13 +3063,13 @@ module Google
3014
3063
  # @return [String]
3015
3064
  attr_accessor :name
3016
3065
 
3017
- # The normal response of the operation in case of success. If the original
3018
- # method returns no data on success, such as `Delete`, the response is `google.
3019
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
3020
- # the response should be the resource. For other methods, the response should
3021
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
3022
- # example, if the original method name is `TakeSnapshot()`, the inferred
3023
- # response type is `TakeSnapshotResponse`.
3066
+ # The normal, successful response of the operation. If the original method
3067
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
3068
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
3069
+ # response should be the resource. For other methods, the response should have
3070
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
3071
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
3072
+ # `TakeSnapshotResponse`.
3024
3073
  # Corresponds to the JSON property `response`
3025
3074
  # @return [Hash<String,Object>]
3026
3075
  attr_accessor :response
@@ -3728,6 +3777,11 @@ module Google
3728
3777
  class Source
3729
3778
  include Google::Apis::Core::Hashable
3730
3779
 
3780
+ # Location of the source in a 2nd-gen Google Cloud Build repository resource.
3781
+ # Corresponds to the JSON property `connectedRepository`
3782
+ # @return [Google::Apis::CloudbuildV1::ConnectedRepository]
3783
+ attr_accessor :connected_repository
3784
+
3731
3785
  # Location of the source in any accessible Git repository.
3732
3786
  # Corresponds to the JSON property `gitSource`
3733
3787
  # @return [Google::Apis::CloudbuildV1::GitSource]
@@ -3756,6 +3810,7 @@ module Google
3756
3810
 
3757
3811
  # Update properties of this object
3758
3812
  def update!(**args)
3813
+ @connected_repository = args[:connected_repository] if args.key?(:connected_repository)
3759
3814
  @git_source = args[:git_source] if args.key?(:git_source)
3760
3815
  @repo_source = args[:repo_source] if args.key?(:repo_source)
3761
3816
  @storage_source = args[:storage_source] if args.key?(:storage_source)
@@ -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.52.0"
19
+ GEM_VERSION = "0.54.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 = "20230522"
25
+ REVISION = "20230811"
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 ConnectedRepository
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class CreateBitbucketServerConfigOperationMetadata
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -911,6 +917,7 @@ module Google
911
917
  class BuildOptions
912
918
  # @private
913
919
  class Representation < Google::Apis::Core::JsonRepresentation
920
+ property :automap_substitutions, as: 'automapSubstitutions'
914
921
  property :default_logs_bucket_behavior, as: 'defaultLogsBucketBehavior'
915
922
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
916
923
  property :dynamic_substitutions, as: 'dynamicSubstitutions'
@@ -936,6 +943,7 @@ module Google
936
943
  collection :allow_exit_codes, as: 'allowExitCodes'
937
944
  property :allow_failure, as: 'allowFailure'
938
945
  collection :args, as: 'args'
946
+ property :automap_substitutions, as: 'automapSubstitutions'
939
947
  property :dir, as: 'dir'
940
948
  property :entrypoint, as: 'entrypoint'
941
949
  collection :env, as: 'env'
@@ -1025,6 +1033,15 @@ module Google
1025
1033
  end
1026
1034
  end
1027
1035
 
1036
+ class ConnectedRepository
1037
+ # @private
1038
+ class Representation < Google::Apis::Core::JsonRepresentation
1039
+ property :dir, as: 'dir'
1040
+ property :repository, as: 'repository'
1041
+ property :revision, as: 'revision'
1042
+ end
1043
+ end
1044
+
1028
1045
  class CreateBitbucketServerConfigOperationMetadata
1029
1046
  # @private
1030
1047
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1630,6 +1647,8 @@ module Google
1630
1647
  class Source
1631
1648
  # @private
1632
1649
  class Representation < Google::Apis::Core::JsonRepresentation
1650
+ property :connected_repository, as: 'connectedRepository', class: Google::Apis::CloudbuildV1::ConnectedRepository, decorator: Google::Apis::CloudbuildV1::ConnectedRepository::Representation
1651
+
1633
1652
  property :git_source, as: 'gitSource', class: Google::Apis::CloudbuildV1::GitSource, decorator: Google::Apis::CloudbuildV1::GitSource::Representation
1634
1653
 
1635
1654
  property :repo_source, as: 'repoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::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.52.0
4
+ version: 0.54.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-05-28 00:00:00.000000000 Z
11
+ date: 2023-08-27 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.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.54.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Build API V1