google-apis-containeranalysis_v1 0.9.0 → 0.12.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 +430 -16
- data/lib/google/apis/containeranalysis_v1/gem_version.rb +2 -2
- data/lib/google/apis/containeranalysis_v1/representations.rb +177 -0
- data/lib/google/apis/containeranalysis_v1/service.rb +18 -12
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea3835a36f6a8645ceccbfe061edfa2e017f8f0d6dd165367be886dbd9ffb4db
|
4
|
+
data.tar.gz: 41e545d0384cff5fcfa7cb71d2a48e64746749b2cd82a1fc32dcb0245b7c2ac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44f24cc6c8574394ba5c693e971a9713e1453fb6ee2b7b5d86d549d51d70458ddffdbb40e03787039e3d2f83ac30e4c7ea4456786cc1f2ab264ffc02d3e008c7
|
7
|
+
data.tar.gz: ab3b2cacf13468ad123e73321b34bdba9fc244c54ca010c543412b08782cd1d562478daa475f6471e4e983081bd4721069a7e0c9dfa3038e032c747d83cae5c4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1
|
2
2
|
|
3
|
+
### v0.12.0 (2022-05-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220519
|
6
|
+
|
7
|
+
### v0.11.0 (2022-05-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220506
|
10
|
+
|
11
|
+
### v0.10.0 (2022-05-04)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220428
|
14
|
+
|
3
15
|
### v0.9.0 (2022-04-21)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220414
|
@@ -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,216 @@ 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
|
+
|
2980
|
+
# Identifies the entity that executed the recipe, which is trusted to have
|
2981
|
+
# correctly performed the operation and populated this provenance.
|
2982
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder
|
2983
|
+
include Google::Apis::Core::Hashable
|
2984
|
+
|
2985
|
+
#
|
2986
|
+
# Corresponds to the JSON property `id`
|
2987
|
+
# @return [String]
|
2988
|
+
attr_accessor :id
|
2989
|
+
|
2990
|
+
def initialize(**args)
|
2991
|
+
update!(**args)
|
2992
|
+
end
|
2993
|
+
|
2994
|
+
# Update properties of this object
|
2995
|
+
def update!(**args)
|
2996
|
+
@id = args[:id] if args.key?(:id)
|
2997
|
+
end
|
2998
|
+
end
|
2999
|
+
|
3000
|
+
# Indicates that the builder claims certain fields in this message to be
|
3001
|
+
# complete.
|
3002
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness
|
3003
|
+
include Google::Apis::Core::Hashable
|
3004
|
+
|
3005
|
+
#
|
3006
|
+
# Corresponds to the JSON property `environment`
|
3007
|
+
# @return [Boolean]
|
3008
|
+
attr_accessor :environment
|
3009
|
+
alias_method :environment?, :environment
|
3010
|
+
|
3011
|
+
#
|
3012
|
+
# Corresponds to the JSON property `materials`
|
3013
|
+
# @return [Boolean]
|
3014
|
+
attr_accessor :materials
|
3015
|
+
alias_method :materials?, :materials
|
3016
|
+
|
3017
|
+
#
|
3018
|
+
# Corresponds to the JSON property `parameters`
|
3019
|
+
# @return [Boolean]
|
3020
|
+
attr_accessor :parameters
|
3021
|
+
alias_method :parameters?, :parameters
|
3022
|
+
|
3023
|
+
def initialize(**args)
|
3024
|
+
update!(**args)
|
3025
|
+
end
|
3026
|
+
|
3027
|
+
# Update properties of this object
|
3028
|
+
def update!(**args)
|
3029
|
+
@environment = args[:environment] if args.key?(:environment)
|
3030
|
+
@materials = args[:materials] if args.key?(:materials)
|
3031
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
3032
|
+
end
|
3033
|
+
end
|
3034
|
+
|
3035
|
+
# Describes where the config file that kicked off the build came from. This is
|
3036
|
+
# effectively a pointer to the source where buildConfig came from.
|
3037
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource
|
3038
|
+
include Google::Apis::Core::Hashable
|
3039
|
+
|
3040
|
+
#
|
3041
|
+
# Corresponds to the JSON property `digest`
|
3042
|
+
# @return [Hash<String,String>]
|
3043
|
+
attr_accessor :digest
|
3044
|
+
|
3045
|
+
#
|
3046
|
+
# Corresponds to the JSON property `entryPoint`
|
3047
|
+
# @return [String]
|
3048
|
+
attr_accessor :entry_point
|
3049
|
+
|
3050
|
+
#
|
3051
|
+
# Corresponds to the JSON property `uri`
|
3052
|
+
# @return [String]
|
3053
|
+
attr_accessor :uri
|
3054
|
+
|
3055
|
+
def initialize(**args)
|
3056
|
+
update!(**args)
|
3057
|
+
end
|
3058
|
+
|
3059
|
+
# Update properties of this object
|
3060
|
+
def update!(**args)
|
3061
|
+
@digest = args[:digest] if args.key?(:digest)
|
3062
|
+
@entry_point = args[:entry_point] if args.key?(:entry_point)
|
3063
|
+
@uri = args[:uri] if args.key?(:uri)
|
3064
|
+
end
|
3065
|
+
end
|
3066
|
+
|
3067
|
+
# Identifies the event that kicked off the build.
|
3068
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation
|
3069
|
+
include Google::Apis::Core::Hashable
|
3070
|
+
|
3071
|
+
# Describes where the config file that kicked off the build came from. This is
|
3072
|
+
# effectively a pointer to the source where buildConfig came from.
|
3073
|
+
# Corresponds to the JSON property `configSource`
|
3074
|
+
# @return [Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource]
|
3075
|
+
attr_accessor :config_source
|
3076
|
+
|
3077
|
+
#
|
3078
|
+
# Corresponds to the JSON property `environment`
|
3079
|
+
# @return [Hash<String,Object>]
|
3080
|
+
attr_accessor :environment
|
3081
|
+
|
3082
|
+
#
|
3083
|
+
# Corresponds to the JSON property `parameters`
|
3084
|
+
# @return [Hash<String,Object>]
|
3085
|
+
attr_accessor :parameters
|
3086
|
+
|
3087
|
+
def initialize(**args)
|
3088
|
+
update!(**args)
|
3089
|
+
end
|
3090
|
+
|
3091
|
+
# Update properties of this object
|
3092
|
+
def update!(**args)
|
3093
|
+
@config_source = args[:config_source] if args.key?(:config_source)
|
3094
|
+
@environment = args[:environment] if args.key?(:environment)
|
3095
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
3096
|
+
end
|
3097
|
+
end
|
3098
|
+
|
3099
|
+
# The collection of artifacts that influenced the build including sources,
|
3100
|
+
# dependencies, build tools, base images, and so on.
|
3101
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial
|
3102
|
+
include Google::Apis::Core::Hashable
|
3103
|
+
|
3104
|
+
#
|
3105
|
+
# Corresponds to the JSON property `digest`
|
3106
|
+
# @return [Hash<String,String>]
|
3107
|
+
attr_accessor :digest
|
3108
|
+
|
3109
|
+
#
|
3110
|
+
# Corresponds to the JSON property `uri`
|
3111
|
+
# @return [String]
|
3112
|
+
attr_accessor :uri
|
3113
|
+
|
3114
|
+
def initialize(**args)
|
3115
|
+
update!(**args)
|
3116
|
+
end
|
3117
|
+
|
3118
|
+
# Update properties of this object
|
3119
|
+
def update!(**args)
|
3120
|
+
@digest = args[:digest] if args.key?(:digest)
|
3121
|
+
@uri = args[:uri] if args.key?(:uri)
|
3122
|
+
end
|
3123
|
+
end
|
3124
|
+
|
3125
|
+
# Other properties of the build.
|
3126
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata
|
3127
|
+
include Google::Apis::Core::Hashable
|
3128
|
+
|
3129
|
+
#
|
3130
|
+
# Corresponds to the JSON property `buildFinishedOn`
|
3131
|
+
# @return [String]
|
3132
|
+
attr_accessor :build_finished_on
|
3133
|
+
|
3134
|
+
#
|
3135
|
+
# Corresponds to the JSON property `buildInvocationId`
|
3136
|
+
# @return [String]
|
3137
|
+
attr_accessor :build_invocation_id
|
3138
|
+
|
3139
|
+
#
|
3140
|
+
# Corresponds to the JSON property `buildStartedOn`
|
3141
|
+
# @return [String]
|
3142
|
+
attr_accessor :build_started_on
|
3143
|
+
|
3144
|
+
# Indicates that the builder claims certain fields in this message to be
|
3145
|
+
# complete.
|
3146
|
+
# Corresponds to the JSON property `completeness`
|
3147
|
+
# @return [Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness]
|
3148
|
+
attr_accessor :completeness
|
3149
|
+
|
3150
|
+
#
|
3151
|
+
# Corresponds to the JSON property `reproducible`
|
3152
|
+
# @return [Boolean]
|
3153
|
+
attr_accessor :reproducible
|
3154
|
+
alias_method :reproducible?, :reproducible
|
3155
|
+
|
3156
|
+
def initialize(**args)
|
3157
|
+
update!(**args)
|
3158
|
+
end
|
3159
|
+
|
3160
|
+
# Update properties of this object
|
3161
|
+
def update!(**args)
|
3162
|
+
@build_finished_on = args[:build_finished_on] if args.key?(:build_finished_on)
|
3163
|
+
@build_invocation_id = args[:build_invocation_id] if args.key?(:build_invocation_id)
|
3164
|
+
@build_started_on = args[:build_started_on] if args.key?(:build_started_on)
|
3165
|
+
@completeness = args[:completeness] if args.key?(:completeness)
|
3166
|
+
@reproducible = args[:reproducible] if args.key?(:reproducible)
|
3167
|
+
end
|
3168
|
+
end
|
3169
|
+
|
2935
3170
|
# Container message for hash values.
|
2936
3171
|
class HashProp
|
2937
3172
|
include Google::Apis::Core::Hashable
|
@@ -3144,6 +3379,11 @@ module Google
|
|
3144
3379
|
# @return [Google::Apis::ContaineranalysisV1::SlsaProvenance]
|
3145
3380
|
attr_accessor :slsa_provenance
|
3146
3381
|
|
3382
|
+
# See full explanation of fields at slsa.dev/provenance/v0.2.
|
3383
|
+
# Corresponds to the JSON property `slsaProvenanceZeroTwo`
|
3384
|
+
# @return [Google::Apis::ContaineranalysisV1::SlsaProvenanceZeroTwo]
|
3385
|
+
attr_accessor :slsa_provenance_zero_two
|
3386
|
+
|
3147
3387
|
#
|
3148
3388
|
# Corresponds to the JSON property `subject`
|
3149
3389
|
# @return [Array<Google::Apis::ContaineranalysisV1::Subject>]
|
@@ -3159,6 +3399,7 @@ module Google
|
|
3159
3399
|
@predicate_type = args[:predicate_type] if args.key?(:predicate_type)
|
3160
3400
|
@provenance = args[:provenance] if args.key?(:provenance)
|
3161
3401
|
@slsa_provenance = args[:slsa_provenance] if args.key?(:slsa_provenance)
|
3402
|
+
@slsa_provenance_zero_two = args[:slsa_provenance_zero_two] if args.key?(:slsa_provenance_zero_two)
|
3162
3403
|
@subject = args[:subject] if args.key?(:subject)
|
3163
3404
|
end
|
3164
3405
|
end
|
@@ -3236,6 +3477,34 @@ module Google
|
|
3236
3477
|
end
|
3237
3478
|
end
|
3238
3479
|
|
3480
|
+
# License information.
|
3481
|
+
class License
|
3482
|
+
include Google::Apis::Core::Hashable
|
3483
|
+
|
3484
|
+
# Comments
|
3485
|
+
# Corresponds to the JSON property `comments`
|
3486
|
+
# @return [String]
|
3487
|
+
attr_accessor :comments
|
3488
|
+
|
3489
|
+
# Often a single license can be used to represent the licensing terms. Sometimes
|
3490
|
+
# it is necessary to include a choice of one or more licenses or some
|
3491
|
+
# combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.
|
3492
|
+
# 1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
|
3493
|
+
# Corresponds to the JSON property `expression`
|
3494
|
+
# @return [String]
|
3495
|
+
attr_accessor :expression
|
3496
|
+
|
3497
|
+
def initialize(**args)
|
3498
|
+
update!(**args)
|
3499
|
+
end
|
3500
|
+
|
3501
|
+
# Update properties of this object
|
3502
|
+
def update!(**args)
|
3503
|
+
@comments = args[:comments] if args.key?(:comments)
|
3504
|
+
@expression = args[:expression] if args.key?(:expression)
|
3505
|
+
end
|
3506
|
+
end
|
3507
|
+
|
3239
3508
|
# Response for listing occurrences for a note.
|
3240
3509
|
class ListNoteOccurrencesResponse
|
3241
3510
|
include Google::Apis::Core::Hashable
|
@@ -3318,8 +3587,7 @@ module Google
|
|
3318
3587
|
class Location
|
3319
3588
|
include Google::Apis::Core::Hashable
|
3320
3589
|
|
3321
|
-
#
|
3322
|
-
# denoting the package manager version distributing a package.
|
3590
|
+
# Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
|
3323
3591
|
# Corresponds to the JSON property `cpeUri`
|
3324
3592
|
# @return [String]
|
3325
3593
|
attr_accessor :cpe_uri
|
@@ -3532,8 +3800,7 @@ module Google
|
|
3532
3800
|
# @return [String]
|
3533
3801
|
attr_accessor :name
|
3534
3802
|
|
3535
|
-
#
|
3536
|
-
# E.g., glibc (aka libc6) is distributed by many, at various versions.
|
3803
|
+
# PackageNote represents a particular package version.
|
3537
3804
|
# Corresponds to the JSON property `package`
|
3538
3805
|
# @return [Google::Apis::ContaineranalysisV1::PackageNote]
|
3539
3806
|
attr_accessor :package
|
@@ -3769,6 +4036,11 @@ module Google
|
|
3769
4036
|
# @return [String]
|
3770
4037
|
attr_accessor :effective_severity
|
3771
4038
|
|
4039
|
+
# The location at which this package was found.
|
4040
|
+
# Corresponds to the JSON property `fileLocation`
|
4041
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation>]
|
4042
|
+
attr_accessor :file_location
|
4043
|
+
|
3772
4044
|
# Output only. Whether a fix is available for this package.
|
3773
4045
|
# Corresponds to the JSON property `fixAvailable`
|
3774
4046
|
# @return [Boolean]
|
@@ -3807,6 +4079,7 @@ module Google
|
|
3807
4079
|
@affected_package = args[:affected_package] if args.key?(:affected_package)
|
3808
4080
|
@affected_version = args[:affected_version] if args.key?(:affected_version)
|
3809
4081
|
@effective_severity = args[:effective_severity] if args.key?(:effective_severity)
|
4082
|
+
@file_location = args[:file_location] if args.key?(:file_location)
|
3810
4083
|
@fix_available = args[:fix_available] if args.key?(:fix_available)
|
3811
4084
|
@fixed_cpe_uri = args[:fixed_cpe_uri] if args.key?(:fixed_cpe_uri)
|
3812
4085
|
@fixed_package = args[:fixed_package] if args.key?(:fixed_package)
|
@@ -3815,29 +4088,87 @@ module Google
|
|
3815
4088
|
end
|
3816
4089
|
end
|
3817
4090
|
|
3818
|
-
#
|
3819
|
-
# E.g., glibc (aka libc6) is distributed by many, at various versions.
|
4091
|
+
# PackageNote represents a particular package version.
|
3820
4092
|
class PackageNote
|
3821
4093
|
include Google::Apis::Core::Hashable
|
3822
4094
|
|
3823
|
-
# The
|
4095
|
+
# The CPU architecture for which packages in this distribution channel were
|
4096
|
+
# built. Architecture will be blank for language packages.
|
4097
|
+
# Corresponds to the JSON property `architecture`
|
4098
|
+
# @return [String]
|
4099
|
+
attr_accessor :architecture
|
4100
|
+
|
4101
|
+
# The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the
|
4102
|
+
# package manager version distributing a package. The cpe_uri will be blank for
|
4103
|
+
# language packages.
|
4104
|
+
# Corresponds to the JSON property `cpeUri`
|
4105
|
+
# @return [String]
|
4106
|
+
attr_accessor :cpe_uri
|
4107
|
+
|
4108
|
+
# The description of this package.
|
4109
|
+
# Corresponds to the JSON property `description`
|
4110
|
+
# @return [String]
|
4111
|
+
attr_accessor :description
|
4112
|
+
|
4113
|
+
# Hash value, typically a file digest, that allows unique identification a
|
4114
|
+
# specific package.
|
4115
|
+
# Corresponds to the JSON property `digest`
|
4116
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::Digest>]
|
4117
|
+
attr_accessor :digest
|
4118
|
+
|
4119
|
+
# Deprecated. The various channels by which a package is distributed.
|
3824
4120
|
# Corresponds to the JSON property `distribution`
|
3825
4121
|
# @return [Array<Google::Apis::ContaineranalysisV1::Distribution>]
|
3826
4122
|
attr_accessor :distribution
|
3827
4123
|
|
4124
|
+
# License information.
|
4125
|
+
# Corresponds to the JSON property `license`
|
4126
|
+
# @return [Google::Apis::ContaineranalysisV1::License]
|
4127
|
+
attr_accessor :license
|
4128
|
+
|
4129
|
+
# A freeform text denoting the maintainer of this package.
|
4130
|
+
# Corresponds to the JSON property `maintainer`
|
4131
|
+
# @return [String]
|
4132
|
+
attr_accessor :maintainer
|
4133
|
+
|
3828
4134
|
# Required. Immutable. The name of the package.
|
3829
4135
|
# Corresponds to the JSON property `name`
|
3830
4136
|
# @return [String]
|
3831
4137
|
attr_accessor :name
|
3832
4138
|
|
4139
|
+
# The type of package; whether native or non native (e.g., ruby gems, node.js
|
4140
|
+
# packages, etc.).
|
4141
|
+
# Corresponds to the JSON property `packageType`
|
4142
|
+
# @return [String]
|
4143
|
+
attr_accessor :package_type
|
4144
|
+
|
4145
|
+
# The homepage for this package.
|
4146
|
+
# Corresponds to the JSON property `url`
|
4147
|
+
# @return [String]
|
4148
|
+
attr_accessor :url
|
4149
|
+
|
4150
|
+
# Version contains structured information about the version of a package.
|
4151
|
+
# Corresponds to the JSON property `version`
|
4152
|
+
# @return [Google::Apis::ContaineranalysisV1::Version]
|
4153
|
+
attr_accessor :version
|
4154
|
+
|
3833
4155
|
def initialize(**args)
|
3834
4156
|
update!(**args)
|
3835
4157
|
end
|
3836
4158
|
|
3837
4159
|
# Update properties of this object
|
3838
4160
|
def update!(**args)
|
4161
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
4162
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
4163
|
+
@description = args[:description] if args.key?(:description)
|
4164
|
+
@digest = args[:digest] if args.key?(:digest)
|
3839
4165
|
@distribution = args[:distribution] if args.key?(:distribution)
|
4166
|
+
@license = args[:license] if args.key?(:license)
|
4167
|
+
@maintainer = args[:maintainer] if args.key?(:maintainer)
|
3840
4168
|
@name = args[:name] if args.key?(:name)
|
4169
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
4170
|
+
@url = args[:url] if args.key?(:url)
|
4171
|
+
@version = args[:version] if args.key?(:version)
|
3841
4172
|
end
|
3842
4173
|
end
|
3843
4174
|
|
@@ -3845,25 +4176,59 @@ module Google
|
|
3845
4176
|
class PackageOccurrence
|
3846
4177
|
include Google::Apis::Core::Hashable
|
3847
4178
|
|
3848
|
-
#
|
3849
|
-
#
|
4179
|
+
# Output only. The CPU architecture for which packages in this distribution
|
4180
|
+
# channel were built. Architecture will be blank for language packages.
|
4181
|
+
# Corresponds to the JSON property `architecture`
|
4182
|
+
# @return [String]
|
4183
|
+
attr_accessor :architecture
|
4184
|
+
|
4185
|
+
# Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/)
|
4186
|
+
# denoting the package manager version distributing a package. The cpe_uri will
|
4187
|
+
# be blank for language packages.
|
4188
|
+
# Corresponds to the JSON property `cpeUri`
|
4189
|
+
# @return [String]
|
4190
|
+
attr_accessor :cpe_uri
|
4191
|
+
|
4192
|
+
# License information.
|
4193
|
+
# Corresponds to the JSON property `license`
|
4194
|
+
# @return [Google::Apis::ContaineranalysisV1::License]
|
4195
|
+
attr_accessor :license
|
4196
|
+
|
4197
|
+
# All of the places within the filesystem versions of this package have been
|
4198
|
+
# found.
|
3850
4199
|
# Corresponds to the JSON property `location`
|
3851
4200
|
# @return [Array<Google::Apis::ContaineranalysisV1::Location>]
|
3852
4201
|
attr_accessor :location
|
3853
4202
|
|
3854
|
-
# Output only. The name of the installed package.
|
4203
|
+
# Required. Output only. The name of the installed package.
|
3855
4204
|
# Corresponds to the JSON property `name`
|
3856
4205
|
# @return [String]
|
3857
4206
|
attr_accessor :name
|
3858
4207
|
|
4208
|
+
# Output only. The type of package; whether native or non native (e.g., ruby
|
4209
|
+
# gems, node.js packages, etc.).
|
4210
|
+
# Corresponds to the JSON property `packageType`
|
4211
|
+
# @return [String]
|
4212
|
+
attr_accessor :package_type
|
4213
|
+
|
4214
|
+
# Version contains structured information about the version of a package.
|
4215
|
+
# Corresponds to the JSON property `version`
|
4216
|
+
# @return [Google::Apis::ContaineranalysisV1::Version]
|
4217
|
+
attr_accessor :version
|
4218
|
+
|
3859
4219
|
def initialize(**args)
|
3860
4220
|
update!(**args)
|
3861
4221
|
end
|
3862
4222
|
|
3863
4223
|
# Update properties of this object
|
3864
4224
|
def update!(**args)
|
4225
|
+
@architecture = args[:architecture] if args.key?(:architecture)
|
4226
|
+
@cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
|
4227
|
+
@license = args[:license] if args.key?(:license)
|
3865
4228
|
@location = args[:location] if args.key?(:location)
|
3866
4229
|
@name = args[:name] if args.key?(:name)
|
4230
|
+
@package_type = args[:package_type] if args.key?(:package_type)
|
4231
|
+
@version = args[:version] if args.key?(:version)
|
3867
4232
|
end
|
3868
4233
|
end
|
3869
4234
|
|
@@ -4339,6 +4704,56 @@ module Google
|
|
4339
4704
|
end
|
4340
4705
|
end
|
4341
4706
|
|
4707
|
+
# See full explanation of fields at slsa.dev/provenance/v0.2.
|
4708
|
+
class SlsaProvenanceZeroTwo
|
4709
|
+
include Google::Apis::Core::Hashable
|
4710
|
+
|
4711
|
+
#
|
4712
|
+
# Corresponds to the JSON property `buildConfig`
|
4713
|
+
# @return [Hash<String,Object>]
|
4714
|
+
attr_accessor :build_config
|
4715
|
+
|
4716
|
+
#
|
4717
|
+
# Corresponds to the JSON property `buildType`
|
4718
|
+
# @return [String]
|
4719
|
+
attr_accessor :build_type
|
4720
|
+
|
4721
|
+
# Identifies the entity that executed the recipe, which is trusted to have
|
4722
|
+
# correctly performed the operation and populated this provenance.
|
4723
|
+
# Corresponds to the JSON property `builder`
|
4724
|
+
# @return [Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder]
|
4725
|
+
attr_accessor :builder
|
4726
|
+
|
4727
|
+
# Identifies the event that kicked off the build.
|
4728
|
+
# Corresponds to the JSON property `invocation`
|
4729
|
+
# @return [Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation]
|
4730
|
+
attr_accessor :invocation
|
4731
|
+
|
4732
|
+
#
|
4733
|
+
# Corresponds to the JSON property `materials`
|
4734
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial>]
|
4735
|
+
attr_accessor :materials
|
4736
|
+
|
4737
|
+
# Other properties of the build.
|
4738
|
+
# Corresponds to the JSON property `metadata`
|
4739
|
+
# @return [Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata]
|
4740
|
+
attr_accessor :metadata
|
4741
|
+
|
4742
|
+
def initialize(**args)
|
4743
|
+
update!(**args)
|
4744
|
+
end
|
4745
|
+
|
4746
|
+
# Update properties of this object
|
4747
|
+
def update!(**args)
|
4748
|
+
@build_config = args[:build_config] if args.key?(:build_config)
|
4749
|
+
@build_type = args[:build_type] if args.key?(:build_type)
|
4750
|
+
@builder = args[:builder] if args.key?(:builder)
|
4751
|
+
@invocation = args[:invocation] if args.key?(:invocation)
|
4752
|
+
@materials = args[:materials] if args.key?(:materials)
|
4753
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
4754
|
+
end
|
4755
|
+
end
|
4756
|
+
|
4342
4757
|
# Steps taken to build the artifact. For a TaskRun, typically each container
|
4343
4758
|
# corresponds to one step in the recipe.
|
4344
4759
|
class SlsaRecipe
|
@@ -4844,9 +5259,8 @@ module Google
|
|
4844
5259
|
|
4845
5260
|
# Common Vulnerability Scoring System. For details, see https://www.first.org/
|
4846
5261
|
# 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.
|
5262
|
+
# various versions of CVSS rather than making a separate proto for storing a
|
5263
|
+
# specific version.
|
4850
5264
|
# Corresponds to the JSON property `cvssv3`
|
4851
5265
|
# @return [Google::Apis::ContaineranalysisV1::Cvss]
|
4852
5266
|
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.12.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 = "20220519"
|
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,48 @@ 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
|
+
|
457
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
463
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
469
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
475
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
481
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
487
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
445
493
|
class HashProp
|
446
494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
495
|
|
@@ -502,6 +550,12 @@ module Google
|
|
502
550
|
include Google::Apis::Core::JsonObjectSupport
|
503
551
|
end
|
504
552
|
|
553
|
+
class License
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
|
+
|
556
|
+
include Google::Apis::Core::JsonObjectSupport
|
557
|
+
end
|
558
|
+
|
505
559
|
class ListNoteOccurrencesResponse
|
506
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
561
|
|
@@ -640,6 +694,12 @@ module Google
|
|
640
694
|
include Google::Apis::Core::JsonObjectSupport
|
641
695
|
end
|
642
696
|
|
697
|
+
class SlsaProvenanceZeroTwo
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
|
+
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
701
|
+
end
|
702
|
+
|
643
703
|
class SlsaRecipe
|
644
704
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
705
|
|
@@ -1357,6 +1417,14 @@ module Google
|
|
1357
1417
|
end
|
1358
1418
|
end
|
1359
1419
|
|
1420
|
+
class Digest
|
1421
|
+
# @private
|
1422
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1423
|
+
property :algo, as: 'algo'
|
1424
|
+
property :digest_value, as: 'digestValue'
|
1425
|
+
end
|
1426
|
+
end
|
1427
|
+
|
1360
1428
|
class DiscoveryNote
|
1361
1429
|
# @private
|
1362
1430
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1493,6 +1561,68 @@ module Google
|
|
1493
1561
|
end
|
1494
1562
|
end
|
1495
1563
|
|
1564
|
+
class GrafeasV1FileLocation
|
1565
|
+
# @private
|
1566
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1567
|
+
property :file_path, as: 'filePath'
|
1568
|
+
end
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder
|
1572
|
+
# @private
|
1573
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1574
|
+
property :id, as: 'id'
|
1575
|
+
end
|
1576
|
+
end
|
1577
|
+
|
1578
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness
|
1579
|
+
# @private
|
1580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1581
|
+
property :environment, as: 'environment'
|
1582
|
+
property :materials, as: 'materials'
|
1583
|
+
property :parameters, as: 'parameters'
|
1584
|
+
end
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource
|
1588
|
+
# @private
|
1589
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1590
|
+
hash :digest, as: 'digest'
|
1591
|
+
property :entry_point, as: 'entryPoint'
|
1592
|
+
property :uri, as: 'uri'
|
1593
|
+
end
|
1594
|
+
end
|
1595
|
+
|
1596
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation
|
1597
|
+
# @private
|
1598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1599
|
+
property :config_source, as: 'configSource', class: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource, decorator: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource::Representation
|
1600
|
+
|
1601
|
+
hash :environment, as: 'environment'
|
1602
|
+
hash :parameters, as: 'parameters'
|
1603
|
+
end
|
1604
|
+
end
|
1605
|
+
|
1606
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial
|
1607
|
+
# @private
|
1608
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1609
|
+
hash :digest, as: 'digest'
|
1610
|
+
property :uri, as: 'uri'
|
1611
|
+
end
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
class GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata
|
1615
|
+
# @private
|
1616
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1617
|
+
property :build_finished_on, as: 'buildFinishedOn'
|
1618
|
+
property :build_invocation_id, as: 'buildInvocationId'
|
1619
|
+
property :build_started_on, as: 'buildStartedOn'
|
1620
|
+
property :completeness, as: 'completeness', class: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness, decorator: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness::Representation
|
1621
|
+
|
1622
|
+
property :reproducible, as: 'reproducible'
|
1623
|
+
end
|
1624
|
+
end
|
1625
|
+
|
1496
1626
|
class HashProp
|
1497
1627
|
# @private
|
1498
1628
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1559,6 +1689,8 @@ module Google
|
|
1559
1689
|
|
1560
1690
|
property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::ContaineranalysisV1::SlsaProvenance, decorator: Google::Apis::ContaineranalysisV1::SlsaProvenance::Representation
|
1561
1691
|
|
1692
|
+
property :slsa_provenance_zero_two, as: 'slsaProvenanceZeroTwo', class: Google::Apis::ContaineranalysisV1::SlsaProvenanceZeroTwo, decorator: Google::Apis::ContaineranalysisV1::SlsaProvenanceZeroTwo::Representation
|
1693
|
+
|
1562
1694
|
collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1::Subject, decorator: Google::Apis::ContaineranalysisV1::Subject::Representation
|
1563
1695
|
|
1564
1696
|
end
|
@@ -1587,6 +1719,14 @@ module Google
|
|
1587
1719
|
end
|
1588
1720
|
end
|
1589
1721
|
|
1722
|
+
class License
|
1723
|
+
# @private
|
1724
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1725
|
+
property :comments, as: 'comments'
|
1726
|
+
property :expression, as: 'expression'
|
1727
|
+
end
|
1728
|
+
end
|
1729
|
+
|
1590
1730
|
class ListNoteOccurrencesResponse
|
1591
1731
|
# @private
|
1592
1732
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1732,6 +1872,8 @@ module Google
|
|
1732
1872
|
property :affected_version, as: 'affectedVersion', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
|
1733
1873
|
|
1734
1874
|
property :effective_severity, as: 'effectiveSeverity'
|
1875
|
+
collection :file_location, as: 'fileLocation', class: Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation, decorator: Google::Apis::ContaineranalysisV1::GrafeasV1FileLocation::Representation
|
1876
|
+
|
1735
1877
|
property :fix_available, as: 'fixAvailable'
|
1736
1878
|
property :fixed_cpe_uri, as: 'fixedCpeUri'
|
1737
1879
|
property :fixed_package, as: 'fixedPackage'
|
@@ -1744,18 +1886,37 @@ module Google
|
|
1744
1886
|
class PackageNote
|
1745
1887
|
# @private
|
1746
1888
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1889
|
+
property :architecture, as: 'architecture'
|
1890
|
+
property :cpe_uri, as: 'cpeUri'
|
1891
|
+
property :description, as: 'description'
|
1892
|
+
collection :digest, as: 'digest', class: Google::Apis::ContaineranalysisV1::Digest, decorator: Google::Apis::ContaineranalysisV1::Digest::Representation
|
1893
|
+
|
1747
1894
|
collection :distribution, as: 'distribution', class: Google::Apis::ContaineranalysisV1::Distribution, decorator: Google::Apis::ContaineranalysisV1::Distribution::Representation
|
1748
1895
|
|
1896
|
+
property :license, as: 'license', class: Google::Apis::ContaineranalysisV1::License, decorator: Google::Apis::ContaineranalysisV1::License::Representation
|
1897
|
+
|
1898
|
+
property :maintainer, as: 'maintainer'
|
1749
1899
|
property :name, as: 'name'
|
1900
|
+
property :package_type, as: 'packageType'
|
1901
|
+
property :url, as: 'url'
|
1902
|
+
property :version, as: 'version', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
|
1903
|
+
|
1750
1904
|
end
|
1751
1905
|
end
|
1752
1906
|
|
1753
1907
|
class PackageOccurrence
|
1754
1908
|
# @private
|
1755
1909
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1910
|
+
property :architecture, as: 'architecture'
|
1911
|
+
property :cpe_uri, as: 'cpeUri'
|
1912
|
+
property :license, as: 'license', class: Google::Apis::ContaineranalysisV1::License, decorator: Google::Apis::ContaineranalysisV1::License::Representation
|
1913
|
+
|
1756
1914
|
collection :location, as: 'location', class: Google::Apis::ContaineranalysisV1::Location, decorator: Google::Apis::ContaineranalysisV1::Location::Representation
|
1757
1915
|
|
1758
1916
|
property :name, as: 'name'
|
1917
|
+
property :package_type, as: 'packageType'
|
1918
|
+
property :version, as: 'version', class: Google::Apis::ContaineranalysisV1::Version, decorator: Google::Apis::ContaineranalysisV1::Version::Representation
|
1919
|
+
|
1759
1920
|
end
|
1760
1921
|
end
|
1761
1922
|
|
@@ -1863,6 +2024,22 @@ module Google
|
|
1863
2024
|
end
|
1864
2025
|
end
|
1865
2026
|
|
2027
|
+
class SlsaProvenanceZeroTwo
|
2028
|
+
# @private
|
2029
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2030
|
+
hash :build_config, as: 'buildConfig'
|
2031
|
+
property :build_type, as: 'buildType'
|
2032
|
+
property :builder, as: 'builder', class: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder, decorator: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder::Representation
|
2033
|
+
|
2034
|
+
property :invocation, as: 'invocation', class: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation, decorator: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation::Representation
|
2035
|
+
|
2036
|
+
collection :materials, as: 'materials', class: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial, decorator: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial::Representation
|
2037
|
+
|
2038
|
+
property :metadata, as: 'metadata', class: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata, decorator: Google::Apis::ContaineranalysisV1::GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata::Representation
|
2039
|
+
|
2040
|
+
end
|
2041
|
+
end
|
2042
|
+
|
1866
2043
|
class SlsaRecipe
|
1867
2044
|
# @private
|
1868
2045
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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.12.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-30 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.12.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Container Analysis API V1
|