google-apis-cloudbuild_v1 0.23.0 → 0.26.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: a8f283555c0a088f6db78dc97ffc920eb293551bd60f3bdb5021fc0e54b5fcc1
4
- data.tar.gz: 6e6efce837d854dcfc3eb2f204e76780dac2a4d41025727926c998d2f3aff984
3
+ metadata.gz: af6fe952d765155b35f10defd182efa24728331f61edd59a742b004420af1d89
4
+ data.tar.gz: be12d3b6bdc95a77e50a485c38cce9297d3f4447a43c03a723da1c2cc3955892
5
5
  SHA512:
6
- metadata.gz: 7ce1d558c7809e539cbc085e5a3ca5f6dfa71184c9b20d11f7c40bd87fb28e1abb9d348669ffee679f97c4d3eee4be54d86ec87e3968f097613746bd2df803b8
7
- data.tar.gz: e9d5dd64ed11fc88da313303d2faf0b3374e46e716076c4a57fb7579e3270655a681ed67180e88a6ef7645991abf6c0f93eb38e6c0f6f97b8bee08a2b457ae05
6
+ metadata.gz: 29f4eae10ef149168a9e85fbcb9e7eb52edde17c8b4dde2ba6920d70e12145a947e70724b0bb6343f49b1eaf6d817ac55a6ad226dadd29e490ab6012a4ac2ae4
7
+ data.tar.gz: 57eaeeb58a9ae59479b8408842dd9e0234dc186dd7fcd6fea8e80efbd569f49a3887f6ec781896de4de5bd32a2ccd479f5966b1769c6c93876f01ac16573d816
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.26.0 (2022-03-09)
4
+
5
+ * Regenerated from discovery document revision 20220301
6
+
7
+ ### v0.25.0 (2022-03-02)
8
+
9
+ * Regenerated from discovery document revision 20220218
10
+
11
+ ### v0.24.0 (2022-02-11)
12
+
13
+ * Regenerated from discovery document revision 20220131
14
+
3
15
  ### v0.23.0 (2022-02-05)
4
16
 
5
17
  * Regenerated from discovery document revision 20220126
@@ -1783,6 +1783,19 @@ module Google
1783
1783
  class GitFileSource
1784
1784
  include Google::Apis::Core::Hashable
1785
1785
 
1786
+ # The full resource name of the bitbucket server config. Format: `projects/`
1787
+ # project`/locations/`location`/bitbucketServerConfigs/`id``.
1788
+ # Corresponds to the JSON property `bitbucketServerConfig`
1789
+ # @return [String]
1790
+ attr_accessor :bitbucket_server_config
1791
+
1792
+ # The full resource name of the github enterprise config. Format: `projects/`
1793
+ # project`/locations/`location`/githubEnterpriseConfigs/`id``. `projects/`
1794
+ # project`/githubEnterpriseConfigs/`id``.
1795
+ # Corresponds to the JSON property `githubEnterpriseConfig`
1796
+ # @return [String]
1797
+ attr_accessor :github_enterprise_config
1798
+
1786
1799
  # The path of the file, with the repo root as the root of the path.
1787
1800
  # Corresponds to the JSON property `path`
1788
1801
  # @return [String]
@@ -1815,6 +1828,8 @@ module Google
1815
1828
 
1816
1829
  # Update properties of this object
1817
1830
  def update!(**args)
1831
+ @bitbucket_server_config = args[:bitbucket_server_config] if args.key?(:bitbucket_server_config)
1832
+ @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
1818
1833
  @path = args[:path] if args.key?(:path)
1819
1834
  @repo_type = args[:repo_type] if args.key?(:repo_type)
1820
1835
  @revision = args[:revision] if args.key?(:revision)
@@ -2021,6 +2036,19 @@ module Google
2021
2036
  class GitRepoSource
2022
2037
  include Google::Apis::Core::Hashable
2023
2038
 
2039
+ # The full resource name of the bitbucket server config. Format: `projects/`
2040
+ # project`/locations/`location`/bitbucketServerConfigs/`id``.
2041
+ # Corresponds to the JSON property `bitbucketServerConfig`
2042
+ # @return [String]
2043
+ attr_accessor :bitbucket_server_config
2044
+
2045
+ # The full resource name of the github enterprise config. Format: `projects/`
2046
+ # project`/locations/`location`/githubEnterpriseConfigs/`id``. `projects/`
2047
+ # project`/githubEnterpriseConfigs/`id``.
2048
+ # Corresponds to the JSON property `githubEnterpriseConfig`
2049
+ # @return [String]
2050
+ attr_accessor :github_enterprise_config
2051
+
2024
2052
  # The branch or tag to use. Must start with "refs/" (required).
