google-apis-cloudbuild_v1 0.78.0 → 0.79.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87db1f50a30f9f4e27e3c28439f8d4bc38c1f7a1caae3626c106b5b71ad5636d
|
|
4
|
+
data.tar.gz: cfe172e36499af64cb87e45e5df87025e9af295a9e1040b50cef9bd4ad6d05c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c21a5add78a4f0537216ead22c74f439e480173d6351481fb9d5ade94e45adee594be697e1da13540dbe0458b5b18ba08573d3f099496f8261d85a306a87730
|
|
7
|
+
data.tar.gz: 76de35629a854852a9ca04064866c7a3b75edf369d84859e87761c5ad376f47b3f128b2c1dc5ae491ecbdc871dfebcc1e66800605b62b78709ecc44b316ea6fe
|
data/CHANGELOG.md
CHANGED
|
@@ -218,6 +218,15 @@ module Google
|
|
|
218
218
|
# @return [Google::Apis::CloudbuildV1::ArtifactObjects]
|
|
219
219
|
attr_accessor :objects
|
|
220
220
|
|
|
221
|
+
# Optional. A list of OCI images to be uploaded to Artifact Registry upon
|
|
222
|
+
# successful completion of all build steps. OCI images in the specified paths
|
|
223
|
+
# will be uploaded to the specified Artifact Registry repository using the
|
|
224
|
+
# builder service account's credentials. If any images fail to be pushed, the
|
|
225
|
+
# build is marked FAILURE.
|
|
226
|
+
# Corresponds to the JSON property `oci`
|
|
227
|
+
# @return [Array<Google::Apis::CloudbuildV1::Oci>]
|
|
228
|
+
attr_accessor :oci
|
|
229
|
+
|
|
221
230
|
# A list of Python packages to be uploaded to Artifact Registry upon successful
|
|
222
231
|
# completion of all build steps. The build service account credentials will be
|
|
223
232
|
# used to perform the upload. If any objects fail to be pushed, the build is
|
|
@@ -237,6 +246,7 @@ module Google
|
|
|
237
246
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
|
238
247
|
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
|
|
239
248
|
@objects = args[:objects] if args.key?(:objects)
|
|
249
|
+
@oci = args[:oci] if args.key?(:oci)
|
|
240
250
|
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
|
241
251
|
end
|
|
242
252
|
end
|
|
@@ -1550,6 +1560,12 @@ module Google
|
|
|
1550
1560
|
# @return [String]
|
|
1551
1561
|
attr_accessor :name
|
|
1552
1562
|
|
|
1563
|
+
# Output only. The OCI media type of the artifact. Non-OCI images, such as
|
|
1564
|
+
# Docker images, will have an unspecified value.
|
|
1565
|
+
# Corresponds to the JSON property `ociMediaType`
|
|
1566
|
+
# @return [String]
|
|
1567
|
+
attr_accessor :oci_media_type
|
|
1568
|
+
|
|
1553
1569
|
# Start and end times for a build execution phase.
|
|
1554
1570
|
# Corresponds to the JSON property `pushTiming`
|
|
1555
1571
|
# @return [Google::Apis::CloudbuildV1::TimeSpan]
|
|
@@ -1564,6 +1580,7 @@ module Google
|
|
|
1564
1580
|
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
|
1565
1581
|
@digest = args[:digest] if args.key?(:digest)
|
|
1566
1582
|
@name = args[:name] if args.key?(:name)
|
|
1583
|
+
@oci_media_type = args[:oci_media_type] if args.key?(:oci_media_type)
|
|
1567
1584
|
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
|
1568
1585
|
end
|
|
1569
1586
|
end
|
|
@@ -3398,6 +3415,40 @@ module Google
|
|
|
3398
3415
|
end
|
|
3399
3416
|
end
|
|
3400
3417
|
|
|
3418
|
+
# OCI image to upload to Artifact Registry upon successful completion of all
|
|
3419
|
+
# build steps.
|
|
3420
|
+
class Oci
|
|
3421
|
+
include Google::Apis::Core::Hashable
|
|
3422
|
+
|
|
3423
|
+
# Required. Path on the local file system where to find the container to upload.
|
|
3424
|
+
# e.g. /workspace/my-image.tar
|
|
3425
|
+
# Corresponds to the JSON property `file`
|
|
3426
|
+
# @return [String]
|
|
3427
|
+
attr_accessor :file
|
|
3428
|
+
|
|
3429
|
+
# Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.
|
|
3430
|
+
# dev/my-project/my-repo/my-image
|
|
3431
|
+
# Corresponds to the JSON property `registryPath`
|
|
3432
|
+
# @return [String]
|
|
3433
|
+
attr_accessor :registry_path
|
|
3434
|
+
|
|
3435
|
+
# Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0
|
|
3436
|
+
# Corresponds to the JSON property `tags`
|
|
3437
|
+
# @return [Array<String>]
|
|
3438
|
+
attr_accessor :tags
|
|
3439
|
+
|
|
3440
|
+
def initialize(**args)
|
|
3441
|
+
update!(**args)
|
|
3442
|
+
end
|
|
3443
|
+
|
|
3444
|
+
# Update properties of this object
|
|
3445
|
+
def update!(**args)
|
|
3446
|
+
@file = args[:file] if args.key?(:file)
|
|
3447
|
+
@registry_path = args[:registry_path] if args.key?(:registry_path)
|
|
3448
|
+
@tags = args[:tags] if args.key?(:tags)
|
|
3449
|
+
end
|
|
3450
|
+
end
|
|
3451
|
+
|
|
3401
3452
|
# This resource represents a long-running operation that is the result of a
|
|
3402
3453
|
# network API call.
|
|
3403
3454
|
class Operation
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.79.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 = "20260309"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -484,6 +484,12 @@ module Google
|
|
|
484
484
|
include Google::Apis::Core::JsonObjectSupport
|
|
485
485
|
end
|
|
486
486
|
|
|
487
|
+
class Oci
|
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
|
+
|
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
491
|
+
end
|
|
492
|
+
|
|
487
493
|
class Operation
|
|
488
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
495
|
|
|
@@ -787,6 +793,8 @@ module Google
|
|
|
787
793
|
|
|
788
794
|
property :objects, as: 'objects', class: Google::Apis::CloudbuildV1::ArtifactObjects, decorator: Google::Apis::CloudbuildV1::ArtifactObjects::Representation
|
|
789
795
|
|
|
796
|
+
collection :oci, as: 'oci', class: Google::Apis::CloudbuildV1::Oci, decorator: Google::Apis::CloudbuildV1::Oci::Representation
|
|
797
|
+
|
|
790
798
|
collection :python_packages, as: 'pythonPackages', class: Google::Apis::CloudbuildV1::PythonPackage, decorator: Google::Apis::CloudbuildV1::PythonPackage::Representation
|
|
791
799
|
|
|
792
800
|
end
|
|
@@ -1091,6 +1099,7 @@ module Google
|
|
|
1091
1099
|
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
|
1092
1100
|
property :digest, as: 'digest'
|
|
1093
1101
|
property :name, as: 'name'
|
|
1102
|
+
property :oci_media_type, as: 'ociMediaType'
|
|
1094
1103
|
property :push_timing, as: 'pushTiming', class: Google::Apis::CloudbuildV1::TimeSpan, decorator: Google::Apis::CloudbuildV1::TimeSpan::Representation
|
|
1095
1104
|
|
|
1096
1105
|
end
|
|
@@ -1601,6 +1610,15 @@ module Google
|
|
|
1601
1610
|
end
|
|
1602
1611
|
end
|
|
1603
1612
|
|
|
1613
|
+
class Oci
|
|
1614
|
+
# @private
|
|
1615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1616
|
+
property :file, as: 'file'
|
|
1617
|
+
property :registry_path, as: 'registryPath'
|
|
1618
|
+
collection :tags, as: 'tags'
|
|
1619
|
+
end
|
|
1620
|
+
end
|
|
1621
|
+
|
|
1604
1622
|
class Operation
|
|
1605
1623
|
# @private
|
|
1606
1624
|
class Representation < Google::Apis::Core::JsonRepresentation
|
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.
|
|
4
|
+
version: 0.79.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudbuild_v1/v0.79.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:
|