google-apis-containeranalysis_v1alpha1 0.47.0 → 0.49.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: 07ec6e3938a44a3c19f0a94aee8336f58659399b2cd7dc10c6384fda15ae65e5
4
- data.tar.gz: 9da2278630c4906c55b25caca11bb5219d6b8dc95be9d43dda41db3372372a7e
3
+ metadata.gz: b33086bc30d5ee75573fb7ac7abba3c1adafb2c207595174e9ca8ad248f729f1
4
+ data.tar.gz: 6459b853fe858a80eb13aa950bb86f8ace64c4faeceb178a6bb6994cfc02056f
5
5
  SHA512:
6
- metadata.gz: e051baf03d38eb0465ffc19adc1b776e7342d9f3e904d35a74710b383ce5ebe00f8103bca0856e584012f0e3cbe9422652ea66864b2392b9d0e596e6e48403bc
7
- data.tar.gz: 7adcdb5392abbb8642120383da63943eada47b3711c2c4b3fbe909917411b166d5f0bd8049af2b2b6c4dfff80bb8ff3eedba7180ec3465e3a0ed5e838ff446c2
6
+ metadata.gz: 970a0208f451934eba851b833f9d607f8e89690ceb211466f7af81b49de621919e66179da864938ba6854e0f64caad056e7e2c5afd443348cc4327cd1a14ac99
7
+ data.tar.gz: d25fc64ebc183159069f89619386242d6ed1805d0842dbef6607b41e912bd9d30632bdab6ed162d24249ebe2efb9bb1b62aee36bee06a6065e23f0757df1874e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.49.0 (2023-07-16)
4
+
5
+ * Regenerated from discovery document revision 20230707
6
+
7
+ ### v0.48.0 (2023-05-28)
8
+
9
+ * Regenerated from discovery document revision 20230519
10
+
3
11
  ### v0.47.0 (2023-04-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20230414
@@ -1409,7 +1409,7 @@ module Google
1409
1409
  # @return [String]
1410
1410
  attr_accessor :log_url
1411
1411
 
1412
- # Google Cloud Storage bucket where logs should be written (see [Bucket Name
1412
+ # Cloud Storage bucket where logs should be written (see [Bucket Name
1413
1413
  # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
1414
1414
  # ). Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`.
1415
1415
  # Corresponds to the JSON property `logsBucket`
@@ -1655,7 +1655,7 @@ module Google
1655
1655
  # @return [Array<String>]
1656
1656
  attr_accessor :env
1657
1657
 
1658
- # Option to define build log streaming behavior to Google Cloud Storage.
1658
+ # Option to define build log streaming behavior to Cloud Storage.
1659
1659
  # Corresponds to the JSON property `logStreamingOption`
1660
1660
  # @return [String]
1661
1661
  attr_accessor :log_streaming_option
@@ -2335,14 +2335,14 @@ module Google
2335
2335
  # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource]
2336
2336
  attr_accessor :repo_source
2337
2337
 
2338
- # Location of the source in an archive file in Google Cloud Storage.
2338
+ # Location of the source in an archive file in Cloud Storage.
2339
2339
  # Corresponds to the JSON property `storageSource`
2340
2340
  # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource]
2341
2341
  attr_accessor :storage_source
2342
2342
 
2343
- # Location of the source manifest in Google Cloud Storage. This feature is in
2344
- # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
2345
- # builders/tree/master/gcs-fetcher).
2343
+ # Location of the source manifest in Cloud Storage. This feature is in Preview;
2344
+ # see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/
2345
+ # tree/master/gcs-fetcher).
2346
2346
  # Corresponds to the JSON property `storageSourceManifest`
2347
2347
  # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest]
2348
2348
  attr_accessor :storage_source_manifest
@@ -2381,14 +2381,14 @@ module Google
2381
2381
  # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1RepoSource]
2382
2382
  attr_accessor :resolved_repo_source
2383
2383
 
2384
- # Location of the source in an archive file in Google Cloud Storage.
2384
+ # Location of the source in an archive file in Cloud Storage.
2385
2385
  # Corresponds to the JSON property `resolvedStorageSource`
