google-apis-cloudbuild_v1 0.82.0 → 0.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba7e31d8ebbd827b1af31cdbc853bd9cb9ae55328960b35a4929830e5dd445b0
4
- data.tar.gz: d92ef930ad7f401d45069a6ec7cba7b0ac1fd9243dc52fbf01f5a9ed746911b0
3
+ metadata.gz: eb36e31bff546ef0748dd7004e8913d650ff19cadcf090821d3834a21a4a0c94
4
+ data.tar.gz: bc3082903b09680490869265734ee0d0931c5f6b5d42050acc0a5f3f03defdaf
5
5
  SHA512:
6
- metadata.gz: 370d2430115152d8f259edb21aab50c14985da36ad8e23287c37ffa9b28baa12255a04c239a10ad8efe997bd605bffbb99b3982121aa80d9d356a6baa71362aa
7
- data.tar.gz: ff81664716cdc10e41540d6399beef4eb6844e401181cabaa5b9618d6e55857a4a619c5f15fd0fdd4ca97770c9f91c726ca836f22e6056f66427b653776e2184
6
+ metadata.gz: a1ca1b3076dd780923f97c5614b377b3c7e1f5e85196af9c9eb93ebaa4f20dcfc21bae6f515bd0e6d7ea0d4488af0a897da525337e18969d1aa08b8135ea8a85
7
+ data.tar.gz: bba13c95e78c3a75d1a383d5db56805c4d3c46ec2467e36390d4a49ac1b95d72a7228ee8508ee7e9ef9272711ff32624217ece3e396363e111d67df6e5637c30
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-cloudbuild_v1
2
2
 
3
+ ### v0.84.0 (2026-10-21)
4
+
5
+ * Regenerated from discovery document revision 20261010
6
+ * Regenerated using generator version 0.19.1
7
+
8
+ ### v0.83.0 (2026-09-27)
9
+
10
+ * Regenerated from discovery document revision 20260918
11
+
3
12
  ### v0.82.0 (2026-08-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20260814
@@ -1020,6 +1020,11 @@ module Google
1020
1020
  # @return [String]
1021
1021
  attr_accessor :requested_verify_option
1022
1022
 
1023
+ # Output only. Worker release resolved from the release channel.
1024
+ # Corresponds to the JSON property `resolvedWorkerRelease`
1025
+ # @return [String]
1026
+ attr_accessor :resolved_worker_release
1027
+
1023
1028
  # A list of global environment variables, which are encrypted using a Cloud Key
1024
1029
  # Management Service crypto key. These values must be specified in the build's `
1025
1030
  # Secret`. These variables will be available to all build steps in this build.
@@ -1054,6 +1059,12 @@ module Google
1054
1059
  # @return [String]
1055
1060
  attr_accessor :worker_pool
1056
1061
 
1062
+ # Optional. Option to specify which release or release channel (rapid|regular|
1063
+ # stable) to use to run this build.
1064
+ # Corresponds to the JSON property `workerRelease`
1065
+ # @return [String]
1066
+ attr_accessor :worker_release
1067
+
1057
1068
  def initialize(**args)
1058
1069
  update!(**args)
1059
1070
  end
@@ -1072,11 +1083,61 @@ module Google
1072
1083
  @pool = args[:pool] if args.key?(:pool)
1073
1084
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
1074
1085
  @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
1086
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
1075
1087
  @secret_env = args[:secret_env] if args.key?(:secret_env)
1076
1088
  @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
1077
1089
  @substitution_option = args[:substitution_option] if args.key?(:substitution_option)
1078
1090
  @volumes = args[:volumes] if args.key?(:volumes)
1079
1091
  @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
