google-apis-containeranalysis_v1 0.10.0 → 0.13.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e57f09456983070fbd5c691428a4896ae8b9d20cb5f2d5da2605eb7df74b9682
4
- data.tar.gz: feaa069bac82b2caacf00287ea7819e9f9f1515c790b4e38871cab0813eed3ee
3
+ metadata.gz: 9a2e800954c62ad4f3c40b159cd09410026255ef2467bc54ead26594bec2a686
4
+ data.tar.gz: 913e7ed43c08c9be73e6180d593378b8a82bef4cf3a1b9c9c1d53ad527da4088
5
5
  SHA512:
6
- metadata.gz: 6f3375b70bf5b19c8d9ae644991c7db3f23bae42fcd407b89e92f723a5cd7c18689c32d2158acb09604a05f5db0933184781f7647db85432c727c6b4cec150cc
7
- data.tar.gz: af3888f66317868c209e9ea08023d23323c65b54f727fd3a8891e0b7648deb50ede34f828e76b685206cd02dc5ff855d71957b85a1d31161bc78f419893365c7
6
+ metadata.gz: 98a9bed06caa18c7c8c287018b4cd73c5db3f44e6c734b978a5b706974cc362ffb71f937660ac2b0b922218af696c4a003f000bd99437e3fd290dcef44d9feca
7
+ data.tar.gz: e7ca1d78c0457bbbb59f31f02478c8ee6a40a8531699054229d43c3d4cba2cff7f799977994e43587feac1a4aa1a440cb1c9335c546d38047a7a3eac309487ee
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.13.0 (2022-06-08)
4
+
5
+ * Regenerated from discovery document revision 20220602
6
+ * Regenerated using generator version 0.5.0
7
+ * Unspecified changes
8
+
9
+ ### v0.12.0 (2022-05-26)
10
+
11
+ * Regenerated from discovery document revision 20220519
12
+
13
+ ### v0.11.0 (2022-05-11)
14
+
15
+ * Regenerated from discovery document revision 20220506
16
+
3
17
  ### v0.10.0 (2022-05-04)
4
18
 
5
19
  * Regenerated from discovery document revision 20220428
@@ -2445,6 +2445,32 @@ module Google
2445
2445
  end
2446
2446
  end
2447
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.
2458
+ # Corresponds to the JSON property `digestBytes`
2459
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2460
+ # @return [String]
2461
+ attr_accessor :digest_bytes
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_bytes = args[:digest_bytes] if args.key?(:digest_bytes)
2471
+ end
2472
+ end
2473
+
2448
2474
  # A note that indicates a type of analysis a provider would perform. This note
2449
2475
  # exists in a provider's project. A `Discovery` occurrence is created in a
2450
2476
  # consumer's project at the start of analysis.
@@ -2951,6 +2977,196 @@ module Google
2951
2977
  end
2952
2978
  end
2953
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
+
2954
3170
  # Container message for hash values.
2955
3171
  class HashProp
2956
3172
  include Google::Apis::Core::Hashable
@@ -3163,6 +3379,11 @@ module Google
3163
3379
  # @return [Google::Apis::ContaineranalysisV1::SlsaProvenance]
3164
3380
  attr_accessor :slsa_provenance
3165
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
+
3166
3387
  #
3167
3388
  # Corresponds to the JSON property `subject`
3168
3389
  # @return [Array<Google::Apis::ContaineranalysisV1::Subject>]
@@ -3178,6 +3399,7 @@ module Google
3178
3399
  @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
3179
3400
  @provenance = args[:provenance] if args.key?(:provenance)
3180
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)
3181
3403
  @subject = args[:subject] if args.key?(:subject)
3182
3404
  end
3183
3405
  end
@@ -3255,6 +3477,34 @@ module Google
3255
3477
  end
3256
3478
  end
3257
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
+
3258
3508
  # Response for listing occurrences for a note.
3259
3509
  class ListNoteOccurrencesResponse