2386
2386
  # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource]
2387
2387
  attr_accessor :resolved_storage_source
2388
2388
 
2389
- # Location of the source manifest in Google Cloud Storage. This feature is in
2390
- # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
2391
- # builders/tree/master/gcs-fetcher).
2389
+ # Location of the source manifest in Cloud Storage. This feature is in Preview;
2390
+ # see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/
2391
+ # tree/master/gcs-fetcher).
2392
2392
  # Corresponds to the JSON property `resolvedStorageSourceManifest`
2393
2393
  # @return [Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest]
2394
2394
  attr_accessor :resolved_storage_source_manifest
@@ -2406,25 +2406,24 @@ module Google
2406
2406
  end
2407
2407
  end
2408
2408
 
2409
- # Location of the source in an archive file in Google Cloud Storage.
2409
+ # Location of the source in an archive file in Cloud Storage.
2410
2410
  class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSource
2411
2411
  include Google::Apis::Core::Hashable
2412
2412
 
2413
- # Google Cloud Storage bucket containing the source (see [Bucket Name
2414
- # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
2415
- # ).
2413
+ # Cloud Storage bucket containing the source (see [Bucket Name Requirements](
2414
+ # https://cloud.google.com/storage/docs/bucket-naming#requirements)).
2416
2415
  # Corresponds to the JSON property `bucket`
2417
2416
  # @return [String]
2418
2417
  attr_accessor :bucket
2419
2418
 
2420
- # Google Cloud Storage generation for the object. If the generation is omitted,
2421
- # the latest generation will be used.
2419
+ # Cloud Storage generation for the object. If the generation is omitted, the
2420
+ # latest generation will be used.
2422
2421
  # Corresponds to the JSON property `generation`
2423
2422
  # @return [Fixnum]
2424
2423
  attr_accessor :generation
2425
2424
 
2426
- # Google Cloud Storage object containing the source. This object must be a
2427
- # zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build.
2425
+ # Cloud Storage object containing the source. This object must be a zipped (`.
2426
+ # zip`) or gzipped archive file (`.tar.gz`) containing source to build.
2428
2427
  # Corresponds to the JSON property `object`
2429
2428
  # @return [String]
2430
2429
  attr_accessor :object
@@ -2441,27 +2440,27 @@ module Google
2441
2440
  end
2442
2441
  end
2443
2442
 
2444
- # Location of the source manifest in Google Cloud Storage. This feature is in
2445
- # Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-
2446
- # builders/tree/master/gcs-fetcher).
2443
+ # Location of the source manifest in Cloud Storage. This feature is in Preview;
2444
+ # see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/
2445
+ # tree/master/gcs-fetcher).
2447
2446
  class ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest
2448
2447
  include Google::Apis::Core::Hashable
2449
2448
 
2450
- # Google Cloud Storage bucket containing the source manifest (see [Bucket Name
2449
+ # Cloud Storage bucket containing the source manifest (see [Bucket Name
2451
2450
  # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
2452
2451
  # ).
2453
2452
  # Corresponds to the JSON property `bucket`
2454
2453
  # @return [String]
2455
2454
  attr_accessor :bucket
2456
2455
 
2457
- # Google Cloud Storage generation for the object. If the generation is omitted,
2458
- # the latest generation will be used.
2456
+ # Cloud Storage generation for the object. If the generation is omitted, the
2457
+ # latest generation will be used.
2459
2458
  # Corresponds to the JSON property `generation`
2460
2459
  # @return [Fixnum]
2461
2460
  attr_accessor :generation
2462
2461
 
2463
- # Google Cloud Storage object containing the source manifest. This object must
2464
- # be a JSON file.
2462
+ # Cloud Storage object containing the source manifest. This object must be a
2463
+ # JSON file.
2465
2464
  # Corresponds to the JSON property `object`
2466
2465
  # @return [String]
2467
2466
  attr_accessor :object
@@ -3024,6 +3023,11 @@ module Google
3024
3023
  # @return [Google::Apis::ContaineranalysisV1alpha1::Operation]
