google-apis-containeranalysis_v1beta1 0.26.0 → 0.28.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: fafb8802d71d64acff8180be28533f841125d62b35765438219a8dc1b26722b2
4
- data.tar.gz: e31b56d39d511cb4485f4eac1237fa31467ad978386c6721e1d1c37c5fbfa6ad
3
+ metadata.gz: f9c6fb930a845eb2068029c39c1de8896455161df5337c1b7f313294eedde556
4
+ data.tar.gz: d5106583e133c9769e686a425dbe9db8b5ea133df4bdd098cf6c7f747dfb030a
5
5
  SHA512:
6
- metadata.gz: aecca8632a5868dbc8b208b3d218be296ac06bab186e8c5ca916e76ee148970de397810063b361c22b75b2cdbe55c47ed58cb55197ce21ac9f0f73716ef45677
7
- data.tar.gz: a3cea173ada1b80888a52cc55d689127bb09bd8b2cab9439cce19cb3f0f26110c553a698eab6d42b180940c099fc0b30057b0a723b0d0007401dadb7bc780032
6
+ metadata.gz: ddfd06f501500a1b6dd0c9f768401f7df74a81ef8a5582da3e02248713688906b503679406a7111c856c12501fc0e863ddf92dc5821e6686aa2aa738b5cdedf9
7
+ data.tar.gz: b6ec0b7f9cdc0498fbea8d174832b2f0e2795759144167ef7bfd3141ed0c7407f2f6c1e94da71d143044ebbda12d7adaa488db63136f81b7eb440dbb333fd2c4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.28.0 (2022-10-27)
4
+
5
+ * Regenerated from discovery document revision 20221015
6
+ * Regenerated using generator version 0.11.0
7
+
8
+ ### v0.27.0 (2022-10-17)
9
+
10
+ * Regenerated from discovery document revision 20221001
11
+
3
12
  ### v0.26.0 (2022-09-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20220923
@@ -562,6 +562,165 @@ module Google
562
562
  end
563
563
  end
564
564
 