3260
3510
  include Google::Apis::Core::Hashable
@@ -3337,8 +3587,7 @@ module Google
3337
3587
  class Location
3338
3588
  include Google::Apis::Core::Hashable
3339
3589
 
3340
- # Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
3341
- # denoting the package manager version distributing a package.
3590
+ # Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)
3342
3591
  # Corresponds to the JSON property `cpeUri`
3343
3592
  # @return [String]
3344
3593
  attr_accessor :cpe_uri
@@ -3551,8 +3800,7 @@ module Google
3551
3800
  # @return [String]
3552
3801
  attr_accessor :name
3553
3802
 
3554
- # This represents a particular package that is distributed over various channels.
3555
- # E.g., glibc (aka libc6) is distributed by many, at various versions.
3803
+ # PackageNote represents a particular package version.
3556
3804
  # Corresponds to the JSON property `package`
3557
3805
  # @return [Google::Apis::ContaineranalysisV1::PackageNote]
3558
3806
  attr_accessor :package
@@ -3840,29 +4088,87 @@ module Google
3840
4088
  end
3841
4089
  end
3842
4090
 
3843
- # This represents a particular package that is distributed over various channels.
3844
- # E.g., glibc (aka libc6) is distributed by many, at various versions.
4091
+ # PackageNote represents a particular package version.
3845
4092
  class PackageNote
3846
4093
  include Google::Apis::Core::Hashable
3847
4094
 
3848
- # The various channels by which a package is distributed.
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.
3849
4120
  # Corresponds to the JSON property `distribution`
3850
4121
  # @return [Array<Google::Apis::ContaineranalysisV1::Distribution>]
3851
4122
  attr_accessor :distribution
3852
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
+
3853
4134
  # Required. Immutable. The name of the package.
3854
4135
  # Corresponds to the JSON property `name`
3855
4136
  # @return [String]
3856
4137
  attr_accessor :name
3857
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
+
3858
4155
  def initialize(**args)
3859
4156
  update!(**args)
3860
4157
  end
3861
4158
 
3862
4159
  # Update properties of this object
3863
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)
3864
4165
  @distribution = args[:distribution] if args.key?(:distribution)
4166
+ @license = args[:license] if args.key?(:license)
4167
+ @maintainer = args[:maintainer] if args.key?(:maintainer)
3865
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)
3866
4172
  end
3867
4173
  end
3868
4174
 
@@ -3870,25 +4176,59 @@ module Google
3870
4176
  class PackageOccurrence
3871
4177
  include Google::Apis::Core::Hashable
3872
4178
 
3873
- # Required. All of the places within the filesystem versions of this package
3874
- # have been found.
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.
3875
4199
  # Corresponds to the JSON property `location`
3876
4200
  # @return [Array<Google::Apis::ContaineranalysisV1::Location>]
3877
4201
  attr_accessor :location
3878
4202
 
3879
- # Output only. The name of the installed package.
4203
+ # Required. Output only. The name of the installed package.
3880
4204
  # Corresponds to the JSON property `name`
3881
4205
  # @return [String]
3882
4206
  attr_accessor :name
3883
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
+
3884
4219
  def initialize(**args)
3885
4220
  update!(**args)
3886
4221
  end
3887
4222
 
3888
4223
  # Update properties of this object
3889
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)
3890
4228
  @location = args[:location] if args.key?(:location)
3891
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)
3892
4232
  end
3893
4233
  end
3894
4234
 
@@ -4364,6 +4704,56 @@ module Google
4364
4704
  end
4365
4705
  end
4366
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
+
4367
4757
  # Steps taken to build the artifact. For a TaskRun, typically each container
4368
4758
  # corresponds to one step in the recipe.
4369
4759
  class SlsaRecipe
@@ -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.10.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220428"
25
+ REVISION = "20220602"
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
 
@@ -448,6 +454,42 @@ module Google
448
454
  include Google::Apis::Core::JsonObjectSupport