1092
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
1093
+ end
1094
+ end
1095
+
1096
+ # Aggregated/summary metrics over the entire build lifecycle.
1097
+ class BuildResourceUsage
1098
+ include Google::Apis::Core::Hashable
1099
+
1100
+ # Output only. The average CPU utilization ratio across all vCPUs over the
1101
+ # duration of the build, expressed as a fraction in the range [0.0, 1.0].
1102
+ # Corresponds to the JSON property `averageCpuUtilization`
1103
+ # @return [Float]
1104
+ attr_accessor :average_cpu_utilization
1105
+
1106
+ # Output only. The average memory utilization ratio over the duration of the
1107
+ # build, expressed as a fraction in the range [0.0, 1.0].
1108
+ # Corresponds to the JSON property `averageMemoryUtilization`
1109
+ # @return [Float]
1110
+ attr_accessor :average_memory_utilization
1111
+
1112
+ # Output only. The highest CPU utilization ratio across all vCPUs observed over
1113
+ # the duration of the build, expressed as a fraction in the range [0.0, 1.0].
1114
+ # Corresponds to the JSON property `peakCpuUtilization`
1115
+ # @return [Float]
1116
+ attr_accessor :peak_cpu_utilization
1117
+
1118
+ # Output only. The highest memory utilization ratio observed over the duration
1119
+ # of the build, expressed as a fraction in the range [0.0, 1.0].
1120
+ # Corresponds to the JSON property `peakMemoryUtilization`
1121
+ # @return [Float]
1122
+ attr_accessor :peak_memory_utilization
1123
+
1124
+ # Output only. Total CPU execution time consumed across all cores during build
1125
+ # execution.
1126
+ # Corresponds to the JSON property `totalCpuDuration`
1127
+ # @return [String]
1128
+ attr_accessor :total_cpu_duration
1129
+
1130
+ def initialize(**args)
1131
+ update!(**args)
1132
+ end
1133
+
1134
+ # Update properties of this object
1135
+ def update!(**args)
1136
+ @average_cpu_utilization = args[:average_cpu_utilization] if args.key?(:average_cpu_utilization)
1137
+ @average_memory_utilization = args[:average_memory_utilization] if args.key?(:average_memory_utilization)
1138
+ @peak_cpu_utilization = args[:peak_cpu_utilization] if args.key?(:peak_cpu_utilization)
1139
+ @peak_memory_utilization = args[:peak_memory_utilization] if args.key?(:peak_memory_utilization)
1140
+ @total_cpu_duration = args[:total_cpu_duration] if args.key?(:total_cpu_duration)
1080
1141
  end
1081
1142
  end
1082
1143
 
@@ -2070,7 +2131,8 @@ module Google
2070
2131
  class GenericArtifactDependency
2071
2132
  include Google::Apis::Core::Hashable
2072
2133
 
2073
- # Required. Where the artifact files should be placed on the worker.
2134
+ # Optional. Where the artifact files should be placed on the worker. Required
2135
+ # when specified in `Build.dependencies`.
2074
2136
  # Corresponds to the JSON property `destPath`
2075
2137
  # @return [String]
2076
2138
  attr_accessor :dest_path
@@ -3179,6 +3241,18 @@ module Google
3179
3241
  # @return [String]
3180
3242
  attr_accessor :name
3181
3243
 
3244
+ # Output only. OUTPUT_ONLY. Worker release resolved from the release channel.
3245
+ # Corresponds to the JSON property `resolvedWorkerRelease`
3246
+ # @return [String]
3247
+ attr_accessor :resolved_worker_release
3248
+
3249
+ # Output only. OUTPUT_ONLY. The release or release channel used to run the Build.
3250
+ # This is set to the same value as `PrivatePoolV1Config.WorkerConfig.
3251
+ # worker_release` for the UI to easily access.
3252
+ # Corresponds to the JSON property `workerRelease`
3253
+ # @return [String]
3254
+ attr_accessor :worker_release
3255
+
3182
3256
  def initialize(**args)
3183
3257
  update!(**args)
3184
3258
  end
@@ -3186,6 +3260,8 @@ module Google
3186
3260
  # Update properties of this object
3187
3261
  def update!(**args)
3188
3262
  @name = args[:name] if args.key?(:name)
3263
+ @resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
3264
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
3189
3265
  end
3190
3266
  end
3191
3267
 
@@ -3662,6 +3738,11 @@ module Google
3662
3738
  # @return [Array<Google::Apis::CloudbuildV1::UploadedPythonPackage>]
3663
3739
  attr_accessor :python_packages
3664
3740
 
3741
+ # Aggregated/summary metrics over the entire build lifecycle.
3742
+ # Corresponds to the JSON property `resourceUsage`
3743
+ # @return [Google::Apis::CloudbuildV1::BuildResourceUsage]
3744
+ attr_accessor :resource_usage
3745
+
3665
3746
  def initialize(**args)
3666
3747
  update!(**args)