565
+ # A step in the build pipeline. Next ID: 20
566
+ class BuildStep
567
+ include Google::Apis::Core::Hashable
568
+
569
+ # Allow this build step to fail without failing the entire build if and only if
570
+ # the exit code is one of the specified codes. If allow_failure is also
571
+ # specified, this field will take precedence.
572
+ # Corresponds to the JSON property `allowExitCodes`
573
+ # @return [Array<Fixnum>]
574
+ attr_accessor :allow_exit_codes
575
+
576
+ # Allow this build step to fail without failing the entire build. If false, the
577
+ # entire build will fail if this step fails. Otherwise, the build will succeed,
578
+ # but this step will still have a failure status. Error information will be
579
+ # reported in the failure_detail field.
580
+ # Corresponds to the JSON property `allowFailure`
581
+ # @return [Boolean]
582
+ attr_accessor :allow_failure
583
+ alias_method :allow_failure?, :allow_failure
584
+
585
+ # A list of arguments that will be presented to the step when it is started. If
586
+ # the image used to run the step's container has an entrypoint, the `args` are
587
+ # used as arguments to that entrypoint. If the image does not define an
588
+ # entrypoint, the first element in args is used as the entrypoint, and the
589
+ # remainder will be used as arguments.
590
+ # Corresponds to the JSON property `args`
591
+ # @return [Array<String>]
592
+ attr_accessor :args
593
+
594
+ # Working directory to use when running this step's container. If this value is
595
+ # a relative path, it is relative to the build's working directory. If this
596
+ # value is absolute, it may be outside the build's working directory, in which
597
+ # case the contents of the path may not be persisted across build step
598
+ # executions, unless a `volume` for that path is specified. If the build
599
+ # specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies
600
+ # an absolute path, the `RepoSource` `dir` is ignored for the step's execution.
601
+ # Corresponds to the JSON property `dir`
602
+ # @return [String]
603
+ attr_accessor :dir
604
+
605
+ # Entrypoint to be used instead of the build step image's default entrypoint. If
606
+ # unset, the image's default entrypoint is used.
607
+ # Corresponds to the JSON property `entrypoint`
608
+ # @return [String]
609
+ attr_accessor :entrypoint
610
+
611
+ # A list of environment variable definitions to be used when running a step. The
612
+ # elements are of the form "KEY=VALUE" for the environment variable "KEY" being
613
+ # given the value "VALUE".
614
+ # Corresponds to the JSON property `env`
615
+ # @return [Array<String>]
616
+ attr_accessor :env
617
+
618
+ # Output only. Return code from running the step.
619
+ # Corresponds to the JSON property `exitCode`
620
+ # @return [Fixnum]
621
+ attr_accessor :exit_code
622
+
623
+ # Unique identifier for this build step, used in `wait_for` to reference this
624
+ # build step as a dependency.
625
+ # Corresponds to the JSON property `id`
626
+ # @return [String]
627
+ attr_accessor :id
628
+
629
+ # Required. The name of the container image that will run this particular build
630
+ # step. If the image is available in the host's Docker daemon's cache, it will
631
+ # be run directly. If not, the host will attempt to pull the image first, using
632
+ # the builder service account's credentials if necessary. The Docker daemon's
633
+ # cache will already have the latest versions of all of the officially supported
634
+ # build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://
635
+ # github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also
636
+ # have cached many of the layers for some popular images, like "ubuntu", "debian"
637
+ # , but they will be refreshed at the time you attempt to use them. If you built
638
+ # an image in a previous build step, it will be stored in the host's Docker
639
+ # daemon's cache and is available to use as the name for a later build step.
640
+ # Corresponds to the JSON property `name`
641
+ # @return [String]
642
+ attr_accessor :name
643
+
644
+ # Start and end times for a build execution phase. Next ID: 3
645
+ # Corresponds to the JSON property `pullTiming`
646
+ # @return [Google::Apis::ContaineranalysisV1beta1::TimeSpan]
647
+ attr_accessor :pull_timing
648
+
649
+ # A shell script to be executed in the step. When script is provided, the user
650
+ # cannot specify the entrypoint or args.
651
+ # Corresponds to the JSON property `script`
652
+ # @return [String]
653
+ attr_accessor :script
654
+
655
+ # A list of environment variables which are encrypted using a Cloud Key
656
+ # Management Service crypto key. These values must be specified in the build's `
657
+ # Secret`.
658
+ # Corresponds to the JSON property `secretEnv`
659
+ # @return [Array<String>]
660
+ attr_accessor :secret_env
661
+
662
+ # Output only. Status of the build step. At this time, build step status is only
663
+ # updated on build completion; step status is not updated in real-time as the
664
+ # build progresses.
665
+ # Corresponds to the JSON property `status`
666
+ # @return [String]
667
+ attr_accessor :status
668
+
669
+ # Time limit for executing this build step. If not defined, the step has no time
670
+ # limit and will be allowed to continue to run until either it completes or the
671
+ # build itself times out.
672
+ # Corresponds to the JSON property `timeout`
673
+ # @return [String]
674
+ attr_accessor :timeout
675
+
676
+ # Start and end times for a build execution phase. Next ID: 3
677
+ # Corresponds to the JSON property `timing`
678
+ # @return [Google::Apis::ContaineranalysisV1beta1::TimeSpan]
679
+ attr_accessor :timing
680
+
681
+ # List of volumes to mount into the build step. Each volume is created as an
682
+ # empty volume prior to execution of the build step. Upon completion of the
683
+ # build, volumes and their contents are discarded. Using a named volume in only
684
+ # one step is not valid as it is indicative of a build request with an incorrect
685
+ # configuration.
686
+ # Corresponds to the JSON property `volumes`
687
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::Volume>]
688
+ attr_accessor :volumes
689
+
690
+ # The ID(s) of the step(s) that this build step depends on. This build step will
691
+ # not start until all the build steps in `wait_for` have completed successfully.
692
+ # If `wait_for` is empty, this build step will start when all previous build
693
+ # steps in the `Build.Steps` list have completed successfully.
694
+ # Corresponds to the JSON property `waitFor`
695
+ # @return [Array<String>]
696
+ attr_accessor :wait_for
697
+
698
+ def initialize(**args)
699
+ update!(**args)
700
+ end
701
+
702
+ # Update properties of this object
703
+ def update!(**args)
704
+ @allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
705
+ @allow_failure = args[:allow_failure] if args.key?(:allow_failure)
706
+ @args = args[:args] if args.key?(:args)
707
+ @dir = args[:dir] if args.key?(:dir)
708
+ @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
709
+ @env = args[:env] if args.key?(:env)
710
+ @exit_code = args[:exit_code] if args.key?(:exit_code)
711
+ @id = args[:id] if args.key?(:id)
712
+ @name = args[:name] if args.key?(:name)
713
+ @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
714
+ @script = args[:script] if args.key?(:script)
715
+ @secret_env = args[:secret_env] if args.key?(:secret_env)
716
+ @status = args[:status] if args.key?(:status)
717
+ @timeout = args[:timeout] if args.key?(:timeout)
718
+ @timing = args[:timing] if args.key?(:timing)
719
+ @volumes = args[:volumes] if args.key?(:volumes)
720
+ @wait_for = args[:wait_for] if args.key?(:wait_for)
721
+ end
722
+ end
723
+
565
724
  # Defines an object for the byproducts field in in-toto links. The suggested
