google-apis-containeranalysis_v1beta1 0.36.0 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d659bddc665f19219bf522b54e6b6afe2ad650242264f93da5b5b15e40883f7a
|
4
|
+
data.tar.gz: eaeba1b8a7464c622ecfb8b256a17e2f06d971543e7088f640c09ba7d38f3dc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 727719194b83c789c07ed277036ed1055833cb044a48a423ba25bc4a607cbb8629c8b0b2c3e6963bf5fa906bb04158fe9c6165f8dffba97bbff0b0e755e7871c
|
7
|
+
data.tar.gz: 5b70e85d2fd0067e2c3beca67cb75d681146a06e077fb6cf1c3f9129e5d5b9b98aa1a5b611c7012f0e48367accb99aa409941f4ea1ab8677ecf62d530a30243c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1beta1
|
2
2
|
|
3
|
+
### v0.38.0 (2023-04-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230414
|
6
|
+
|
7
|
+
### v0.37.0 (2023-04-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230324
|
10
|
+
|
3
11
|
### v0.36.0 (2023-03-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230310
|
@@ -1157,6 +1157,15 @@ module Google
|
|
1157
1157
|
# @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact>]
|
1158
1158
|
attr_accessor :maven_artifacts
|
1159
1159
|
|
1160
|
+
# A list of npm packages to be uploaded to Artifact Registry upon successful
|
1161
|
+
# completion of all build steps. Npm packages in the specified paths will be
|
1162
|
+
# uploaded to the specified Artifact Registry repository using the builder
|
1163
|
+
# service account's credentials. If any packages fail to be pushed, the build is
|
1164
|
+
# marked FAILURE.
|
1165
|
+
# Corresponds to the JSON property `npmPackages`
|
1166
|
+
# @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage>]
|
1167
|
+
attr_accessor :npm_packages
|
1168
|
+
|
1160
1169
|
# Files in the workspace to upload to Cloud Storage upon successful completion
|
1161
1170
|
# of all build steps.
|
1162
1171
|
# Corresponds to the JSON property `objects`
|
@@ -1179,6 +1188,7 @@ module Google
|
|
1179
1188
|
def update!(**args)
|
1180
1189
|
@images = args[:images] if args.key?(:images)
|
1181
1190
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
1191
|
+
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
|
1182
1192
|
@objects = args[:objects] if args.key?(:objects)
|
1183
1193
|
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
1184
1194
|
end
|
@@ -1268,6 +1278,34 @@ module Google
|
|
1268
1278
|
end
|
1269
1279
|
end
|
1270
1280
|
|
1281
|
+
# Npm package to upload to Artifact Registry upon successful completion of all
|
1282
|
+
# build steps.
|
1283
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
|
1284
|
+
include Google::Apis::Core::Hashable
|
1285
|
+
|
1286
|
+
# Path to the package.json. e.g. workspace/path/to/package
|
1287
|
+
# Corresponds to the JSON property `packagePath`
|
1288
|
+
# @return [String]
|
1289
|
+
attr_accessor :package_path
|
1290
|
+
|
1291
|
+
# Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$
|
1292
|
+
# PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be
|
1293
|
+
# zipped and uploaded to Artifact Registry with this location as a prefix.
|
1294
|
+
# Corresponds to the JSON property `repository`
|
1295
|
+
# @return [String]
|
1296
|
+
attr_accessor :repository
|
1297
|
+
|
1298
|
+
def initialize(**args)
|
1299
|
+
update!(**args)
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
# Update properties of this object
|
1303
|
+
def update!(**args)
|
1304
|
+
@package_path = args[:package_path] if args.key?(:package_path)
|
1305
|
+
@repository = args[:repository] if args.key?(:repository)
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1271
1309
|
# Python package to upload to Artifact Registry upon successful completion of
|
1272
1310
|
# all build steps. A package can encapsulate multiple objects to be uploaded to
|
1273
1311
|
# a single repository.
|
@@ -1960,6 +1998,46 @@ module Google
|
|
1960
1998
|
end
|
1961
1999
|
end
|
1962
2000
|
|
2001
|
+
# Location of the source in any accessible Git repository.
|
2002
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
|
2003
|
+
include Google::Apis::Core::Hashable
|
2004
|
+
|
2005
|
+
# Directory, relative to the source root, in which to run the build. This must
|
2006
|
+
# be a relative path. If a step's `dir` is specified and is an absolute path,
|
2007
|
+
# this value is ignored for that step's execution.
|
2008
|
+
# Corresponds to the JSON property `dir`
|
2009
|
+
# @return [String]
|
2010
|
+
attr_accessor :dir
|
2011
|
+
|
2012
|
+
# The revision to fetch from the Git repository such as a branch, a tag, a
|
2013
|
+
# commit SHA, or any Git ref. Cloud Build uses `git fetch` to fetch the revision
|
2014
|
+
# from the Git repository; therefore make sure that the string you provide for `
|
2015
|
+
# revision` is parsable by the command. For information on string values
|
2016
|
+
# accepted by `git fetch`, see https://git-scm.com/docs/gitrevisions#
|
2017
|
+
# _specifying_revisions. For information on `git fetch`, see https://git-scm.com/
|
2018
|
+
# docs/git-fetch.
|
2019
|
+
# Corresponds to the JSON property `revision`
|
2020
|
+
# @return [String]
|
2021
|
+
attr_accessor :revision
|
2022
|
+
|
2023
|
+
# Location of the Git repo to build. This will be used as a `git remote`, see
|
2024
|
+
# https://git-scm.com/docs/git-remote.
|
2025
|
+
# Corresponds to the JSON property `url`
|
2026
|
+
# @return [String]
|
2027
|
+
attr_accessor :url
|
2028
|
+
|
2029
|
+
def initialize(**args)
|
2030
|
+
update!(**args)
|
2031
|
+
end
|
2032
|
+
|
2033
|
+
# Update properties of this object
|
2034
|
+
def update!(**args)
|
2035
|
+
@dir = args[:dir] if args.key?(:dir)
|
2036
|
+
@revision = args[:revision] if args.key?(:revision)
|
2037
|
+
@url = args[:url] if args.key?(:url)
|
2038
|
+
end
|
2039
|
+
end
|
2040
|
+
|
1963
2041
|
# Container message for hash values.
|
1964
2042
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
|
1965
2043
|
include Google::Apis::Core::Hashable
|
@@ -2124,6 +2202,11 @@ module Google
|
|
2124
2202
|
# @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact>]
|
2125
2203
|
attr_accessor :maven_artifacts
|
2126
2204
|
|
2205
|
+
# Npm packages uploaded to Artifact Registry at the end of the build.
|
2206
|
+
# Corresponds to the JSON property `npmPackages`
|
2207
|
+
# @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage>]
|
2208
|
+
attr_accessor :npm_packages
|
2209
|
+
|
2127
2210
|
# Number of non-container artifacts uploaded to Cloud Storage. Only populated
|
2128
2211
|
# when artifacts are uploaded to Cloud Storage.
|
2129
2212
|
# Corresponds to the JSON property `numArtifacts`
|
@@ -2147,6 +2230,7 @@ module Google
|
|
2147
2230
|
@build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
|
2148
2231
|
@images = args[:images] if args.key?(:images)
|
2149
2232
|
@maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
|
2233
|
+
@npm_packages = args[:npm_packages] if args.key?(:npm_packages)
|
2150
2234
|
@num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
|
2151
2235
|
@python_packages = args[:python_packages] if args.key?(:python_packages)
|
2152
2236
|
end
|
@@ -2240,6 +2324,11 @@ module Google
|
|
2240
2324
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
|
2241
2325
|
include Google::Apis::Core::Hashable
|
2242
2326
|
|
2327
|
+
# Location of the source in any accessible Git repository.
|
2328
|
+
# Corresponds to the JSON property `gitSource`
|
2329
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource]
|
2330
|
+
attr_accessor :git_source
|
2331
|
+
|
2243
2332
|
# Location of the source in a Google Cloud Source Repository.
|
2244
2333
|
# Corresponds to the JSON property `repoSource`
|
2245
2334
|
# @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource]
|
@@ -2263,6 +2352,7 @@ module Google
|
|
2263
2352
|
|
2264
2353
|
# Update properties of this object
|
2265
2354
|
def update!(**args)
|
2355
|
+
@git_source = args[:git_source] if args.key?(:git_source)
|
2266
2356
|
@repo_source = args[:repo_source] if args.key?(:repo_source)
|
2267
2357
|
@storage_source = args[:storage_source] if args.key?(:storage_source)
|
2268
2358
|
@storage_source_manifest = args[:storage_source_manifest] if args.key?(:storage_source_manifest)
|
@@ -2444,6 +2534,38 @@ module Google
|
|
2444
2534
|
end
|
2445
2535
|
end
|
2446
2536
|
|
2537
|
+
# An npm package uploaded to Artifact Registry using the NpmPackage directive.
|
2538
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
|
2539
|
+
include Google::Apis::Core::Hashable
|
2540
|
+
|
2541
|
+
# Container message for hashes of byte content of files, used in
|
2542
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
2543
|
+
# Corresponds to the JSON property `fileHashes`
|
2544
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes]
|
2545
|
+
attr_accessor :file_hashes
|
2546
|
+
|
2547
|
+
# Start and end times for a build execution phase.
|
2548
|
+
# Corresponds to the JSON property `pushTiming`
|
2549
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
|
2550
|
+
attr_accessor :push_timing
|
2551
|
+
|
2552
|
+
# URI of the uploaded npm package.
|
2553
|
+
# Corresponds to the JSON property `uri`
|
2554
|
+
# @return [String]
|
2555
|
+
attr_accessor :uri
|
2556
|
+
|
2557
|
+
def initialize(**args)
|
2558
|
+
update!(**args)
|
2559
|
+
end
|
2560
|
+
|
2561
|
+
# Update properties of this object
|
2562
|
+
def update!(**args)
|
2563
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
2564
|
+
@push_timing = args[:push_timing] if args.key?(:push_timing)
|
2565
|
+
@uri = args[:uri] if args.key?(:uri)
|
2566
|
+
end
|
2567
|
+
end
|
2568
|
+
|
2447
2569
|
# Artifact uploaded using the PythonPackage directive.
|
2448
2570
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
|
2449
2571
|
include Google::Apis::Core::Hashable
|
@@ -4389,6 +4511,11 @@ module Google
|
|
4389
4511
|
# @return [Google::Apis::ContaineranalysisV1beta1::DocumentNote]
|
4390
4512
|
attr_accessor :sbom
|
4391
4513
|
|
4514
|
+
# The note representing an SBOM reference.
|
4515
|
+
# Corresponds to the JSON property `sbomReference`
|
4516
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::SbomReferenceNote]
|
4517
|
+
attr_accessor :sbom_reference
|
4518
|
+
|
4392
4519
|
# A one sentence description of this note.
|
4393
4520
|
# Corresponds to the JSON property `shortDescription`
|
4394
4521
|
# @return [String]
|
@@ -4450,6 +4577,7 @@ module Google
|
|
4450
4577
|
@related_note_names = args[:related_note_names] if args.key?(:related_note_names)
|
4451
4578
|
@related_url = args[:related_url] if args.key?(:related_url)
|
4452
4579
|
@sbom = args[:sbom] if args.key?(:sbom)
|
4580
|
+
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
|
4453
4581
|
@short_description = args[:short_description] if args.key?(:short_description)
|
4454
4582
|
@spdx_file = args[:spdx_file] if args.key?(:spdx_file)
|
4455
4583
|
@spdx_package = args[:spdx_package] if args.key?(:spdx_package)
|
@@ -4547,6 +4675,13 @@ module Google
|
|
4547
4675
|
# @return [Google::Apis::ContaineranalysisV1beta1::DocumentOccurrence]
|
4548
4676
|
attr_accessor :sbom
|
4549
4677
|
|
4678
|
+
# The occurrence representing an SBOM reference as applied to a specific
|
4679
|
+
# resource. The occurrence follows the DSSE specification. See https://github.
|
4680
|
+
# com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
|
4681
|
+
# Corresponds to the JSON property `sbomReference`
|
4682
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::SbomReferenceOccurrence]
|
4683
|
+
attr_accessor :sbom_reference
|
4684
|
+
|
4550
4685
|
# FileOccurrence represents an SPDX File Information section: https://spdx.
|
4551
4686
|
# github.io/spdx-spec/4-file-information/
|
4552
4687
|
# Corresponds to the JSON property `spdxFile`
|
@@ -4596,6 +4731,7 @@ module Google
|
|
4596
4731
|
@remediation = args[:remediation] if args.key?(:remediation)
|
4597
4732
|
@resource = args[:resource] if args.key?(:resource)
|
4598
4733
|
@sbom = args[:sbom] if args.key?(:sbom)
|
4734
|
+
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
|
4599
4735
|
@spdx_file = args[:spdx_file] if args.key?(:spdx_file)
|
4600
4736
|
@spdx_package = args[:spdx_package] if args.key?(:spdx_package)
|
4601
4737
|
@spdx_relationship = args[:spdx_relationship] if args.key?(:spdx_relationship)
|
@@ -5364,6 +5500,145 @@ module Google
|
|
5364
5500
|
end
|
5365
5501
|
end
|
5366
5502
|
|
5503
|
+
# The note representing an SBOM reference.
|
5504
|
+
class SbomReferenceNote
|
5505
|
+
include Google::Apis::Core::Hashable
|
5506
|
+
|
5507
|
+
# The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
|
5508
|
+
# Corresponds to the JSON property `format`
|
5509
|
+
# @return [String]
|
5510
|
+
attr_accessor :format
|
5511
|
+
|
5512
|
+
# The version of the format that the SBOM takes. E.g. if the format is spdx, the
|
5513
|
+
# version may be 2.3.
|
5514
|
+
# Corresponds to the JSON property `version`
|
5515
|
+
# @return [String]
|
5516
|
+
attr_accessor :version
|
5517
|
+
|
5518
|
+
def initialize(**args)
|
5519
|
+
update!(**args)
|
5520
|
+
end
|
5521
|
+
|
5522
|
+
# Update properties of this object
|
5523
|
+
def update!(**args)
|
5524
|
+
@format = args[:format] if args.key?(:format)
|
5525
|
+
@version = args[:version] if args.key?(:version)
|
5526
|
+
end
|
5527
|
+
end
|
5528
|
+
|
5529
|
+
# The occurrence representing an SBOM reference as applied to a specific
|
5530
|
+
# resource. The occurrence follows the DSSE specification. See https://github.
|
5531
|
+
# com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
|
5532
|
+
class SbomReferenceOccurrence
|
5533
|
+
include Google::Apis::Core::Hashable
|
5534
|
+
|
5535
|
+
# The actual payload that contains the SBOM Reference data. The payload follows
|
5536
|
+
# the intoto statement specification. See https://github.com/in-toto/attestation/
|
5537
|
+
# blob/main/spec/v1.0/statement.md for more details.
|
5538
|
+
# Corresponds to the JSON property `payload`
|
5539
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::SbomReferenceIntotoPayload]
|
5540
|
+
attr_accessor :payload
|
5541
|
+
|
5542
|
+
# The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the
|
5543
|
+
# intoto format, this value is expected to be 'application/vnd.in-toto+json'.
|
5544
|
+
# Corresponds to the JSON property `payloadType`
|
5545
|
+
# @return [String]
|
5546
|
+
attr_accessor :payload_type
|
5547
|
+
|
5548
|
+
# The signatures over the payload.
|
5549
|
+
# Corresponds to the JSON property `signatures`
|
5550
|
+
# @return [Array<Google::Apis::ContaineranalysisV1beta1::EnvelopeSignature>]
|
5551
|
+
attr_accessor :signatures
|
5552
|
+
|
5553
|
+
def initialize(**args)
|
5554
|
+
update!(**args)
|
5555
|
+
end
|
5556
|
+
|
5557
|
+
# Update properties of this object
|
5558
|
+
def update!(**args)
|
5559
|
+
@payload = args[:payload] if args.key?(:payload)
|
5560
|
+
@payload_type = args[:payload_type] if args.key?(:payload_type)
|
5561
|
+
@signatures = args[:signatures] if args.key?(:signatures)
|
5562
|
+
end
|
5563
|
+
end
|
5564
|
+
|
5565
|
+
# The actual payload that contains the SBOM Reference data. The payload follows
|
5566
|
+
# the intoto statement specification. See https://github.com/in-toto/attestation/
|
5567
|
+
# blob/main/spec/v1.0/statement.md for more details.
|
5568
|
+
class SbomReferenceIntotoPayload
|
5569
|
+
include Google::Apis::Core::Hashable
|
5570
|
+
|
5571
|
+
# Identifier for the schema of the Statement.
|
5572
|
+
# Corresponds to the JSON property `_type`
|
5573
|
+
# @return [String]
|
5574
|
+
attr_accessor :_type
|
5575
|
+
|
5576
|
+
# A predicate which describes the SBOM being referenced.
|
5577
|
+
# Corresponds to the JSON property `predicate`
|
5578
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::SbomReferenceIntotoPredicate]
|
5579
|
+
attr_accessor :predicate
|
5580
|
+
|
5581
|
+
# URI identifying the type of the Predicate.
|
5582
|
+
# Corresponds to the JSON property `predicateType`
|
5583
|
+
# @return [String]
|
5584
|
+
attr_accessor :predicate_type
|
5585
|
+
|
5586
|
+
# Set of software artifacts that the attestation applies to. Each element
|
5587
|
+
# represents a single software artifact.
|
5588
|
+
# Corresponds to the JSON property `subject`
|
5589
|
+
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Subject>]
|
5590
|
+
attr_accessor :subject
|
5591
|
+
|
5592
|
+
def initialize(**args)
|
5593
|
+
update!(**args)
|
5594
|
+
end
|
5595
|
+
|
5596
|
+
# Update properties of this object
|
5597
|
+
def update!(**args)
|
5598
|
+
@_type = args[:_type] if args.key?(:_type)
|
5599
|
+
@predicate = args[:predicate] if args.key?(:predicate)
|
5600
|
+
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
5601
|
+
@subject = args[:subject] if args.key?(:subject)
|
5602
|
+
end
|
5603
|
+
end
|
5604
|
+
|
5605
|
+
# A predicate which describes the SBOM being referenced.
|
5606
|
+
class SbomReferenceIntotoPredicate
|
5607
|
+
include Google::Apis::Core::Hashable
|
5608
|
+
|
5609
|
+
# A map of algorithm to digest of the contents of the SBOM.
|
5610
|
+
# Corresponds to the JSON property `digest`
|
5611
|
+
# @return [Hash<String,String>]
|
5612
|
+
attr_accessor :digest
|
5613
|
+
|
5614
|
+
# The location of the SBOM.
|
5615
|
+
# Corresponds to the JSON property `location`
|
5616
|
+
# @return [String]
|
5617
|
+
attr_accessor :location
|
5618
|
+
|
5619
|
+
# The mime type of the SBOM.
|
5620
|
+
# Corresponds to the JSON property `mimeType`
|
5621
|
+
# @return [String]
|
5622
|
+
attr_accessor :mime_type
|
5623
|
+
|
5624
|
+
# The person or system referring this predicate to the consumer.
|
5625
|
+
# Corresponds to the JSON property `referrerId`
|
5626
|
+
# @return [String]
|
5627
|
+
attr_accessor :referrer_id
|
5628
|
+
|
5629
|
+
def initialize(**args)
|
5630
|
+
update!(**args)
|
5631
|
+
end
|
5632
|
+
|
5633
|
+
# Update properties of this object
|
5634
|
+
def update!(**args)
|
5635
|
+
@digest = args[:digest] if args.key?(:digest)
|
5636
|
+
@location = args[:location] if args.key?(:location)
|
5637
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
5638
|
+
@referrer_id = args[:referrer_id] if args.key?(:referrer_id)
|
5639
|
+
end
|
5640
|
+
end
|
5641
|
+
|
5367
5642
|
# Request message for `SetIamPolicy` method.
|
5368
5643
|
class SetIamPolicyRequest
|
5369
5644
|
include Google::Apis::Core::Hashable
|
@@ -5633,6 +5908,33 @@ module Google
|
|
5633
5908
|
end
|
5634
5909
|
end
|
5635
5910
|
|
5911
|
+
# Set of software artifacts that the attestation applies to. Each element
|
5912
|
+
# represents a single software artifact.
|
5913
|
+
class Subject
|
5914
|
+
include Google::Apis::Core::Hashable
|
5915
|
+
|
5916
|
+
# `"": ""` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/
|
5917
|
+
# attestation/blob/main/spec/field_types.md#DigestSet
|
5918
|
+
# Corresponds to the JSON property `digest`
|
5919
|
+
# @return [Hash<String,String>]
|
5920
|
+
attr_accessor :digest
|
5921
|
+
|
5922
|
+
# Identifier to distinguish this artifact from others within the subject.
|
5923
|
+
# Corresponds to the JSON property `name`
|
5924
|
+
# @return [String]
|
5925
|
+
attr_accessor :name
|
5926
|
+
|
5927
|
+
def initialize(**args)
|
5928
|
+
update!(**args)
|
5929
|
+
end
|
5930
|
+
|
5931
|
+
# Update properties of this object
|
5932
|
+
def update!(**args)
|
5933
|
+
@digest = args[:digest] if args.key?(:digest)
|
5934
|
+
@name = args[:name] if args.key?(:name)
|
5935
|
+
end
|
5936
|
+
end
|
5937
|
+
|
5636
5938
|
# Request message for `TestIamPermissions` method.
|
5637
5939
|
class TestIamPermissionsRequest
|
5638
5940
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContaineranalysisV1beta1
|
18
18
|
# Version of the google-apis-containeranalysis_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.38.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230414"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -190,6 +190,12 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
193
199
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
201
|
|
@@ -250,6 +256,12 @@ module Google
|
|
250
256
|
include Google::Apis::Core::JsonObjectSupport
|
251
257
|
end
|
252
258
|
|
259
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
253
265
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
|
254
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
267
|
|
@@ -328,6 +340,12 @@ module Google
|
|
328
340
|
include Google::Apis::Core::JsonObjectSupport
|
329
341
|
end
|
330
342
|
|
343
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
331
349
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
|
332
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
351
|
|
@@ -742,6 +760,30 @@ module Google
|
|
742
760
|
include Google::Apis::Core::JsonObjectSupport
|
743
761
|
end
|
744
762
|
|
763
|
+
class SbomReferenceNote
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
|
+
|
766
|
+
include Google::Apis::Core::JsonObjectSupport
|
767
|
+
end
|
768
|
+
|
769
|
+
class SbomReferenceOccurrence
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
771
|
+
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
773
|
+
end
|
774
|
+
|
775
|
+
class SbomReferenceIntotoPayload
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
777
|
+
|
778
|
+
include Google::Apis::Core::JsonObjectSupport
|
779
|
+
end
|
780
|
+
|
781
|
+
class SbomReferenceIntotoPredicate
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
783
|
+
|
784
|
+
include Google::Apis::Core::JsonObjectSupport
|
785
|
+
end
|
786
|
+
|
745
787
|
class SetIamPolicyRequest
|
746
788
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
789
|
|
@@ -778,6 +820,12 @@ module Google
|
|
778
820
|
include Google::Apis::Core::JsonObjectSupport
|
779
821
|
end
|
780
822
|
|
823
|
+
class Subject
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
|
+
|
826
|
+
include Google::Apis::Core::JsonObjectSupport
|
827
|
+
end
|
828
|
+
|
781
829
|
class TestIamPermissionsRequest
|
782
830
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
783
831
|
|
@@ -1124,6 +1172,8 @@ module Google
|
|
1124
1172
|
collection :images, as: 'images'
|
1125
1173
|
collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact::Representation
|
1126
1174
|
|
1175
|
+
collection :npm_packages, as: 'npmPackages', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage::Representation
|
1176
|
+
|
1127
1177
|
property :objects, as: 'objects', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects::Representation
|
1128
1178
|
|
1129
1179
|
collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage::Representation
|
@@ -1152,6 +1202,14 @@ module Google
|
|
1152
1202
|
end
|
1153
1203
|
end
|
1154
1204
|
|
1205
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage
|
1206
|
+
# @private
|
1207
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1208
|
+
property :package_path, as: 'packagePath'
|
1209
|
+
property :repository, as: 'repository'
|
1210
|
+
end
|
1211
|
+
end
|
1212
|
+
|
1155
1213
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
|
1156
1214
|
# @private
|
1157
1215
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1307,6 +1365,15 @@ module Google
|
|
1307
1365
|
end
|
1308
1366
|
end
|
1309
1367
|
|
1368
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource
|
1369
|
+
# @private
|
1370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1371
|
+
property :dir, as: 'dir'
|
1372
|
+
property :revision, as: 'revision'
|
1373
|
+
property :url, as: 'url'
|
1374
|
+
end
|
1375
|
+
end
|
1376
|
+
|
1310
1377
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1Hash
|
1311
1378
|
# @private
|
1312
1379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1349,6 +1416,8 @@ module Google
|
|
1349
1416
|
|
1350
1417
|
collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact::Representation
|
1351
1418
|
|
1419
|
+
collection :npm_packages, as: 'npmPackages', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage::Representation
|
1420
|
+
|
1352
1421
|
property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
|
1353
1422
|
collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
|
1354
1423
|
|
@@ -1384,6 +1453,8 @@ module Google
|
|
1384
1453
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1Source
|
1385
1454
|
# @private
|
1386
1455
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1456
|
+
property :git_source, as: 'gitSource', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1GitSource::Representation
|
1457
|
+
|
1387
1458
|
property :repo_source, as: 'repoSource', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource::Representation
|
1388
1459
|
|
1389
1460
|
property :storage_source, as: 'storageSource', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource::Representation
|
@@ -1444,6 +1515,17 @@ module Google
|
|
1444
1515
|
end
|
1445
1516
|
end
|
1446
1517
|
|
1518
|
+
class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedNpmPackage
|
1519
|
+
# @private
|
1520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1521
|
+
property :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
|
1522
|
+
|
1523
|
+
property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
1524
|
+
|
1525
|
+
property :uri, as: 'uri'
|
1526
|
+
end
|
1527
|
+
end
|
1528
|
+
|
1447
1529
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
|
1448
1530
|
# @private
|
1449
1531
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1993,6 +2075,8 @@ module Google
|
|
1993
2075
|
|
1994
2076
|
property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1beta1::DocumentNote, decorator: Google::Apis::ContaineranalysisV1beta1::DocumentNote::Representation
|
1995
2077
|
|
2078
|
+
property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1beta1::SbomReferenceNote, decorator: Google::Apis::ContaineranalysisV1beta1::SbomReferenceNote::Representation
|
2079
|
+
|
1996
2080
|
property :short_description, as: 'shortDescription'
|
1997
2081
|
property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileNote, decorator: Google::Apis::ContaineranalysisV1beta1::FileNote::Representation
|
1998
2082
|
|
@@ -2036,6 +2120,8 @@ module Google
|
|
2036
2120
|
|
2037
2121
|
property :sbom, as: 'sbom', class: Google::Apis::ContaineranalysisV1beta1::DocumentOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::DocumentOccurrence::Representation
|
2038
2122
|
|
2123
|
+
property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1beta1::SbomReferenceOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::SbomReferenceOccurrence::Representation
|
2124
|
+
|
2039
2125
|
property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::FileOccurrence::Representation
|
2040
2126
|
|
2041
2127
|
property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::PackageInfoOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::PackageInfoOccurrence::Representation
|
@@ -2223,6 +2309,47 @@ module Google
|
|
2223
2309
|
end
|
2224
2310
|
end
|
2225
2311
|
|
2312
|
+
class SbomReferenceNote
|
2313
|
+
# @private
|
2314
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2315
|
+
property :format, as: 'format'
|
2316
|
+
property :version, as: 'version'
|
2317
|
+
end
|
2318
|
+
end
|
2319
|
+
|
2320
|
+
class SbomReferenceOccurrence
|
2321
|
+
# @private
|
2322
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2323
|
+
property :payload, as: 'payload', class: Google::Apis::ContaineranalysisV1beta1::SbomReferenceIntotoPayload, decorator: Google::Apis::ContaineranalysisV1beta1::SbomReferenceIntotoPayload::Representation
|
2324
|
+
|
2325
|
+
property :payload_type, as: 'payloadType'
|
2326
|
+
collection :signatures, as: 'signatures', class: Google::Apis::ContaineranalysisV1beta1::EnvelopeSignature, decorator: Google::Apis::ContaineranalysisV1beta1::EnvelopeSignature::Representation
|
2327
|
+
|
2328
|
+
end
|
2329
|
+
end
|
2330
|
+
|
2331
|
+
class SbomReferenceIntotoPayload
|
2332
|
+
# @private
|
2333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2334
|
+
property :_type, as: '_type'
|
2335
|
+
property :predicate, as: 'predicate', class: Google::Apis::ContaineranalysisV1beta1::SbomReferenceIntotoPredicate, decorator: Google::Apis::ContaineranalysisV1beta1::SbomReferenceIntotoPredicate::Representation
|
2336
|
+
|
2337
|
+
property :predicate_type, as: 'predicateType'
|
2338
|
+
collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1beta1::Subject, decorator: Google::Apis::ContaineranalysisV1beta1::Subject::Representation
|
2339
|
+
|
2340
|
+
end
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
class SbomReferenceIntotoPredicate
|
2344
|
+
# @private
|
2345
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2346
|
+
hash :digest, as: 'digest'
|
2347
|
+
property :location, as: 'location'
|
2348
|
+
property :mime_type, as: 'mimeType'
|
2349
|
+
property :referrer_id, as: 'referrerId'
|
2350
|
+
end
|
2351
|
+
end
|
2352
|
+
|
2226
2353
|
class SetIamPolicyRequest
|
2227
2354
|
# @private
|
2228
2355
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2284,6 +2411,14 @@ module Google
|
|
2284
2411
|
end
|
2285
2412
|
end
|
2286
2413
|
|
2414
|
+
class Subject
|
2415
|
+
# @private
|
2416
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2417
|
+
hash :digest, as: 'digest'
|
2418
|
+
property :name, as: 'name'
|
2419
|
+
end
|
2420
|
+
end
|
2421
|
+
|
2287
2422
|
class TestIamPermissionsRequest
|
2288
2423
|
# @private
|
2289
2424
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-containeranalysis_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.38.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.38.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|