2025
2053
  # Corresponds to the JSON property `ref`
2026
2054
  # @return [String]
@@ -2042,46 +2070,14 @@ module Google
2042
2070
 
2043
2071
  # Update properties of this object
2044
2072
  def update!(**args)
2073
+ @bitbucket_server_config = args[:bitbucket_server_config] if args.key?(:bitbucket_server_config)
2074
+ @github_enterprise_config = args[:github_enterprise_config] if args.key?(:github_enterprise_config)
2045
2075
  @ref = args[:ref] if args.key?(:ref)
2046
2076
  @repo_type = args[:repo_type] if args.key?(:repo_type)
2047
2077
  @uri = args[:uri] if args.key?(:uri)
2048
2078
  end
2049
2079
  end
2050
2080
 
2051
- # Configuration per workload for both Private Pools and Hybrid Pools.
2052
- class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
2053
- include Google::Apis::Core::Hashable
2054
-
2055
- # The disk size (in GB) which is requested for the build container. If unset, a
2056
- # value of 10 GB will be used.
2057
- # Corresponds to the JSON property `diskSizeGb`
2058
- # @return [Fixnum]
2059
- attr_accessor :disk_size_gb
2060
-
2061
- # The memory (in GB) which is requested for the build container. If unset, a
2062
- # value of 4 GB will be used.
2063
- # Corresponds to the JSON property `memoryGb`
2064
- # @return [Float]
2065
- attr_accessor :memory_gb
2066
-
2067
- # The number of vCPUs which are requested for the build container. If unset, a
2068
- # value of 1 will be used.
2069
- # Corresponds to the JSON property `vcpuCount`
2070
- # @return [Float]
2071
- attr_accessor :vcpu_count
2072
-
2073
- def initialize(**args)
2074
- update!(**args)
2075
- end
2076
-
2077
- # Update properties of this object
2078
- def update!(**args)
2079
- @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2080
- @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
2081
- @vcpu_count = args[:vcpu_count] if args.key?(:vcpu_count)
2082
- end
2083
- end
2084
-
2085
2081
  # Represents the metadata of the long-running operation.
2086
2082
  class GoogleDevtoolsCloudbuildV2OperationMetadata
2087
2083
  include Google::Apis::Core::Hashable
@@ -2234,66 +2230,6 @@ module Google
2234
2230
  end
2235
2231
  end
2236
2232
 
2237
- # Configuration for a Hybrid Worker Pool Next ID: 6
2238
- class HybridPoolConfig
2239
- include Google::Apis::Core::Hashable
2240
-
2241
- # These settings can be applied to a user's build operations. Next ID: 4
2242
- # Corresponds to the JSON property `defaultWorkerConfig`
2243
- # @return [Google::Apis::CloudbuildV1::HybridWorkerConfig]
2244
- attr_accessor :default_worker_config
2245
-
2246
- # Required. Immutable. The Anthos/GKE Hub membership of the cluster which will
2247
- # run the actual build operations. Example: projects/`project`/locations/`
2248
- # location`/memberships/`cluster_name`
2249
- # Corresponds to the JSON property `membership`
2250
- # @return [String]
2251
- attr_accessor :membership
2252
-
2253
- def initialize(**args)
2254
- update!(**args)
2255
- end
2256
-
2257
- # Update properties of this object
2258
- def update!(**args)
2259
- @default_worker_config = args[:default_worker_config] if args.key?(:default_worker_config)
2260
- @membership = args[:membership] if args.key?(:membership)
2261
- end
2262
- end
2263
-
2264
- # These settings can be applied to a user's build operations. Next ID: 4
2265
- class HybridWorkerConfig
2266
- include Google::Apis::Core::Hashable
2267
-
2268
- # The disk size (in GB) which is requested for the build container. Defaults to
2269
- # 10 GB.
2270
- # Corresponds to the JSON property `diskSizeGb`
2271
- # @return [Fixnum]
2272
- attr_accessor :disk_size_gb
2273
-
2274
- # The memory (in GB) which is requested for the build container. Defaults to 4
2275
- # GB.
2276
- # Corresponds to the JSON property `memoryGb`
2277
- # @return [Float]
2278
- attr_accessor :memory_gb
2279
-
2280
- # The number of vCPUs which are requested for the build container. Defaults to 1.
2281
- # Corresponds to the JSON property `vcpuCount`
2282
- # @return [Float]
2283
- attr_accessor :vcpu_count
2284
-
2285
- def initialize(**args)
2286
- update!(**args)
2287
- end
2288
-
2289
- # Update properties of this object
2290
- def update!(**args)
2291
- @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2292
- @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
2293
- @vcpu_count = args[:vcpu_count] if args.key?(:vcpu_count)
2294
- end
2295
- end
2296
-
2297
2233
  # Pairs a set of secret environment variables mapped to encrypted values with