566
725
  # fields are "stderr", "stdout", and "return-value".
567
726
  class ByProducts
@@ -921,12 +1080,29 @@ module Google
921
1080
  # @return [Array<String>]
922
1081
  attr_accessor :images
923
1082
 
1083
+ # A list of Maven artifacts to be uploaded to Artifact Registry upon successful
1084
+ # completion of all build steps. Artifacts in the workspace matching specified
1085
+ # paths globs will be uploaded to the specified Artifact Registry repository
1086
+ # using the builder service account's credentials. If any artifacts fail to be
1087
+ # pushed, the build is marked FAILURE.
1088
+ # Corresponds to the JSON property `mavenArtifacts`
1089
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact>]
1090
+ attr_accessor :maven_artifacts
1091
+
924
1092
  # Files in the workspace to upload to Cloud Storage upon successful completion
925
1093
  # of all build steps.
926
1094
  # Corresponds to the JSON property `objects`
927
1095
  # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects]
928
1096
  attr_accessor :objects
929
1097
 
1098
+ # A list of Python packages to be uploaded to Artifact Registry upon successful
1099
+ # completion of all build steps. The build service account credentials will be
1100
+ # used to perform the upload. If any objects fail to be pushed, the build is
1101
+ # marked FAILURE.
1102
+ # Corresponds to the JSON property `pythonPackages`
1103
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage>]
1104
+ attr_accessor :python_packages
1105
+
930
1106
  def initialize(**args)
931
1107
  update!(**args)
932
1108
  end
@@ -934,7 +1110,9 @@ module Google
934
1110
  # Update properties of this object
935
1111
  def update!(**args)
936
1112
  @images = args[:images] if args.key?(:images)
1113
+ @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
937
1114
  @objects = args[:objects] if args.key?(:objects)
1115
+ @python_packages = args[:python_packages] if args.key?(:python_packages)
938
1116
  end
939
1117
  end
940
1118
 
@@ -973,6 +1151,85 @@ module Google
973
1151
  end
974
1152
  end
975
1153
 
