google-apis-run_v1 0.115.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 +4 -0
- data/lib/google/apis/run_v1/classes.rb +97 -0
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/representations.rb +41 -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
|
@@ -4111,6 +4111,11 @@ module Google
|
|
|
4111
4111
|
# @return [String]
|
|
4112
4112
|
attr_accessor :restart_policy
|
|
4113
4113
|
|
|
4114
|
+
# Configuration for sandboxes.
|
|
4115
|
+
# Corresponds to the JSON property `sandboxes`
|
|
4116
|
+
# @return [Google::Apis::RunV1::SandboxConfiguration]
|
|
4117
|
+
attr_accessor :sandboxes
|
|
4118
|
+
|
|
4114
4119
|
# Optional. Email address of the IAM service account associated with the
|
|
4115
4120
|
# Instance. The service account represents the identity of the running container,
|
|
4116
4121
|
# and determines what permissions the Instance has. If not provided, the
|
|
@@ -4134,6 +4139,7 @@ module Google
|
|
|
4134
4139
|
@containers = args[:containers] if args.key?(:containers)
|
|
4135
4140
|
@node_selector = args[:node_selector] if args.key?(:node_selector)
|
|
4136
4141
|
@restart_policy = args[:restart_policy] if args.key?(:restart_policy)
|
|
4142
|
+
@sandboxes = args[:sandboxes] if args.key?(:sandboxes)
|
|
4137
4143
|
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
|
4138
4144
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
4139
4145
|
end
|
|
@@ -5587,6 +5593,11 @@ module Google
|
|
|
5587
5593
|
# @return [String]
|
|
5588
5594
|
attr_accessor :runtime_class_name
|
|
5589
5595
|
|
|
5596
|
+
# Configuration for sandboxes.
|
|
5597
|
+
# Corresponds to the JSON property `sandboxes`
|
|
5598
|
+
# @return [Google::Apis::RunV1::SandboxConfiguration]
|
|
5599
|
+
attr_accessor :sandboxes
|
|
5600
|
+
|
|
5590
5601
|
# Email address of the IAM service account associated with the revision of the
|
|
5591
5602
|
# service. The service account represents the identity of the running revision,
|
|
5592
5603
|
# and determines what permissions the revision has. If not provided, the
|
|
@@ -5619,6 +5630,7 @@ module Google
|
|
|
5619
5630
|
@image_pull_secrets = args[:image_pull_secrets] if args.key?(:image_pull_secrets)
|
|
5620
5631
|
@node_selector = args[:node_selector] if args.key?(:node_selector)
|
|
5621
5632
|
@runtime_class_name = args[:runtime_class_name] if args.key?(:runtime_class_name)
|
|
5633
|
+
@sandboxes = args[:sandboxes] if args.key?(:sandboxes)
|
|
5622
5634
|
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
|
5623
5635
|
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
|
5624
5636
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
@@ -5861,6 +5873,85 @@ module Google
|
|
|
5861
5873
|
end
|
|
5862
5874
|
end
|
|
5863
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
|
+
|
|
5864
5955
|
# Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the
|
|
5865
5956
|
# environment variables with. The contents of the target Secret's Data field
|
|
5866
5957
|
# will represent the key-value pairs as environment variables.
|
|
@@ -6559,6 +6650,11 @@ module Google
|
|
|
6559
6650
|
# @return [Hash<String,String>]
|
|
6560
6651
|
attr_accessor :node_selector
|
|
6561
6652
|
|
|
6653
|
+
# Configuration for sandboxes.
|
|
6654
|
+
# Corresponds to the JSON property `sandboxes`
|
|
6655
|
+
# @return [Google::Apis::RunV1::SandboxConfiguration]
|
|
6656
|
+
attr_accessor :sandboxes
|
|
6657
|
+
|
|
6562
6658
|
# Optional. Email address of the IAM service account associated with the task of
|
|
6563
6659
|
# a job execution. The service account represents the identity of the running
|
|
6564
6660
|
# task, and determines what permissions the task has. If not provided, the task
|
|
@@ -6590,6 +6686,7 @@ module Google
|
|
|
6590
6686
|
@containers = args[:containers] if args.key?(:containers)
|
|
6591
6687
|
@max_retries = args[:max_retries] if args.key?(:max_retries)
|
|
6592
6688
|
@node_selector = args[:node_selector] if args.key?(:node_selector)
|
|
6689
|
+
@sandboxes = args[:sandboxes] if args.key?(:sandboxes)
|
|
6593
6690
|
@service_account_name = args[:service_account_name] if args.key?(:service_account_name)
|
|
6594
6691
|
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
|
6595
6692
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
@@ -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
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
|
|
@@ -790,6 +790,18 @@ module Google
|
|
|
790
790
|
include Google::Apis::Core::JsonObjectSupport
|
|
791
791
|
end
|
|
792
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
|
+
|
|
793
805
|
class SecretEnvSource
|
|
794
806
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
795
807
|
|
|
@@ -1991,6 +2003,8 @@ module Google
|
|
|
1991
2003
|
|
|
1992
2004
|
hash :node_selector, as: 'nodeSelector'
|
|
1993
2005
|
property :restart_policy, as: 'restartPolicy'
|
|
2006
|
+
property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV1::SandboxConfiguration, decorator: Google::Apis::RunV1::SandboxConfiguration::Representation
|
|
2007
|
+
|
|
1994
2008
|
property :service_account_name, as: 'serviceAccountName'
|
|
1995
2009
|
collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
|
|
1996
2010
|
|
|
@@ -2364,6 +2378,8 @@ module Google
|
|
|
2364
2378
|
|
|
2365
2379
|
hash :node_selector, as: 'nodeSelector'
|
|
2366
2380
|
property :runtime_class_name, as: 'runtimeClassName'
|
|
2381
|
+
property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV1::SandboxConfiguration, decorator: Google::Apis::RunV1::SandboxConfiguration::Representation
|
|
2382
|
+
|
|
2367
2383
|
property :service_account_name, as: 'serviceAccountName'
|
|
2368
2384
|
property :timeout_seconds, as: 'timeoutSeconds'
|
|
2369
2385
|
collection :volumes, as: 'volumes', class: Google::Apis::RunV1::Volume, decorator: Google::Apis::RunV1::Volume::Representation
|
|
@@ -2438,6 +2454,29 @@ module Google
|
|
|
2438
2454
|
end
|
|
2439
2455
|
end
|
|
2440
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
|
+
|
|
2441
2480
|
class SecretEnvSource
|
|
2442
2481
|
# @private
|
|
2443
2482
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2615,6 +2654,8 @@ module Google
|
|
|
2615
2654
|
|
|
2616
2655
|
property :max_retries, as: 'maxRetries'
|
|
2617
2656
|
hash :node_selector, as: 'nodeSelector'
|
|
2657
|
+
property :sandboxes, as: 'sandboxes', class: Google::Apis::RunV1::SandboxConfiguration, decorator: Google::Apis::RunV1::SandboxConfiguration::Representation
|
|
2658
|
+
|
|
2618
2659
|
property :service_account_name, as: 'serviceAccountName'
|
|
2619
2660
|
property :timeout_seconds, :numeric_string => true, as: 'timeoutSeconds'
|
|
2620
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:
|