2298
2234
  # the Cloud KMS key to use to decrypt the value.
2299
2235
  class InlineSecret
@@ -2829,11 +2765,6 @@ module Google
2829
2765
  # @return [String]
2830
2766
  attr_accessor :name
2831
2767
 
2832
- # Configuration per workload for both Private Pools and Hybrid Pools.
2833
- # Corresponds to the JSON property `workerConfig`
2834
- # @return [Google::Apis::CloudbuildV1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig]
2835
- attr_accessor :worker_config
2836
-
2837
2768
  def initialize(**args)
2838
2769
  update!(**args)
2839
2770
  end
@@ -2841,7 +2772,6 @@ module Google
2841
2772
  # Update properties of this object
2842
2773
  def update!(**args)
2843
2774
  @name = args[:name] if args.key?(:name)
2844
- @worker_config = args[:worker_config] if args.key?(:worker_config)
2845
2775
  end
2846
2776
  end
2847
2777
 
@@ -3235,6 +3165,65 @@ module Google
3235
3165
  end
3236
3166
  end
3237
3167
 
3168
+ # Represents the custom metadata of the RunWorkflow long-running operation.
3169
+ class RunWorkflowCustomOperationMetadata
3170
+ include Google::Apis::Core::Hashable
3171
+
3172
+ # Output only. API version used to start the operation.
3173
+ # Corresponds to the JSON property `apiVersion`
3174
+ # @return [String]
3175
+ attr_accessor :api_version
3176
+
3177
+ # Output only. The time the operation was created.
3178
+ # Corresponds to the JSON property `createTime`
3179
+ # @return [String]
3180
+ attr_accessor :create_time
3181
+
3182
+ # Output only. The time the operation finished running.
3183
+ # Corresponds to the JSON property `endTime`
3184
+ # @return [String]
3185
+ attr_accessor :end_time
3186
+
3187
+ # Output only. ID of the pipeline run created by RunWorkflow.
3188
+ # Corresponds to the JSON property `pipelineRunId`
3189
+ # @return [String]
3190
+ attr_accessor :pipeline_run_id
3191
+
3192
+ # Output only. Identifies whether the user has requested cancellation of the
3193
+ # operation. Operations that have successfully been cancelled have Operation.
3194
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
3195
+ # CANCELLED`.
3196
+ # Corresponds to the JSON property `requestedCancellation`
3197
+ # @return [Boolean]
3198
+ attr_accessor :requested_cancellation
3199
+ alias_method :requested_cancellation?, :requested_cancellation
3200
+
3201
+ # Output only. Server-defined resource path for the target of the operation.
3202
+ # Corresponds to the JSON property `target`
3203
+ # @return [String]
3204
+ attr_accessor :target
3205
+
3206
+ # Output only. Name of the verb executed by the operation.
3207
+ # Corresponds to the JSON property `verb`
3208
+ # @return [String]
3209
+ attr_accessor :verb
3210
+
3211
+ def initialize(**args)
3212
+ update!(**args)
3213
+ end
3214
+
3215
+ # Update properties of this object
3216
+ def update!(**args)
3217
+ @api_version = args[:api_version] if args.key?(:api_version)
3218
+ @create_time = args[:create_time] if args.key?(:create_time)
3219
+ @end_time = args[:end_time] if args.key?(:end_time)
3220
+ @pipeline_run_id = args[:pipeline_run_id] if args.key?(:pipeline_run_id)
3221
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
3222
+ @target = args[:target] if args.key?(:target)
3223
+ @verb = args[:verb] if args.key?(:verb)
3224
+ end
3225
+ end
3226
+
3238
3227
  # SMTPDelivery is the delivery configuration for an SMTP (email) notification.
