google-apis-run_v1 0.114.0 → 0.116.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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/run_v1/classes.rb +171 -9
- data/lib/google/apis/run_v1/gem_version.rb +3 -3
- data/lib/google/apis/run_v1/representations.rb +61 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0773489e9c897f0e9b9d0ff0f7544de3833418e3c40e90e283e9e2802439bdaa'
|
|
4
|
+
data.tar.gz: ac7a6aa9a65cadffda7c05cff5e807c24da1c0681ea9b88f20762da7e04d22ae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 56c3ebf0b2c24dd0ac226b971f6f4ff9a4f4838fa31e42002d15882d3ba3aa2330cfaee465b937e541bb0aecda627842882795c9d606e618d698bae9a345bdd8
|
|
7
|
+
data.tar.gz: b961942a5552bb8164713063bff0bbcc0b115d3e59fbe90e7f74c54ad2977addf2e4f82c1f287de6228e10e42d59af656d614edf7c9453f0b00ee8f20d69bd0d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-run_v1
|
|
2
2
|
|
|
3
|
+
### v0.116.0 (2026-11-01)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20261023
|
|
6
|
+
|
|
7
|
+
### v0.115.0 (2026-10-21)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20261016
|
|
10
|
+
* Regenerated using generator version 0.19.1
|
|
11
|
+
|
|
3
12
|
### v0.114.0 (2026-09-24)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20260917
|
|
@@ -917,15 +917,15 @@ module Google
|
|
|
917
917
|
end
|
|
918
918
|
end
|
|
919
919
|
|
|
920
|
-
# In memory
|
|
921
|
-
# the sandbox is taken down, the data is destroyed with it (it does not
|
|
922
|
-
# across sandbox runs).
|
|
920
|
+
# In memory or disk-backed ephemeral storage. It is ephemeral in the sense that
|
|
921
|
+
# when the sandbox is taken down, the data is destroyed with it (it does not
|
|
922
|
+
# persist across sandbox runs).
|
|
923
923
|
class EmptyDirVolumeSource
|
|
924
924
|
include Google::Apis::Core::Hashable
|
|
925
925
|
|
|
926
926
|
# The medium on which the data is stored. The default is "" which means to use
|
|
927
|
-
# the node's default medium. Must be an empty string (default) or
|
|
928
|
-
# info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
|
|
927
|
+
# the node's default medium. Must be an empty string (default), `Memory`, or `
|
|
928
|
+
# Disk`. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
|
|
929
929
|
# Corresponds to the JSON property `medium`
|
|
930
930
|
# @return [String]
|
|
931
931
|
attr_accessor :medium
|
|
@@ -2029,6 +2029,15 @@ module Google
|
|
|
2029
2029
|
# @return [String]
|
|
2030
2030
|
attr_accessor :pubsub_topic
|
|
2031
2031
|
|
|
2032
|
+
# Optional. Ranked list (earlier items have higher priority) of Machine Series
|
|
2033
|
+
# to consider when provisioning Worker VMs. A concrete machine type will be
|
|
2034
|
+
# selected based on machine availability in the given region. This field must be
|
|
2035
|
+
# empty for the Build to be eligible to be paired with a pre-provisioned worker
|
|
2036
|
+
# VM.
|
|
2037
|
+
# Corresponds to the JSON property `rankedMachineSeries`
|
|
2038
|
+
# @return [Array<String>]
|
|
2039
|
+
attr_accessor :ranked_machine_series
|
|
2040
|
+
|
|
2032
2041
|
# Requested verifiability options.
|
|
2033
2042
|
# Corresponds to the JSON property `requestedVerifyOption`
|
|
2034
2043
|
# @return [String]
|
|
@@ -2096,6 +2105,7 @@ module Google
|
|
|
2096
2105
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
|
2097
2106
|
@pool = args[:pool] if args.key?(:pool)
|
|
2098
2107
|
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
|
2108
|
+
@ranked_machine_series = args[:ranked_machine_series] if args.key?(:ranked_machine_series)
|
|
2099
2109
|
@requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
|
|
2100
2110
|
@resolved_worker_release = args[:resolved_worker_release] if args.key?(:resolved_worker_release)
|
|
2101
2111
|
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
|
@@ -2107,6 +2117,54 @@ module Google
|
|
|
2107
2117
|
end
|
|
2108
2118
|
end
|
|
2109
2119
|
|
|
2120
|
+
# Aggregated/summary metrics over the entire build lifecycle.
|
|
2121
|
+
class GoogleDevtoolsCloudbuildV1BuildResourceUsage
|
|
2122
|
+
include Google::Apis::Core::Hashable
|
|
2123
|
+
|
|
2124
|
+
# Output only. The average CPU utilization ratio across all vCPUs over the
|
|
2125
|
+
# duration of the build, expressed as a fraction in the range [0.0, 1.0].
|
|
2126
|
+
# Corresponds to the JSON property `averageCpuUtilization`
|
|
2127
|
+
# @return [Float]
|
|
2128
|
+
attr_accessor :average_cpu_utilization
|
|
2129
|
+
|
|
2130
|
+
# Output only. The average memory utilization ratio over the duration of the
|
|
2131
|
+
# build, expressed as a fraction in the range [0.0, 1.0].
|
|
2132
|
+
# Corresponds to the JSON property `averageMemoryUtilization`
|
|
2133
|
+
# @return [Float]
|
|
2134
|
+
attr_accessor :average_memory_utilization
|
|
2135
|
+
|
|
2136
|
+
# Output only. The highest CPU utilization ratio across all vCPUs observed over
|
|
2137
|
+
# the duration of the build, expressed as a fraction in the range [0.0, 1.0].
|
|
2138
|
+
# Corresponds to the JSON property `peakCpuUtilization`
|
|
2139
|
+
# @return [Float]
|
|
2140
|
+
attr_accessor :peak_cpu_utilization
|
|
2141
|
+
|
|
2142
|
+
# Output only. The highest memory utilization ratio observed over the duration
|
|
2143
|
+
# of the build, expressed as a fraction in the range [0.0, 1.0].
|
|
2144
|
+
# Corresponds to the JSON property `peakMemoryUtilization`
|
|
2145
|
+
# @return [Float]
|
|
2146
|
+
attr_accessor :peak_memory_utilization
|
|
2147
|
+
|
|
2148
|
+
# Output only. Total CPU execution time consumed across all cores during build
|
|
2149
|
+
# execution.
|
|
2150
|
+
# Corresponds to the JSON property `totalCpuDuration`
|
|
2151
|
+
# @return [String]
|
|
2152
|
+
attr_accessor :total_cpu_duration
|
|
2153
|
+
|
|
2154
|
+
def initialize(**args)
|
|
2155
|
+
update!(**args)
|
|
2156
|
+
end
|
|
2157
|
+
|
|
2158
|
+
# Update properties of this object
|
|
2159
|
+
def update!(**args)
|
|
2160
|
+
@average_cpu_utilization = args[:average_cpu_utilization] if args.key?(:average_cpu_utilization)
|
|
2161
|
+
@average_memory_utilization = args[:average_memory_utilization] if args.key?(:average_memory_utilization)
|
|
2162
|
+
@peak_cpu_utilization = args[:peak_cpu_utilization] if args.key?(:peak_cpu_utilization)
|
|
2163
|
+
@peak_memory_utilization = args[:peak_memory_utilization] if args.key?(:peak_memory_utilization)
|
|
2164
|
+
@total_cpu_duration = args[:total_cpu_duration] if args.key?(:total_cpu_duration)
|
|
2165
|
+
end
|
|
2166
|
+
end
|
|
2167
|
+
|
|
2110
2168
|
# A step in the build pipeline.
|
|
2111
2169
|
class GoogleDevtoolsCloudbuildV1BuildStep
|
|
2112
2170
|
include Google::Apis::Core::Hashable
|
|
@@ -2522,7 +2580,8 @@ module Google
|
|
|
2522
2580
|
class GoogleDevtoolsCloudbuildV1GenericArtifactDependency
|
|
2523
2581
|
include Google::Apis::Core::Hashable
|
|
2524
2582
|
|
|
2525
|
-
#
|
|
2583
|
+
# Optional. Where the artifact files should be placed on the worker. Required
|
|
2584
|
+
# when specified in `Build.dependencies`.
|
|
2526
2585
|
# Corresponds to the JSON property `destPath`
|
|
2527
2586
|
# @return [String]
|
|
2528
2587
|
attr_accessor :dest_path
|
|
@@ -3150,6 +3209,11 @@ module Google
|
|
|
3150
3209
|
# @return [Array<Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedPythonPackage>]
|
|
3151
3210
|
attr_accessor :python_packages
|
|
3152
3211
|
|
|
3212
|
+
# Aggregated/summary metrics over the entire build lifecycle.
|
|
3213
|
+
# Corresponds to the JSON property `resourceUsage`
|
|
3214
|
+
# @return [Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuildResourceUsage]
|
|
3215
|
+
attr_accessor :resource_usage
|
|
3216
|
+
|
|
3153
3217
|
def initialize(**args)
|
|
3154
3218
|
update!(**args)
|
|
3155
3219
|
end
|
|
@@ -3168,6 +3232,7 @@ module Google
|
|
|
3168
3232
|
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
|
|
3169
3233
|
@num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
|
|
3170
3234
|
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
|
3235
|
+
@resource_usage = args[:resource_usage] if args.key?(:resource_usage)
|
|
3171
3236
|
end
|
|
3172
3237
|
end
|
|
3173
3238
|
|
|
@@ -4046,6 +4111,11 @@ module Google
|
|
|
4046
4111
|
# @return [String]
|
|
4047
4112
|
attr_accessor :restart_policy
|
|
4048
4113
|
|
|
4114
|
+
# Configuration for sandboxes.
|
|
4115
|
+
# Corresponds to the JSON property `sandboxes`
|
|
4116
|
+
# @return [Google::Apis::RunV1::SandboxConfiguration]
|
|
4117
|
+
attr_accessor :sandboxes
|
|
4118
|
+
|
|
4049
4119
|
# Optional. Email address of the IAM service account associated with the
|
|
4050
4120
|
# Instance. The service account represents the identity of the running container,
|
|
4051
4121
|
# and determines what permissions the Instance has. If not provided, the
|
|
@@ -4069,6 +4139,7 @@ module Google
|
|
|
4069
4139
|
@containers = args[:containers] if args.key?(:containers)
|
|
4070
4140
|
@node_selector = args[:node_selector] if args.key?(:node_selector)
|
|
4071
4141
|
@restart_policy = args[:restart_policy] if args.key?(:restart_policy)
|
|
4142
|
+
@sandboxes = args[:sandboxes] if args.key?(:sandboxes)
|
|
4072
4143
|
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
|
4073
4144
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
4074
4145
|
end
|
|
@@ -5522,6 +5593,11 @@ module Google
|
|
|
5522
5593
|
# @return [String]
|
|
5523
5594
|
attr_accessor :runtime_class_name
|
|
5524
5595
|
|
|
5596
|
+
# Configuration for sandboxes.
|
|
5597
|
+
# Corresponds to the JSON property `sandboxes`
|
|
5598
|
+
# @return [Google::Apis::RunV1::SandboxConfiguration]
|
|
5599
|
+
attr_accessor :sandboxes
|
|
5600
|
+
|
|
5525
5601
|
# Email address of the IAM service account associated with the revision of the
|
|
5526
5602
|
# service. The service account represents the identity of the running revision,
|
|
5527
5603
|
# and determines what permissions the revision has. If not provided, the
|
|
@@ -5554,6 +5630,7 @@ module Google
|
|
|
5554
5630
|
@image_pull_secrets = args[:image_pull_secrets] if args.key?(:image_pull_secrets)
|
|
5555
5631
|
@node_selector = args[:node_selector] if args.key?(:node_selector)
|
|
5556
5632
|
@runtime_class_name = args[:runtime_class_name] if args.key?(:runtime_class_name)
|
|
5633
|
+
@sandboxes = args[:sandboxes] if args.key?(:sandboxes)
|
|
5557
5634
|
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
|
5558
5635
|
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
|
5559
5636
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
@@ -5796,6 +5873,85 @@ module Google
|
|
|
5796
5873
|
end
|
|
5797
5874
|
end
|
|
5798
5875
|
|
|
5876
|
+
# Configuration for sandboxes.
|
|
5877
|
+
class SandboxConfiguration
|
|
5878
|
+
include Google::Apis::Core::Hashable
|
|
5879
|
+
|
|
5880
|
+
# Required. Sandbox templates that can be launched through the `sandbox` CLI.
|
|
5881
|
+
# Corresponds to the JSON property `templates`
|
|
5882
|
+
# @return [Array<Google::Apis::RunV1::SandboxTemplate>]
|
|
5883
|
+
attr_accessor :templates
|
|
5884
|
+
|
|
5885
|
+
def initialize(**args)
|
|
5886
|
+
update!(**args)
|
|
5887
|
+
end
|
|
5888
|
+
|
|
5889
|
+
# Update properties of this object
|
|
5890
|
+
def update!(**args)
|
|
5891
|
+
@templates = args[:templates] if args.key?(:templates)
|
|
5892
|
+
end
|
|
5893
|
+
end
|
|
5894
|
+
|
|
5895
|
+
# Template for a single sandbox.
|
|
5896
|
+
class SandboxTemplate
|
|
5897
|
+
include Google::Apis::Core::Hashable
|
|
5898
|
+
|
|
5899
|
+
# Optional. Arguments to the entrypoint. The docker image's CMD is used if this
|
|
5900
|
+
# is not provided.
|
|
5901
|
+
# Corresponds to the JSON property `args`
|
|
5902
|
+
# @return [Array<String>]
|
|
5903
|
+
attr_accessor :args
|
|
5904
|
+
|
|
5905
|
+
# Optional. Entrypoint array. Not executed within a shell. The docker image's
|
|
5906
|
+
# ENTRYPOINT is used if this is not provided.
|
|
5907
|
+
# Corresponds to the JSON property `command`
|
|
5908
|
+
# @return [Array<String>]
|
|
5909
|
+
attr_accessor :command
|
|
5910
|
+
|
|
5911
|
+
# Optional. List of environment variables to set in the sandbox.
|
|
5912
|
+
# Corresponds to the JSON property `env`
|
|
5913
|
+
# @return [Array<Google::Apis::RunV1::EnvVar>]
|
|
5914
|
+
attr_accessor :env
|
|
5915
|
+
|
|
5916
|
+
# Required. Name of the container image in Dockerhub or Artifact Registry. If
|
|
5917
|
+
# the host is not provided, Dockerhub is assumed.
|
|
5918
|
+
# Corresponds to the JSON property `image`
|
|
5919
|
+
# @return [String]
|
|
5920
|
+
attr_accessor :image
|
|
5921
|
+
|
|
5922
|
+
# Required. Name of the sandbox specified as a DNS_LABEL (RFC 1123).
|
|
5923
|
+
# Corresponds to the JSON property `name`
|
|
5924
|
+
# @return [String]
|
|
5925
|
+
attr_accessor :name
|
|
5926
|
+
|
|
5927
|
+
# Optional. Volume to mount into the container's filesystem.
|
|
5928
|
+
# Corresponds to the JSON property `volumeMounts`
|
|
5929
|
+
# @return [Array<Google::Apis::RunV1::VolumeMount>]
|
|
5930
|
+
attr_accessor :volume_mounts
|
|
5931
|
+
|
|
5932
|
+
# Optional. Container's working directory. If not specified, the container
|
|
5933
|
+
# runtime's default will be used, which might be configured in the container
|
|
5934
|
+
# image.
|
|
5935
|
+
# Corresponds to the JSON property `workingDir`
|
|
5936
|
+
# @return [String]
|
|
5937
|
+
attr_accessor :working_dir
|
|
5938
|
+
|
|
5939
|
+
def initialize(**args)
|
|
5940
|
+
update!(**args)
|
|
5941
|
+
end
|
|
5942
|
+
|
|
5943
|
+
# Update properties of this object
|
|
5944
|
+
def update!(**args)
|
|
5945
|
+
@args = args[:args] if args.key?(:args)
|
|
5946
|
+
@command = args[:command] if args.key?(:command)
|
|
5947
|
+
@env = args[:env] if args.key?(:env)
|
|
5948
|
+
@image = args[:image] if args.key?(:image)
|
|
5949
|
+
@name = args[:name] if args.key?(:name)
|
|
5950
|
+
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
|
5951
|
+
@working_dir = args[:working_dir] if args.key?(:working_dir)
|
|
5952
|
+
end
|
|
5953
|
+
end
|
|
5954
|
+
|
|
5799
5955
|
# Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the
|
|
5800
5956
|
# environment variables with. The contents of the target Secret's Data field
|
|
5801
5957
|
# will represent the key-value pairs as environment variables.
|
|
@@ -6494,6 +6650,11 @@ module Google
|
|
|
6494
6650
|
# @return [Hash<String,String>]
|
|
6495
6651
|
attr_accessor :node_selector
|
|
6496
6652
|
|
|
6653
|
+
# Configuration for sandboxes.
|
|
6654
|
+
# Corresponds to the JSON property `sandboxes`
|
|
6655
|
+
# @return [Google::Apis::RunV1::SandboxConfiguration]
|
|
6656
|
+
attr_accessor :sandboxes
|
|
6657
|
+
|
|
6497
6658
|
# Optional. Email address of the IAM service account associated with the task of
|
|
6498
6659
|
# a job execution. The service account represents the identity of the running
|
|
6499
6660
|
# task, and determines what permissions the task has. If not provided, the task
|
|
@@ -6525,6 +6686,7 @@ module Google
|
|
|
6525
6686
|
@containers = args[:containers] if args.key?(:containers)
|
|
6526
6687
|
@max_retries = args[:max_retries] if args.key?(:max_retries)
|
|
6527
6688
|
@node_selector = args[:node_selector] if args.key?(:node_selector)
|
|
6689
|
+
@sandboxes = args[:sandboxes] if args.key?(:sandboxes)
|
|
6528
6690
|
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
|
6529
6691
|
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
|
6530
6692
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
@@ -6739,9 +6901,9 @@ module Google
|
|
|
6739
6901
|
# @return [Google::Apis::RunV1::CsiVolumeSource]
|
|
6740
6902
|
attr_accessor :csi
|
|
6741
6903
|
|
|
6742
|
-
# In memory
|
|
6743
|
-
# the sandbox is taken down, the data is destroyed with it (it does not
|
|
6744
|
-
# across sandbox runs).
|
|
6904
|
+
# In memory or disk-backed ephemeral storage. It is ephemeral in the sense that
|
|
6905
|
+
# when the sandbox is taken down, the data is destroyed with it (it does not
|
|
6906
|
+
# persist across sandbox runs).
|
|
6745
6907
|
# Corresponds to the JSON property `emptyDir`
|
|
6746
6908
|
# @return [Google::Apis::RunV1::EmptyDirVolumeSource]
|
|
6747
6909
|
attr_accessor :empty_dir
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module RunV1
|
|
18
18
|
# Version of the google-apis-run_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.116.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.19.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261023"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -268,6 +268,12 @@ module Google
|
|
|
268
268
|
include Google::Apis::Core::JsonObjectSupport
|
|
269
269
|
end
|
|
270
270
|
|
|
271
|
+
class GoogleDevtoolsCloudbuildV1BuildResourceUsage
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
271
277
|
class GoogleDevtoolsCloudbuildV1BuildStep
|
|
272
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
279
|
|
|
@@ -784,6 +790,18 @@ module Google
|
|
|
784
790
|
include Google::Apis::Core::JsonObjectSupport
|
|
785
791
|
end
|
|
786
792
|
|
|
793
|
+
class SandboxConfiguration
|
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
795
|
+
|
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
class SandboxTemplate
|
|
800
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
801
|
+
|
|
802
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
803
|
+
end
|
|
804
|
+
|
|
787
805
|
class SecretEnvSource
|
|
788
806
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
789
807
|
|
|
@@ -1436,6 +1454,7 @@ module Google
|
|
|
1436
1454
|
property :pool, as: 'pool', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1PoolOption, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1PoolOption::Representation
|
|
1437
1455
|
|
|
1438
1456
|
property :pubsub_topic, as: 'pubsubTopic'
|
|
1457
|
+
collection :ranked_machine_series, as: 'rankedMachineSeries'
|
|
1439
1458
|
property :requested_verify_option, as: 'requestedVerifyOption'
|
|
1440
1459
|
property :resolved_worker_release, as: 'resolvedWorkerRelease'
|
|
1441
1460
|
collection :secret_env, as: 'secretEnv'
|
|
@@ -1448,6 +1467,17 @@ module Google
|
|
|
1448
1467
|
end
|
|
1449
1468
|
end
|
|
1450
1469
|
|
|
1470
|
+
class GoogleDevtoolsCloudbuildV1BuildResourceUsage
|
|
1471
|
+
# @private
|
|
1472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1473
|
+
property :average_cpu_utilization, as: 'averageCpuUtilization'
|
|
1474
|
+
property :average_memory_utilization, as: 'averageMemoryUtilization'
|
|
1475
|
+
property :peak_cpu_utilization, as: 'peakCpuUtilization'
|
|
1476
|
+
property :peak_memory_utilization, as: 'peakMemoryUtilization'
|
|
1477
|
+
property :total_cpu_duration, as: 'totalCpuDuration'
|
|
1478
|
+
end
|
|
1479
|
+
end
|
|
1480
|
+
|
|
1451
1481
|
class GoogleDevtoolsCloudbuildV1BuildStep
|
|
1452
1482
|
# @private
|
|
1453
1483
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1713,6 +1743,8 @@ module Google
|
|
|
1713
1743
|
property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
|
|
1714
1744
|
collection :python_packages, as: 'pythonPackages', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
|
|
1715
1745
|
|
|
1746
|
+
property :resource_usage, as: 'resourceUsage', class: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuildResourceUsage, decorator: Google::Apis::RunV1::GoogleDevtoolsCloudbuildV1BuildResourceUsage::Representation
|
|
1747
|
+
|
|
1716
1748
|
end
|
|
1717
1749
|
end
|
|
1718
1750
|
|
|
@@ -1971,6 +2003,8 @@ module Google
|
|
|
1971
2003
|
|
|
1972
2004
|
hash :node_selector, as: 'nodeSelector'
|
|
1973
2005
|
property :restart_policy, as: 'restartPolicy'
|
|
2006
|
+
property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV1::SandboxConfiguration, decorator: Google::Apis::RunV1::SandboxConfiguration::Representation
|
|
2007
|
+
|
|
1974
2008
|
property :service_account_name, as: 'serviceAccountName'
|
|
1975
2009
|
collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
|
|
1976
2010
|
|
|
@@ -2344,6 +2378,8 @@ module Google
|
|
|
2344
2378
|
|
|
2345
2379
|
hash :node_selector, as: 'nodeSelector'
|
|
2346
2380
|
property :runtime_class_name, as: 'runtimeClassName'
|
|
2381
|
+
property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV1::SandboxConfiguration, decorator: Google::Apis::RunV1::SandboxConfiguration::Representation
|
|
2382
|
+
|
|
2347
2383
|
property :service_account_name, as: 'serviceAccountName'
|
|
2348
2384
|
property :timeout_seconds, as: 'timeoutSeconds'
|
|
2349
2385
|
collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
|
|
@@ -2418,6 +2454,29 @@ module Google
|
|
|
2418
2454
|
end
|
|
2419
2455
|
end
|
|
2420
2456
|
|
|
2457
|
+
class SandboxConfiguration
|
|
2458
|
+
# @private
|
|
2459
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2460
|
+
collection :templates, as: 'templates', class: Google::Apis::RunV1::SandboxTemplate, decorator: Google::Apis::RunV1::SandboxTemplate::Representation
|
|
2461
|
+
|
|
2462
|
+
end
|
|
2463
|
+
end
|
|
2464
|
+
|
|
2465
|
+
class SandboxTemplate
|
|
2466
|
+
# @private
|
|
2467
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2468
|
+
collection :args, as: 'args'
|
|
2469
|
+
collection :command, as: 'command'
|
|
2470
|
+
collection :env, as: 'env', class: Google::Apis::RunV1::EnvVar, decorator: Google::Apis::RunV1::EnvVar::Representation
|
|
2471
|
+
|
|
2472
|
+
property :image, as: 'image'
|
|
2473
|
+
property :name, as: 'name'
|
|
2474
|
+
collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV1::VolumeMount, decorator: Google::Apis::RunV1::VolumeMount::Representation
|
|
2475
|
+
|
|
2476
|
+
property :working_dir, as: 'workingDir'
|
|
2477
|
+
end
|
|
2478
|
+
end
|
|
2479
|
+
|
|
2421
2480
|
class SecretEnvSource
|
|
2422
2481
|
# @private
|
|
2423
2482
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2595,6 +2654,8 @@ module Google
|
|
|
2595
2654
|
|
|
2596
2655
|
property :max_retries, as: 'maxRetries'
|
|
2597
2656
|
hash :node_selector, as: 'nodeSelector'
|
|
2657
|
+
property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV1::SandboxConfiguration, decorator: Google::Apis::RunV1::SandboxConfiguration::Representation
|
|
2658
|
+
|
|
2598
2659
|
property :service_account_name, as: 'serviceAccountName'
|
|
2599
2660
|
property :timeout_seconds, :numeric_string => true, as: 'timeoutSeconds'
|
|
2600
2661
|
collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-run_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.116.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-run_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.116.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|