google-apis-containeranalysis_v1 0.11.0 → 0.12.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: c9912fe880bf93716c9b2bb13858a52a75a0d06d9c16b98d4f4985a91630250a
4
- data.tar.gz: 4e01b25f57eafb017d2136b764dde9ade49b43e1a84512b65c56a8af760b207a
3
+ metadata.gz: ea3835a36f6a8645ceccbfe061edfa2e017f8f0d6dd165367be886dbd9ffb4db
4
+ data.tar.gz: 41e545d0384cff5fcfa7cb71d2a48e64746749b2cd82a1fc32dcb0245b7c2ac5
5
5
  SHA512:
6
- metadata.gz: b9a2d677ee0abdeaf11d743541c298094fc71270a8f0d38bf005d7f4da4e7d260622314981700c6703ad4e7a48d5f3d55d243204d15dd9ef491fb281bcae0cf7
7
- data.tar.gz: 9db13092c324c9ae9b617918e687b7bb762697bbfca3c20494fc00cb40596539fe6c449313a69c083316b15e2ece4c22847193eeb90f9f4ba74503985b7b30f1
6
+ metadata.gz: 44f24cc6c8574394ba5c693e971a9713e1453fb6ee2b7b5d86d549d51d70458ddffdbb40e03787039e3d2f83ac30e4c7ea4456786cc1f2ab264ffc02d3e008c7
7
+ data.tar.gz: ab3b2cacf13468ad123e73321b34bdba9fc244c54ca010c543412b08782cd1d562478daa475f6471e4e983081bd4721069a7e0c9dfa3038e032c747d83cae5c4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.11.0 (2022-05-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20220506
@@ -2977,6 +2977,196 @@ module Google
2977
2977
  end
2978
2978
  end
2979
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
+
2980
3170
  # Container message for hash values.
2981
3171
  class HashProp
2982
3172
  include Google::Apis::Core::Hashable
@@ -3189,6 +3379,11 @@ module Google
3189
3379
  # @return [Google::Apis::ContaineranalysisV1::SlsaProvenance]
3190
3380
  attr_accessor :slsa_provenance
3191
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
+
3192
3387
  #
3193
3388
  # Corresponds to the JSON property `subject`
3194
3389
  # @return [Array<Google::Apis::ContaineranalysisV1::Subject>]
@@ -3204,6 +3399,7 @@ module Google
3204
3399
  @predicate_type = args[:predicate_type] if args.key?(:predicate_type)
3205
3400
  @provenance = args[:provenance] if args.key?(:provenance)
3206
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)
3207
3403
  @subject = args[:subject] if args.key?(:subject)
3208
3404
  end
3209
3405
  end
@@ -4508,6 +4704,56 @@ module Google
4508
4704
  end
4509
4705
  end
4510
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
+
4511
4757
  # Steps taken to build the artifact. For a TaskRun, typically each container
4512
4758
  # corresponds to one step in the recipe.
4513
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.11.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 = "20220506"
25
+ REVISION = "20220519"
26
26
  end
27
27
  end
28
28
  end
@@ -454,6 +454,42 @@ module Google
454
454
  include Google::Apis::Core::JsonObjectSupport
455
455
  end
456
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
+
457
493
  class HashProp
458
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
495
 
@@ -658,6 +694,12 @@ module Google
658
694
  include Google::Apis::Core::JsonObjectSupport
659
695
  end
660
696
 
697
+ class SlsaProvenanceZeroTwo
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
661
703
  class SlsaRecipe
662
704
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
705
 
@@ -1526,6 +1568,61 @@ module Google
1526
1568
  end
1527
1569
  end
1528
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
+
1529
1626
  class HashProp
1530
1627
  # @private
1531
1628
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1592,6 +1689,8 @@ module Google
1592
1689
 
1593
1690
  property :slsa_provenance, as: 'slsaProvenance', class: Google::Apis::ContaineranalysisV1::SlsaProvenance, decorator: Google::Apis::ContaineranalysisV1::SlsaProvenance::Representation
1594
1691
 
1692
+ property :slsa_provenance_zero_two, as: 'slsaProvenanceZeroTwo', class: Google::Apis::ContaineranalysisV1::SlsaProvenanceZeroTwo, decorator: Google::Apis::ContaineranalysisV1::SlsaProvenanceZeroTwo::Representation
1693
+
1595
1694
  collection :subject, as: 'subject', class: Google::Apis::ContaineranalysisV1::Subject, decorator: Google::Apis::ContaineranalysisV1::Subject::Representation
1596
1695
 
1597
1696
  end
@@ -1925,6 +2024,22 @@ module Google
1925
2024
  end
1926
2025
  end
1927
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
+
1928
2043
  class SlsaRecipe
1929
2044
  # @private
1930
2045
  class Representation < Google::Apis::Core::JsonRepresentation
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.11.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-05-16 00:00:00.000000000 Z
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.11.0
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.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