3239
3228
  class SmtpDelivery
3240
3229
  include Google::Apis::Core::Hashable
@@ -3888,11 +3877,6 @@ module Google
3888
3877
  # @return [String]
3889
3878
  attr_accessor :etag
3890
3879
 
3891
- # Configuration for a Hybrid Worker Pool Next ID: 6
3892
- # Corresponds to the JSON property `hybridPoolConfig`
3893
- # @return [Google::Apis::CloudbuildV1::HybridPoolConfig]
3894
- attr_accessor :hybrid_pool_config
3895
-
3896
3880
  # Output only. The resource name of the `WorkerPool`, with format `projects/`
3897
3881
  # project`/locations/`location`/workerPools/`worker_pool``. The value of ``
3898
3882
  # worker_pool`` is provided by `worker_pool_id` in `CreateWorkerPool` request
@@ -3932,7 +3916,6 @@ module Google
3932
3916
  @delete_time = args[:delete_time] if args.key?(:delete_time)
3933
3917
  @display_name = args[:display_name] if args.key?(:display_name)
3934
3918
  @etag = args[:etag] if args.key?(:etag)
3935
- @hybrid_pool_config = args[:hybrid_pool_config] if args.key?(:hybrid_pool_config)
3936
3919
  @name = args[:name] if args.key?(:name)
3937
3920
  @private_pool_v1_config = args[:private_pool_v1_config] if args.key?(:private_pool_v1_config)
3938
3921
  @state = args[:state] if args.key?(:state)
@@ -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.23.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220126"
25
+ REVISION = "20220301"
26
26
  end
27
27
  end
28
28
  end
@@ -280,12 +280,6 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
- class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
284
- class Representation < Google::Apis::Core::JsonRepresentation; end
285
-
286
- include Google::Apis::Core::JsonObjectSupport
287
- end
288
-
289
283
  class GoogleDevtoolsCloudbuildV2OperationMetadata
290
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
285
 
@@ -310,18 +304,6 @@ module Google
310
304
  include Google::Apis::Core::JsonObjectSupport
311
305
  end
312
306
 
313
- class HybridPoolConfig
314
- class Representation < Google::Apis::Core::JsonRepresentation; end
315
-
316
- include Google::Apis::Core::JsonObjectSupport
317
- end
318
-
319
- class HybridWorkerConfig
320
- class Representation < Google::Apis::Core::JsonRepresentation; end
321
-
322
- include Google::Apis::Core::JsonObjectSupport
323
- end
324
-
325
307
  class InlineSecret
326
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
309
 
@@ -490,6 +472,12 @@ module Google
490
472
  include Google::Apis::Core::JsonObjectSupport
491
473
  end
492
474
 
475
+ class RunWorkflowCustomOperationMetadata
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
493
481
  class SmtpDelivery
494
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
483
 
@@ -1060,6 +1048,8 @@ module Google
1060
1048
  class GitFileSource
1061
1049
  # @private
1062
1050
  class Representation < Google::Apis::Core::JsonRepresentation
1051
+ property :bitbucket_server_config, as: 'bitbucketServerConfig'
1052
+ property :github_enterprise_config, as: 'githubEnterpriseConfig'
1063
1053
  property :path, as: 'path'
1064
1054
  property :repo_type, as: 'repoType'
1065
1055
  property :revision, as: 'revision'
@@ -1114,21 +1104,14 @@ module Google
1114
1104
  class GitRepoSource
1115
1105
  # @private
1116
1106
  class Representation < Google::Apis::Core::JsonRepresentation
1107
+ property :bitbucket_server_config, as: 'bitbucketServerConfig'
1108
+ property :github_enterprise_config, as: 'githubEnterpriseConfig'
1117
1109
  property :ref, as: 'ref'
1118
1110
  property :repo_type, as: 'repoType'
1119
1111
  property :uri, as: 'uri'
1120
1112
  end
1121
1113
  end
1122
1114
 
