google-apis-containeranalysis_v1 0.32.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/containeranalysis_v1/classes.rb +153 -67
- data/lib/google/apis/containeranalysis_v1/gem_version.rb +2 -2
- data/lib/google/apis/containeranalysis_v1/representations.rb +69 -41
- data/lib/google/apis/containeranalysis_v1/service.rb +0 -34
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e374533f5b66c400fa46debcf8347c097d4d6e7e9cbddbaa55c47254baccf188
|
4
|
+
data.tar.gz: 1ec378d77e628fdb31a837ff7624d3292dc5d95f1de7b593af41f873593ac2d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0416877ec7ed3d2f9483dfbcbfbeff0096d5185157bd938993ea117f4415cc9af0ec442d6612bfb71f9da7be925237a521233f02b418f8f59b07523d541fcc31'
|
7
|
+
data.tar.gz: 93d730db315776fe4b4980484d077e5a92a3a07b28a7560afc8b7d3ace71d4c822c08c51e370c7a44184907362f6bd4fd6f78ef052e6b8e6636115d7b3f29984
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1
|
2
2
|
|
3
|
+
### v0.34.0 (2023-05-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230505
|
6
|
+
|
7
|
+
### v0.33.0 (2023-04-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230421
|
10
|
+
|
3
11
|
### v0.32.0 (2023-04-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230414
|
@@ -3414,21 +3414,6 @@ module Google
|
|
3414
3414
|
end
|
3415
3415
|
end
|
3416
3416
|
|
3417
|
-
# GeneratePackagesSummaryRequest is the request body for the
|
3418
|
-
# GeneratePackagesSummary API method. It just takes a single name argument,
|
3419
|
-
# referring to the resource.
|
3420
|
-
class GeneratePackagesSummaryRequest
|
3421
|
-
include Google::Apis::Core::Hashable
|
3422
|
-
|
3423
|
-
def initialize(**args)
|
3424
|
-
update!(**args)
|
3425
|
-
end
|
3426
|
-
|
3427
|
-
# Update properties of this object
|
3428
|
-
def update!(**args)
|
3429
|
-
end
|
3430
|
-
end
|
3431
|
-
|
3432
3417
|
# A SourceContext referring to a Gerrit project.
|
3433
3418
|
class GerritSourceContext
|
3434
3419
|
include Google::Apis::Core::Hashable
|
@@ -4140,33 +4125,6 @@ module Google
|
|
4140
4125
|
end
|
4141
4126
|
end
|
4142
4127
|
|
4143
|
-
# Per license count
|
4144
|
-
class LicensesSummary
|
4145
|
-
include Google::Apis::Core::Hashable
|
4146
|
-
|
4147
|
-
# The number of fixable vulnerabilities associated with this resource.
|
4148
|
-
# Corresponds to the JSON property `count`
|
4149
|
-
# @return [Fixnum]
|
4150
|
-
attr_accessor :count
|
4151
|
-
|
4152
|
-
# The license of the package. Note that the format of this value is not
|
4153
|
-
# guaranteed. It may be nil, an empty string, a boolean value (A | B), a
|
4154
|
-
# differently formed boolean value (A OR B), etc...
|
4155
|
-
# Corresponds to the JSON property `license`
|
4156
|
-
# @return [String]
|
4157
|
-
attr_accessor :license
|
4158
|
-
|
4159
|
-
def initialize(**args)
|
4160
|
-
update!(**args)
|
4161
|
-
end
|
4162
|
-
|
4163
|
-
# Update properties of this object
|
4164
|
-
def update!(**args)
|
4165
|
-
@count = args[:count] if args.key?(:count)
|
4166
|
-
@license = args[:license] if args.key?(:license)
|
4167
|
-
end
|
4168
|
-
end
|
4169
|
-
|
4170
4128
|
# Response for listing occurrences for a note.
|
4171
4129
|
class ListNoteOccurrencesResponse
|
4172
4130
|
include Google::Apis::Core::Hashable
|
@@ -4477,6 +4435,11 @@ module Google
|
|
4477
4435
|
# @return [Array<Google::Apis::ContaineranalysisV1::RelatedUrl>]
|
4478
4436
|
attr_accessor :related_url
|
4479
4437
|
|
4438
|
+
# The note representing an SBOM reference.
|
4439
|
+
# Corresponds to the JSON property `sbomReference`
|
4440
|
+
# @return [Google::Apis::ContaineranalysisV1::SbomReferenceNote]
|
4441
|
+
attr_accessor :sbom_reference
|
4442
|
+
|
4480
4443
|
# A one sentence description of this note.
|
4481
4444
|
# Corresponds to the JSON property `shortDescription`
|
4482
4445
|
# @return [String]
|
@@ -4528,6 +4491,7 @@ module Google
|
|
4528
4491
|
@package = args[:package] if args.key?(:package)
|
4529
4492
|
@related_note_names = args[:related_note_names] if args.key?(:related_note_names)
|
4530
4493
|
@related_url = args[:related_url] if args.key?(:related_url)
|
4494
|
+
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
|
4531
4495
|
@short_description = args[:short_description] if args.key?(:short_description)
|
4532
4496
|
@update_time = args[:update_time] if args.key?(:update_time)
|
4533
4497
|
@upgrade = args[:upgrade] if args.key?(:upgrade)
|
@@ -4631,6 +4595,13 @@ module Google
|
|
4631
4595
|
# @return [String]
|
4632
4596
|
attr_accessor :resource_uri
|
4633
4597
|
|
4598
|
+
# The occurrence representing an SBOM reference as applied to a specific
|
4599
|
+
# resource. The occurrence follows the DSSE specification. See https://github.
|
4600
|
+
# com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
|
4601
|
+
# Corresponds to the JSON property `sbomReference`
|
4602
|
+
# @return [Google::Apis::ContaineranalysisV1::SbomReferenceOccurrence]
|
4603
|
+
attr_accessor :sbom_reference
|
4604
|
+
|
4634
4605
|
# Output only. The time this occurrence was last updated.
|
4635
4606
|
# Corresponds to the JSON property `updateTime`
|
4636
4607
|
# @return [String]
|
@@ -4671,6 +4642,7 @@ module Google
|
|
4671
4642
|
@package = args[:package] if args.key?(:package)
|
4672
4643
|
@remediation = args[:remediation] if args.key?(:remediation)
|
4673
4644
|
@resource_uri = args[:resource_uri] if args.key?(:resource_uri)
|
4645
|
+
@sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
|
4674
4646
|
@update_time = args[:update_time] if args.key?(:update_time)
|
4675
4647
|
@upgrade = args[:upgrade] if args.key?(:upgrade)
|
4676
4648
|
@vulnerability = args[:vulnerability] if args.key?(:vulnerability)
|
@@ -4901,31 +4873,6 @@ module Google
|
|
4901
4873
|
end
|
4902
4874
|
end
|
4903
4875
|
|
4904
|
-
# A summary of the packages found within the given resource.
|
4905
|
-
class PackagesSummaryResponse
|
4906
|
-
include Google::Apis::Core::Hashable
|
4907
|
-
|
4908
|
-
# A listing by license name of each of the licenses and their counts.
|
4909
|
-
# Corresponds to the JSON property `licensesSummary`
|
4910
|
-
# @return [Array<Google::Apis::ContaineranalysisV1::LicensesSummary>]
|
4911
|
-
attr_accessor :licenses_summary
|
4912
|
-
|
4913
|
-
# The unique URL of the image or the container for which this summary applies.
|
4914
|
-
# Corresponds to the JSON property `resourceUrl`
|
4915
|
-
# @return [String]
|
4916
|
-
attr_accessor :resource_url
|
4917
|
-
|
4918
|
-
def initialize(**args)
|
4919
|
-
update!(**args)
|
4920
|
-
end
|
4921
|
-
|
4922
|
-
# Update properties of this object
|
4923
|
-
def update!(**args)
|
4924
|
-
@licenses_summary = args[:licenses_summary] if args.key?(:licenses_summary)
|
4925
|
-
@resource_url = args[:resource_url] if args.key?(:resource_url)
|
4926
|
-
end
|
4927
|
-
end
|
4928
|
-
|
4929
4876
|
# An Identity and Access Management (IAM) policy, which specifies access
|
4930
4877
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
4931
4878
|
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
@@ -5253,6 +5200,145 @@ module Google
|
|
5253
5200
|
end
|
5254
5201
|
end
|
5255
5202
|
|
5203
|
+
# The note representing an SBOM reference.
|
5204
|
+
class SbomReferenceNote
|
5205
|
+
include Google::Apis::Core::Hashable
|
5206
|
+
|
5207
|
+
# The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
|
5208
|
+
# Corresponds to the JSON property `format`
|
5209
|
+
# @return [String]
|
5210
|
+
attr_accessor :format
|
5211
|
+
|
5212
|
+
# The version of the format that the SBOM takes. E.g. if the format is spdx, the
|
5213
|
+
# version may be 2.3.
|
5214
|
+
# Corresponds to the JSON property `version`
|
5215
|
+
# @return [String]
|
5216
|
+
attr_accessor :version
|
5217
|
+
|
5218
|
+
def initialize(**args)
|
5219
|
+
update!(**args)
|
5220
|
+
end
|
5221
|
+
|
5222
|
+
# Update properties of this object
|
5223
|
+
def update!(**args)
|
5224
|
+
@format = args[:format] if args.key?(:format)
|
5225
|
+
@version = args[:version] if args.key?(:version)
|
5226
|
+
end
|
5227
|
+
end
|
5228
|
+
|
5229
|
+
# The occurrence representing an SBOM reference as applied to a specific
|
5230
|
+
# resource. The occurrence follows the DSSE specification. See https://github.
|
5231
|
+
# com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
|
5232
|
+
class SbomReferenceOccurrence
|
5233
|
+
include Google::Apis::Core::Hashable
|
5234
|
+
|
5235
|
+
# The actual payload that contains the SBOM Reference data. The payload follows
|
5236
|
+
# the intoto statement specification. See https://github.com/in-toto/attestation/
|
5237
|
+
# blob/main/spec/v1.0/statement.md for more details.
|
5238
|
+
# Corresponds to the JSON property `payload`
|
5239
|
+
# @return [Google::Apis::ContaineranalysisV1::SbomReferenceIntotoPayload]
|
5240
|
+
attr_accessor :payload
|
5241
|
+
|
5242
|
+
# The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the
|
5243
|
+
# intoto format, this value is expected to be 'application/vnd.in-toto+json'.
|
5244
|
+
# Corresponds to the JSON property `payloadType`
|
5245
|
+
# @return [String]
|
5246
|
+
attr_accessor :payload_type
|
5247
|
+
|
5248
|
+
# The signatures over the payload.
|
5249
|
+
# Corresponds to the JSON property `signatures`
|
5250
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::EnvelopeSignature>]
|
5251
|
+
attr_accessor :signatures
|
5252
|
+
|
5253
|
+
def initialize(**args)
|
5254
|
+
update!(**args)
|
5255
|
+
end
|
5256
|
+
|
5257
|
+
# Update properties of this object
|
5258
|
+
def update!(**args)
|
5259
|
+
@payload = args[:payload] if args.key?(:payload)
|
5260
|
+
@payload_type = args[:payload_type] if args.key?(:payload_type)
|
5261
|
+
@signatures = args[:signatures] if args.key?(:signatures)
|
5262
|
+
end
|
5263
|
+
end
|
5264
|
+
|
5265
|
+
# The actual payload that contains the SBOM Reference data. The payload follows
|
5266
|
+
# the intoto statement specification. See https://github.com/in-toto/attestation/
|
5267
|
+
# blob/main/spec/v1.0/statement.md for more details.
|
5268
|
+
class SbomReferenceIntotoPayload
|
5269
|
+
include Google::Apis::Core::Hashable
|
5270
|
+
|
5271
|
+
# Identifier for the schema of the Statement.
|
5272
|
+
# Corresponds to the JSON property `_type`
|
5273
|
+
# @return [String]
|
5274
|
+
attr_accessor :_type
|
5275
|
+
|
5276
|
+
# A predicate which describes the SBOM being referenced.
|
5277
|
+
# Corresponds to the JSON property `predicate`
|
5278
|
+
# @return [Google::Apis::ContaineranalysisV1::SbomReferenceIntotoPredicate]
|
5279
|
+
attr_accessor :predicate
|
5280
|
+
|
5281
|
+
# URI identifying the type of the Predicate.
|
5282
|
+
# Corresponds to the JSON property `predicateType`
|
5283
|
+
# @return [String]
|
5284
|
+
attr_accessor :predicate_type
|
5285
|
+
|
5286
|
+
# Set of software artifacts that the attestation applies to. Each element
|
5287
|
+
# represents a single software artifact.
|
5288
|
+
# Corresponds to the JSON property `subject`
|
5289
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::Subject>]
|
5290
|
+
attr_accessor :subject
|
5291
|
+
|
5292
|
+
def initialize(**args)
|
5293
|
+
update!(**args)
|
5294
|
+
end
|
5295
|
+
|
5296
|
+
# Update properties of this object
|
5297
|
+
def update!(**args)
|
5298
|
+
@_type = args[:_type] if args.key?(:_type)
|
5299
|
+
@predicate = args[:predicate] if args.key?(:predicate)
|
5300
|
+
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
5301
|
+
@subject = args[:subject] if args.key?(:subject)
|
5302
|
+
end
|
5303
|
+
end
|
5304
|
+
|
5305
|
+
# A predicate which describes the SBOM being referenced.
|
5306
|
+
class SbomReferenceIntotoPredicate
|
5307
|
+
include Google::Apis::Core::Hashable
|
5308
|
+
|
5309
|
+
# A map of algorithm to digest of the contents of the SBOM.
|
5310
|
+
# Corresponds to the JSON property `digest`
|
5311
|
+
# @return [Hash<String,String>]
|
5312
|
+
attr_accessor :digest
|
5313
|
+
|
5314
|
+
# The location of the SBOM.
|
5315
|
+
# Corresponds to the JSON property `location`
|
5316
|
+
# @return [String]
|
5317
|
+
attr_accessor :location
|
5318
|
+
|
5319
|
+
# The mime type of the SBOM.
|
5320
|
+
# Corresponds to the JSON property `mimeType`
|
5321
|
+
# @return [String]
|
5322
|
+
attr_accessor :mime_type
|
5323
|
+
|
5324
|
+
# The person or system referring this predicate to the consumer.
|
5325
|
+
# Corresponds to the JSON property `referrerId`
|
5326
|
+
# @return [String]
|
5327
|
+
attr_accessor :referrer_id
|
5328
|
+
|
5329
|
+
def initialize(**args)
|
5330
|
+
update!(**args)
|
5331
|
+
end
|
5332
|
+
|
5333
|
+
# Update properties of this object
|
5334
|
+
def update!(**args)
|
5335
|
+
@digest = args[:digest] if args.key?(:digest)
|
5336
|
+
@location = args[:location] if args.key?(:location)
|
5337
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
5338
|
+
@referrer_id = args[:referrer_id] if args.key?(:referrer_id)
|
5339
|
+
end
|
5340
|
+
end
|
5341
|
+
|
5256
5342
|
# Request message for `SetIamPolicy` method.
|
5257
5343
|
class SetIamPolicyRequest
|
5258
5344
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContaineranalysisV1
|
18
18
|
# Version of the google-apis-containeranalysis_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.34.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 = "20230505"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -478,12 +478,6 @@ module Google
|
|
478
478
|
include Google::Apis::Core::JsonObjectSupport
|
479
479
|
end
|
480
480
|
|
481
|
-
class GeneratePackagesSummaryRequest
|
482
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
-
|
484
|
-
include Google::Apis::Core::JsonObjectSupport
|
485
|
-
end
|
486
|
-
|
487
481
|
class GerritSourceContext
|
488
482
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
483
|
|
@@ -628,12 +622,6 @@ module Google
|
|
628
622
|
include Google::Apis::Core::JsonObjectSupport
|
629
623
|
end
|
630
624
|
|
631
|
-
class LicensesSummary
|
632
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
|
-
|
634
|
-
include Google::Apis::Core::JsonObjectSupport
|
635
|
-
end
|
636
|
-
|
637
625
|
class ListNoteOccurrencesResponse
|
638
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
627
|
|
@@ -706,12 +694,6 @@ module Google
|
|
706
694
|
include Google::Apis::Core::JsonObjectSupport
|
707
695
|
end
|
708
696
|
|
709
|
-
class PackagesSummaryResponse
|
710
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
|
-
|
712
|
-
include Google::Apis::Core::JsonObjectSupport
|
713
|
-
end
|
714
|
-
|
715
697
|
class Policy
|
716
698
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
699
|
|
@@ -760,6 +742,30 @@ module Google
|
|
760
742
|
include Google::Apis::Core::JsonObjectSupport
|
761
743
|
end
|
762
744
|
|
745
|
+
class SbomReferenceNote
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
|
+
|
748
|
+
include Google::Apis::Core::JsonObjectSupport
|
749
|
+
end
|
750
|
+
|
751
|
+
class SbomReferenceOccurrence
|
752
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
753
|
+
|
754
|
+
include Google::Apis::Core::JsonObjectSupport
|
755
|
+
end
|
756
|
+
|
757
|
+
class SbomReferenceIntotoPayload
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
|
+
|
760
|
+
include Google::Apis::Core::JsonObjectSupport
|
761
|
+
end
|
762
|
+
|
763
|
+
class SbomReferenceIntotoPredicate
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
|
+
|
766
|
+
include Google::Apis::Core::JsonObjectSupport
|
767
|
+
end
|
768
|
+
|
763
769
|
class SetIamPolicyRequest
|
764
770
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
771
|
|
@@ -1786,12 +1792,6 @@ module Google
|
|
1786
1792
|
end
|
1787
1793
|
end
|
1788
1794
|
|
1789
|
-
class GeneratePackagesSummaryRequest
|
1790
|
-
# @private
|
1791
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1792
|
-
end
|
1793
|
-
end
|
1794
|
-
|
1795
1795
|
class GerritSourceContext
|
1796
1796
|
# @private
|
1797
1797
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2008,14 +2008,6 @@ module Google
|
|
2008
2008
|
end
|
2009
2009
|
end
|
2010
2010
|
|
2011
|
-
class LicensesSummary
|
2012
|
-
# @private
|
2013
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2014
|
-
property :count, :numeric_string => true, as: 'count'
|
2015
|
-
property :license, as: 'license'
|
2016
|
-
end
|
2017
|
-
end
|
2018
|
-
|
2019
2011
|
class ListNoteOccurrencesResponse
|
2020
2012
|
# @private
|
2021
2013
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2109,6 +2101,8 @@ module Google
|
|
2109
2101
|
collection :related_note_names, as: 'relatedNoteNames'
|
2110
2102
|
collection :related_url, as: 'relatedUrl', class: Google::Apis::ContaineranalysisV1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1::RelatedUrl::Representation
|
2111
2103
|
|
2104
|
+
property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1::SbomReferenceNote, decorator: Google::Apis::ContaineranalysisV1::SbomReferenceNote::Representation
|
2105
|
+
|
2112
2106
|
property :short_description, as: 'shortDescription'
|
2113
2107
|
property :update_time, as: 'updateTime'
|
2114
2108
|
property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1::UpgradeNote, decorator: Google::Apis::ContaineranalysisV1::UpgradeNote::Representation
|
@@ -2147,6 +2141,8 @@ module Google
|
|
2147
2141
|
|
2148
2142
|
property :remediation, as: 'remediation'
|
2149
2143
|
property :resource_uri, as: 'resourceUri'
|
2144
|
+
property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1::SbomReferenceOccurrence, decorator: Google::Apis::ContaineranalysisV1::SbomReferenceOccurrence::Representation
|
2145
|
+
|
2150
2146
|
property :update_time, as: 'updateTime'
|
2151
2147
|
property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1::UpgradeOccurrence, decorator: Google::Apis::ContaineranalysisV1::UpgradeOccurrence::Representation
|
2152
2148
|
|
@@ -2211,15 +2207,6 @@ module Google
|
|
2211
2207
|
end
|
2212
2208
|
end
|
2213
2209
|
|
2214
|
-
class PackagesSummaryResponse
|
2215
|
-
# @private
|
2216
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2217
|
-
collection :licenses_summary, as: 'licensesSummary', class: Google::Apis::ContaineranalysisV1::LicensesSummary, decorator: Google::Apis::ContaineranalysisV1::LicensesSummary::Representation
|
2218
|
-
|
2219
|
-
property :resource_url, as: 'resourceUrl'
|
2220
|
-
end
|
2221
|
-
end
|
2222
|
-
|
2223
2210
|
class Policy
|
2224
2211
|
# @private
|
2225
2212
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2294,6 +2281,47 @@ module Google
|
|
2294
2281
|
end
|
2295
2282
|
end
|
2296
2283
|
|
2284
|
+
class SbomReferenceNote
|
2285
|
+
# @private
|
2286
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2287
|
+
property :format, as: 'format'
|
2288
|
+
property :version, as: 'version'
|
2289
|
+
end
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
class SbomReferenceOccurrence
|
2293
|
+
# @private
|
2294
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2295
|
+
property :payload, as: 'payload', class: Google::Apis::ContaineranalysisV1::SbomReferenceIntotoPayload, decorator: Google::Apis::ContaineranalysisV1::SbomReferenceIntotoPayload::Representation
|
2296
|
+
|
2297
|
+
property :payload_type, as: 'payloadType'
|
2298
|
+
collection :signatures, as: 'signatures', class: Google::Apis::ContaineranalysisV1::EnvelopeSignature, decorator: Google::Apis::ContaineranalysisV1::EnvelopeSignature::Representation
|
2299
|
+
|
2300
|
+
end
|
2301
|
+
end
|
2302
|
+
|
2303
|
+
class SbomReferenceIntotoPayload
|
2304
|
+
# @private
|
2305
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2306
|
+
property :_type, as: '_type'
|
2307
|
+
property :predicate, as: 'predicate', class: Google::Apis::ContaineranalysisV1::SbomReferenceIntotoPredicate, decorator: Google::Apis::ContaineranalysisV1::SbomReferenceIntotoPredicate::Representation
|
2308
|
+
|
2309
|
+
property :predicate_type, as: 'predicateType'
|
2310
|
+
collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1::Subject, decorator: Google::Apis::ContaineranalysisV1::Subject::Representation
|
2311
|
+
|
2312
|
+
end
|
2313
|
+
end
|
2314
|
+
|
2315
|
+
class SbomReferenceIntotoPredicate
|
2316
|
+
# @private
|
2317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2318
|
+
hash :digest, as: 'digest'
|
2319
|
+
property :location, as: 'location'
|
2320
|
+
property :mime_type, as: 'mimeType'
|
2321
|
+
property :referrer_id, as: 'referrerId'
|
2322
|
+
end
|
2323
|
+
end
|
2324
|
+
|
2297
2325
|
class SetIamPolicyRequest
|
2298
2326
|
# @private
|
2299
2327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -813,40 +813,6 @@ module Google
|
|
813
813
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
814
814
|
execute_or_queue_command(command, &block)
|
815
815
|
end
|
816
|
-
|
817
|
-
# Gets a summary of the packages within a given resource.
|
818
|
-
# @param [String] name
|
819
|
-
# Required. The name of the resource to get a packages summary for in the form
|
820
|
-
# of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.
|
821
|
-
# @param [Google::Apis::ContaineranalysisV1::GeneratePackagesSummaryRequest] generate_packages_summary_request_object
|
822
|
-
# @param [String] fields
|
823
|
-
# Selector specifying which fields to include in a partial response.
|
824
|
-
# @param [String] quota_user
|
825
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
826
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
827
|
-
# @param [Google::Apis::RequestOptions] options
|
828
|
-
# Request-specific options
|
829
|
-
#
|
830
|
-
# @yield [result, err] Result & error if block supplied
|
831
|
-
# @yieldparam result [Google::Apis::ContaineranalysisV1::PackagesSummaryResponse] parsed result object
|
832
|
-
# @yieldparam err [StandardError] error object if request failed
|
833
|
-
#
|
834
|
-
# @return [Google::Apis::ContaineranalysisV1::PackagesSummaryResponse]
|
835
|
-
#
|
836
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
837
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
838
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
839
|
-
def generate_resource_packages_summary(name, generate_packages_summary_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
840
|
-
command = make_simple_command(:post, 'v1/{+name}:generatePackagesSummary', options)
|
841
|
-
command.request_representation = Google::Apis::ContaineranalysisV1::GeneratePackagesSummaryRequest::Representation
|
842
|
-
command.request_object = generate_packages_summary_request_object
|
843
|
-
command.response_representation = Google::Apis::ContaineranalysisV1::PackagesSummaryResponse::Representation
|
844
|
-
command.response_class = Google::Apis::ContaineranalysisV1::PackagesSummaryResponse
|
845
|
-
command.params['name'] = name unless name.nil?
|
846
|
-
command.query['fields'] = fields unless fields.nil?
|
847
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
848
|
-
execute_or_queue_command(command, &block)
|
849
|
-
end
|
850
816
|
|
851
817
|
protected
|
852
818
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-containeranalysis_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.34.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-05-14 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.34.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|