google-apis-cloudbuild_v1 0.83.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: 66757c53099fd4ae1225d0b8913d7d117f570c33882b6e440b830c69da05445f
4
- data.tar.gz: 6da3b05fc66f2d9b620d600881f33c6696a9899b6ff3748298e74bbde6a7a026
3
+ metadata.gz: eb36e31bff546ef0748dd7004e8913d650ff19cadcf090821d3834a21a4a0c94
4
+ data.tar.gz: bc3082903b09680490869265734ee0d0931c5f6b5d42050acc0a5f3f03defdaf
5
5
  SHA512:
6
- metadata.gz: 372a7cab98987f211c70d28f7dfba618bbb3dfb6b9c0c2b55240ffffd8af5da8e9b36069149791ec882fbfabfd5d9d79792bd7b8e9b8ce6ff678288e32a251ea
7
- data.tar.gz: 587d8c96988435b72e238785ea95387c6d00916204ddbf5519f1d1c2a538f8bdebd8120affabbf9cd712536e4edd39718988e377225587d39b61830eb51b744f
6
+ metadata.gz: a1ca1b3076dd780923f97c5614b377b3c7e1f5e85196af9c9eb93ebaa4f20dcfc21bae6f515bd0e6d7ea0d4488af0a897da525337e18969d1aa08b8135ea8a85
7
+ data.tar.gz: bba13c95e78c3a75d1a383d5db56805c4d3c46ec2467e36390d4a49ac1b95d72a7228ee8508ee7e9ef9272711ff32624217ece3e396363e111d67df6e5637c30
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.83.0 (2026-09-27)
4
9
 
5
10
  * Regenerated from discovery document revision 20260918
@@ -1093,6 +1093,54 @@ module Google
1093
1093
  end
1094
1094
  end
1095
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)
1141
+ end
1142
+ end
1143
+
1096
1144
  # A step in the build pipeline.
1097
1145
  class BuildStep
1098
1146
  include Google::Apis::Core::Hashable
@@ -2083,7 +2131,8 @@ module Google
2083
2131
  class GenericArtifactDependency
2084
2132
  include Google::Apis::Core::Hashable
2085
2133
 
2086
- # 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`.
2087
2136
  # Corresponds to the JSON property `destPath`
2088
2137
  # @return [String]
2089
2138
  attr_accessor :dest_path
@@ -3689,6 +3738,11 @@ module Google
3689
3738
  # @return [Array<Google::Apis::CloudbuildV1::UploadedPythonPackage>]
3690
3739
  attr_accessor :python_packages
3691
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
+
3692
3746
  def initialize(**args)
3693
3747
  update!(**args)
3694
3748
  end
@@ -3707,6 +3761,7 @@ module Google
3707
3761
  @npm_packages = args[:npm_packages] if args.key?(:npm_packages)
3708
3762
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
3709
3763
  @python_packages = args[:python_packages] if args.key?(:python_packages)
3764
+ @resource_usage = args[:resource_usage] if args.key?(:resource_usage)
3710
3765
  end
3711
3766
  end
3712
3767
 
@@ -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.83.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 = "20260918"
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
 
@@ -921,6 +927,17 @@ module Google
921
927
  end
922
928
  end
923
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'
938
+ end
939
+ end
940
+
924
941
  class BuildStep
925
942
  # @private
926
943
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1583,6 +1600,8 @@ module Google
1583
1600
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1584
1601
  collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1::UploadedPythonPackage, decorator: Google::Apis::CloudbuildV1::UploadedPythonPackage::Representation
1585
1602
 
1603
+ property :resource_usage, as: 'resourceUsage', class: Google::Apis::CloudbuildV1::BuildResourceUsage, decorator: Google::Apis::CloudbuildV1::BuildResourceUsage::Representation
1604
+
1586
1605
  end
1587
1606
  end
1588
1607
 
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.83.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.83.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: