google-apis-containeranalysis_v1alpha1 0.12.0 → 0.16.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: 399bd818f7b67e252cadc272628e476142e10933ec5485ad3a4601262433690f
|
4
|
+
data.tar.gz: 6ada8db424a2a528c35da20a4795f13e555248b60acbc4c5336a023c4fe8a08a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc925a0667910b74ac08b8e84749f2a7754a0613bdd45ed7ca40656460c4957851dad49c71c0b4ada120d673c790c572fe09001482bcc96b2ec2954ab142a98a
|
7
|
+
data.tar.gz: faf83b8e62f182df62421243e599dbfa76a02bcfc08d9125f9291fa0acf33f978a247d30c42eeb7483383227d427507b6fc930c84ab3a0f16e06fdacaf475332
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1alpha1
|
2
2
|
|
3
|
+
### v0.16.0 (2021-10-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211015
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.15.0 (2021-09-16)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210913
|
11
|
+
|
12
|
+
### v0.14.0 (2021-09-02)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210825
|
15
|
+
|
16
|
+
### v0.13.0 (2021-08-26)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210820
|
19
|
+
|
3
20
|
### v0.12.0 (2021-08-19)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210813
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Containeranalysis service in particular.)
|
67
67
|
|
@@ -184,7 +184,7 @@ module Google
|
|
184
184
|
end
|
185
185
|
end
|
186
186
|
|
187
|
-
# Associates `members
|
187
|
+
# Associates `members`, or principals, with a `role`.
|
188
188
|
class Binding
|
189
189
|
include Google::Apis::Core::Hashable
|
190
190
|
|
@@ -207,7 +207,7 @@ module Google
|
|
207
207
|
# @return [Google::Apis::ContaineranalysisV1alpha1::Expr]
|
208
208
|
attr_accessor :condition
|
209
209
|
|
210
|
-
# Specifies the
|
210
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
211
211
|
# members` can have the following values: * `allUsers`: A special identifier
|
212
212
|
# that represents anyone who is on the internet; with or without a Google
|
213
213
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -237,8 +237,8 @@ module Google
|
|
237
237
|
# @return [Array<String>]
|
238
238
|
attr_accessor :members
|
239
239
|
|
240
|
-
# Role that is assigned to `members
|
241
|
-
#
|
240
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
241
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
242
242
|
# Corresponds to the JSON property `role`
|
243
243
|
# @return [String]
|
244
244
|
attr_accessor :role
|
@@ -438,6 +438,141 @@ module Google
|
|
438
438
|
end
|
439
439
|
end
|
440
440
|
|
441
|
+
# A step in the build pipeline.
|
442
|
+
class BuildStep
|
443
|
+
include Google::Apis::Core::Hashable
|
444
|
+
|
445
|
+
# A list of arguments that will be presented to the step when it is started. If
|
446
|
+
# the image used to run the step's container has an entrypoint, the `args` are
|
447
|
+
# used as arguments to that entrypoint. If the image does not define an
|
448
|
+
# entrypoint, the first element in args is used as the entrypoint, and the
|
449
|
+
# remainder will be used as arguments.
|
450
|
+
# Corresponds to the JSON property `args`
|
451
|
+
# @return [Array<String>]
|
452
|
+
attr_accessor :args
|
453
|
+
|
454
|
+
# Working directory to use when running this step's container. If this value is
|
455
|
+
# a relative path, it is relative to the build's working directory. If this
|
456
|
+
# value is absolute, it may be outside the build's working directory, in which
|
457
|
+
# case the contents of the path may not be persisted across build step
|
458
|
+
# executions, unless a `volume` for that path is specified. If the build
|
459
|
+
# specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies
|
460
|
+
# an absolute path, the `RepoSource` `dir` is ignored for the step's execution.
|
461
|
+
# Corresponds to the JSON property `dir`
|
462
|
+
# @return [String]
|
463
|
+
attr_accessor :dir
|
464
|
+
|
465
|
+
# Entrypoint to be used instead of the build step image's default entrypoint. If
|
466
|
+
# unset, the image's default entrypoint is used.
|
467
|
+
# Corresponds to the JSON property `entrypoint`
|
468
|
+
# @return [String]
|
469
|
+
attr_accessor :entrypoint
|
470
|
+
|
471
|
+
# A list of environment variable definitions to be used when running a step. The
|
472
|
+
# elements are of the form "KEY=VALUE" for the environment variable "KEY" being
|
473
|
+
# given the value "VALUE".
|
474
|
+
# Corresponds to the JSON property `env`
|
475
|
+
# @return [Array<String>]
|
476
|
+
attr_accessor :env
|
477
|
+
|
478
|
+
# Unique identifier for this build step, used in `wait_for` to reference this
|
479
|
+
# build step as a dependency.
|
480
|
+
# Corresponds to the JSON property `id`
|
481
|
+
# @return [String]
|
482
|
+
attr_accessor :id
|
483
|
+
|
484
|
+
# Required. The name of the container image that will run this particular build
|
485
|
+
# step. If the image is available in the host's Docker daemon's cache, it will
|
486
|
+
# be run directly. If not, the host will attempt to pull the image first, using
|
487
|
+
# the builder service account's credentials if necessary. The Docker daemon's
|
488
|
+
# cache will already have the latest versions of all of the officially supported
|
489
|
+
# build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://
|
490
|
+
# github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also
|
491
|
+
# have cached many of the layers for some popular images, like "ubuntu", "debian"
|
492
|
+
# , but they will be refreshed at the time you attempt to use them. If you built
|
493
|
+
# an image in a previous build step, it will be stored in the host's Docker
|
494
|
+
# daemon's cache and is available to use as the name for a later build step.
|
495
|
+
# Corresponds to the JSON property `name`
|
496
|
+
# @return [String]
|
497
|
+
attr_accessor :name
|
498
|
+
|
499
|
+
# Start and end times for a build execution phase.
|
500
|
+
# Corresponds to the JSON property `pullTiming`
|
501
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::TimeSpan]
|
502
|
+
attr_accessor :pull_timing
|
503
|
+
|
504
|
+
# A shell script to be executed in the step. When script is provided, the user
|
505
|
+
# cannot specify the entrypoint or args.
|
506
|
+
# Corresponds to the JSON property `script`
|
507
|
+
# @return [String]
|
508
|
+
attr_accessor :script
|
509
|
+
|
510
|
+
# A list of environment variables which are encrypted using a Cloud Key
|
511
|
+
# Management Service crypto key. These values must be specified in the build's `
|
512
|
+
# Secret`.
|
513
|
+
# Corresponds to the JSON property `secretEnv`
|
514
|
+
# @return [Array<String>]
|
515
|
+
attr_accessor :secret_env
|
516
|
+
|
517
|
+
# Output only. Status of the build step. At this time, build step status is only
|
518
|
+
# updated on build completion; step status is not updated in real-time as the
|
519
|
+
# build progresses.
|
520
|
+
# Corresponds to the JSON property `status`
|
521
|
+
# @return [String]
|
522
|
+
attr_accessor :status
|
523
|
+
|
524
|
+
# Time limit for executing this build step. If not defined, the step has no time
|
525
|
+
# limit and will be allowed to continue to run until either it completes or the
|
526
|
+
# build itself times out.
|
527
|
+
# Corresponds to the JSON property `timeout`
|
528
|
+
# @return [String]
|
529
|
+
attr_accessor :timeout
|
530
|
+
|
531
|
+
# Start and end times for a build execution phase.
|
532
|
+
# Corresponds to the JSON property `timing`
|
533
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::TimeSpan]
|
534
|
+
attr_accessor :timing
|
535
|
+
|
536
|
+
# List of volumes to mount into the build step. Each volume is created as an
|
537
|
+
# empty volume prior to execution of the build step. Upon completion of the
|
538
|
+
# build, volumes and their contents are discarded. Using a named volume in only
|
539
|
+
# one step is not valid as it is indicative of a build request with an incorrect
|
540
|
+
# configuration.
|
541
|
+
# Corresponds to the JSON property `volumes`
|
542
|
+
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::Volume>]
|
543
|
+
attr_accessor :volumes
|
544
|
+
|
545
|
+
# The ID(s) of the step(s) that this build step depends on. This build step will
|
546
|
+
# not start until all the build steps in `wait_for` have completed successfully.
|
547
|
+
# If `wait_for` is empty, this build step will start when all previous build
|
548
|
+
# steps in the `Build.Steps` list have completed successfully.
|
549
|
+
# Corresponds to the JSON property `waitFor`
|
550
|
+
# @return [Array<String>]
|
551
|
+
attr_accessor :wait_for
|
552
|
+
|
553
|
+
def initialize(**args)
|
554
|
+
update!(**args)
|
555
|
+
end
|
556
|
+
|
557
|
+
# Update properties of this object
|
558
|
+
def update!(**args)
|
559
|
+
@args = args[:args] if args.key?(:args)
|
560
|
+
@dir = args[:dir] if args.key?(:dir)
|
561
|
+
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
562
|
+
@env = args[:env] if args.key?(:env)
|
563
|
+
@id = args[:id] if args.key?(:id)
|
564
|
+
@name = args[:name] if args.key?(:name)
|
565
|
+
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
|
566
|
+
@script = args[:script] if args.key?(:script)
|
567
|
+
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
568
|
+
@status = args[:status] if args.key?(:status)
|
569
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
570
|
+
@timing = args[:timing] if args.key?(:timing)
|
571
|
+
@volumes = args[:volumes] if args.key?(:volumes)
|
572
|
+
@wait_for = args[:wait_for] if args.key?(:wait_for)
|
573
|
+
end
|
574
|
+
end
|
575
|
+
|
441
576
|
# Note holding the version of the provider's builder and the signature of the
|
442
577
|
# provenance message in linked BuildDetails.
|
443
578
|
class BuildType
|
@@ -1517,18 +1652,10 @@ module Google
|
|
1517
1652
|
# @return [String]
|
1518
1653
|
attr_accessor :id
|
1519
1654
|
|
1520
|
-
#
|
1521
|
-
#
|
1522
|
-
# License for a file
|
1523
|
-
# Corresponds to the JSON property `licenseComments`
|
1524
|
-
# @return [String]
|
1525
|
-
attr_accessor :license_comments
|
1526
|
-
|
1527
|
-
# This field contains the license the SPDX file creator has concluded as
|
1528
|
-
# governing the file or alternative values if the governing license cannot be
|
1529
|
-
# determined
|
1655
|
+
# License information: https://spdx.github.io/spdx-spec/3-package-information/#
|
1656
|
+
# 315-declared-license
|
1530
1657
|
# Corresponds to the JSON property `licenseConcluded`
|
1531
|
-
# @return [
|
1658
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
1532
1659
|
attr_accessor :license_concluded
|
1533
1660
|
|
1534
1661
|
# This field provides a place for the SPDX file creator to record license
|
@@ -1549,7 +1676,6 @@ module Google
|
|
1549
1676
|
@copyright = args[:copyright] if args.key?(:copyright)
|
1550
1677
|
@files_license_info = args[:files_license_info] if args.key?(:files_license_info)
|
1551
1678
|
@id = args[:id] if args.key?(:id)
|
1552
|
-
@license_comments = args[:license_comments] if args.key?(:license_comments)
|
1553
1679
|
@license_concluded = args[:license_concluded] if args.key?(:license_concluded)
|
1554
1680
|
@notice = args[:notice] if args.key?(:notice)
|
1555
1681
|
end
|
@@ -2049,6 +2175,33 @@ module Google
|
|
2049
2175
|
end
|
2050
2176
|
end
|
2051
2177
|
|
2178
|
+
# License information: https://spdx.github.io/spdx-spec/3-package-information/#
|
2179
|
+
# 315-declared-license
|
2180
|
+
class License
|
2181
|
+
include Google::Apis::Core::Hashable
|
2182
|
+
|
2183
|
+
# Comments
|
2184
|
+
# Corresponds to the JSON property `comments`
|
2185
|
+
# @return [String]
|
2186
|
+
attr_accessor :comments
|
2187
|
+
|
2188
|
+
# Expression: https://spdx.github.io/spdx-spec/appendix-IV-SPDX-license-
|
2189
|
+
# expressions/
|
2190
|
+
# Corresponds to the JSON property `expression`
|
2191
|
+
# @return [String]
|
2192
|
+
attr_accessor :expression
|
2193
|
+
|
2194
|
+
def initialize(**args)
|
2195
|
+
update!(**args)
|
2196
|
+
end
|
2197
|
+
|
2198
|
+
# Update properties of this object
|
2199
|
+
def update!(**args)
|
2200
|
+
@comments = args[:comments] if args.key?(:comments)
|
2201
|
+
@expression = args[:expression] if args.key?(:expression)
|
2202
|
+
end
|
2203
|
+
end
|
2204
|
+
|
2052
2205
|
# Response including listed occurrences for a note.
|
2053
2206
|
class ListNoteOccurrencesResponse
|
2054
2207
|
include Google::Apis::Core::Hashable
|
@@ -2377,10 +2530,10 @@ module Google
|
|
2377
2530
|
# @return [Google::Apis::ContaineranalysisV1alpha1::FileNote]
|
2378
2531
|
attr_accessor :spdx_file
|
2379
2532
|
|
2380
|
-
#
|
2533
|
+
# PackageInfoNote represents an SPDX Package Information section: https://spdx.
|
2381
2534
|
# github.io/spdx-spec/3-package-information/
|
2382
2535
|
# Corresponds to the JSON property `spdxPackage`
|
2383
|
-
# @return [Google::Apis::ContaineranalysisV1alpha1::
|
2536
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::PackageInfoNote]
|
2384
2537
|
attr_accessor :spdx_package
|
2385
2538
|
|
2386
2539
|
# RelationshipNote represents an SPDX Relationship section: https://spdx.github.
|
@@ -2550,10 +2703,10 @@ module Google
|
|
2550
2703
|
# @return [Google::Apis::ContaineranalysisV1alpha1::FileOccurrence]
|
2551
2704
|
attr_accessor :spdx_file
|
2552
2705
|
|
2553
|
-
#
|
2554
|
-
# github.io/spdx-spec/3-package-information/
|
2706
|
+
# PackageInfoOccurrence represents an SPDX Package Information section: https://
|
2707
|
+
# spdx.github.io/spdx-spec/3-package-information/
|
2555
2708
|
# Corresponds to the JSON property `spdxPackage`
|
2556
|
-
# @return [Google::Apis::ContaineranalysisV1alpha1::
|
2709
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence]
|
2557
2710
|
attr_accessor :spdx_package
|
2558
2711
|
|
2559
2712
|
# RelationshipOccurrence represents an SPDX Relationship section: https://spdx.
|
@@ -2700,41 +2853,9 @@ module Google
|
|
2700
2853
|
end
|
2701
2854
|
end
|
2702
2855
|
|
2703
|
-
#
|
2704
|
-
# fix (if one is available).
|
2705
|
-
class PackageIssue
|
2706
|
-
include Google::Apis::Core::Hashable
|
2707
|
-
|
2708
|
-
# The location of the vulnerability
|
2709
|
-
# Corresponds to the JSON property `affectedLocation`
|
2710
|
-
# @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation]
|
2711
|
-
attr_accessor :affected_location
|
2712
|
-
|
2713
|
-
# The location of the vulnerability
|
2714
|
-
# Corresponds to the JSON property `fixedLocation`
|
2715
|
-
# @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation]
|
2716
|
-
attr_accessor :fixed_location
|
2717
|
-
|
2718
|
-
#
|
2719
|
-
# Corresponds to the JSON property `severityName`
|
2720
|
-
# @return [String]
|
2721
|
-
attr_accessor :severity_name
|
2722
|
-
|
2723
|
-
def initialize(**args)
|
2724
|
-
update!(**args)
|
2725
|
-
end
|
2726
|
-
|
2727
|
-
# Update properties of this object
|
2728
|
-
def update!(**args)
|
2729
|
-
@affected_location = args[:affected_location] if args.key?(:affected_location)
|
2730
|
-
@fixed_location = args[:fixed_location] if args.key?(:fixed_location)
|
2731
|
-
@severity_name = args[:severity_name] if args.key?(:severity_name)
|
2732
|
-
end
|
2733
|
-
end
|
2734
|
-
|
2735
|
-
# PackageNote represents an SPDX Package Information section: https://spdx.
|
2856
|
+
# PackageInfoNote represents an SPDX Package Information section: https://spdx.
|
2736
2857
|
# github.io/spdx-spec/3-package-information/
|
2737
|
-
class
|
2858
|
+
class PackageInfoNote
|
2738
2859
|
include Google::Apis::Core::Hashable
|
2739
2860
|
|
2740
2861
|
# Indicates whether the file content of this package has been available for or
|
@@ -2793,9 +2914,10 @@ module Google
|
|
2793
2914
|
# @return [String]
|
2794
2915
|
attr_accessor :home_page
|
2795
2916
|
|
2796
|
-
#
|
2917
|
+
# License information: https://spdx.github.io/spdx-spec/3-package-information/#
|
2918
|
+
# 315-declared-license
|
2797
2919
|
# Corresponds to the JSON property `licenseDeclared`
|
2798
|
-
# @return [
|
2920
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
2799
2921
|
attr_accessor :license_declared
|
2800
2922
|
|
2801
2923
|
# If the package identified in the SPDX file originated from a different person
|
@@ -2805,6 +2927,11 @@ module Google
|
|
2805
2927
|
# @return [String]
|
2806
2928
|
attr_accessor :originator
|
2807
2929
|
|
2930
|
+
# The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
|
2931
|
+
# Corresponds to the JSON property `packageType`
|
2932
|
+
# @return [String]
|
2933
|
+
attr_accessor :package_type
|
2934
|
+
|
2808
2935
|
# A short description of the package
|
2809
2936
|
# Corresponds to the JSON property `summaryDescription`
|
2810
2937
|
# @return [String]
|
@@ -2851,6 +2978,7 @@ module Google
|
|
2851
2978
|
@home_page = args[:home_page] if args.key?(:home_page)
|
2852
2979
|
@license_declared = args[:license_declared] if args.key?(:license_declared)
|
2853
2980
|
@originator = args[:originator] if args.key?(:originator)
|
2981
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
2854
2982
|
@summary_description = args[:summary_description] if args.key?(:summary_description)
|
2855
2983
|
@supplier = args[:supplier] if args.key?(:supplier)
|
2856
2984
|
@title = args[:title] if args.key?(:title)
|
@@ -2859,9 +2987,9 @@ module Google
|
|
2859
2987
|
end
|
2860
2988
|
end
|
2861
2989
|
|
2862
|
-
#
|
2863
|
-
# github.io/spdx-spec/3-package-information/
|
2864
|
-
class
|
2990
|
+
# PackageInfoOccurrence represents an SPDX Package Information section: https://
|
2991
|
+
# spdx.github.io/spdx-spec/3-package-information/
|
2992
|
+
class PackageInfoOccurrence
|
2865
2993
|
include Google::Apis::Core::Hashable
|
2866
2994
|
|
2867
2995
|
# A place for the SPDX file creator to record any general comments about the
|
@@ -2876,30 +3004,51 @@ module Google
|
|
2876
3004
|
# @return [String]
|
2877
3005
|
attr_accessor :filename
|
2878
3006
|
|
3007
|
+
# Output only. Provide a place for the SPDX file creator to record a web site
|
3008
|
+
# that serves as the package's home page
|
3009
|
+
# Corresponds to the JSON property `homePage`
|
3010
|
+
# @return [String]
|
3011
|
+
attr_accessor :home_page
|
3012
|
+
|
2879
3013
|
# Uniquely identify any element in an SPDX document which may be referenced by
|
2880
3014
|
# other elements
|
2881
3015
|
# Corresponds to the JSON property `id`
|
2882
3016
|
# @return [String]
|
2883
3017
|
attr_accessor :id
|
2884
3018
|
|
2885
|
-
#
|
2886
|
-
#
|
2887
|
-
# License for a package
|
2888
|
-
# Corresponds to the JSON property `licenseComments`
|
2889
|
-
# @return [String]
|
2890
|
-
attr_accessor :license_comments
|
2891
|
-
|
2892
|
-
# package or alternative values, if the governing license cannot be determined
|
3019
|
+
# License information: https://spdx.github.io/spdx-spec/3-package-information/#
|
3020
|
+
# 315-declared-license
|
2893
3021
|
# Corresponds to the JSON property `licenseConcluded`
|
2894
|
-
# @return [
|
3022
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
2895
3023
|
attr_accessor :license_concluded
|
2896
3024
|
|
3025
|
+
# Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
|
3026
|
+
# Corresponds to the JSON property `packageType`
|
3027
|
+
# @return [String]
|
3028
|
+
attr_accessor :package_type
|
3029
|
+
|
2897
3030
|
# Provide a place for the SPDX file creator to record any relevant background
|
2898
3031
|
# information or additional comments about the origin of the package
|
2899
3032
|
# Corresponds to the JSON property `sourceInfo`
|
2900
3033
|
# @return [String]
|
2901
3034
|
attr_accessor :source_info
|
2902
3035
|
|
3036
|
+
# Output only. A short description of the package
|
3037
|
+
# Corresponds to the JSON property `summaryDescription`
|
3038
|
+
# @return [String]
|
3039
|
+
attr_accessor :summary_description
|
3040
|
+
|
3041
|
+
# Output only. Identify the full name of the package as given by the Package
|
3042
|
+
# Originator
|
3043
|
+
# Corresponds to the JSON property `title`
|
3044
|
+
# @return [String]
|
3045
|
+
attr_accessor :title
|
3046
|
+
|
3047
|
+
# Output only. Identify the version of the package
|
3048
|
+
# Corresponds to the JSON property `version`
|
3049
|
+
# @return [String]
|
3050
|
+
attr_accessor :version
|
3051
|
+
|
2903
3052
|
def initialize(**args)
|
2904
3053
|
update!(**args)
|
2905
3054
|
end
|
@@ -2908,10 +3057,61 @@ module Google
|
|
2908
3057
|
def update!(**args)
|
2909
3058
|
@comment = args[:comment] if args.key?(:comment)
|
2910
3059
|
@filename = args[:filename] if args.key?(:filename)
|
3060
|
+
@home_page = args[:home_page] if args.key?(:home_page)
|
2911
3061
|
@id = args[:id] if args.key?(:id)
|
2912
|
-
@license_comments = args[:license_comments] if args.key?(:license_comments)
|
2913
3062
|
@license_concluded = args[:license_concluded] if args.key?(:license_concluded)
|
3063
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
2914
3064
|
@source_info = args[:source_info] if args.key?(:source_info)
|
3065
|
+
@summary_description = args[:summary_description] if args.key?(:summary_description)
|
3066
|
+
@title = args[:title] if args.key?(:title)
|
3067
|
+
@version = args[:version] if args.key?(:version)
|
3068
|
+
end
|
3069
|
+
end
|
3070
|
+
|
3071
|
+
# This message wraps a location affected by a vulnerability and its associated
|
3072
|
+
# fix (if one is available).
|
3073
|
+
class PackageIssue
|
3074
|
+
include Google::Apis::Core::Hashable
|
3075
|
+
|
3076
|
+
# The location of the vulnerability
|
3077
|
+
# Corresponds to the JSON property `affectedLocation`
|
3078
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation]
|
3079
|
+
attr_accessor :affected_location
|
3080
|
+
|
3081
|
+
# Output only. The distro or language system assigned severity for this
|
3082
|
+
# vulnerability when that is available and note provider assigned severity when
|
3083
|
+
# distro or language system has not yet assigned a severity for this
|
3084
|
+
# vulnerability.
|
3085
|
+
# Corresponds to the JSON property `effectiveSeverity`
|
3086
|
+
# @return [String]
|
3087
|
+
attr_accessor :effective_severity
|
3088
|
+
|
3089
|
+
# The location of the vulnerability
|
3090
|
+
# Corresponds to the JSON property `fixedLocation`
|
3091
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation]
|
3092
|
+
attr_accessor :fixed_location
|
3093
|
+
|
3094
|
+
# The type of package (e.g. OS, MAVEN, GO).
|
3095
|
+
# Corresponds to the JSON property `packageType`
|
3096
|
+
# @return [String]
|
3097
|
+
attr_accessor :package_type
|
3098
|
+
|
3099
|
+
#
|
3100
|
+
# Corresponds to the JSON property `severityName`
|
3101
|
+
# @return [String]
|
3102
|
+
attr_accessor :severity_name
|
3103
|
+
|
3104
|
+
def initialize(**args)
|
3105
|
+
update!(**args)
|
3106
|
+
end
|
3107
|
+
|
3108
|
+
# Update properties of this object
|
3109
|
+
def update!(**args)
|
3110
|
+
@affected_location = args[:affected_location] if args.key?(:affected_location)
|
3111
|
+
@effective_severity = args[:effective_severity] if args.key?(:effective_severity)
|
3112
|
+
@fixed_location = args[:fixed_location] if args.key?(:fixed_location)
|
3113
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
3114
|
+
@severity_name = args[:severity_name] if args.key?(:severity_name)
|
2915
3115
|
end
|
2916
3116
|
end
|
2917
3117
|
|
@@ -2970,37 +3170,42 @@ module Google
|
|
2970
3170
|
|
2971
3171
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2972
3172
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2973
|
-
# A `binding` binds one or more `members
|
2974
|
-
# user accounts, service accounts, Google groups, and domains (
|
2975
|
-
# A `role` is a named list of permissions; each `role` can be
|
2976
|
-
# role or a user-created custom role. For some types of Google
|
2977
|
-
# a `binding` can also specify a `condition`, which is a
|
2978
|
-
# allows access to a resource only if the expression
|
2979
|
-
# condition can add constraints based on attributes of
|
2980
|
-
# or both. To learn which resources support
|
2981
|
-
# see the [IAM documentation](https://cloud.
|
2982
|
-
# resource-policies). **JSON example:** ` "
|
2983
|
-
# resourcemanager.organizationAdmin", "members": [
|
2984
|
-
# group:admins@example.com", "domain:google.com", "
|
2985
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
2986
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
2987
|
-
# title": "expirable access", "description": "Does not grant
|
2988
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2989
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2990
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
2991
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2992
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
2993
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
2994
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
2995
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2996
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
2997
|
-
# google.com/iam/docs/).
|
3173
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
3174
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
3175
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
3176
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
3177
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
3178
|
+
# logical expression that allows access to a resource only if the expression
|
3179
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
3180
|
+
# the request, the resource, or both. To learn which resources support
|
3181
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3182
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3183
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3184
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3185
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3186
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3187
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3188
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3189
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3190
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
3191
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3192
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
3193
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
3194
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
3195
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3196
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
3197
|
+
# cloud.google.com/iam/docs/).
|
2998
3198
|
class Policy
|
2999
3199
|
include Google::Apis::Core::Hashable
|
3000
3200
|
|
3001
|
-
# Associates a list of `members
|
3002
|
-
# condition` that determines how and when the `bindings` are applied.
|
3003
|
-
# the `bindings` must contain at least one
|
3201
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
3202
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
3203
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
3204
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
3205
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
3206
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
3207
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
3208
|
+
# principals to the `bindings` in the `Policy`.
|
3004
3209
|
# Corresponds to the JSON property `bindings`
|
3005
3210
|
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::Binding>]
|
3006
3211
|
attr_accessor :bindings
|
@@ -3062,7 +3267,7 @@ module Google
|
|
3062
3267
|
# make", then this might be the flags passed to make aside from the target,
|
3063
3268
|
# which is captured in recipe.entryPoint.
|
3064
3269
|
# Corresponds to the JSON property `arguments`
|
3065
|
-
# @return [Array<String
|
3270
|
+
# @return [Array<Hash<String,Object>>]
|
3066
3271
|
attr_accessor :arguments
|
3067
3272
|
|
3068
3273
|
# Index in materials containing the recipe steps that are not implied by recipe.
|
@@ -3087,7 +3292,7 @@ module Google
|
|
3087
3292
|
# recipe. Usually only needed for reproducing the build but not evaluated as
|
3088
3293
|
# part of policy.
|
3089
3294
|
# Corresponds to the JSON property `environment`
|
3090
|
-
# @return [Hash<String,
|
3295
|
+
# @return [Array<Hash<String,Object>>]
|
3091
3296
|
attr_accessor :environment
|
3092
3297
|
|
3093
3298
|
# URI indicating what type of recipe was performed. It determines the meaning of
|
@@ -3140,12 +3345,18 @@ module Google
|
|
3140
3345
|
class RelationshipNote
|
3141
3346
|
include Google::Apis::Core::Hashable
|
3142
3347
|
|
3348
|
+
# The type of relationship between the source and target SPDX elements
|
3349
|
+
# Corresponds to the JSON property `type`
|
3350
|
+
# @return [String]
|
3351
|
+
attr_accessor :type
|
3352
|
+
|
3143
3353
|
def initialize(**args)
|
3144
3354
|
update!(**args)
|
3145
3355
|
end
|
3146
3356
|
|
3147
3357
|
# Update properties of this object
|
3148
3358
|
def update!(**args)
|
3359
|
+
@type = args[:type] if args.key?(:type)
|
3149
3360
|
end
|
3150
3361
|
end
|
3151
3362
|
|
@@ -3174,7 +3385,8 @@ module Google
|
|
3174
3385
|
# @return [String]
|
3175
3386
|
attr_accessor :target
|
3176
3387
|
|
3177
|
-
# The type of relationship between the source and target SPDX
|
3388
|
+
# Output only. The type of relationship between the source and target SPDX
|
3389
|
+
# elements
|
3178
3390
|
# Corresponds to the JSON property `type`
|
3179
3391
|
# @return [String]
|
3180
3392
|
attr_accessor :type
|
@@ -3319,31 +3531,31 @@ module Google
|
|
3319
3531
|
|
3320
3532
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3321
3533
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3322
|
-
# A `binding` binds one or more `members
|
3323
|
-
# user accounts, service accounts, Google groups, and domains (
|
3324
|
-
# A `role` is a named list of permissions; each `role` can be
|
3325
|
-
# role or a user-created custom role. For some types of Google
|
3326
|
-
# a `binding` can also specify a `condition`, which is a
|
3327
|
-
# allows access to a resource only if the expression
|
3328
|
-
# condition can add constraints based on attributes of
|
3329
|
-
# or both. To learn which resources support
|
3330
|
-
# see the [IAM documentation](https://cloud.
|
3331
|
-
# resource-policies). **JSON example:** ` "
|
3332
|
-
# resourcemanager.organizationAdmin", "members": [
|
3333
|
-
# group:admins@example.com", "domain:google.com", "
|
3334
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
3335
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
3336
|
-
# title": "expirable access", "description": "Does not grant
|
3337
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3338
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3339
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
3340
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3341
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
3342
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
3343
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
3344
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3345
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
3346
|
-
# google.com/iam/docs/).
|
3534
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
3535
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
3536
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
3537
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
3538
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
3539
|
+
# logical expression that allows access to a resource only if the expression
|
3540
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
3541
|
+
# the request, the resource, or both. To learn which resources support
|
3542
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3543
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3544
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3545
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3546
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3547
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3548
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3549
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3550
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3551
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
3552
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3553
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
3554
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
3555
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
3556
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3557
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
3558
|
+
# cloud.google.com/iam/docs/).
|
3347
3559
|
# Corresponds to the JSON property `policy`
|
3348
3560
|
# @return [Google::Apis::ContaineranalysisV1alpha1::Policy]
|
3349
3561
|
attr_accessor :policy
|
@@ -3580,6 +3792,31 @@ module Google
|
|
3580
3792
|
end
|
3581
3793
|
end
|
3582
3794
|
|
3795
|
+
# Start and end times for a build execution phase.
|
3796
|
+
class TimeSpan
|
3797
|
+
include Google::Apis::Core::Hashable
|
3798
|
+
|
3799
|
+
# End of time span.
|
3800
|
+
# Corresponds to the JSON property `endTime`
|
3801
|
+
# @return [String]
|
3802
|
+
attr_accessor :end_time
|
3803
|
+
|
3804
|
+
# Start of time span.
|
3805
|
+
# Corresponds to the JSON property `startTime`
|
3806
|
+
# @return [String]
|
3807
|
+
attr_accessor :start_time
|
3808
|
+
|
3809
|
+
def initialize(**args)
|
3810
|
+
update!(**args)
|
3811
|
+
end
|
3812
|
+
|
3813
|
+
# Update properties of this object
|
3814
|
+
def update!(**args)
|
3815
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
3816
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
3817
|
+
end
|
3818
|
+
end
|
3819
|
+
|
3583
3820
|
# Request for updating an existing operation
|
3584
3821
|
class UpdateOperationRequest
|
3585
3822
|
include Google::Apis::Core::Hashable
|
@@ -3771,6 +4008,36 @@ module Google
|
|
3771
4008
|
end
|
3772
4009
|
end
|
3773
4010
|
|
4011
|
+
# Volume describes a Docker container volume which is mounted into build steps
|
4012
|
+
# in order to persist files across build step execution.
|
4013
|
+
class Volume
|
4014
|
+
include Google::Apis::Core::Hashable
|
4015
|
+
|
4016
|
+
# Name of the volume to mount. Volume names must be unique per build step and
|
4017
|
+
# must be valid names for Docker volumes. Each named volume must be used by at
|
4018
|
+
# least two build steps.
|
4019
|
+
# Corresponds to the JSON property `name`
|
4020
|
+
# @return [String]
|
4021
|
+
attr_accessor :name
|
4022
|
+
|
4023
|
+
# Path at which to mount the volume. Paths must be absolute and cannot conflict
|
4024
|
+
# with other volume paths on the same build step or with certain reserved volume
|
4025
|
+
# paths.
|
4026
|
+
# Corresponds to the JSON property `path`
|
4027
|
+
# @return [String]
|
4028
|
+
attr_accessor :path
|
4029
|
+
|
4030
|
+
def initialize(**args)
|
4031
|
+
update!(**args)
|
4032
|
+
end
|
4033
|
+
|
4034
|
+
# Update properties of this object
|
4035
|
+
def update!(**args)
|
4036
|
+
@name = args[:name] if args.key?(:name)
|
4037
|
+
@path = args[:path] if args.key?(:path)
|
4038
|
+
end
|
4039
|
+
end
|
4040
|
+
|
3774
4041
|
# Used by Occurrence to point to where the vulnerability exists and how to fix
|
3775
4042
|
# it.
|
3776
4043
|
class VulnerabilityDetails
|
@@ -3784,7 +4051,14 @@ module Google
|
|
3784
4051
|
|
3785
4052
|
# The distro assigned severity for this vulnerability when that is available and
|
3786
4053
|
# note provider assigned severity when distro has not yet assigned a severity
|
3787
|
-
# for this vulnerability.
|
4054
|
+
# for this vulnerability. When there are multiple package issues for this
|
4055
|
+
# vulnerability, they can have different effective severities because some might
|
4056
|
+
# come from the distro and some might come from installed language packs (e.g.
|
4057
|
+
# Maven JARs or Go binaries). For this reason, it is advised to use the
|
4058
|
+
# effective severity on the PackageIssue level, as this field may eventually be
|
4059
|
+
# deprecated. In the case where multiple PackageIssues have different effective
|
4060
|
+
# severities, the one set here will be the highest severity of any of the
|
4061
|
+
# PackageIssues.
|
3788
4062
|
# Corresponds to the JSON property `effectiveSeverity`
|
3789
4063
|
# @return [String]
|
3790
4064
|
attr_accessor :effective_severity
|
@@ -3801,7 +4075,8 @@ module Google
|
|
3801
4075
|
attr_accessor :severity
|
3802
4076
|
|
3803
4077
|
# The type of package; whether native or non native(ruby gems, node.js packages
|
3804
|
-
# etc)
|
4078
|
+
# etc). This may be deprecated in the future because we can have multiple
|
4079
|
+
# PackageIssues with different package types.
|
3805
4080
|
# Corresponds to the JSON property `type`
|
3806
4081
|
# @return [String]
|
3807
4082
|
attr_accessor :type
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211015"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class BuildStep
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class BuildType
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -352,6 +358,12 @@ module Google
|
|
352
358
|
include Google::Apis::Core::JsonObjectSupport
|
353
359
|
end
|
354
360
|
|
361
|
+
class License
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
355
367
|
class ListNoteOccurrencesResponse
|
356
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
369
|
|
@@ -418,19 +430,19 @@ module Google
|
|
418
430
|
include Google::Apis::Core::JsonObjectSupport
|
419
431
|
end
|
420
432
|
|
421
|
-
class
|
433
|
+
class PackageInfoNote
|
422
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
435
|
|
424
436
|
include Google::Apis::Core::JsonObjectSupport
|
425
437
|
end
|
426
438
|
|
427
|
-
class
|
439
|
+
class PackageInfoOccurrence
|
428
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
441
|
|
430
442
|
include Google::Apis::Core::JsonObjectSupport
|
431
443
|
end
|
432
444
|
|
433
|
-
class
|
445
|
+
class PackageIssue
|
434
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
447
|
|
436
448
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -538,6 +550,12 @@ module Google
|
|
538
550
|
include Google::Apis::Core::JsonObjectSupport
|
539
551
|
end
|
540
552
|
|
553
|
+
class TimeSpan
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
541
559
|
class UpdateOperationRequest
|
542
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
561
|
|
@@ -568,6 +586,12 @@ module Google
|
|
568
586
|
include Google::Apis::Core::JsonObjectSupport
|
569
587
|
end
|
570
588
|
|
589
|
+
class Volume
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
593
|
+
end
|
594
|
+
|
571
595
|
class VulnerabilityDetails
|
572
596
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
597
|
|
@@ -681,6 +705,29 @@ module Google
|
|
681
705
|
end
|
682
706
|
end
|
683
707
|
|
708
|
+
class BuildStep
|
709
|
+
# @private
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
711
|
+
collection :args, as: 'args'
|
712
|
+
property :dir, as: 'dir'
|
713
|
+
property :entrypoint, as: 'entrypoint'
|
714
|
+
collection :env, as: 'env'
|
715
|
+
property :id, as: 'id'
|
716
|
+
property :name, as: 'name'
|
717
|
+
property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1alpha1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::TimeSpan::Representation
|
718
|
+
|
719
|
+
property :script, as: 'script'
|
720
|
+
collection :secret_env, as: 'secretEnv'
|
721
|
+
property :status, as: 'status'
|
722
|
+
property :timeout, as: 'timeout'
|
723
|
+
property :timing, as: 'timing', class: Google::Apis::ContaineranalysisV1alpha1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::TimeSpan::Representation
|
724
|
+
|
725
|
+
collection :volumes, as: 'volumes', class: Google::Apis::ContaineranalysisV1alpha1::Volume, decorator: Google::Apis::ContaineranalysisV1alpha1::Volume::Representation
|
726
|
+
|
727
|
+
collection :wait_for, as: 'waitFor'
|
728
|
+
end
|
729
|
+
end
|
730
|
+
|
684
731
|
class BuildType
|
685
732
|
# @private
|
686
733
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -970,8 +1017,8 @@ module Google
|
|
970
1017
|
property :copyright, as: 'copyright'
|
971
1018
|
collection :files_license_info, as: 'filesLicenseInfo'
|
972
1019
|
property :id, as: 'id'
|
973
|
-
property :
|
974
|
-
|
1020
|
+
property :license_concluded, as: 'licenseConcluded', class: Google::Apis::ContaineranalysisV1alpha1::License, decorator: Google::Apis::ContaineranalysisV1alpha1::License::Representation
|
1021
|
+
|
975
1022
|
property :notice, as: 'notice'
|
976
1023
|
end
|
977
1024
|
end
|
@@ -1134,6 +1181,14 @@ module Google
|
|
1134
1181
|
end
|
1135
1182
|
end
|
1136
1183
|
|
1184
|
+
class License
|
1185
|
+
# @private
|
1186
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1187
|
+
property :comments, as: 'comments'
|
1188
|
+
property :expression, as: 'expression'
|
1189
|
+
end
|
1190
|
+
end
|
1191
|
+
|
1137
1192
|
class ListNoteOccurrencesResponse
|
1138
1193
|
# @private
|
1139
1194
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1232,7 +1287,7 @@ module Google
|
|
1232
1287
|
property :short_description, as: 'shortDescription'
|
1233
1288
|
property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileNote, decorator: Google::Apis::ContaineranalysisV1alpha1::FileNote::Representation
|
1234
1289
|
|
1235
|
-
property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1alpha1::
|
1290
|
+
property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1alpha1::PackageInfoNote, decorator: Google::Apis::ContaineranalysisV1alpha1::PackageInfoNote::Representation
|
1236
1291
|
|
1237
1292
|
property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1alpha1::RelationshipNote, decorator: Google::Apis::ContaineranalysisV1alpha1::RelationshipNote::Representation
|
1238
1293
|
|
@@ -1277,7 +1332,7 @@ module Google
|
|
1277
1332
|
|
1278
1333
|
property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence::Representation
|
1279
1334
|
|
1280
|
-
property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1alpha1::
|
1335
|
+
property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence::Representation
|
1281
1336
|
|
1282
1337
|
property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1alpha1::RelationshipOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::RelationshipOccurrence::Representation
|
1283
1338
|
|
@@ -1310,18 +1365,7 @@ module Google
|
|
1310
1365
|
end
|
1311
1366
|
end
|
1312
1367
|
|
1313
|
-
class
|
1314
|
-
# @private
|
1315
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1316
|
-
property :affected_location, as: 'affectedLocation', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation::Representation
|
1317
|
-
|
1318
|
-
property :fixed_location, as: 'fixedLocation', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation::Representation
|
1319
|
-
|
1320
|
-
property :severity_name, as: 'severityName'
|
1321
|
-
end
|
1322
|
-
end
|
1323
|
-
|
1324
|
-
class PackageNote
|
1368
|
+
class PackageInfoNote
|
1325
1369
|
# @private
|
1326
1370
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1327
1371
|
property :analyzed, as: 'analyzed'
|
@@ -1334,8 +1378,10 @@ module Google
|
|
1334
1378
|
|
1335
1379
|
collection :files_license_info, as: 'filesLicenseInfo'
|
1336
1380
|
property :home_page, as: 'homePage'
|
1337
|
-
property :license_declared, as: 'licenseDeclared'
|
1381
|
+
property :license_declared, as: 'licenseDeclared', class: Google::Apis::ContaineranalysisV1alpha1::License, decorator: Google::Apis::ContaineranalysisV1alpha1::License::Representation
|
1382
|
+
|
1338
1383
|
property :originator, as: 'originator'
|
1384
|
+
property :package_type, as: 'packageType'
|
1339
1385
|
property :summary_description, as: 'summaryDescription'
|
1340
1386
|
property :supplier, as: 'supplier'
|
1341
1387
|
property :title, as: 'title'
|
@@ -1344,15 +1390,33 @@ module Google
|
|
1344
1390
|
end
|
1345
1391
|
end
|
1346
1392
|
|
1347
|
-
class
|
1393
|
+
class PackageInfoOccurrence
|
1348
1394
|
# @private
|
1349
1395
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1350
1396
|
property :comment, as: 'comment'
|
1351
1397
|
property :filename, as: 'filename'
|
1398
|
+
property :home_page, as: 'homePage'
|
1352
1399
|
property :id, as: 'id'
|
1353
|
-
property :
|
1354
|
-
|
1400
|
+
property :license_concluded, as: 'licenseConcluded', class: Google::Apis::ContaineranalysisV1alpha1::License, decorator: Google::Apis::ContaineranalysisV1alpha1::License::Representation
|
1401
|
+
|
1402
|
+
property :package_type, as: 'packageType'
|
1355
1403
|
property :source_info, as: 'sourceInfo'
|
1404
|
+
property :summary_description, as: 'summaryDescription'
|
1405
|
+
property :title, as: 'title'
|
1406
|
+
property :version, as: 'version'
|
1407
|
+
end
|
1408
|
+
end
|
1409
|
+
|
1410
|
+
class PackageIssue
|
1411
|
+
# @private
|
1412
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1413
|
+
property :affected_location, as: 'affectedLocation', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation::Representation
|
1414
|
+
|
1415
|
+
property :effective_severity, as: 'effectiveSeverity'
|
1416
|
+
property :fixed_location, as: 'fixedLocation', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation::Representation
|
1417
|
+
|
1418
|
+
property :package_type, as: 'packageType'
|
1419
|
+
property :severity_name, as: 'severityName'
|
1356
1420
|
end
|
1357
1421
|
end
|
1358
1422
|
|
@@ -1381,7 +1445,7 @@ module Google
|
|
1381
1445
|
collection :arguments, as: 'arguments'
|
1382
1446
|
property :defined_in_material, :numeric_string => true, as: 'definedInMaterial'
|
1383
1447
|
property :entry_point, as: 'entryPoint'
|
1384
|
-
|
1448
|
+
collection :environment, as: 'environment'
|
1385
1449
|
property :type, as: 'type'
|
1386
1450
|
end
|
1387
1451
|
end
|
@@ -1397,6 +1461,7 @@ module Google
|
|
1397
1461
|
class RelationshipNote
|
1398
1462
|
# @private
|
1399
1463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1464
|
+
property :type, as: 'type'
|
1400
1465
|
end
|
1401
1466
|
end
|
1402
1467
|
|
@@ -1516,6 +1581,14 @@ module Google
|
|
1516
1581
|
end
|
1517
1582
|
end
|
1518
1583
|
|
1584
|
+
class TimeSpan
|
1585
|
+
# @private
|
1586
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1587
|
+
property :end_time, as: 'endTime'
|
1588
|
+
property :start_time, as: 'startTime'
|
1589
|
+
end
|
1590
|
+
end
|
1591
|
+
|
1519
1592
|
class UpdateOperationRequest
|
1520
1593
|
# @private
|
1521
1594
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1568,6 +1641,14 @@ module Google
|
|
1568
1641
|
end
|
1569
1642
|
end
|
1570
1643
|
|
1644
|
+
class Volume
|
1645
|
+
# @private
|
1646
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1647
|
+
property :name, as: 'name'
|
1648
|
+
property :path, as: 'path'
|
1649
|
+
end
|
1650
|
+
end
|
1651
|
+
|
1571
1652
|
class VulnerabilityDetails
|
1572
1653
|
# @private
|
1573
1654
|
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.
|
4
|
+
version: 0.16.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: 2021-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.16.0
|
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: []
|
65
65
|
require_paths:
|