google-apis-run_v2 0.110.0 → 0.111.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_v2/classes.rb +55 -1
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +18 -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: 4e025f36c94b84f46949d2e69cafa4597aa530ce88c79c2a1c76e80ef969a821
|
|
4
|
+
data.tar.gz: ce218f4071e6e8f395ead103c94578dcc61f5df3478dac111ec56bbb9fb2e6e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f16553b14a8f11a34585dbed4edc42cab4e3bef3141000e5a1e634d323aa461dbe080c51855529e3c7be0c641475df25371d4017f24fa4a07e53e9a007682c4
|
|
7
|
+
data.tar.gz: 99ad72f192b1defbdf20861a195758fcafe3a002f1ecaf036c14c535bd35e7110314e03b8220ad432295173d0b57418783285438148531246de1cbe5da05c6cc
|
data/CHANGELOG.md
CHANGED
|
@@ -3367,7 +3367,10 @@ module Google
|
|
|
3367
3367
|
class GoogleCloudRunV2SourceFile
|
|
3368
3368
|
include Google::Apis::Core::Hashable
|
|
3369
3369
|
|
|
3370
|
-
# Required. Input only.
|
|
3370
|
+
# Required. Input only. Represents the exact, literal, and complete source code
|
|
3371
|
+
# of the file. Placeholders like `...` or comments such as `# [rest of code]`
|
|
3372
|
+
# should NEVER be used as omission. Every character in this field will be built
|
|
3373
|
+
# into the final container. Any omission will result in a broken application.
|
|
3371
3374
|
# Corresponds to the JSON property `content`
|
|
3372
3375
|
# @return [String]
|
|
3373
3376
|
attr_accessor :content
|
|
@@ -4804,6 +4807,15 @@ module Google
|
|
|
4804
4807
|
# @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ArtifactObjects]
|
|
4805
4808
|
attr_accessor :objects
|
|
4806
4809
|
|
|
4810
|
+
# Optional. A list of OCI images to be uploaded to Artifact Registry upon
|
|
4811
|
+
# successful completion of all build steps. OCI images in the specified paths
|
|
4812
|
+
# will be uploaded to the specified Artifact Registry repository using the
|
|
4813
|
+
# builder service account's credentials. If any images fail to be pushed, the
|
|
4814
|
+
# build is marked FAILURE.
|
|
4815
|
+
# Corresponds to the JSON property `oci`
|
|
4816
|
+
# @return [Array<Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1Oci>]
|
|
4817
|
+
attr_accessor :oci
|
|
4818
|
+
|
|
4807
4819
|
# A list of Python packages to be uploaded to Artifact Registry upon successful
|
|
4808
4820
|
# completion of all build steps. The build service account credentials will be
|
|
4809
4821
|
# used to perform the upload. If any objects fail to be pushed, the build is
|
|
@@ -4823,6 +4835,7 @@ module Google
|
|
|
4823
4835
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
|
4824
4836
|
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
|
|
4825
4837
|
@objects = args[:objects] if args.key?(:objects)
|
|
4838
|
+
@oci = args[:oci] if args.key?(:oci)
|
|
4826
4839
|
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
|
4827
4840
|
end
|
|
4828
4841
|
end
|
|
@@ -5457,6 +5470,12 @@ module Google
|
|
|
5457
5470
|
# @return [String]
|
|
5458
5471
|
attr_accessor :name
|
|
5459
5472
|
|
|
5473
|
+
# Output only. The OCI media type of the artifact. Non-OCI images, such as
|
|
5474
|
+
# Docker images, will have an unspecified value.
|
|
5475
|
+
# Corresponds to the JSON property `ociMediaType`
|
|
5476
|
+
# @return [String]
|
|
5477
|
+
attr_accessor :oci_media_type
|
|
5478
|
+
|
|
5460
5479
|
# Start and end times for a build execution phase.
|
|
5461
5480
|
# Corresponds to the JSON property `pushTiming`
|
|
5462
5481
|
# @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan]
|
|
@@ -5471,6 +5490,7 @@ module Google
|
|
|
5471
5490
|
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
5472
5491
|
@digest = args[:digest] if args.key?(:digest)
|
|
5473
5492
|
@name = args[:name] if args.key?(:name)
|
|
5493
|
+
@oci_media_type = args[:oci_media_type] if args.key?(:oci_media_type)
|
|
5474
5494
|
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
5475
5495
|
end
|
|
5476
5496
|
end
|
|
@@ -5967,6 +5987,40 @@ module Google
|
|
|
5967
5987
|
end
|
|
5968
5988
|
end
|
|
5969
5989
|
|
|
5990
|
+
# OCI image to upload to Artifact Registry upon successful completion of all
|
|
5991
|
+
# build steps.
|
|
5992
|
+
class GoogleDevtoolsCloudbuildV1Oci
|
|
5993
|
+
include Google::Apis::Core::Hashable
|
|
5994
|
+
|
|
5995
|
+
# Required. Path on the local file system where to find the container to upload.
|
|
5996
|
+
# e.g. /workspace/my-image.tar
|
|
5997
|
+
# Corresponds to the JSON property `file`
|
|
5998
|
+
# @return [String]
|
|
5999
|
+
attr_accessor :file
|
|
6000
|
+
|
|
6001
|
+
# Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.
|
|
6002
|
+
# dev/my-project/my-repo/my-image
|
|
6003
|
+
# Corresponds to the JSON property `registryPath`
|
|
6004
|
+
# @return [String]
|
|
6005
|
+
attr_accessor :registry_path
|
|
6006
|
+
|
|
6007
|
+
# Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
|
|
6008
|
+
# Corresponds to the JSON property `tags`
|
|
6009
|
+
# @return [Array<String>]
|
|
6010
|
+
attr_accessor :tags
|
|
6011
|
+
|
|
6012
|
+
def initialize(**args)
|
|
6013
|
+
update!(**args)
|
|
6014
|
+
end
|
|
6015
|
+
|
|
6016
|
+
# Update properties of this object
|
|
6017
|
+
def update!(**args)
|
|
6018
|
+
@file = args[:file] if args.key?(:file)
|
|
6019
|
+
@registry_path = args[:registry_path] if args.key?(:registry_path)
|
|
6020
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
6021
|
+
end
|
|
6022
|
+
end
|
|
6023
|
+
|
|
5970
6024
|
# Details about how a build should be executed on a `WorkerPool`. See [running
|
|
5971
6025
|
# builds in a private pool](https://cloud.google.com/build/docs/private-pools/
|
|
5972
6026
|
# run-builds-in-private-pool) for more information.
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module RunV2
|
|
18
18
|
# Version of the google-apis-run_v2 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.111.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260313"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -634,6 +634,12 @@ module Google
|
|
|
634
634
|
include Google::Apis::Core::JsonObjectSupport
|
|
635
635
|
end
|
|
636
636
|
|
|
637
|
+
class GoogleDevtoolsCloudbuildV1Oci
|
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
639
|
+
|
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
641
|
+
end
|
|
642
|
+
|
|
637
643
|
class GoogleDevtoolsCloudbuildV1PoolOption
|
|
638
644
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
639
645
|
|
|
@@ -1926,6 +1932,8 @@ module Google
|
|
|
1926
1932
|
|
|
1927
1933
|
property :objects, as: 'objects', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ArtifactObjects, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ArtifactObjects::Representation
|
|
1928
1934
|
|
|
1935
|
+
collection :oci, as: 'oci', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1Oci, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1Oci::Representation
|
|
1936
|
+
|
|
1929
1937
|
collection :python_packages, as: 'pythonPackages', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1PythonPackage, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1PythonPackage::Representation
|
|
1930
1938
|
|
|
1931
1939
|
end
|
|
@@ -2059,6 +2067,7 @@ module Google
|
|
|
2059
2067
|
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
2060
2068
|
property :digest, as: 'digest'
|
|
2061
2069
|
property :name, as: 'name'
|
|
2070
|
+
property :oci_media_type, as: 'ociMediaType'
|
|
2062
2071
|
property :push_timing, as: 'pushTiming', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
|
2063
2072
|
|
|
2064
2073
|
end
|
|
@@ -2199,6 +2208,15 @@ module Google
|
|
|
2199
2208
|
end
|
|
2200
2209
|
end
|
|
2201
2210
|
|
|
2211
|
+
class GoogleDevtoolsCloudbuildV1Oci
|
|
2212
|
+
# @private
|
|
2213
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2214
|
+
property :file, as: 'file'
|
|
2215
|
+
property :registry_path, as: 'registryPath'
|
|
2216
|
+
collection :tags, as: 'tags'
|
|
2217
|
+
end
|
|
2218
|
+
end
|
|
2219
|
+
|
|
2202
2220
|
class GoogleDevtoolsCloudbuildV1PoolOption
|
|
2203
2221
|
# @private
|
|
2204
2222
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-run_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.111.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_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.111.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|