3025
3024
  attr_accessor :operation
3026
3025
 
3026
+ # The status of an SBOM generation.
3027
+ # Corresponds to the JSON property `sbomStatus`
3028
+ # @return [Google::Apis::ContaineranalysisV1alpha1::SbomStatus]
3029
+ attr_accessor :sbom_status
3030
+
3027
3031
  def initialize(**args)
3028
3032
  update!(**args)
3029
3033
  end
@@ -3039,6 +3043,7 @@ module Google
3039
3043
  @cpe = args[:cpe] if args.key?(:cpe)
3040
3044
  @last_scan_time = args[:last_scan_time] if args.key?(:last_scan_time)
3041
3045
  @operation = args[:operation] if args.key?(:operation)
3046
+ @sbom_status = args[:sbom_status] if args.key?(:sbom_status)
3042
3047
  end
3043
3048
  end
3044
3049
 
@@ -5914,6 +5919,32 @@ module Google
5914
5919
  end
5915
5920
  end
5916
5921
 
5922
+ # The status of an SBOM generation.
5923
+ class SbomStatus
5924
+ include Google::Apis::Core::Hashable
5925
+
5926
+ # Output only. If there was an error generating an SBOM, this will indicate what
5927
+ # that error was.
5928
+ # Corresponds to the JSON property `error`
5929
+ # @return [String]
5930
+ attr_accessor :error
5931
+
5932
+ # Output only. The progress of the SBOM generation.
5933
+ # Corresponds to the JSON property `sbomState`
5934
+ # @return [String]
5935
+ attr_accessor :sbom_state
5936
+
5937
+ def initialize(**args)
5938
+ update!(**args)
5939
+ end
5940
+
5941
+ # Update properties of this object
5942
+ def update!(**args)
5943
+ @error = args[:error] if args.key?(:error)
5944
+ @sbom_state = args[:sbom_state] if args.key?(:sbom_state)
5945
+ end
5946
+ end
5947
+
5917
5948
  # The actual payload that contains the SBOM Reference data. The payload follows
5918
5949
  # the intoto statement specification. See https://github.com/in-toto/attestation/
5919
5950
  # blob/main/spec/v1.0/statement.md for more details.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1alpha1
18
18
  # Version of the google-apis-containeranalysis_v1alpha1 gem
19
- GEM_VERSION = "0.47.0"
19
+ GEM_VERSION = "0.49.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 = "20230414"
25
+ REVISION = "20230707"
26
26
  end
27
27
  end
28
28
  end
@@ -808,6 +808,12 @@ module Google
808
808
  include Google::Apis::Core::JsonObjectSupport
809
809
  end
810
810
 
811
+ class SbomStatus
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
811
817
  class SbomReferenceIntotoPayload
812
818
  class Representation < Google::Apis::Core::JsonRepresentation; end
813
819
 
@@ -1738,6 +1744,8 @@ module Google
1738
1744
  property :last_scan_time, as: 'lastScanTime'
1739
1745
  property :operation, as: 'operation', class: Google::Apis::ContaineranalysisV1alpha1::Operation, decorator: Google::Apis::ContaineranalysisV1alpha1::Operation::Representation
1740
1746
 
1747
+ property :sbom_status, as: 'sbomStatus', class: Google::Apis::ContaineranalysisV1alpha1::SbomStatus, decorator: Google::Apis::ContaineranalysisV1alpha1::SbomStatus::Representation
1748
+
1741
1749
  end
1742
1750
  end
1743
1751
 
@@ -2496,6 +2504,14 @@ module Google
2496
2504
  end
2497
2505
  end
2498
2506
 
2507
+ class SbomStatus
2508
+ # @private
2509
+ class Representation < Google::Apis::Core::JsonRepresentation
2510
+ property :error, as: 'error'
2511
+ property :sbom_state, as: 'sbomState'
2512
+ end
2513
+ end
2514
+
2499
2515
  class SbomReferenceIntotoPayload
2500
2516
  # @private
2501
2517
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.49.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-23 00:00:00.000000000 Z
11
+ date: 2023-07-16 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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.49.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []