google-apis-containeranalysis_v1beta1 0.27.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: 1da5485c69700c4d5c8877fa80ba9c5dd3b9758dcfdd678deffde4d0b05f176a
4
- data.tar.gz: 1b9c754721bf6320e7a93ab96db8b02372f6626c3e4418a60d154a0941d25325
3
+ metadata.gz: f9c6fb930a845eb2068029c39c1de8896455161df5337c1b7f313294eedde556
4
+ data.tar.gz: d5106583e133c9769e686a425dbe9db8b5ea133df4bdd098cf6c7f747dfb030a
5
5
  SHA512:
6
- metadata.gz: d62ad8c3de199ffa0e0f5f1a04a0b0d6e54ee86039f154c6684cf7d1623fb141534e57c7fada9585abc3640e1eef0918d5d30c15483b849056d9242658bed5c5
7
- data.tar.gz: 3c48ec94035770cf36dc9f73f1526f50cc4c97ab94a14781a8c639ac227828eb242645d6b6cf2c67781e94aa582ea6c0f905e11b3e4ae50b3344ab0898956326
6
+ metadata.gz: ddfd06f501500a1b6dd0c9f768401f7df74a81ef8a5582da3e02248713688906b503679406a7111c856c12501fc0e863ddf92dc5821e6686aa2aa738b5cdedf9
7
+ data.tar.gz: b6ec0b7f9cdc0498fbea8d174832b2f0e2795759144167ef7bfd3141ed0c7407f2f6c1e94da71d143044ebbda12d7adaa488db63136f81b7eb440dbb333fd2c4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.27.0 (2022-10-17)
4
9
 
5
10
  * Regenerated from discovery document revision 20221001
@@ -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
@@ -5353,6 +5512,31 @@ module Google
5353
5512
  end
5354
5513
  end
5355
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
+
5356
5540
  # Version contains structured information about the version of a package.
5357
5541
  class Version
5358
5542
  include Google::Apis::Core::Hashable
@@ -5402,6 +5586,36 @@ module Google
5402
5586
  end
5403
5587
  end
5404
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
+
5405
5619
  # Vulnerability provides metadata about a security vulnerability in a Note.
5406
5620
  class Vulnerability
5407
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.27.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 = "20221001"
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
 
@@ -766,12 +772,24 @@ module Google
766
772
  include Google::Apis::Core::JsonObjectSupport
767
773
  end
768
774
 
775
+ class TimeSpan
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
769
781
  class Version
770
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
783
 
772
784
  include Google::Apis::Core::JsonObjectSupport
773
785
  end
774
786
 
787
+ class Volume
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
775
793
  class Vulnerability
776
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
795
 
@@ -944,6 +962,32 @@ module Google
944
962
  end
945
963
  end
946
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
+
947
991
  class ByProducts
948
992
  # @private
949
993
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2182,6 +2226,14 @@ module Google
2182
2226
  end
2183
2227
  end
2184
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
+
2185
2237
  class Version
2186
2238
  # @private
2187
2239
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2193,6 +2245,14 @@ module Google
2193
2245
  end
2194
2246
  end
2195
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
+
2196
2256
  class Vulnerability
2197
2257
  # @private
2198
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.27.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-17 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.27.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: []