google-apis-containeranalysis_v1 0.8.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/containeranalysis_v1/classes.rb +186 -18
- data/lib/google/apis/containeranalysis_v1/gem_version.rb +2 -2
- data/lib/google/apis/containeranalysis_v1/representations.rb +62 -0
- data/lib/google/apis/containeranalysis_v1/service.rb +18 -12
- 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: c9912fe880bf93716c9b2bb13858a52a75a0d06d9c16b98d4f4985a91630250a
|
|
4
|
+
data.tar.gz: 4e01b25f57eafb017d2136b764dde9ade49b43e1a84512b65c56a8af760b207a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9a2d677ee0abdeaf11d743541c298094fc71270a8f0d38bf005d7f4da4e7d260622314981700c6703ad4e7a48d5f3d55d243204d15dd9ef491fb281bcae0cf7
|
|
7
|
+
data.tar.gz: 9db13092c324c9ae9b617918e687b7bb762697bbfca3c20494fc00cb40596539fe6c449313a69c083316b15e2ece4c22847193eeb90f9f4ba74503985b7b30f1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1
|
|
2
2
|
|
|
3
|
+
### v0.11.0 (2022-05-11)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20220506
|
|
6
|
+
|
|
7
|
+
### v0.10.0 (2022-05-04)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20220428
|
|
10
|
+
|
|
11
|
+
### v0.9.0 (2022-04-21)
|
|
12
|
+
|
|
13
|
+
* Regenerated from discovery document revision 20220414
|
|
14
|
+
|
|
3
15
|
### v0.8.0 (2022-03-23)
|
|
4
16
|
|
|
5
17
|
* Regenerated from discovery document revision 20220318
|
|
@@ -261,7 +261,7 @@ module Google
|
|
|
261
261
|
# @return [Google::Apis::ContaineranalysisV1::Expr]
|
|
262
262
|
attr_accessor :condition
|
|
263
263
|
|
|
264
|
-
# Specifies the principals requesting access for a Cloud
|
|
264
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
|
265
265
|
# members` can have the following values: * `allUsers`: A special identifier
|
|
266
266
|
# that represents anyone who is on the internet; with or without a Google
|
|
267
267
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
|
@@ -493,9 +493,8 @@ module Google
|
|
|
493
493
|
|
|
494
494
|
# Common Vulnerability Scoring System. For details, see https://www.first.org/
|
|
495
495
|
# cvss/specification-document This is a message we will try to use for storing
|
|
496
|
-
#
|
|
497
|
-
#
|
|
498
|
-
# new protos for each new version of the score.
|
|
496
|
+
# various versions of CVSS rather than making a separate proto for storing a
|
|
497
|
+
# specific version.
|
|
499
498
|
class Cvss
|
|
500
499
|
include Google::Apis::Core::Hashable
|
|
501
500
|
|
|
@@ -2446,6 +2445,32 @@ module Google
|
|
|
2446
2445
|
end
|
|
2447
2446
|
end
|
|
2448
2447
|
|
|
2448
|
+
# Digest information.
|
|
2449
|
+
class Digest
|
|
2450
|
+
include Google::Apis::Core::Hashable
|
|
2451
|
+
|
|
2452
|
+
# `SHA1`, `SHA512` etc.
|
|
2453
|
+
# Corresponds to the JSON property `algo`
|
|
2454
|
+
# @return [String]
|
|
2455
|
+
attr_accessor :algo
|
|
2456
|
+
|
|
2457
|
+
# Value of the digest encoded. For example: SHA512 - base64 encoding, SHA1 - hex
|
|
2458
|
+
# encoding.
|
|
2459
|
+
# Corresponds to the JSON property `digestValue`
|
|
2460
|
+
# @return [String]
|
|
2461
|
+
attr_accessor :digest_value
|
|
2462
|
+
|
|
2463
|
+
def initialize(**args)
|
|
2464
|
+
update!(**args)
|
|
2465
|
+
end
|
|
2466
|
+
|
|
2467
|
+
# Update properties of this object
|
|
2468
|
+
def update!(**args)
|
|
2469
|
+
@algo = args[:algo] if args.key?(:algo)
|
|
2470
|
+
@digest_value = args[:digest_value] if args.key?(:digest_value)
|
|
2471
|
+
end
|
|
2472
|
+
end
|
|
2473
|
+
|
|
2449
2474
|
# A note that indicates a type of analysis a provider would perform. This note
|
|
2450
2475
|
# exists in a provider's project. A `Discovery` occurrence is created in a
|
|
2451
2476
|
# consumer's project at the start of analysis.
|
|
@@ -2932,6 +2957,26 @@ module Google
|
|
|
2932
2957
|
end
|
|
2933
2958
|
end
|
|
2934
2959
|
|
|
2960
|
+
# Indicates the location at which a package was found.
|
|
2961
|
+
class GrafeasV1FileLocation
|
|
2962
|
+
include Google::Apis::Core::Hashable
|
|
2963
|
+
|
|
2964
|
+
# For jars that are contained inside .war files, this filepath can indicate the
|
|
2965
|
+
# path to war file combined with the path to jar file.
|
|
2966
|
+
# Corresponds to the JSON property `filePath`
|
|
2967
|
+
# @return [String]
|
|
2968
|
+
attr_accessor :file_path
|
|
2969
|
+
|
|
2970
|
+
def initialize(**args)
|
|
2971
|
+
update!(**args)
|
|
2972
|
+
end
|
|
2973
|
+
|
|
2974
|
+
# Update properties of this object
|
|
2975
|
+
def update!(**args)
|
|
2976
|
+
@file_path = args[:file_path] if args.key?(:file_path)
|
|
2977
|
+
end
|
|
2978
|
+
end
|
|
2979
|
+
|
|
2935
2980
|
# Container message for hash values.
|
|
2936
2981
|
class HashProp
|
|
2937
2982
|
include Google::Apis::Core::Hashable
|
|
@@ -3236,6 +3281,34 @@ module Google
|
|
|
3236
3281
|
end
|
|
3237
3282
|
end
|
|
3238
3283
|
|
|
3284
|
+
# License information.
|
|
3285
|
+
class License
|
|
3286
|
+
include Google::Apis::Core::Hashable
|
|
3287
|
+
|
|
3288
|
+
# Comments
|
|
3289
|
+
# Corresponds to the JSON property `comments`
|
|
3290
|
+
# @return [String]
|
|
3291
|
+
attr_accessor :comments
|
|
3292
|
+
|
|
3293
|
+
# Often a single license can be used to represent the licensing terms. Sometimes
|
|
3294
|
+
# it is necessary to include a choice of one or more licenses or some
|
|
3295
|
+
# combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.
|
|
3296
|
+
# 1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
|
|
3297
|
+
# Corresponds to the JSON property `expression`
|
|
3298
|
+
# @return [String]
|
|
3299
|
+
attr_accessor :expression
|
|
3300
|
+
|
|
3301
|
+
def initialize(**args)
|
|
3302
|
+
update!(**args)
|
|
3303
|
+
end
|
|
3304
|
+
|
|
3305
|
+
# Update properties of this object
|
|
3306
|
+
def update!(**args)
|
|
3307
|
+
@comments = args[:comments] if args.key?(:comments)
|
|
3308
|
+
@expression = args[:expression] if args.key?(:expression)
|
|
3309
|
+
end
|
|
3310
|
+
end
|
|
3311
|
+
|
|
3239
3312
|
# Response for listing occurrences for a note.
|
|
3240
3313
|
class ListNoteOccurrencesResponse
|
|
3241
3314
|
include Google::Apis::Core::Hashable
|
|
@@ -3318,8 +3391,7 @@ module Google
|
|
|
3318
3391
|
class Location
|
|
3319
3392
|
include Google::Apis::Core::Hashable
|
|
3320
3393
|
|
|
3321
|
-
#
|
|
3322
|
-
# denoting the package manager version distributing a package.
|
|
3394
|
+
# Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
|
|
3323
3395
|
# Corresponds to the JSON property `cpeUri`
|
|
3324
3396
|
# @return [String]
|
|
3325
3397
|
attr_accessor :cpe_uri
|
|
@@ -3532,8 +3604,7 @@ module Google
|
|
|
3532
3604
|
# @return [String]
|
|
3533
3605
|
attr_accessor :name
|
|
3534
3606
|
|
|
3535
|
-
#
|
|
3536
|
-
# E.g., glibc (aka libc6) is distributed by many, at various versions.
|
|
3607
|
+
# PackageNote represents a particular package version.
|
|
3537
3608
|
# Corresponds to the JSON property `package`
|
|
3538
3609
|
# @return [Google::Apis::ContaineranalysisV1::PackageNote]
|
|
3539
3610
|
attr_accessor :package
|
|
@@ -3769,6 +3840,11 @@ module Google
|
|
|
3769
3840
|
# @return [String]
|
|
3770
3841
|
attr_accessor :effective_severity
|
|
3771
3842
|
|
|
3843
|
+
# The location at which this package was found.
|
|
3844
|
+
# Corresponds to the JSON property `fileLocation`
|
|
3845
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation>]
|
|
3846
|
+
attr_accessor :file_location
|
|
3847
|
+
|
|
3772
3848
|
# Output only. Whether a fix is available for this package.
|
|
3773
3849
|
# Corresponds to the JSON property `fixAvailable`
|
|
3774
3850
|
# @return [Boolean]
|
|
@@ -3807,6 +3883,7 @@ module Google
|
|
|
3807
3883
|
@affected_package = args[:affected_package] if args.key?(:affected_package)
|
|
3808
3884
|
@affected_version = args[:affected_version] if args.key?(:affected_version)
|
|
3809
3885
|
@effective_severity = args[:effective_severity] if args.key?(:effective_severity)
|
|
3886
|
+
@file_location = args[:file_location] if args.key?(:file_location)
|
|
3810
3887
|
@fix_available = args[:fix_available] if args.key?(:fix_available)
|
|
3811
3888
|
@fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
|
|
3812
3889
|
@fixed_package = args[:fixed_package] if args.key?(:fixed_package)
|
|
@@ -3815,29 +3892,87 @@ module Google
|
|
|
3815
3892
|
end
|
|
3816
3893
|
end
|
|
3817
3894
|
|
|
3818
|
-
#
|
|
3819
|
-
# E.g., glibc (aka libc6) is distributed by many, at various versions.
|
|
3895
|
+
# PackageNote represents a particular package version.
|
|
3820
3896
|
class PackageNote
|
|
3821
3897
|
include Google::Apis::Core::Hashable
|
|
3822
3898
|
|
|
3823
|
-
# The
|
|
3899
|
+
# The CPU architecture for which packages in this distribution channel were
|
|
3900
|
+
# built. Architecture will be blank for language packages.
|
|
3901
|
+
# Corresponds to the JSON property `architecture`
|
|
3902
|
+
# @return [String]
|
|
3903
|
+
attr_accessor :architecture
|
|
3904
|
+
|
|
3905
|
+
# The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the
|
|
3906
|
+
# package manager version distributing a package. The cpe_uri will be blank for
|
|
3907
|
+
# language packages.
|
|
3908
|
+
# Corresponds to the JSON property `cpeUri`
|
|
3909
|
+
# @return [String]
|
|
3910
|
+
attr_accessor :cpe_uri
|
|
3911
|
+
|
|
3912
|
+
# The description of this package.
|
|
3913
|
+
# Corresponds to the JSON property `description`
|
|
3914
|
+
# @return [String]
|
|
3915
|
+
attr_accessor :description
|
|
3916
|
+
|
|
3917
|
+
# Hash value, typically a file digest, that allows unique identification a
|
|
3918
|
+
# specific package.
|
|
3919
|
+
# Corresponds to the JSON property `digest`
|
|
3920
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::Digest>]
|
|
3921
|
+
attr_accessor :digest
|
|
3922
|
+
|
|
3923
|
+
# Deprecated. The various channels by which a package is distributed.
|
|
3824
3924
|
# Corresponds to the JSON property `distribution`
|
|
3825
3925
|
# @return [Array<Google::Apis::ContaineranalysisV1::Distribution>]
|
|
3826
3926
|
attr_accessor :distribution
|
|
3827
3927
|
|
|
3928
|
+
# License information.
|
|
3929
|
+
# Corresponds to the JSON property `license`
|
|
3930
|
+
# @return [Google::Apis::ContaineranalysisV1::License]
|
|
3931
|
+
attr_accessor :license
|
|
3932
|
+
|
|
3933
|
+
# A freeform text denoting the maintainer of this package.
|
|
3934
|
+
# Corresponds to the JSON property `maintainer`
|
|
3935
|
+
# @return [String]
|
|
3936
|
+
attr_accessor :maintainer
|
|
3937
|
+
|
|
3828
3938
|
# Required. Immutable. The name of the package.
|
|
3829
3939
|
# Corresponds to the JSON property `name`
|
|
3830
3940
|
# @return [String]
|
|
3831
3941
|
attr_accessor :name
|
|
3832
3942
|
|
|
3943
|
+
# The type of package; whether native or non native (e.g., ruby gems, node.js
|
|
3944
|
+
# packages, etc.).
|
|
3945
|
+
# Corresponds to the JSON property `packageType`
|
|
3946
|
+
# @return [String]
|
|
3947
|
+
attr_accessor :package_type
|
|
3948
|
+
|
|
3949
|
+
# The homepage for this package.
|
|
3950
|
+
# Corresponds to the JSON property `url`
|
|
3951
|
+
# @return [String]
|
|
3952
|
+
attr_accessor :url
|
|
3953
|
+
|
|
3954
|
+
# Version contains structured information about the version of a package.
|
|
3955
|
+
# Corresponds to the JSON property `version`
|
|
3956
|
+
# @return [Google::Apis::ContaineranalysisV1::Version]
|
|
3957
|
+
attr_accessor :version
|
|
3958
|
+
|
|
3833
3959
|
def initialize(**args)
|
|
3834
3960
|
update!(**args)
|
|
3835
3961
|
end
|
|
3836
3962
|
|
|
3837
3963
|
# Update properties of this object
|
|
3838
3964
|
def update!(**args)
|
|
3965
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
|
3966
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
|
3967
|
+
@description = args[:description] if args.key?(:description)
|
|
3968
|
+
@digest = args[:digest] if args.key?(:digest)
|
|
3839
3969
|
@distribution = args[:distribution] if args.key?(:distribution)
|
|
3970
|
+
@license = args[:license] if args.key?(:license)
|
|
3971
|
+
@maintainer = args[:maintainer] if args.key?(:maintainer)
|
|
3840
3972
|
@name = args[:name] if args.key?(:name)
|
|
3973
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
|
3974
|
+
@url = args[:url] if args.key?(:url)
|
|
3975
|
+
@version = args[:version] if args.key?(:version)
|
|
3841
3976
|
end
|
|
3842
3977
|
end
|
|
3843
3978
|
|
|
@@ -3845,25 +3980,59 @@ module Google
|
|
|
3845
3980
|
class PackageOccurrence
|
|
3846
3981
|
include Google::Apis::Core::Hashable
|
|
3847
3982
|
|
|
3848
|
-
#
|
|
3849
|
-
#
|
|
3983
|
+
# Output only. The CPU architecture for which packages in this distribution
|
|
3984
|
+
# channel were built. Architecture will be blank for language packages.
|
|
3985
|
+
# Corresponds to the JSON property `architecture`
|
|
3986
|
+
# @return [String]
|
|
3987
|
+
attr_accessor :architecture
|
|
3988
|
+
|
|
3989
|
+
# Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
|
|
3990
|
+
# denoting the package manager version distributing a package. The cpe_uri will
|
|
3991
|
+
# be blank for language packages.
|
|
3992
|
+
# Corresponds to the JSON property `cpeUri`
|
|
3993
|
+
# @return [String]
|
|
3994
|
+
attr_accessor :cpe_uri
|
|
3995
|
+
|
|
3996
|
+
# License information.
|
|
3997
|
+
# Corresponds to the JSON property `license`
|
|
3998
|
+
# @return [Google::Apis::ContaineranalysisV1::License]
|
|
3999
|
+
attr_accessor :license
|
|
4000
|
+
|
|
4001
|
+
# All of the places within the filesystem versions of this package have been
|
|
4002
|
+
# found.
|
|
3850
4003
|
# Corresponds to the JSON property `location`
|
|
3851
4004
|
# @return [Array<Google::Apis::ContaineranalysisV1::Location>]
|
|
3852
4005
|
attr_accessor :location
|
|
3853
4006
|
|
|
3854
|
-
# Output only. The name of the installed package.
|
|
4007
|
+
# Required. Output only. The name of the installed package.
|
|
3855
4008
|
# Corresponds to the JSON property `name`
|
|
3856
4009
|
# @return [String]
|
|
3857
4010
|
attr_accessor :name
|
|
3858
4011
|
|
|
4012
|
+
# Output only. The type of package; whether native or non native (e.g., ruby
|
|
4013
|
+
# gems, node.js packages, etc.).
|
|
4014
|
+
# Corresponds to the JSON property `packageType`
|
|
4015
|
+
# @return [String]
|
|
4016
|
+
attr_accessor :package_type
|
|
4017
|
+
|
|
4018
|
+
# Version contains structured information about the version of a package.
|
|
4019
|
+
# Corresponds to the JSON property `version`
|
|
4020
|
+
# @return [Google::Apis::ContaineranalysisV1::Version]
|
|
4021
|
+
attr_accessor :version
|
|
4022
|
+
|
|
3859
4023
|
def initialize(**args)
|
|
3860
4024
|
update!(**args)
|
|
3861
4025
|
end
|
|
3862
4026
|
|
|
3863
4027
|
# Update properties of this object
|
|
3864
4028
|
def update!(**args)
|
|
4029
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
|
4030
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
|
4031
|
+
@license = args[:license] if args.key?(:license)
|
|
3865
4032
|
@location = args[:location] if args.key?(:location)
|
|
3866
4033
|
@name = args[:name] if args.key?(:name)
|
|
4034
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
|
4035
|
+
@version = args[:version] if args.key?(:version)
|
|
3867
4036
|
end
|
|
3868
4037
|
end
|
|
3869
4038
|
|
|
@@ -4553,7 +4722,7 @@ module Google
|
|
|
4553
4722
|
include Google::Apis::Core::Hashable
|
|
4554
4723
|
|
|
4555
4724
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
|
4556
|
-
# (such as
|
|
4725
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
4557
4726
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
4558
4727
|
# Corresponds to the JSON property `permissions`
|
|
4559
4728
|
# @return [Array<String>]
|
|
@@ -4844,9 +5013,8 @@ module Google
|
|
|
4844
5013
|
|
|
4845
5014
|
# Common Vulnerability Scoring System. For details, see https://www.first.org/
|
|
4846
5015
|
# cvss/specification-document This is a message we will try to use for storing
|
|
4847
|
-
#
|
|
4848
|
-
#
|
|
4849
|
-
# new protos for each new version of the score.
|
|
5016
|
+
# various versions of CVSS rather than making a separate proto for storing a
|
|
5017
|
+
# specific version.
|
|
4850
5018
|
# Corresponds to the JSON property `cvssv3`
|
|
4851
5019
|
# @return [Google::Apis::ContaineranalysisV1::Cvss]
|
|
4852
5020
|
attr_accessor :cvssv3
|
|
@@ -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.11.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20220506"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -352,6 +352,12 @@ module Google
|
|
|
352
352
|
include Google::Apis::Core::JsonObjectSupport
|
|
353
353
|
end
|
|
354
354
|
|
|
355
|
+
class Digest
|
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
|
+
|
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
359
|
+
end
|
|
360
|
+
|
|
355
361
|
class DiscoveryNote
|
|
356
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
363
|
|
|
@@ -442,6 +448,12 @@ module Google
|
|
|
442
448
|
include Google::Apis::Core::JsonObjectSupport
|
|
443
449
|
end
|
|
444
450
|
|
|
451
|
+
class GrafeasV1FileLocation
|
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
|
+
|
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
455
|
+
end
|
|
456
|
+
|
|
445
457
|
class HashProp
|
|
446
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
459
|
|
|
@@ -502,6 +514,12 @@ module Google
|
|
|
502
514
|
include Google::Apis::Core::JsonObjectSupport
|
|
503
515
|
end
|
|
504
516
|
|
|
517
|
+
class License
|
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
519
|
+
|
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
521
|
+
end
|
|
522
|
+
|
|
505
523
|
class ListNoteOccurrencesResponse
|
|
506
524
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
507
525
|
|
|
@@ -1357,6 +1375,14 @@ module Google
|
|
|
1357
1375
|
end
|
|
1358
1376
|
end
|
|
1359
1377
|
|
|
1378
|
+
class Digest
|
|
1379
|
+
# @private
|
|
1380
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1381
|
+
property :algo, as: 'algo'
|
|
1382
|
+
property :digest_value, as: 'digestValue'
|
|
1383
|
+
end
|
|
1384
|
+
end
|
|
1385
|
+
|
|
1360
1386
|
class DiscoveryNote
|
|
1361
1387
|
# @private
|
|
1362
1388
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1493,6 +1519,13 @@ module Google
|
|
|
1493
1519
|
end
|
|
1494
1520
|
end
|
|
1495
1521
|
|
|
1522
|
+
class GrafeasV1FileLocation
|
|
1523
|
+
# @private
|
|
1524
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1525
|
+
property :file_path, as: 'filePath'
|
|
1526
|
+
end
|
|
1527
|
+
end
|
|
1528
|
+
|
|
1496
1529
|
class HashProp
|
|
1497
1530
|
# @private
|
|
1498
1531
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1587,6 +1620,14 @@ module Google
|
|
|
1587
1620
|
end
|
|
1588
1621
|
end
|
|
1589
1622
|
|
|
1623
|
+
class License
|
|
1624
|
+
# @private
|
|
1625
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1626
|
+
property :comments, as: 'comments'
|
|
1627
|
+
property :expression, as: 'expression'
|
|
1628
|
+
end
|
|
1629
|
+
end
|
|
1630
|
+
|
|
1590
1631
|
class ListNoteOccurrencesResponse
|
|
1591
1632
|
# @private
|
|
1592
1633
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1732,6 +1773,8 @@ module Google
|
|
|
1732
1773
|
property :affected_version, as: 'affectedVersion', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
|
|
1733
1774
|
|
|
1734
1775
|
property :effective_severity, as: 'effectiveSeverity'
|
|
1776
|
+
collection :file_location, as: 'fileLocation', class: Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation, decorator: Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation::Representation
|
|
1777
|
+
|
|
1735
1778
|
property :fix_available, as: 'fixAvailable'
|
|
1736
1779
|
property :fixed_cpe_uri, as: 'fixedCpeUri'
|
|
1737
1780
|
property :fixed_package, as: 'fixedPackage'
|
|
@@ -1744,18 +1787,37 @@ module Google
|
|
|
1744
1787
|
class PackageNote
|
|
1745
1788
|
# @private
|
|
1746
1789
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1790
|
+
property :architecture, as: 'architecture'
|
|
1791
|
+
property :cpe_uri, as: 'cpeUri'
|
|
1792
|
+
property :description, as: 'description'
|
|
1793
|
+
collection :digest, as: 'digest', class: Google::Apis::ContaineranalysisV1::Digest, decorator: Google::Apis::ContaineranalysisV1::Digest::Representation
|
|
1794
|
+
|
|
1747
1795
|
collection :distribution, as: 'distribution', class: Google::Apis::ContaineranalysisV1::Distribution, decorator: Google::Apis::ContaineranalysisV1::Distribution::Representation
|
|
1748
1796
|
|
|
1797
|
+
property :license, as: 'license', class: Google::Apis::ContaineranalysisV1::License, decorator: Google::Apis::ContaineranalysisV1::License::Representation
|
|
1798
|
+
|
|
1799
|
+
property :maintainer, as: 'maintainer'
|
|
1749
1800
|
property :name, as: 'name'
|
|
1801
|
+
property :package_type, as: 'packageType'
|
|
1802
|
+
property :url, as: 'url'
|
|
1803
|
+
property :version, as: 'version', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
|
|
1804
|
+
|
|
1750
1805
|
end
|
|
1751
1806
|
end
|
|
1752
1807
|
|
|
1753
1808
|
class PackageOccurrence
|
|
1754
1809
|
# @private
|
|
1755
1810
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1811
|
+
property :architecture, as: 'architecture'
|
|
1812
|
+
property :cpe_uri, as: 'cpeUri'
|
|
1813
|
+
property :license, as: 'license', class: Google::Apis::ContaineranalysisV1::License, decorator: Google::Apis::ContaineranalysisV1::License::Representation
|
|
1814
|
+
|
|
1756
1815
|
collection :location, as: 'location', class: Google::Apis::ContaineranalysisV1::Location, decorator: Google::Apis::ContaineranalysisV1::Location::Representation
|
|
1757
1816
|
|
|
1758
1817
|
property :name, as: 'name'
|
|
1818
|
+
property :package_type, as: 'packageType'
|
|
1819
|
+
property :version, as: 'version', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
|
|
1820
|
+
|
|
1759
1821
|
end
|
|
1760
1822
|
end
|
|
1761
1823
|
|
|
@@ -189,8 +189,9 @@ module Google
|
|
|
189
189
|
# The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
|
|
190
190
|
# notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
|
|
191
191
|
# @param [String] resource
|
|
192
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
|
193
|
-
#
|
|
192
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
193
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
194
|
+
# appropriate value for this field.
|
|
194
195
|
# @param [Google::Apis::ContaineranalysisV1::GetIamPolicyRequest] get_iam_policy_request_object
|
|
195
196
|
# @param [String] fields
|
|
196
197
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -306,8 +307,9 @@ module Google
|
|
|
306
307
|
# NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`
|
|
307
308
|
# for occurrences.
|
|
308
309
|
# @param [String] resource
|
|
309
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
|
310
|
-
#
|
|
310
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
311
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
312
|
+
# appropriate value for this field.
|
|
311
313
|
# @param [Google::Apis::ContaineranalysisV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
312
314
|
# @param [String] fields
|
|
313
315
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -344,8 +346,9 @@ module Google
|
|
|
344
346
|
# for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
|
|
345
347
|
# occurrences.
|
|
346
348
|
# @param [String] resource
|
|
347
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
|
348
|
-
#
|
|
349
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
350
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
|
351
|
+
# appropriate value for this field.
|
|
349
352
|
# @param [Google::Apis::ContaineranalysisV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
350
353
|
# @param [String] fields
|
|
351
354
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -555,8 +558,9 @@ module Google
|
|
|
555
558
|
# The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for
|
|
556
559
|
# notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
|
|
557
560
|
# @param [String] resource
|
|
558
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
|
559
|
-
#
|
|
561
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
562
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
563
|
+
# appropriate value for this field.
|
|
560
564
|
# @param [Google::Apis::ContaineranalysisV1::GetIamPolicyRequest] get_iam_policy_request_object
|
|
561
565
|
# @param [String] fields
|
|
562
566
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -738,8 +742,9 @@ module Google
|
|
|
738
742
|
# NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`
|
|
739
743
|
# for occurrences.
|
|
740
744
|
# @param [String] resource
|
|
741
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
|
742
|
-
#
|
|
745
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
746
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
747
|
+
# appropriate value for this field.
|
|
743
748
|
# @param [Google::Apis::ContaineranalysisV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
744
749
|
# @param [String] fields
|
|
745
750
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -776,8 +781,9 @@ module Google
|
|
|
776
781
|
# for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for
|
|
777
782
|
# occurrences.
|
|
778
783
|
# @param [String] resource
|
|
779
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
|
780
|
-
#
|
|
784
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
785
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
|
786
|
+
# appropriate value for this field.
|
|
781
787
|
# @param [Google::Apis::ContaineranalysisV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
782
788
|
# @param [String] fields
|
|
783
789
|
# Selector specifying which fields to include in a partial response.
|
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.11.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: 2022-
|
|
11
|
+
date: 2022-05-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_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.11.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: []
|