449
455
  end
450
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
+
451
493
  class HashProp
452
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
495
 
@@ -508,6 +550,12 @@ module Google
508
550
  include Google::Apis::Core::JsonObjectSupport
509
551
  end
510
552
 
553
+ class License
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
511
559
  class ListNoteOccurrencesResponse
512
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
561
 
@@ -646,6 +694,12 @@ module Google
646
694
  include Google::Apis::Core::JsonObjectSupport
647
695
  end
648
696
 
697
+ class SlsaProvenanceZeroTwo
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
649
703
  class SlsaRecipe
650
704
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
705
 
@@ -1363,6 +1417,14 @@ module Google
1363
1417
  end
1364
1418
  end
1365
1419
 
1420
+ class Digest
1421
+ # @private
1422
+ class Representation < Google::Apis::Core::JsonRepresentation
1423
+ property :algo, as: 'algo'
1424
+ property :digest_bytes, :base64 => true, as: 'digestBytes'
1425
+ end
1426
+ end
1427
+
1366
1428
  class DiscoveryNote
1367
1429
  # @private
1368
1430
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1506,6 +1568,61 @@ module Google
1506
1568
  end
1507
1569
  end
1508
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
+
1509
1626
  class HashProp
1510
1627
  # @private
1511
1628
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1572,6 +1689,8 @@ module Google
1572
1689
 
1573
1690
  property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::ContaineranalysisV1::SlsaProvenance, decorator: Google::Apis::ContaineranalysisV1::SlsaProvenance::Representation
1574
1691
 
1692
+ property :slsa_provenance_zero_two, as: 'slsaProvenanceZeroTwo', class: Google::Apis::ContaineranalysisV1::SlsaProvenanceZeroTwo, decorator: Google::Apis::ContaineranalysisV1::SlsaProvenanceZeroTwo::Representation
1693
+
1575
1694
  collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1::Subject, decorator: Google::Apis::ContaineranalysisV1::Subject::Representation
1576
1695
 
1577
1696
  end
@@ -1600,6 +1719,14 @@ module Google
1600
1719
  end
1601
1720
  end
1602
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
+
1603
1730
  class ListNoteOccurrencesResponse
1604
1731
  # @private
1605
1732
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1759,18 +1886,37 @@ module Google
1759
1886
  class PackageNote
1760
1887
  # @private
1761
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
+
1762
1894
  collection :distribution, as: 'distribution', class: Google::Apis::ContaineranalysisV1::Distribution, decorator: Google::Apis::ContaineranalysisV1::Distribution::Representation
1763
1895
 
1896
+ property :license, as: 'license', class: Google::Apis::ContaineranalysisV1::License, decorator: Google::Apis::ContaineranalysisV1::License::Representation
1897
+
1898
+ property :maintainer, as: 'maintainer'
1764
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
+
1765
1904
  end
1766
1905
  end
1767
1906
 
1768
1907
  class PackageOccurrence
1769
1908
  # @private
1770
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
+
1771
1914
  collection :location, as: 'location', class: Google::Apis::ContaineranalysisV1::Location, decorator: Google::Apis::ContaineranalysisV1::Location::Representation
1772
1915
 
1773
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
+
1774
1920
  end
1775
1921
  end
1776
1922
 
@@ -1878,6 +2024,22 @@ module Google
1878
2024
  end
1879
2025
  end
1880
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
+
1881
2043
  class SlsaRecipe
1882
2044
  # @private
1883
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 the
193
- # operation documentation for the appropriate value for this field.
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 the
310
- # operation documentation for the appropriate value for this field.
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 the
348
- # operation documentation for the appropriate value for this field.
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 the
559
- # operation documentation for the appropriate value for this field.
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 the
742
- # operation documentation for the appropriate value for this field.
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 the
780
- # operation documentation for the appropriate value for this field.
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.10.0
4
+ version: 0.13.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-05-09 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.13.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.5
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