google-apis-containeranalysis_v1 0.33.0 → 0.34.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: e89313dc2b89adf5c62898fe91faf169b4684dabcfee52d3e930021a783b5785
4
- data.tar.gz: 897850d67046c9e893ba70f3504387fc32eddadbaab4cffe83cf1bf1ed973399
3
+ metadata.gz: e374533f5b66c400fa46debcf8347c097d4d6e7e9cbddbaa55c47254baccf188
4
+ data.tar.gz: 1ec378d77e628fdb31a837ff7624d3292dc5d95f1de7b593af41f873593ac2d5
5
5
  SHA512:
6
- metadata.gz: a93643cabdca4e71dc1eb1ed4df67105327bd8e16b60020f24828f02186a93379953abd9937ab6c2b83b1b30f8f58bca37d94d6d5c688694e95a799751dd8d3d
7
- data.tar.gz: 0a882caa64aa38ea85c7ce027a75c51f889d92210d20503c76127892696bef95ea74bf1990027e260ed9b479bbeb0f2ae8b80d212e67616f758a7c43fc90e60a
6
+ metadata.gz: '0416877ec7ed3d2f9483dfbcbfbeff0096d5185157bd938993ea117f4415cc9af0ec442d6612bfb71f9da7be925237a521233f02b418f8f59b07523d541fcc31'
7
+ data.tar.gz: 93d730db315776fe4b4980484d077e5a92a3a07b28a7560afc8b7d3ace71d4c822c08c51e370c7a44184907362f6bd4fd6f78ef052e6b8e6636115d7b3f29984
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.33.0 (2023-04-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20230421
@@ -4435,6 +4435,11 @@ module Google
4435
4435
  # @return [Array<Google::Apis::ContaineranalysisV1::RelatedUrl>]
4436
4436
  attr_accessor :related_url
4437
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
+
4438
4443
  # A one sentence description of this note.
4439
4444
  # Corresponds to the JSON property `shortDescription`
4440
4445
  # @return [String]
@@ -4486,6 +4491,7 @@ module Google
4486
4491
  @package = args[:package] if args.key?(:package)
4487
4492
  @related_note_names = args[:related_note_names] if args.key?(:related_note_names)
4488
4493
  @related_url = args[:related_url] if args.key?(:related_url)
4494
+ @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
4489
4495
  @short_description = args[:short_description] if args.key?(:short_description)
4490
4496
  @update_time = args[:update_time] if args.key?(:update_time)
4491
4497
  @upgrade = args[:upgrade] if args.key?(:upgrade)
@@ -4589,6 +4595,13 @@ module Google
4589
4595
  # @return [String]
4590
4596
  attr_accessor :resource_uri
4591
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
+
4592
4605
  # Output only. The time this occurrence was last updated.
4593
4606
  # Corresponds to the JSON property `updateTime`
4594
4607
  # @return [String]
@@ -4629,6 +4642,7 @@ module Google
4629
4642
  @package = args[:package] if args.key?(:package)
4630
4643
  @remediation = args[:remediation] if args.key?(:remediation)
4631
4644
  @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
4645
+ @sbom_reference = args[:sbom_reference] if args.key?(:sbom_reference)
4632
4646
  @update_time = args[:update_time] if args.key?(:update_time)
4633
4647
  @upgrade = args[:upgrade] if args.key?(:upgrade)
4634
4648
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
@@ -5186,6 +5200,145 @@ module Google
5186
5200
  end
5187
5201
  end
5188
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
+
5189
5342
  # Request message for `SetIamPolicy` method.
5190
5343
  class SetIamPolicyRequest
5191
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.33.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 = "20230421"
25
+ REVISION = "20230505"
26
26
  end
27
27
  end
28
28
  end
@@ -742,6 +742,30 @@ module Google
742
742
  include Google::Apis::Core::JsonObjectSupport
743
743
  end
744
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
+
745
769
  class SetIamPolicyRequest
746
770
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
771
 
@@ -2077,6 +2101,8 @@ module Google
2077
2101
  collection :related_note_names, as: 'relatedNoteNames'
2078
2102
  collection :related_url, as: 'relatedUrl', class: Google::Apis::ContaineranalysisV1::RelatedUrl, decorator: Google::Apis::ContaineranalysisV1::RelatedUrl::Representation
2079
2103
 
2104
+ property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1::SbomReferenceNote, decorator: Google::Apis::ContaineranalysisV1::SbomReferenceNote::Representation
2105
+
2080
2106
  property :short_description, as: 'shortDescription'
2081
2107
  property :update_time, as: 'updateTime'
2082
2108
  property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1::UpgradeNote, decorator: Google::Apis::ContaineranalysisV1::UpgradeNote::Representation
@@ -2115,6 +2141,8 @@ module Google
2115
2141
 
2116
2142
  property :remediation, as: 'remediation'
2117
2143
  property :resource_uri, as: 'resourceUri'
2144
+ property :sbom_reference, as: 'sbomReference', class: Google::Apis::ContaineranalysisV1::SbomReferenceOccurrence, decorator: Google::Apis::ContaineranalysisV1::SbomReferenceOccurrence::Representation
2145
+
2118
2146
  property :update_time, as: 'updateTime'
2119
2147
  property :upgrade, as: 'upgrade', class: Google::Apis::ContaineranalysisV1::UpgradeOccurrence, decorator: Google::Apis::ContaineranalysisV1::UpgradeOccurrence::Representation
2120
2148
 
@@ -2253,6 +2281,47 @@ module Google
2253
2281
  end
2254
2282
  end
2255
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
+
2256
2325
  class SetIamPolicyRequest
2257
2326
  # @private
2258
2327
  class Representation < Google::Apis::Core::JsonRepresentation
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.33.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-04-30 00:00:00.000000000 Z
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.33.0
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: []