1154
+ # A Maven artifact to upload to Artifact Registry upon successful completion of
1155
+ # all build steps.
1156
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
1157
+ include Google::Apis::Core::Hashable
1158
+
1159
+ # Maven `artifactId` value used when uploading the artifact to Artifact Registry.
1160
+ # Corresponds to the JSON property `artifactId`
1161
+ # @return [String]
1162
+ attr_accessor :artifact_id
1163
+
1164
+ # Maven `groupId` value used when uploading the artifact to Artifact Registry.
1165
+ # Corresponds to the JSON property `groupId`
1166
+ # @return [String]
1167
+ attr_accessor :group_id
1168
+
1169
+ # Path to an artifact in the build's workspace to be uploaded to Artifact
1170
+ # Registry. This can be either an absolute path, e.g. /workspace/my-app/target/
1171
+ # my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/
1172
+ # my-app-1.0.SNAPSHOT.jar.
1173
+ # Corresponds to the JSON property `path`
1174
+ # @return [String]
1175
+ attr_accessor :path
1176
+
1177
+ # Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$
1178
+ # PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be
1179
+ # uploaded to Artifact Registry with this location as a prefix.
1180
+ # Corresponds to the JSON property `repository`
1181
+ # @return [String]
1182
+ attr_accessor :repository
1183
+
1184
+ # Maven `version` value used when uploading the artifact to Artifact Registry.
1185
+ # Corresponds to the JSON property `version`
1186
+ # @return [String]
1187
+ attr_accessor :version
1188
+
1189
+ def initialize(**args)
1190
+ update!(**args)
1191
+ end
1192
+
1193
+ # Update properties of this object
1194
+ def update!(**args)
1195
+ @artifact_id = args[:artifact_id] if args.key?(:artifact_id)
1196
+ @group_id = args[:group_id] if args.key?(:group_id)
1197
+ @path = args[:path] if args.key?(:path)
1198
+ @repository = args[:repository] if args.key?(:repository)
1199
+ @version = args[:version] if args.key?(:version)
1200
+ end
1201
+ end
1202
+
1203
+ # Python package to upload to Artifact Registry upon successful completion of
1204
+ # all build steps. A package can encapsulate multiple objects to be uploaded to
1205
+ # a single repository.
1206
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
1207
+ include Google::Apis::Core::Hashable
1208
+
1209
+ # Path globs used to match files in the build's workspace. For Python/ Twine,
1210
+ # this is usually `dist/*`, and sometimes additionally an `.asc` file.
1211
+ # Corresponds to the JSON property `paths`
1212
+ # @return [Array<String>]
1213
+ attr_accessor :paths
1214
+
1215
+ # Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$
1216
+ # PROJECT/$REPOSITORY" Files in the workspace matching any path pattern will be
1217
+ # uploaded to Artifact Registry with this location as a prefix.
1218
+ # Corresponds to the JSON property `repository`
1219
+ # @return [String]
1220
+ attr_accessor :repository
1221
+
1222
+ def initialize(**args)
1223
+ update!(**args)
1224
+ end
1225
+
1226
+ # Update properties of this object
1227
+ def update!(**args)
1228
+ @paths = args[:paths] if args.key?(:paths)
1229
+ @repository = args[:repository] if args.key?(:repository)
1230
+ end
1231
+ end
1232
+
976
1233
  # A build resource in the Cloud Build API. At a high level, a `Build` describes
977
1234
  # where to find source code, how to build it (for example, the builder image to
978
1235
  # run on the source), and where to store the built artifacts. Fields can include
@@ -1147,10 +1404,10 @@ module Google
1147
1404
  attr_accessor :timeout
1148
1405
 
1149
1406
  # Output only. Stores timing information for phases of the build. Valid keys are:
1150
- # * BUILD: time to execute all build steps. * PUSH: time to push all specified
1151
- # images. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up
1152
- # build. If the build does not specify source or images, these keys will not be
1153
- # included.
1407
+ # * BUILD: time to execute all build steps. * PUSH: time to push all artifacts
1408
+ # including docker images and non docker artifacts. * FETCHSOURCE: time to fetch
1409
+ # source. * SETUPBUILD: time to set up build. If the build does not specify
1410
+ # source or images, these keys will not be included.
1154
1411
  # Corresponds to the JSON property `timing`
1155
1412
  # @return [Hash<String,Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan>]
1156
1413
  attr_accessor :timing
@@ -1759,7 +2016,8 @@ module Google
1759
2016
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Results
1760
2017
  include Google::Apis::Core::Hashable
1761
2018
 
1762
- # Path to the artifact manifest. Only populated when artifacts are uploaded.
2019
+ # Path to the artifact manifest for non-container artifacts uploaded to Cloud
2020
+ # Storage. Only populated when artifacts are uploaded to Cloud Storage.
1763
2021
  # Corresponds to the JSON property `artifactManifest`
1764
2022
  # @return [String]
1765
2023
  attr_accessor :artifact_manifest
@@ -1787,11 +2045,22 @@ module Google
1787
2045
  # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage>]
1788
2046
  attr_accessor :images
1789
2047
 
