google-apis-containeranalysis_v1alpha1 0.15.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,10 @@
|
|
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
|
+
|
3
8
|
### v0.15.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
|
|
@@ -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
|
@@ -1652,18 +1652,10 @@ module Google
|
|
1652
1652
|
# @return [String]
|
1653
1653
|
attr_accessor :id
|
1654
1654
|
|
1655
|
-
#
|
1656
|
-
#
|
1657
|
-
# License for a file
|
1658
|
-
# Corresponds to the JSON property `licenseComments`
|
1659
|
-
# @return [String]
|
1660
|
-
attr_accessor :license_comments
|
1661
|
-
|
1662
|
-
# This field contains the license the SPDX file creator has concluded as
|
1663
|
-
# governing the file or alternative values if the governing license cannot be
|
1664
|
-
# determined
|
1655
|
+
# License information: https://spdx.github.io/spdx-spec/3-package-information/#
|
1656
|
+
# 315-declared-license
|
1665
1657
|
# Corresponds to the JSON property `licenseConcluded`
|
1666
|
-
# @return [
|
1658
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
1667
1659
|
attr_accessor :license_concluded
|
1668
1660
|
|
1669
1661
|
# This field provides a place for the SPDX file creator to record license
|
@@ -1684,7 +1676,6 @@ module Google
|
|
1684
1676
|
@copyright = args[:copyright] if args.key?(:copyright)
|
1685
1677
|
@files_license_info = args[:files_license_info] if args.key?(:files_license_info)
|
1686
1678
|
@id = args[:id] if args.key?(:id)
|
1687
|
-
@license_comments = args[:license_comments] if args.key?(:license_comments)
|
1688
1679
|
@license_concluded = args[:license_concluded] if args.key?(:license_concluded)
|
1689
1680
|
@notice = args[:notice] if args.key?(:notice)
|
1690
1681
|
end
|
@@ -2184,6 +2175,33 @@ module Google
|
|
2184
2175
|
end
|
2185
2176
|
end
|
2186
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
|
+
|
2187
2205
|
# Response including listed occurrences for a note.
|
2188
2206
|
class ListNoteOccurrencesResponse
|
2189
2207
|
include Google::Apis::Core::Hashable
|
@@ -2512,10 +2530,10 @@ module Google
|
|
2512
2530
|
# @return [Google::Apis::ContaineranalysisV1alpha1::FileNote]
|
2513
2531
|
attr_accessor :spdx_file
|
2514
2532
|
|
2515
|
-
#
|
2533
|
+
# PackageInfoNote represents an SPDX Package Information section: https://spdx.
|
2516
2534
|
# github.io/spdx-spec/3-package-information/
|
2517
2535
|
# Corresponds to the JSON property `spdxPackage`
|
2518
|
-
# @return [Google::Apis::ContaineranalysisV1alpha1::
|
2536
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::PackageInfoNote]
|
2519
2537
|
attr_accessor :spdx_package
|
2520
2538
|
|
2521
2539
|
# RelationshipNote represents an SPDX Relationship section: https://spdx.github.
|
@@ -2685,10 +2703,10 @@ module Google
|
|
2685
2703
|
# @return [Google::Apis::ContaineranalysisV1alpha1::FileOccurrence]
|
2686
2704
|
attr_accessor :spdx_file
|
2687
2705
|
|
2688
|
-
#
|
2689
|
-
# 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/
|
2690
2708
|
# Corresponds to the JSON property `spdxPackage`
|
2691
|
-
# @return [Google::Apis::ContaineranalysisV1alpha1::
|
2709
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::PackageInfoOccurrence]
|
2692
2710
|
attr_accessor :spdx_package
|
2693
2711
|
|
2694
2712
|
# RelationshipOccurrence represents an SPDX Relationship section: https://spdx.
|
@@ -2835,56 +2853,9 @@ module Google
|
|
2835
2853
|
end
|
2836
2854
|
end
|
2837
2855
|
|
2838
|
-
#
|
2839
|
-
# fix (if one is available).
|
2840
|
-
class PackageIssue
|
2841
|
-
include Google::Apis::Core::Hashable
|
2842
|
-
|
2843
|
-
# The location of the vulnerability
|
2844
|
-
# Corresponds to the JSON property `affectedLocation`
|
2845
|
-
# @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation]
|
2846
|
-
attr_accessor :affected_location
|
2847
|
-
|
2848
|
-
# Output only. The distro or language system assigned severity for this
|
2849
|
-
# vulnerability when that is available and note provider assigned severity when
|
2850
|
-
# distro or language system has not yet assigned a severity for this
|
2851
|
-
# vulnerability.
|
2852
|
-
# Corresponds to the JSON property `effectiveSeverity`
|
2853
|
-
# @return [String]
|
2854
|
-
attr_accessor :effective_severity
|
2855
|
-
|
2856
|
-
# The location of the vulnerability
|
2857
|
-
# Corresponds to the JSON property `fixedLocation`
|
2858
|
-
# @return [Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation]
|
2859
|
-
attr_accessor :fixed_location
|
2860
|
-
|
2861
|
-
# The type of package (e.g. OS, MAVEN, GO).
|
2862
|
-
# Corresponds to the JSON property `packageType`
|
2863
|
-
# @return [String]
|
2864
|
-
attr_accessor :package_type
|
2865
|
-
|
2866
|
-
#
|
2867
|
-
# Corresponds to the JSON property `severityName`
|
2868
|
-
# @return [String]
|
2869
|
-
attr_accessor :severity_name
|
2870
|
-
|
2871
|
-
def initialize(**args)
|
2872
|
-
update!(**args)
|
2873
|
-
end
|
2874
|
-
|
2875
|
-
# Update properties of this object
|
2876
|
-
def update!(**args)
|
2877
|
-
@affected_location = args[:affected_location] if args.key?(:affected_location)
|
2878
|
-
@effective_severity = args[:effective_severity] if args.key?(:effective_severity)
|
2879
|
-
@fixed_location = args[:fixed_location] if args.key?(:fixed_location)
|
2880
|
-
@package_type = args[:package_type] if args.key?(:package_type)
|
2881
|
-
@severity_name = args[:severity_name] if args.key?(:severity_name)
|
2882
|
-
end
|
2883
|
-
end
|
2884
|
-
|
2885
|
-
# PackageNote represents an SPDX Package Information section: https://spdx.
|
2856
|
+
# PackageInfoNote represents an SPDX Package Information section: https://spdx.
|
2886
2857
|
# github.io/spdx-spec/3-package-information/
|
2887
|
-
class
|
2858
|
+
class PackageInfoNote
|
2888
2859
|
include Google::Apis::Core::Hashable
|
2889
2860
|
|
2890
2861
|
# Indicates whether the file content of this package has been available for or
|
@@ -2943,9 +2914,10 @@ module Google
|
|
2943
2914
|
# @return [String]
|
2944
2915
|
attr_accessor :home_page
|
2945
2916
|
|
2946
|
-
#
|
2917
|
+
# License information: https://spdx.github.io/spdx-spec/3-package-information/#
|
2918
|
+
# 315-declared-license
|
2947
2919
|
# Corresponds to the JSON property `licenseDeclared`
|
2948
|
-
# @return [
|
2920
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
2949
2921
|
attr_accessor :license_declared
|
2950
2922
|
|
2951
2923
|
# If the package identified in the SPDX file originated from a different person
|
@@ -2955,6 +2927,11 @@ module Google
|
|
2955
2927
|
# @return [String]
|
2956
2928
|
attr_accessor :originator
|
2957
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
|
+
|
2958
2935
|
# A short description of the package
|
2959
2936
|
# Corresponds to the JSON property `summaryDescription`
|
2960
2937
|
# @return [String]
|
@@ -3001,6 +2978,7 @@ module Google
|
|
3001
2978
|
@home_page = args[:home_page] if args.key?(:home_page)
|
3002
2979
|
@license_declared = args[:license_declared] if args.key?(:license_declared)
|
3003
2980
|
@originator = args[:originator] if args.key?(:originator)
|
2981
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
3004
2982
|
@summary_description = args[:summary_description] if args.key?(:summary_description)
|
3005
2983
|
@supplier = args[:supplier] if args.key?(:supplier)
|
3006
2984
|
@title = args[:title] if args.key?(:title)
|
@@ -3009,9 +2987,9 @@ module Google
|
|
3009
2987
|
end
|
3010
2988
|
end
|
3011
2989
|
|
3012
|
-
#
|
3013
|
-
# github.io/spdx-spec/3-package-information/
|
3014
|
-
class
|
2990
|
+
# PackageInfoOccurrence represents an SPDX Package Information section: https://
|
2991
|
+
# spdx.github.io/spdx-spec/3-package-information/
|
2992
|
+
class PackageInfoOccurrence
|
3015
2993
|
include Google::Apis::Core::Hashable
|
3016
2994
|
|
3017
2995
|
# A place for the SPDX file creator to record any general comments about the
|
@@ -3026,30 +3004,51 @@ module Google
|
|
3026
3004
|
# @return [String]
|
3027
3005
|
attr_accessor :filename
|
3028
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
|
+
|
3029
3013
|
# Uniquely identify any element in an SPDX document which may be referenced by
|
3030
3014
|
# other elements
|
3031
3015
|
# Corresponds to the JSON property `id`
|
3032
3016
|
# @return [String]
|
3033
3017
|
attr_accessor :id
|
3034
3018
|
|
3035
|
-
#
|
3036
|
-
#
|
3037
|
-
# License for a package
|
3038
|
-
# Corresponds to the JSON property `licenseComments`
|
3039
|
-
# @return [String]
|
3040
|
-
attr_accessor :license_comments
|
3041
|
-
|
3042
|
-
# 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
|
3043
3021
|
# Corresponds to the JSON property `licenseConcluded`
|
3044
|
-
# @return [
|
3022
|
+
# @return [Google::Apis::ContaineranalysisV1alpha1::License]
|
3045
3023
|
attr_accessor :license_concluded
|
3046
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
|
+
|
3047
3030
|
# Provide a place for the SPDX file creator to record any relevant background
|
3048
3031
|
# information or additional comments about the origin of the package
|
3049
3032
|
# Corresponds to the JSON property `sourceInfo`
|
3050
3033
|
# @return [String]
|
3051
3034
|
attr_accessor :source_info
|
3052
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
|
+
|
3053
3052
|
def initialize(**args)
|
3054
3053
|
update!(**args)
|
3055
3054
|
end
|
@@ -3058,10 +3057,61 @@ module Google
|
|
3058
3057
|
def update!(**args)
|
3059
3058
|
@comment = args[:comment] if args.key?(:comment)
|
3060
3059
|
@filename = args[:filename] if args.key?(:filename)
|
3060
|
+
@home_page = args[:home_page] if args.key?(:home_page)
|
3061
3061
|
@id = args[:id] if args.key?(:id)
|
3062
|
-
@license_comments = args[:license_comments] if args.key?(:license_comments)
|
3063
3062
|
@license_concluded = args[:license_concluded] if args.key?(:license_concluded)
|
3063
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
3064
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)
|
3065
3115
|
end
|
3066
3116
|
end
|
3067
3117
|
|
@@ -3120,37 +3170,42 @@ module Google
|
|
3120
3170
|
|
3121
3171
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3122
3172
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3123
|
-
# A `binding` binds one or more `members
|
3124
|
-
# user accounts, service accounts, Google groups, and domains (
|
3125
|
-
# A `role` is a named list of permissions; each `role` can be
|
3126
|
-
# role or a user-created custom role. For some types of Google
|
3127
|
-
# a `binding` can also specify a `condition`, which is a
|
3128
|
-
# allows access to a resource only if the expression
|
3129
|
-
# condition can add constraints based on attributes of
|
3130
|
-
# or both. To learn which resources support
|
3131
|
-
# see the [IAM documentation](https://cloud.
|
3132
|
-
# resource-policies). **JSON example:** ` "
|
3133
|
-
# resourcemanager.organizationAdmin", "members": [
|
3134
|
-
# group:admins@example.com", "domain:google.com", "
|
3135
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
3136
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
3137
|
-
# title": "expirable access", "description": "Does not grant
|
3138
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3139
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3140
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
3141
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3142
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
3143
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
3144
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
3145
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3146
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
3147
|
-
# 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/).
|
3148
3198
|
class Policy
|
3149
3199
|
include Google::Apis::Core::Hashable
|
3150
3200
|
|
3151
|
-
# Associates a list of `members
|
3152
|
-
# condition` that determines how and when the `bindings` are applied.
|
3153
|
-
# 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`.
|
3154
3209
|
# Corresponds to the JSON property `bindings`
|
3155
3210
|
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::Binding>]
|
3156
3211
|
attr_accessor :bindings
|
@@ -3290,12 +3345,18 @@ module Google
|
|
3290
3345
|
class RelationshipNote
|
3291
3346
|
include Google::Apis::Core::Hashable
|
3292
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
|
+
|
3293
3353
|
def initialize(**args)
|
3294
3354
|
update!(**args)
|
3295
3355
|
end
|
3296
3356
|
|
3297
3357
|
# Update properties of this object
|
3298
3358
|
def update!(**args)
|
3359
|
+
@type = args[:type] if args.key?(:type)
|
3299
3360
|
end
|
3300
3361
|
end
|
3301
3362
|
|
@@ -3324,7 +3385,8 @@ module Google
|
|
3324
3385
|
# @return [String]
|
3325
3386
|
attr_accessor :target
|
3326
3387
|
|
3327
|
-
# 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
|
3328
3390
|
# Corresponds to the JSON property `type`
|
3329
3391
|
# @return [String]
|
3330
3392
|
attr_accessor :type
|
@@ -3469,31 +3531,31 @@ module Google
|
|
3469
3531
|
|
3470
3532
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3471
3533
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3472
|
-
# A `binding` binds one or more `members
|
3473
|
-
# user accounts, service accounts, Google groups, and domains (
|
3474
|
-
# A `role` is a named list of permissions; each `role` can be
|
3475
|
-
# role or a user-created custom role. For some types of Google
|
3476
|
-
# a `binding` can also specify a `condition`, which is a
|
3477
|
-
# allows access to a resource only if the expression
|
3478
|
-
# condition can add constraints based on attributes of
|
3479
|
-
# or both. To learn which resources support
|
3480
|
-
# see the [IAM documentation](https://cloud.
|
3481
|
-
# resource-policies). **JSON example:** ` "
|
3482
|
-
# resourcemanager.organizationAdmin", "members": [
|
3483
|
-
# group:admins@example.com", "domain:google.com", "
|
3484
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
3485
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
3486
|
-
# title": "expirable access", "description": "Does not grant
|
3487
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3488
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3489
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
3490
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3491
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
3492
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
3493
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
3494
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3495
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
3496
|
-
# 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/).
|
3497
3559
|
# Corresponds to the JSON property `policy`
|
3498
3560
|
# @return [Google::Apis::ContaineranalysisV1alpha1::Policy]
|
3499
3561
|
attr_accessor :policy
|
@@ -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
|
@@ -358,6 +358,12 @@ module Google
|
|
358
358
|
include Google::Apis::Core::JsonObjectSupport
|
359
359
|
end
|
360
360
|
|
361
|
+
class License
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
361
367
|
class ListNoteOccurrencesResponse
|
362
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
369
|
|
@@ -424,19 +430,19 @@ module Google
|
|
424
430
|
include Google::Apis::Core::JsonObjectSupport
|
425
431
|
end
|
426
432
|
|
427
|
-
class
|
433
|
+
class PackageInfoNote
|
428
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
435
|
|
430
436
|
include Google::Apis::Core::JsonObjectSupport
|
431
437
|
end
|
432
438
|
|
433
|
-
class
|
439
|
+
class PackageInfoOccurrence
|
434
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
441
|
|
436
442
|
include Google::Apis::Core::JsonObjectSupport
|
437
443
|
end
|
438
444
|
|
439
|
-
class
|
445
|
+
class PackageIssue
|
440
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
447
|
|
442
448
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1011,8 +1017,8 @@ module Google
|
|
1011
1017
|
property :copyright, as: 'copyright'
|
1012
1018
|
collection :files_license_info, as: 'filesLicenseInfo'
|
1013
1019
|
property :id, as: 'id'
|
1014
|
-
property :
|
1015
|
-
|
1020
|
+
property :license_concluded, as: 'licenseConcluded', class: Google::Apis::ContaineranalysisV1alpha1::License, decorator: Google::Apis::ContaineranalysisV1alpha1::License::Representation
|
1021
|
+
|
1016
1022
|
property :notice, as: 'notice'
|
1017
1023
|
end
|
1018
1024
|
end
|
@@ -1175,6 +1181,14 @@ module Google
|
|
1175
1181
|
end
|
1176
1182
|
end
|
1177
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
|
+
|
1178
1192
|
class ListNoteOccurrencesResponse
|
1179
1193
|
# @private
|
1180
1194
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1273,7 +1287,7 @@ module Google
|
|
1273
1287
|
property :short_description, as: 'shortDescription'
|
1274
1288
|
property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileNote, decorator: Google::Apis::ContaineranalysisV1alpha1::FileNote::Representation
|
1275
1289
|
|
1276
|
-
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
|
1277
1291
|
|
1278
1292
|
property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1alpha1::RelationshipNote, decorator: Google::Apis::ContaineranalysisV1alpha1::RelationshipNote::Representation
|
1279
1293
|
|
@@ -1318,7 +1332,7 @@ module Google
|
|
1318
1332
|
|
1319
1333
|
property :spdx_file, as: 'spdxFile', class: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::FileOccurrence::Representation
|
1320
1334
|
|
1321
|
-
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
|
1322
1336
|
|
1323
1337
|
property :spdx_relationship, as: 'spdxRelationship', class: Google::Apis::ContaineranalysisV1alpha1::RelationshipOccurrence, decorator: Google::Apis::ContaineranalysisV1alpha1::RelationshipOccurrence::Representation
|
1324
1338
|
|
@@ -1351,20 +1365,7 @@ module Google
|
|
1351
1365
|
end
|
1352
1366
|
end
|
1353
1367
|
|
1354
|
-
class
|
1355
|
-
# @private
|
1356
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1357
|
-
property :affected_location, as: 'affectedLocation', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation::Representation
|
1358
|
-
|
1359
|
-
property :effective_severity, as: 'effectiveSeverity'
|
1360
|
-
property :fixed_location, as: 'fixedLocation', class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation, decorator: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityLocation::Representation
|
1361
|
-
|
1362
|
-
property :package_type, as: 'packageType'
|
1363
|
-
property :severity_name, as: 'severityName'
|
1364
|
-
end
|
1365
|
-
end
|
1366
|
-
|
1367
|
-
class PackageNote
|
1368
|
+
class PackageInfoNote
|
1368
1369
|
# @private
|
1369
1370
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1370
1371
|
property :analyzed, as: 'analyzed'
|
@@ -1377,8 +1378,10 @@ module Google
|
|
1377
1378
|
|
1378
1379
|
collection :files_license_info, as: 'filesLicenseInfo'
|
1379
1380
|
property :home_page, as: 'homePage'
|
1380
|
-
property :license_declared, as: 'licenseDeclared'
|
1381
|
+
property :license_declared, as: 'licenseDeclared', class: Google::Apis::ContaineranalysisV1alpha1::License, decorator: Google::Apis::ContaineranalysisV1alpha1::License::Representation
|
1382
|
+
|
1381
1383
|
property :originator, as: 'originator'
|
1384
|
+
property :package_type, as: 'packageType'
|
1382
1385
|
property :summary_description, as: 'summaryDescription'
|
1383
1386
|
property :supplier, as: 'supplier'
|
1384
1387
|
property :title, as: 'title'
|
@@ -1387,15 +1390,33 @@ module Google
|
|
1387
1390
|
end
|
1388
1391
|
end
|
1389
1392
|
|
1390
|
-
class
|
1393
|
+
class PackageInfoOccurrence
|
1391
1394
|
# @private
|
1392
1395
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1393
1396
|
property :comment, as: 'comment'
|
1394
1397
|
property :filename, as: 'filename'
|
1398
|
+
property :home_page, as: 'homePage'
|
1395
1399
|
property :id, as: 'id'
|
1396
|
-
property :
|
1397
|
-
|
1400
|
+
property :license_concluded, as: 'licenseConcluded', class: Google::Apis::ContaineranalysisV1alpha1::License, decorator: Google::Apis::ContaineranalysisV1alpha1::License::Representation
|
1401
|
+
|
1402
|
+
property :package_type, as: 'packageType'
|
1398
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'
|
1399
1420
|
end
|
1400
1421
|
end
|
1401
1422
|
|
@@ -1440,6 +1461,7 @@ module Google
|
|
1440
1461
|
class RelationshipNote
|
1441
1462
|
# @private
|
1442
1463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1464
|
+
property :type, as: 'type'
|
1443
1465
|
end
|
1444
1466
|
end
|
1445
1467
|
|
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:
|