1123
- class GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig
1124
- # @private
1125
- class Representation < Google::Apis::Core::JsonRepresentation
1126
- property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1127
- property :memory_gb, as: 'memoryGb'
1128
- property :vcpu_count, as: 'vcpuCount'
1129
- end
1130
- end
1131
-
1132
1115
  class GoogleDevtoolsCloudbuildV2OperationMetadata
1133
1116
  # @private
1134
1117
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1166,24 +1149,6 @@ module Google
1166
1149
  end
1167
1150
  end
1168
1151
 
1169
- class HybridPoolConfig
1170
- # @private
1171
- class Representation < Google::Apis::Core::JsonRepresentation
1172
- property :default_worker_config, as: 'defaultWorkerConfig', class: Google::Apis::CloudbuildV1::HybridWorkerConfig, decorator: Google::Apis::CloudbuildV1::HybridWorkerConfig::Representation
1173
-
1174
- property :membership, as: 'membership'
1175
- end
1176
- end
1177
-
1178
- class HybridWorkerConfig
1179
- # @private
1180
- class Representation < Google::Apis::Core::JsonRepresentation
1181
- property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1182
- property :memory_gb, as: 'memoryGb'
1183
- property :vcpu_count, as: 'vcpuCount'
1184
- end
1185
- end
1186
-
1187
1152
  class InlineSecret
1188
1153
  # @private
1189
1154
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1341,8 +1306,6 @@ module Google
1341
1306
  # @private
1342
1307
  class Representation < Google::Apis::Core::JsonRepresentation
1343
1308
  property :name, as: 'name'
1344
- property :worker_config, as: 'workerConfig', class: Google::Apis::CloudbuildV1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig, decorator: Google::Apis::CloudbuildV1::GoogleDevtoolsCloudbuildV1BuildOptionsPoolOptionWorkerConfig::Representation
1345
-
1346
1309
  end
1347
1310
  end
1348
1311
 
@@ -1454,6 +1417,19 @@ module Google
1454
1417
  end
1455
1418
  end
1456
1419
 
1420
+ class RunWorkflowCustomOperationMetadata
1421
+ # @private
1422
+ class Representation < Google::Apis::Core::JsonRepresentation
1423
+ property :api_version, as: 'apiVersion'
1424
+ property :create_time, as: 'createTime'
1425
+ property :end_time, as: 'endTime'
1426
+ property :pipeline_run_id, as: 'pipelineRunId'
1427
+ property :requested_cancellation, as: 'requestedCancellation'
1428
+ property :target, as: 'target'
1429
+ property :verb, as: 'verb'
1430
+ end
1431
+ end
1432
+
1457
1433
  class SmtpDelivery
1458
1434
  # @private
1459
1435
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1638,8 +1614,6 @@ module Google
1638
1614
  property :delete_time, as: 'deleteTime'
1639
1615
  property :display_name, as: 'displayName'
1640
1616
  property :etag, as: 'etag'
1641
- property :hybrid_pool_config, as: 'hybridPoolConfig', class: Google::Apis::CloudbuildV1::HybridPoolConfig, decorator: Google::Apis::CloudbuildV1::HybridPoolConfig::Representation
1642
-
1643
1617
  property :name, as: 'name'
1644
1618
  property :private_pool_v1_config, as: 'privatePoolV1Config', class: Google::Apis::CloudbuildV1::PrivatePoolV1Config, decorator: Google::Apis::CloudbuildV1::PrivatePoolV1Config::Representation
1645
1619
 
@@ -324,7 +324,7 @@ module Google
324
324
  # 158 for more.
325
325
  # @param [String] parent
326
326
  # The parent of the collection of `Builds`. Format: `projects/`project`/
327
- # locations/location`
327
+ # locations/`location``
328
328
  # @param [String] fields
329
329
  # Selector specifying which fields to include in a partial response.
330
330
  # @param [String] quota_user
@@ -1079,7 +1079,7 @@ module Google
1079
1079
  # progress, or may have finished successfully or unsuccessfully.
1080
1080
  # @param [String] parent
1081
1081
  # The parent of the collection of `Builds`. Format: `projects/`project`/
1082
- # locations/location`
1082
+ # locations/`location``
1083
1083
  # @param [String] filter
1084
1084
  # The raw filter text to constrain the results.
1085
1085
  # @param [Fixnum] page_size
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.23.0
4
+ version: 0.26.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: 2022-02-07 00:00:00.000000000 Z
11
+ date: 2022-03-14 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.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.26.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: []