1790
- # Number of artifacts uploaded. Only populated when artifacts are uploaded.
2048
+ # Maven artifacts uploaded to Artifact Registry at the end of the build.
2049
+ # Corresponds to the JSON property `mavenArtifacts`
2050
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact>]
2051
+ attr_accessor :maven_artifacts
2052
+
2053
+ # Number of non-container artifacts uploaded to Cloud Storage. Only populated
2054
+ # when artifacts are uploaded to Cloud Storage.
1791
2055
  # Corresponds to the JSON property `numArtifacts`
1792
2056
  # @return [Fixnum]
1793
2057
  attr_accessor :num_artifacts
1794
2058
 
2059
+ # Python artifacts uploaded to Artifact Registry at the end of the build.
2060
+ # Corresponds to the JSON property `pythonPackages`
2061
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage>]
2062
+ attr_accessor :python_packages
2063
+
1795
2064
  def initialize(**args)
1796
2065
  update!(**args)
1797
2066
  end
@@ -1803,7 +2072,9 @@ module Google
1803
2072
  @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
1804
2073
  @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
1805
2074
  @images = args[:images] if args.key?(:images)
2075
+ @maven_artifacts = args[:maven_artifacts] if args.key?(:maven_artifacts)
1806
2076
  @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
2077
+ @python_packages = args[:python_packages] if args.key?(:python_packages)
1807
2078
  end
1808
2079
  end
1809
2080
 
@@ -2067,6 +2338,70 @@ module Google
2067
2338
  end
2068
2339
  end
2069
2340
 
2341
+ # A Maven artifact uploaded using the MavenArtifact directive.
2342
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact
2343
+ include Google::Apis::Core::Hashable
2344
+
2345
+ # Container message for hashes of byte content of files, used in
2346
+ # SourceProvenance messages to verify integrity of source input to the build.
2347
+ # Corresponds to the JSON property `fileHashes`
2348
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes]
2349
+ attr_accessor :file_hashes
2350
+
2351
+ # Start and end times for a build execution phase.
2352
+ # Corresponds to the JSON property `pushTiming`
2353
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
2354
+ attr_accessor :push_timing
2355
+
2356
+ # URI of the uploaded artifact.
2357
+ # Corresponds to the JSON property `uri`
2358
+ # @return [String]
2359
+ attr_accessor :uri
2360
+
2361
+ def initialize(**args)
2362
+ update!(**args)
2363
+ end
2364
+
2365
+ # Update properties of this object
2366
+ def update!(**args)
2367
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
2368
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
2369
+ @uri = args[:uri] if args.key?(:uri)
2370
+ end
2371
+ end
2372
+
2373
+ # Artifact uploaded using the PythonPackage directive.
2374
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
2375
+ include Google::Apis::Core::Hashable
2376
+
2377
+ # Container message for hashes of byte content of files, used in
2378
+ # SourceProvenance messages to verify integrity of source input to the build.
2379
+ # Corresponds to the JSON property `fileHashes`
2380
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes]
2381
+ attr_accessor :file_hashes
2382
+
2383
+ # Start and end times for a build execution phase.
2384
+ # Corresponds to the JSON property `pushTiming`
2385
+ # @return [Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan]
2386
+ attr_accessor :push_timing
2387
+
2388
+ # URI of the uploaded artifact.
2389
+ # Corresponds to the JSON property `uri`
2390
+ # @return [String]
2391
+ attr_accessor :uri
2392
+
2393
+ def initialize(**args)
2394
+ update!(**args)
2395
+ end
2396
+
2397
+ # Update properties of this object
2398
+ def update!(**args)
2399
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
2400
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
2401
+ @uri = args[:uri] if args.key?(:uri)
2402
+ end
2403
+ end
2404
+
2070
2405
  # Volume describes a Docker container volume which is mounted into build steps
2071
2406
  # in order to persist files across build step execution.
2072
2407
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Volume
@@ -5177,6 +5512,31 @@ module Google
5177
5512
  end
5178
5513
  end
5179
5514
 
5515
+ # Start and end times for a build execution phase. Next ID: 3
5516
+ class TimeSpan
5517
+ include Google::Apis::Core::Hashable
5518
+
5519
+ # End of time span.
5520
+ # Corresponds to the JSON property `endTime`
5521
+ # @return [String]
5522
+ attr_accessor :end_time
5523
+
5524
+ # Start of time span.
5525
+ # Corresponds to the JSON property `startTime`
5526
+ # @return [String]
5527
+ attr_accessor :start_time
5528
+
5529
+ def initialize(**args)
5530
+ update!(**args)
5531
+ end
5532
+
5533
+ # Update properties of this object
5534
+ def update!(**args)
5535
+ @end_time = args[:end_time] if args.key?(:end_time)
5536
+ @start_time = args[:start_time] if args.key?(:start_time)
5537
+ end
5538
+ end
5539
+
5180
5540
  # Version contains structured information about the version of a package.
5181
5541
  class Version
5182
5542
  include Google::Apis::Core::Hashable
@@ -5226,6 +5586,36 @@ module Google
5226
5586
  end
5227
5587
  end
5228
5588
 
5589
+ # Volume describes a Docker container volume which is mounted into build steps
5590
+ # in order to persist files across build step execution. Next ID: 3
5591
+ class Volume
5592
+ include Google::Apis::Core::Hashable
5593
+
5594
+ # Name of the volume to mount. Volume names must be unique per build step and
5595
+ # must be valid names for Docker volumes. Each named volume must be used by at
5596
+ # least two build steps.
5597
+ # Corresponds to the JSON property `name`
5598
+ # @return [String]
5599
+ attr_accessor :name
5600
+
5601
+ # Path at which to mount the volume. Paths must be absolute and cannot conflict
5602
+ # with other volume paths on the same build step or with certain reserved volume
5603
+ # paths.
5604
+ # Corresponds to the JSON property `path`
5605
+ # @return [String]
5606
+ attr_accessor :path
5607
+
5608
+ def initialize(**args)
5609
+ update!(**args)
5610
+ end
5611
+
5612
+ # Update properties of this object
5613
+ def update!(**args)
5614
+ @name = args[:name] if args.key?(:name)
5615
+ @path = args[:path] if args.key?(:path)
5616
+ end
5617
+ end
5618
+
5229
5619
  # Vulnerability provides metadata about a security vulnerability in a Note.
5230
5620
  class Vulnerability
5231
5621
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1beta1
18
18
  # Version of the google-apis-containeranalysis_v1beta1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220923"
25
+ REVISION = "20221015"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,12 @@ module Google
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
+ class BuildStep
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
121
127
  class ByProducts
122
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
129
 
@@ -172,6 +178,18 @@ module Google
172
178
  include Google::Apis::Core::JsonObjectSupport
173
179
  end
174
180
 
181
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
175
193
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Build
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
@@ -298,6 +316,18 @@ module Google
298
316
  include Google::Apis::Core::JsonObjectSupport
299
317
  end
300
318
 
319
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
301
331
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Volume
302
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
333
 
@@ -742,12 +772,24 @@ module Google
742
772
  include Google::Apis::Core::JsonObjectSupport
743
773
  end
744
774
 
775
+ class TimeSpan
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
745
781
  class Version
746
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
783
 
748
784
  include Google::Apis::Core::JsonObjectSupport
749
785
  end
750
786
 
787
+ class Volume
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
751
793
  class Vulnerability
752
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
795
 
@@ -920,6 +962,32 @@ module Google
920
962
  end
921
963
  end
922
964
 
965
+ class BuildStep
966
+ # @private
967
+ class Representation < Google::Apis::Core::JsonRepresentation
968
+ collection :allow_exit_codes, as: 'allowExitCodes'
969
+ property :allow_failure, as: 'allowFailure'
970
+ collection :args, as: 'args'
971
+ property :dir, as: 'dir'
972
+ property :entrypoint, as: 'entrypoint'
973
+ collection :env, as: 'env'
974
+ property :exit_code, as: 'exitCode'
975
+ property :id, as: 'id'
976
+ property :name, as: 'name'
977
+ property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1beta1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::TimeSpan::Representation
978
+
979
+ property :script, as: 'script'
980
+ collection :secret_env, as: 'secretEnv'
981
+ property :status, as: 'status'
982
+ property :timeout, as: 'timeout'
983
+ property :timing, as: 'timing', class: Google::Apis::ContaineranalysisV1beta1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::TimeSpan::Representation
984
+
985
+ collection :volumes, as: 'volumes', class: Google::Apis::ContaineranalysisV1beta1::Volume, decorator: Google::Apis::ContaineranalysisV1beta1::Volume::Representation
986
+
987
+ collection :wait_for, as: 'waitFor'
988
+ end
989
+ end
990
+
923
991
  class ByProducts
924
992
  # @private
925
993
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1007,8 +1075,12 @@ module Google
1007
1075
  # @private
1008
1076
  class Representation < Google::Apis::Core::JsonRepresentation
1009
1077
  collection :images, as: 'images'
1078
+ collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact::Representation
1079
+
1010
1080
  property :objects, as: 'objects', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects::Representation
1011
1081
 
1082
+ collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage::Representation
1083
+
1012
1084
  end
1013
1085
  end
1014
1086
 
@@ -1022,6 +1094,25 @@ module Google
1022
1094
  end
1023
1095
  end
1024
1096
 
1097
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
1098
+ # @private
1099
+ class Representation < Google::Apis::Core::JsonRepresentation
1100
+ property :artifact_id, as: 'artifactId'
1101
+ property :group_id, as: 'groupId'
1102
+ property :path, as: 'path'
1103
+ property :repository, as: 'repository'
1104
+ property :version, as: 'version'
1105
+ end
1106
+ end
1107
+
1108
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage
1109
+ # @private
1110
+ class Representation < Google::Apis::Core::JsonRepresentation
1111
+ collection :paths, as: 'paths'
1112
+ property :repository, as: 'repository'
1113
+ end
1114
+ end
1115
+
1025
1116
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Build
1026
1117
  # @private
1027
1118
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1208,7 +1299,11 @@ module Google
1208
1299
  collection :build_step_outputs, as: 'buildStepOutputs'
1209
1300
  collection :images, as: 'images', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1BuiltImage::Representation
1210
1301
 
1302
+ collection :maven_artifacts, as: 'mavenArtifacts', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact::Representation
1303
+
1211
1304
  property :num_artifacts, :numeric_string => true, as: 'numArtifacts'
1305
+ collection :python_packages, as: 'pythonPackages', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage::Representation
1306
+
1212
1307
  end
1213
1308
  end
1214
1309
 
@@ -1290,6 +1385,28 @@ module Google
1290
1385
  end
1291
1386
  end
1292
1387
 
1388
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact
1389
+ # @private
1390
+ class Representation < Google::Apis::Core::JsonRepresentation
1391
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1392
+
1393
+ property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1394
+
1395
+ property :uri, as: 'uri'
1396
+ end
1397
+ end
1398
+
1399
+ class ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage
1400
+ # @private
1401
+ class Representation < Google::Apis::Core::JsonRepresentation
1402
+ property :file_hashes, as: 'fileHashes', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes::Representation
1403
+
1404
+ property :push_timing, as: 'pushTiming', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
1405
+
1406
+ property :uri, as: 'uri'
1407
+ end
1408
+ end
1409
+
1293
1410
  class ContaineranalysisGoogleDevtoolsCloudbuildV1Volume
1294
1411
  # @private
1295
1412
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2109,6 +2226,14 @@ module Google
2109
2226
  end
2110
2227
  end
2111
2228
 
2229
+ class TimeSpan
2230
+ # @private
2231
+ class Representation < Google::Apis::Core::JsonRepresentation
2232
+ property :end_time, as: 'endTime'
2233
+ property :start_time, as: 'startTime'
2234
+ end
2235
+ end
2236
+
2112
2237
  class Version
2113
2238
  # @private
2114
2239
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2120,6 +2245,14 @@ module Google
2120
2245
  end
2121
2246
  end
2122
2247
 
2248
+ class Volume
2249
+ # @private
2250
+ class Representation < Google::Apis::Core::JsonRepresentation
2251
+ property :name, as: 'name'
2252
+ property :path, as: 'path'
2253
+ end
2254
+ end
2255
+
2123
2256
  class Vulnerability
2124
2257
  # @private
2125
2258
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.28.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-10-03 00:00:00.000000000 Z
11
+ date: 2022-10-31 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.9.0
19
+ version: 0.9.1
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.9.0
29
+ version: 0.9.1
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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []