google-apis-containeranalysis_v1beta1 0.10.0 → 0.11.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: d00c7bbdc8a6e8b5cc2a2c06fd34bc52cb0d8ebf561295f8eade444ea2c9edfe
|
4
|
+
data.tar.gz: 2e4a644c0ec3b1c4c45384dd79244127c6bdcff8f72097da74681c92ec33f3e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed382d0e0ef576c1470da120750ee164b5eb2996ef7690f5e4bf6ce052fa075b2ea913020b3a1a337ad19cf66b65baaea113434cdda50d66cc51a022c26b5cae
|
7
|
+
data.tar.gz: 9a2db19eefb8598337b353af4aaa2a2cbc8d3a3cc0737a5755fbc91b8e459295662126bef6e1c3f4ef710346f768c865c3f62723ed5e30cc1e4f88b14af3ea13
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1beta1
|
2
2
|
|
3
|
+
### v0.11.0 (2021-10-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211015
|
6
|
+
* Unspecified changes
|
7
|
+
|
3
8
|
### v0.10.0 (2021-09-16)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20210913
|
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
|
|
@@ -294,7 +294,7 @@ module Google
|
|
294
294
|
end
|
295
295
|
end
|
296
296
|
|
297
|
-
# Associates `members
|
297
|
+
# Associates `members`, or principals, with a `role`.
|
298
298
|
class Binding
|
299
299
|
include Google::Apis::Core::Hashable
|
300
300
|
|
@@ -317,7 +317,7 @@ module Google
|
|
317
317
|
# @return [Google::Apis::ContaineranalysisV1beta1::Expr]
|
318
318
|
attr_accessor :condition
|
319
319
|
|
320
|
-
# Specifies the
|
320
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
321
321
|
# members` can have the following values: * `allUsers`: A special identifier
|
322
322
|
# that represents anyone who is on the internet; with or without a Google
|
323
323
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -347,8 +347,8 @@ module Google
|
|
347
347
|
# @return [Array<String>]
|
348
348
|
attr_accessor :members
|
349
349
|
|
350
|
-
# Role that is assigned to `members
|
351
|
-
#
|
350
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
351
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
352
352
|
# Corresponds to the JSON property `role`
|
353
353
|
# @return [String]
|
354
354
|
attr_accessor :role
|
@@ -1540,18 +1540,10 @@ module Google
|
|
1540
1540
|
# @return [String]
|
1541
1541
|
attr_accessor :id
|
1542
1542
|
|
1543
|
-
#
|
1544
|
-
#
|
1545
|
-
# License for a file
|
1546
|
-
# Corresponds to the JSON property `licenseComments`
|
1547
|
-
# @return [String]
|
1548
|
-
attr_accessor :license_comments
|
1549
|
-
|
1550
|
-
# This field contains the license the SPDX file creator has concluded as
|
1551
|
-
# governing the file or alternative values if the governing license cannot be
|
1552
|
-
# determined
|
1543
|
+
# License information: https://spdx.github.io/spdx-spec/3-package-information/#
|
1544
|
+
# 315-declared-license
|
1553
1545
|
# Corresponds to the JSON property `licenseConcluded`
|
1554
|
-
# @return [
|
1546
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::License]
|
1555
1547
|
attr_accessor :license_concluded
|
1556
1548
|
|
1557
1549
|
# This field provides a place for the SPDX file creator to record license
|
@@ -1572,7 +1564,6 @@ module Google
|
|
1572
1564
|
@copyright = args[:copyright] if args.key?(:copyright)
|
1573
1565
|
@files_license_info = args[:files_license_info] if args.key?(:files_license_info)
|
1574
1566
|
@id = args[:id] if args.key?(:id)
|
1575
|
-
@license_comments = args[:license_comments] if args.key?(:license_comments)
|
1576
1567
|
@license_concluded = args[:license_concluded] if args.key?(:license_concluded)
|
1577
1568
|
@notice = args[:notice] if args.key?(:notice)
|
1578
1569
|
end
|
@@ -2268,6 +2259,33 @@ module Google
|
|
2268
2259
|
end
|
2269
2260
|
end
|
2270
2261
|
|
2262
|
+
# License information: https://spdx.github.io/spdx-spec/3-package-information/#
|
2263
|
+
# 315-declared-license
|
2264
|
+
class License
|
2265
|
+
include Google::Apis::Core::Hashable
|
2266
|
+
|
2267
|
+
# Comments
|
2268
|
+
# Corresponds to the JSON property `comments`
|
2269
|
+
# @return [String]
|
2270
|
+
attr_accessor :comments
|
2271
|
+
|
2272
|
+
# Expression: https://spdx.github.io/spdx-spec/appendix-IV-SPDX-license-
|
2273
|
+
# expressions/
|
2274
|
+
# Corresponds to the JSON property `expression`
|
2275
|
+
# @return [String]
|
2276
|
+
attr_accessor :expression
|
2277
|
+
|
2278
|
+
def initialize(**args)
|
2279
|
+
update!(**args)
|
2280
|
+
end
|
2281
|
+
|
2282
|
+
# Update properties of this object
|
2283
|
+
def update!(**args)
|
2284
|
+
@comments = args[:comments] if args.key?(:comments)
|
2285
|
+
@expression = args[:expression] if args.key?(:expression)
|
2286
|
+
end
|
2287
|
+
end
|
2288
|
+
|
2271
2289
|
# This corresponds to an in-toto link.
|
2272
2290
|
class Link
|
2273
2291
|
include Google::Apis::Core::Hashable
|
@@ -2566,10 +2584,10 @@ module Google
|
|
2566
2584
|
# @return [Google::Apis::ContaineranalysisV1beta1::FileNote]
|
2567
2585
|
attr_accessor :spdx_file
|
2568
2586
|
|
2569
|
-
#
|
2587
|
+
# PackageInfoNote represents an SPDX Package Information section: https://spdx.
|
2570
2588
|
# github.io/spdx-spec/3-package-information/
|
2571
2589
|
# Corresponds to the JSON property `spdxPackage`
|
2572
|
-
# @return [Google::Apis::ContaineranalysisV1beta1::
|
2590
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::PackageInfoNote]
|
2573
2591
|
attr_accessor :spdx_package
|
2574
2592
|
|
2575
2593
|
# RelationshipNote represents an SPDX Relationship section: https://spdx.github.
|
@@ -2706,10 +2724,10 @@ module Google
|
|
2706
2724
|
# @return [Google::Apis::ContaineranalysisV1beta1::FileOccurrence]
|
2707
2725
|
attr_accessor :spdx_file
|
2708
2726
|
|
2709
|
-
#
|
2710
|
-
# github.io/spdx-spec/3-package-information/
|
2727
|
+
# PackageInfoOccurrence represents an SPDX Package Information section: https://
|
2728
|
+
# spdx.github.io/spdx-spec/3-package-information/
|
2711
2729
|
# Corresponds to the JSON property `spdxPackage`
|
2712
|
-
# @return [Google::Apis::ContaineranalysisV1beta1::
|
2730
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::PackageInfoOccurrence]
|
2713
2731
|
attr_accessor :spdx_package
|
2714
2732
|
|
2715
2733
|
# RelationshipOccurrence represents an SPDX Relationship section: https://spdx.
|
@@ -2782,56 +2800,9 @@ module Google
|
|
2782
2800
|
end
|
2783
2801
|
end
|
2784
2802
|
|
2785
|
-
#
|
2786
|
-
# fix (if one is available).
|
2787
|
-
class PackageIssue
|
2788
|
-
include Google::Apis::Core::Hashable
|
2789
|
-
|
2790
|
-
# The location of the vulnerability.
|
2791
|
-
# Corresponds to the JSON property `affectedLocation`
|
2792
|
-
# @return [Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation]
|
2793
|
-
attr_accessor :affected_location
|
2794
|
-
|
2795
|
-
# Output only. The distro or language system assigned severity for this
|
2796
|
-
# vulnerability when that is available and note provider assigned severity when
|
2797
|
-
# it is not available.
|
2798
|
-
# Corresponds to the JSON property `effectiveSeverity`
|
2799
|
-
# @return [String]
|
2800
|
-
attr_accessor :effective_severity
|
2801
|
-
|
2802
|
-
# The location of the vulnerability.
|
2803
|
-
# Corresponds to the JSON property `fixedLocation`
|
2804
|
-
# @return [Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation]
|
2805
|
-
attr_accessor :fixed_location
|
2806
|
-
|
2807
|
-
# The type of package (e.g. OS, MAVEN, GO).
|
2808
|
-
# Corresponds to the JSON property `packageType`
|
2809
|
-
# @return [String]
|
2810
|
-
attr_accessor :package_type
|
2811
|
-
|
2812
|
-
# Deprecated, use Details.effective_severity instead The severity (e.g., distro
|
2813
|
-
# assigned severity) for this vulnerability.
|
2814
|
-
# Corresponds to the JSON property `severityName`
|
2815
|
-
# @return [String]
|
2816
|
-
attr_accessor :severity_name
|
2817
|
-
|
2818
|
-
def initialize(**args)
|
2819
|
-
update!(**args)
|
2820
|
-
end
|
2821
|
-
|
2822
|
-
# Update properties of this object
|
2823
|
-
def update!(**args)
|
2824
|
-
@affected_location = args[:affected_location] if args.key?(:affected_location)
|
2825
|
-
@effective_severity = args[:effective_severity] if args.key?(:effective_severity)
|
2826
|
-
@fixed_location = args[:fixed_location] if args.key?(:fixed_location)
|
2827
|
-
@package_type = args[:package_type] if args.key?(:package_type)
|
2828
|
-
@severity_name = args[:severity_name] if args.key?(:severity_name)
|
2829
|
-
end
|
2830
|
-
end
|
2831
|
-
|
2832
|
-
# PackageNote represents an SPDX Package Information section: https://spdx.
|
2803
|
+
# PackageInfoNote represents an SPDX Package Information section: https://spdx.
|
2833
2804
|
# github.io/spdx-spec/3-package-information/
|
2834
|
-
class
|
2805
|
+
class PackageInfoNote
|
2835
2806
|
include Google::Apis::Core::Hashable
|
2836
2807
|
|
2837
2808
|
# Indicates whether the file content of this package has been available for or
|
@@ -2890,9 +2861,10 @@ module Google
|
|
2890
2861
|
# @return [String]
|
2891
2862
|
attr_accessor :home_page
|
2892
2863
|
|
2893
|
-
#
|
2864
|
+
# License information: https://spdx.github.io/spdx-spec/3-package-information/#
|
2865
|
+
# 315-declared-license
|
2894
2866
|
# Corresponds to the JSON property `licenseDeclared`
|
2895
|
-
# @return [
|
2867
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::License]
|
2896
2868
|
attr_accessor :license_declared
|
2897
2869
|
|
2898
2870
|
# If the package identified in the SPDX file originated from a different person
|
@@ -2902,6 +2874,11 @@ module Google
|
|
2902
2874
|
# @return [String]
|
2903
2875
|
attr_accessor :originator
|
2904
2876
|
|
2877
|
+
# The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
|
2878
|
+
# Corresponds to the JSON property `packageType`
|
2879
|
+
# @return [String]
|
2880
|
+
attr_accessor :package_type
|
2881
|
+
|
2905
2882
|
# A short description of the package
|
2906
2883
|
# Corresponds to the JSON property `summaryDescription`
|
2907
2884
|
# @return [String]
|
@@ -2948,6 +2925,7 @@ module Google
|
|
2948
2925
|
@home_page = args[:home_page] if args.key?(:home_page)
|
2949
2926
|
@license_declared = args[:license_declared] if args.key?(:license_declared)
|
2950
2927
|
@originator = args[:originator] if args.key?(:originator)
|
2928
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
2951
2929
|
@summary_description = args[:summary_description] if args.key?(:summary_description)
|
2952
2930
|
@supplier = args[:supplier] if args.key?(:supplier)
|
2953
2931
|
@title = args[:title] if args.key?(:title)
|
@@ -2956,9 +2934,9 @@ module Google
|
|
2956
2934
|
end
|
2957
2935
|
end
|
2958
2936
|
|
2959
|
-
#
|
2960
|
-
# github.io/spdx-spec/3-package-information/
|
2961
|
-
class
|
2937
|
+
# PackageInfoOccurrence represents an SPDX Package Information section: https://
|
2938
|
+
# spdx.github.io/spdx-spec/3-package-information/
|
2939
|
+
class PackageInfoOccurrence
|
2962
2940
|
include Google::Apis::Core::Hashable
|
2963
2941
|
|
2964
2942
|
# A place for the SPDX file creator to record any general comments about the
|
@@ -2973,30 +2951,51 @@ module Google
|
|
2973
2951
|
# @return [String]
|
2974
2952
|
attr_accessor :filename
|
2975
2953
|
|
2954
|
+
# Output only. Provide a place for the SPDX file creator to record a web site
|
2955
|
+
# that serves as the package's home page
|
2956
|
+
# Corresponds to the JSON property `homePage`
|
2957
|
+
# @return [String]
|
2958
|
+
attr_accessor :home_page
|
2959
|
+
|
2976
2960
|
# Uniquely identify any element in an SPDX document which may be referenced by
|
2977
2961
|
# other elements
|
2978
2962
|
# Corresponds to the JSON property `id`
|
2979
2963
|
# @return [String]
|
2980
2964
|
attr_accessor :id
|
2981
2965
|
|
2982
|
-
#
|
2983
|
-
#
|
2984
|
-
# License for a package
|
2985
|
-
# Corresponds to the JSON property `licenseComments`
|
2986
|
-
# @return [String]
|
2987
|
-
attr_accessor :license_comments
|
2988
|
-
|
2989
|
-
# package or alternative values, if the governing license cannot be determined
|
2966
|
+
# License information: https://spdx.github.io/spdx-spec/3-package-information/#
|
2967
|
+
# 315-declared-license
|
2990
2968
|
# Corresponds to the JSON property `licenseConcluded`
|
2991
|
-
# @return [
|
2969
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::License]
|
2992
2970
|
attr_accessor :license_concluded
|
2993
2971
|
|
2972
|
+
# Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
|
2973
|
+
# Corresponds to the JSON property `packageType`
|
2974
|
+
# @return [String]
|
2975
|
+
attr_accessor :package_type
|
2976
|
+
|
2994
2977
|
# Provide a place for the SPDX file creator to record any relevant background
|
2995
2978
|
# information or additional comments about the origin of the package
|
2996
2979
|
# Corresponds to the JSON property `sourceInfo`
|
2997
2980
|
# @return [String]
|
2998
2981
|
attr_accessor :source_info
|
2999
2982
|
|
2983
|
+
# Output only. A short description of the package
|
2984
|
+
# Corresponds to the JSON property `summaryDescription`
|
2985
|
+
# @return [String]
|
2986
|
+
attr_accessor :summary_description
|
2987
|
+
|
2988
|
+
# Output only. Identify the full name of the package as given by the Package
|
2989
|
+
# Originator
|
2990
|
+
# Corresponds to the JSON property `title`
|
2991
|
+
# @return [String]
|
2992
|
+
attr_accessor :title
|
2993
|
+
|
2994
|
+
# Output only. Identify the version of the package
|
2995
|
+
# Corresponds to the JSON property `version`
|
2996
|
+
# @return [String]
|
2997
|
+
attr_accessor :version
|
2998
|
+
|
3000
2999
|
def initialize(**args)
|
3001
3000
|
update!(**args)
|
3002
3001
|
end
|
@@ -3005,10 +3004,61 @@ module Google
|
|
3005
3004
|
def update!(**args)
|
3006
3005
|
@comment = args[:comment] if args.key?(:comment)
|
3007
3006
|
@filename = args[:filename] if args.key?(:filename)
|
3007
|
+
@home_page = args[:home_page] if args.key?(:home_page)
|
3008
3008
|
@id = args[:id] if args.key?(:id)
|
3009
|
-
@license_comments = args[:license_comments] if args.key?(:license_comments)
|
3010
3009
|
@license_concluded = args[:license_concluded] if args.key?(:license_concluded)
|
3010
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
3011
3011
|
@source_info = args[:source_info] if args.key?(:source_info)
|
3012
|
+
@summary_description = args[:summary_description] if args.key?(:summary_description)
|
3013
|
+
@title = args[:title] if args.key?(:title)
|
3014
|
+
@version = args[:version] if args.key?(:version)
|
3015
|
+
end
|
3016
|
+
end
|
3017
|
+
|
3018
|
+
# This message wraps a location affected by a vulnerability and its associated
|
3019
|
+
# fix (if one is available).
|
3020
|
+
class PackageIssue
|
3021
|
+
include Google::Apis::Core::Hashable
|
3022
|
+
|
3023
|
+
# The location of the vulnerability.
|
3024
|
+
# Corresponds to the JSON property `affectedLocation`
|
3025
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation]
|
3026
|
+
attr_accessor :affected_location
|
3027
|
+
|
3028
|
+
# Output only. The distro or language system assigned severity for this
|
3029
|
+
# vulnerability when that is available and note provider assigned severity when
|
3030
|
+
# it is not available.
|
3031
|
+
# Corresponds to the JSON property `effectiveSeverity`
|
3032
|
+
# @return [String]
|
3033
|
+
attr_accessor :effective_severity
|
3034
|
+
|
3035
|
+
# The location of the vulnerability.
|
3036
|
+
# Corresponds to the JSON property `fixedLocation`
|
3037
|
+
# @return [Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation]
|
3038
|
+
attr_accessor :fixed_location
|
3039
|
+
|
3040
|
+
# The type of package (e.g. OS, MAVEN, GO).
|
3041
|
+
# Corresponds to the JSON property `packageType`
|
3042
|
+
# @return [String]
|
3043
|
+
attr_accessor :package_type
|
3044
|
+
|
3045
|
+
# Deprecated, use Details.effective_severity instead The severity (e.g., distro
|
3046
|
+
# assigned severity) for this vulnerability.
|
3047
|
+
# Corresponds to the JSON property `severityName`
|
3048
|
+
# @return [String]
|
3049
|
+
attr_accessor :severity_name
|
3050
|
+
|
3051
|
+
def initialize(**args)
|
3052
|
+
update!(**args)
|
3053
|
+
end
|
3054
|
+
|
3055
|
+
# Update properties of this object
|
3056
|
+
def update!(**args)
|
3057
|
+
@affected_location = args[:affected_location] if args.key?(:affected_location)
|
3058
|
+
@effective_severity = args[:effective_severity] if args.key?(:effective_severity)
|
3059
|
+
@fixed_location = args[:fixed_location] if args.key?(:fixed_location)
|
3060
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
3061
|
+
@severity_name = args[:severity_name] if args.key?(:severity_name)
|
3012
3062
|
end
|
3013
3063
|
end
|
3014
3064
|
|
@@ -3067,37 +3117,42 @@ module Google
|
|
3067
3117
|
|
3068
3118
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3069
3119
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3070
|
-
# A `binding` binds one or more `members
|
3071
|
-
# user accounts, service accounts, Google groups, and domains (
|
3072
|
-
# A `role` is a named list of permissions; each `role` can be
|
3073
|
-
# role or a user-created custom role. For some types of Google
|
3074
|
-
# a `binding` can also specify a `condition`, which is a
|
3075
|
-
# allows access to a resource only if the expression
|
3076
|
-
# condition can add constraints based on attributes of
|
3077
|
-
# or both. To learn which resources support
|
3078
|
-
# see the [IAM documentation](https://cloud.
|
3079
|
-
# resource-policies). **JSON example:** ` "
|
3080
|
-
# resourcemanager.organizationAdmin", "members": [
|
3081
|
-
# group:admins@example.com", "domain:google.com", "
|
3082
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
3083
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
3084
|
-
# title": "expirable access", "description": "Does not grant
|
3085
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3086
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3087
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
3088
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3089
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
3090
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
3091
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
3092
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3093
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
3094
|
-
# google.com/iam/docs/).
|
3120
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
3121
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
3122
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
3123
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
3124
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
3125
|
+
# logical expression that allows access to a resource only if the expression
|
3126
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
3127
|
+
# the request, the resource, or both. To learn which resources support
|
3128
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3129
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3130
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3131
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3132
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3133
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3134
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3135
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3136
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3137
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
3138
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3139
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
3140
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
3141
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
3142
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3143
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
3144
|
+
# cloud.google.com/iam/docs/).
|
3095
3145
|
class Policy
|
3096
3146
|
include Google::Apis::Core::Hashable
|
3097
3147
|
|
3098
|
-
# Associates a list of `members
|
3099
|
-
# condition` that determines how and when the `bindings` are applied.
|
3100
|
-
# the `bindings` must contain at least one
|
3148
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
3149
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
3150
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
3151
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
3152
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
3153
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
3154
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
3155
|
+
# principals to the `bindings` in the `Policy`.
|
3101
3156
|
# Corresponds to the JSON property `bindings`
|
3102
3157
|
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Binding>]
|
3103
3158
|
attr_accessor :bindings
|
@@ -3205,12 +3260,18 @@ module Google
|
|
3205
3260
|
class RelationshipNote
|
3206
3261
|
include Google::Apis::Core::Hashable
|
3207
3262
|
|
3263
|
+
# The type of relationship between the source and target SPDX elements
|
3264
|
+
# Corresponds to the JSON property `type`
|
3265
|
+
# @return [String]
|
3266
|
+
attr_accessor :type
|
3267
|
+
|
3208
3268
|
def initialize(**args)
|
3209
3269
|
update!(**args)
|
3210
3270
|
end
|
3211
3271
|
|
3212
3272
|
# Update properties of this object
|
3213
3273
|
def update!(**args)
|
3274
|
+
@type = args[:type] if args.key?(:type)
|
3214
3275
|
end
|
3215
3276
|
end
|
3216
3277
|
|
@@ -3239,7 +3300,8 @@ module Google
|
|
3239
3300
|
# @return [String]
|
3240
3301
|
attr_accessor :target
|
3241
3302
|
|
3242
|
-
# The type of relationship between the source and target SPDX
|
3303
|
+
# Output only. The type of relationship between the source and target SPDX
|
3304
|
+
# elements
|
3243
3305
|
# Corresponds to the JSON property `type`
|
3244
3306
|
# @return [String]
|
3245
3307
|
attr_accessor :type
|
@@ -3369,31 +3431,31 @@ module Google
|
|
3369
3431
|
|
3370
3432
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3371
3433
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3372
|
-
# A `binding` binds one or more `members
|
3373
|
-
# user accounts, service accounts, Google groups, and domains (
|
3374
|
-
# A `role` is a named list of permissions; each `role` can be
|
3375
|
-
# role or a user-created custom role. For some types of Google
|
3376
|
-
# a `binding` can also specify a `condition`, which is a
|
3377
|
-
# allows access to a resource only if the expression
|
3378
|
-
# condition can add constraints based on attributes of
|
3379
|
-
# or both. To learn which resources support
|
3380
|
-
# see the [IAM documentation](https://cloud.
|
3381
|
-
# resource-policies). **JSON example:** ` "
|
3382
|
-
# resourcemanager.organizationAdmin", "members": [
|
3383
|
-
# group:admins@example.com", "domain:google.com", "
|
3384
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
3385
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
3386
|
-
# title": "expirable access", "description": "Does not grant
|
3387
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3388
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3389
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
3390
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3391
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
3392
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
3393
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
3394
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3395
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
3396
|
-
# google.com/iam/docs/).
|
3434
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
3435
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
3436
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
3437
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
3438
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
3439
|
+
# logical expression that allows access to a resource only if the expression
|
3440
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
3441
|
+
# the request, the resource, or both. To learn which resources support
|
3442
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3443
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3444
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3445
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3446
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3447
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3448
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3449
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3450
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3451
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
3452
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3453
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
3454
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
3455
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
3456
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3457
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
3458
|
+
# cloud.google.com/iam/docs/).
|
3397
3459
|
# Corresponds to the JSON property `policy`
|
3398
3460
|
# @return [Google::Apis::ContaineranalysisV1beta1::Policy]
|
3399
3461
|
attr_accessor :policy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContaineranalysisV1beta1
|
18
18
|
# Version of the google-apis-containeranalysis_v1beta1 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.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
|
@@ -382,6 +382,12 @@ module Google
|
|
382
382
|
include Google::Apis::Core::JsonObjectSupport
|
383
383
|
end
|
384
384
|
|
385
|
+
class License
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
385
391
|
class Link
|
386
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
393
|
|
@@ -436,19 +442,19 @@ module Google
|
|
436
442
|
include Google::Apis::Core::JsonObjectSupport
|
437
443
|
end
|
438
444
|
|
439
|
-
class
|
445
|
+
class PackageInfoNote
|
440
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
447
|
|
442
448
|
include Google::Apis::Core::JsonObjectSupport
|
443
449
|
end
|
444
450
|
|
445
|
-
class
|
451
|
+
class PackageInfoOccurrence
|
446
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
453
|
|
448
454
|
include Google::Apis::Core::JsonObjectSupport
|
449
455
|
end
|
450
456
|
|
451
|
-
class
|
457
|
+
class PackageIssue
|
452
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
459
|
|
454
460
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -983,8 +989,8 @@ module Google
|
|
983
989
|
property :copyright, as: 'copyright'
|
984
990
|
collection :files_license_info, as: 'filesLicenseInfo'
|
985
991
|
property :id, as: 'id'
|
986
|
-
property :
|
987
|
-
|
992
|
+
property :license_concluded, as: 'licenseConcluded', class: Google::Apis::ContaineranalysisV1beta1::License, decorator: Google::Apis::ContaineranalysisV1beta1::License::Representation
|
993
|
+
|
988
994
|
property :notice, as: 'notice'
|
989
995
|
end
|
990
996
|
end
|
@@ -1200,6 +1206,14 @@ module Google
|
|
1200
1206
|
end
|
1201
1207
|
end
|
1202
1208
|
|
1209
|
+
class License
|
1210
|
+
# @private
|
1211
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1212
|
+
property :comments, as: 'comments'
|
1213
|
+
property :expression, as: 'expression'
|
1214
|
+
end
|
1215
|
+
end
|
1216
|
+
|
1203
1217
|
class Link
|
1204
1218
|
# @private
|
1205
1219
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1291,7 +1305,7 @@ module Google
|
|
1291
1305
|
property :short_description, as: 'shortDescription'
|
1292
1306
|
property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileNote, decorator: Google::Apis::ContaineranalysisV1beta1::FileNote::Representation
|
1293
1307
|
|
1294
|
-
property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::
|
1308
|
+
property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::PackageInfoNote, decorator: Google::Apis::ContaineranalysisV1beta1::PackageInfoNote::Representation
|
1295
1309
|
|
1296
1310
|
property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1beta1::RelationshipNote, decorator: Google::Apis::ContaineranalysisV1beta1::RelationshipNote::Representation
|
1297
1311
|
|
@@ -1329,7 +1343,7 @@ module Google
|
|
1329
1343
|
|
1330
1344
|
property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1beta1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::FileOccurrence::Representation
|
1331
1345
|
|
1332
|
-
property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::
|
1346
|
+
property :spdx_package, as: 'spdxPackage', class: Google::Apis::ContaineranalysisV1beta1::PackageInfoOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::PackageInfoOccurrence::Representation
|
1333
1347
|
|
1334
1348
|
property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1beta1::RelationshipOccurrence, decorator: Google::Apis::ContaineranalysisV1beta1::RelationshipOccurrence::Representation
|
1335
1349
|
|
@@ -1348,20 +1362,7 @@ module Google
|
|
1348
1362
|
end
|
1349
1363
|
end
|
1350
1364
|
|
1351
|
-
class
|
1352
|
-
# @private
|
1353
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1354
|
-
property :affected_location, as: 'affectedLocation', class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation::Representation
|
1355
|
-
|
1356
|
-
property :effective_severity, as: 'effectiveSeverity'
|
1357
|
-
property :fixed_location, as: 'fixedLocation', class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation::Representation
|
1358
|
-
|
1359
|
-
property :package_type, as: 'packageType'
|
1360
|
-
property :severity_name, as: 'severityName'
|
1361
|
-
end
|
1362
|
-
end
|
1363
|
-
|
1364
|
-
class PackageNote
|
1365
|
+
class PackageInfoNote
|
1365
1366
|
# @private
|
1366
1367
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1367
1368
|
property :analyzed, as: 'analyzed'
|
@@ -1374,8 +1375,10 @@ module Google
|
|
1374
1375
|
|
1375
1376
|
collection :files_license_info, as: 'filesLicenseInfo'
|
1376
1377
|
property :home_page, as: 'homePage'
|
1377
|
-
property :license_declared, as: 'licenseDeclared'
|
1378
|
+
property :license_declared, as: 'licenseDeclared', class: Google::Apis::ContaineranalysisV1beta1::License, decorator: Google::Apis::ContaineranalysisV1beta1::License::Representation
|
1379
|
+
|
1378
1380
|
property :originator, as: 'originator'
|
1381
|
+
property :package_type, as: 'packageType'
|
1379
1382
|
property :summary_description, as: 'summaryDescription'
|
1380
1383
|
property :supplier, as: 'supplier'
|
1381
1384
|
property :title, as: 'title'
|
@@ -1384,15 +1387,33 @@ module Google
|
|
1384
1387
|
end
|
1385
1388
|
end
|
1386
1389
|
|
1387
|
-
class
|
1390
|
+
class PackageInfoOccurrence
|
1388
1391
|
# @private
|
1389
1392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1390
1393
|
property :comment, as: 'comment'
|
1391
1394
|
property :filename, as: 'filename'
|
1395
|
+
property :home_page, as: 'homePage'
|
1392
1396
|
property :id, as: 'id'
|
1393
|
-
property :
|
1394
|
-
|
1397
|
+
property :license_concluded, as: 'licenseConcluded', class: Google::Apis::ContaineranalysisV1beta1::License, decorator: Google::Apis::ContaineranalysisV1beta1::License::Representation
|
1398
|
+
|
1399
|
+
property :package_type, as: 'packageType'
|
1395
1400
|
property :source_info, as: 'sourceInfo'
|
1401
|
+
property :summary_description, as: 'summaryDescription'
|
1402
|
+
property :title, as: 'title'
|
1403
|
+
property :version, as: 'version'
|
1404
|
+
end
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
class PackageIssue
|
1408
|
+
# @private
|
1409
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1410
|
+
property :affected_location, as: 'affectedLocation', class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation::Representation
|
1411
|
+
|
1412
|
+
property :effective_severity, as: 'effectiveSeverity'
|
1413
|
+
property :fixed_location, as: 'fixedLocation', class: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1beta1::VulnerabilityLocation::Representation
|
1414
|
+
|
1415
|
+
property :package_type, as: 'packageType'
|
1416
|
+
property :severity_name, as: 'severityName'
|
1396
1417
|
end
|
1397
1418
|
end
|
1398
1419
|
|
@@ -1434,6 +1455,7 @@ module Google
|
|
1434
1455
|
class RelationshipNote
|
1435
1456
|
# @private
|
1436
1457
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1458
|
+
property :type, as: 'type'
|
1437
1459
|
end
|
1438
1460
|
end
|
1439
1461
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-containeranalysis_v1beta1
|
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: 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_v1beta1/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_v1beta1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.11.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|