3667
3748
  end
@@ -3680,6 +3761,7 @@ module Google
3680
3761
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
3681
3762
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
3682
3763
  @python_packages = args[:python_packages] if args.key?(:python_packages)
3764
+ @resource_usage = args[:resource_usage] if args.key?(:resource_usage)
3683
3765
  end
3684
3766
  end
3685
3767
 
@@ -4514,6 +4596,12 @@ module Google
4514
4596
  # @return [String]
4515
4597
  attr_accessor :machine_type
4516
4598
 
4599
+ # Optional. Option to specify which release or release channel (rapid|regular|
4600
+ # stable) to use to run this build.
4601
+ # Corresponds to the JSON property `workerRelease`
4602
+ # @return [String]
4603
+ attr_accessor :worker_release
4604
+
4517
4605
  def initialize(**args)
4518
4606
  update!(**args)
4519
4607
  end
@@ -4523,6 +4611,7 @@ module Google
4523
4611
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
4524
4612
  @enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
4525
4613
  @machine_type = args[:machine_type] if args.key?(:machine_type)
4614
+ @worker_release = args[:worker_release] if args.key?(:worker_release)
4526
4615
  end
4527
4616
  end
4528
4617
 
@@ -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.82.0"
19
+ GEM_VERSION = "0.84.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.0"
22
+ GENERATOR_VERSION = "0.19.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260814"
25
+ REVISION = "20261010"
26
26
  end
27
27
  end
28
28
  end
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class BuildResourceUsage
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class BuildStep
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -910,12 +916,25 @@ module Google
910
916
 
911
917
  property :pubsub_topic, as: 'pubsubTopic'
912
918
  property :requested_verify_option, as: 'requestedVerifyOption'
919
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
913
920
  collection :secret_env, as: 'secretEnv'
914
921
  collection :source_provenance_hash, as: 'sourceProvenanceHash'
915
922
  property :substitution_option, as: 'substitutionOption'
916
923
  collection :volumes, as: 'volumes', class: Google::Apis::CloudbuildV1::Volume, decorator: Google::Apis::CloudbuildV1::Volume::Representation
917
924
 
918
925
  property :worker_pool, as: 'workerPool'
926
+ property :worker_release, as: 'workerRelease'
927
+ end
928
+ end
929
+
930
+ class BuildResourceUsage
931
+ # @private
932
+ class Representation < Google::Apis::Core::JsonRepresentation
933
+ property :average_cpu_utilization, as: 'averageCpuUtilization'
934
+ property :average_memory_utilization, as: 'averageMemoryUtilization'
935
+ property :peak_cpu_utilization, as: 'peakCpuUtilization'
936
+ property :peak_memory_utilization, as: 'peakMemoryUtilization'
937
+ property :total_cpu_duration, as: 'totalCpuDuration'
919
938
  end
920
939
  end
921
940
 
@@ -1447,6 +1466,8 @@ module Google
1447
1466
  # @private
1448
1467
  class Representation < Google::Apis::Core::JsonRepresentation
1449
1468
  property :name, as: 'name'
1469
+ property :resolved_worker_release, as: 'resolvedWorkerRelease'
1470
+ property :worker_release, as: 'workerRelease'
1450
1471
  end
1451
1472
  end
1452
1473
 
@@ -1579,6 +1600,8 @@ module Google
1579
1600
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1580
1601
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1::UploadedPythonPackage, decorator: Google::Apis::CloudbuildV1::UploadedPythonPackage::Representation
1581
1602
 
1603
+ property :resource_usage, as: 'resourceUsage', class: Google::Apis::CloudbuildV1::BuildResourceUsage, decorator: Google::Apis::CloudbuildV1::BuildResourceUsage::Representation
1604
+
1582
1605
  end
1583
1606
  end
1584
1607
 
@@ -1827,6 +1850,7 @@ module Google
1827
1850
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1828
1851
  property :enable_nested_virtualization, as: 'enableNestedVirtualization'
1829
1852
  property :machine_type, as: 'machineType'
1853
+ property :worker_release, as: 'workerRelease'
1830
1854
  end
1831
1855
  end
1832
1856
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudbuild_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.82.0
4
+ version: 0.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.82.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.84.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudbuild_v1
62
62
  rdoc_options: []
63
63
  require_paths: