google-apis-containeranalysis_v1alpha1 0.37.0 → 0.39.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: e493b5f918286ae9c6ba128caf7ee16b3254c881c5044aebc90e8eac3856745b
4
- data.tar.gz: c25e713cb501600547635235d3ff983b11688416b0fb663c772d9a718c205386
3
+ metadata.gz: d54374e47cb8fa10b349751f1d38bff8bd3d476db5c41a5c8cbf24b1d140c882
4
+ data.tar.gz: f4ffb29c49d4773fb246535a5e4c4f099a4626b0a77aed69d96bea700b49e656
5
5
  SHA512:
6
- metadata.gz: c55e37bc125f38d21395d48ab7b34eea9e28b00efb4a80817fd1997cd4c2f1ed5a062411431ce76be9f1c4383f22fdeae8a906d43e28a1cc018e79ed821e45dc
7
- data.tar.gz: c25bfb2245ebb870d73e04fbaa2720ce7f9b03dfb910891f897dae16f2b8a7452218a66491507ed4ca78821d88db73828cd20d9623070272bf857d38409e1b9a
6
+ metadata.gz: b9048218994d4171985b5949374874a9b970fd7f0f41de5abbb6d1d524fdcea050a7d146b82140ab58594bb9e91e727371b4e842ba2586b14457f87a8e32f58a
7
+ data.tar.gz: 7636c0806aa8ef73298285e6cc469dc035ec2d7c27d6fa3ee845b7b0397963da2f6dd7c89b9bb944f7b151c55aa5e7ce98927911671bcc789deeceec29d85edb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.39.0 (2022-11-01)
4
+
5
+ * Regenerated from discovery document revision 20221015
6
+
7
+ ### v0.38.0 (2022-10-18)
8
+
9
+ * Regenerated using generator version 0.11.0
10
+
3
11
  ### v0.37.0 (2022-10-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20221001
@@ -472,6 +472,165 @@ module Google
472
472
  end
473
473
  end
474
474
 
475
+ # A step in the build pipeline. Next ID: 20
476
+ class BuildStep
477
+ include Google::Apis::Core::Hashable
478
+
479
+ # Allow this build step to fail without failing the entire build if and only if
480
+ # the exit code is one of the specified codes. If allow_failure is also
481
+ # specified, this field will take precedence.
482
+ # Corresponds to the JSON property `allowExitCodes`
483
+ # @return [Array<Fixnum>]
484
+ attr_accessor :allow_exit_codes
485
+
486
+ # Allow this build step to fail without failing the entire build. If false, the
487
+ # entire build will fail if this step fails. Otherwise, the build will succeed,
488
+ # but this step will still have a failure status. Error information will be
489
+ # reported in the failure_detail field.
490
+ # Corresponds to the JSON property `allowFailure`
491
+ # @return [Boolean]
492
+ attr_accessor :allow_failure
493
+ alias_method :allow_failure?, :allow_failure
494
+
495
+ # A list of arguments that will be presented to the step when it is started. If
496
+ # the image used to run the step's container has an entrypoint, the `args` are
497
+ # used as arguments to that entrypoint. If the image does not define an
498
+ # entrypoint, the first element in args is used as the entrypoint, and the
499
+ # remainder will be used as arguments.
500
+ # Corresponds to the JSON property `args`
501
+ # @return [Array<String>]
502
+ attr_accessor :args
503
+
504
+ # Working directory to use when running this step's container. If this value is
505
+ # a relative path, it is relative to the build's working directory. If this
506
+ # value is absolute, it may be outside the build's working directory, in which
507
+ # case the contents of the path may not be persisted across build step
508
+ # executions, unless a `volume` for that path is specified. If the build
509
+ # specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies
510
+ # an absolute path, the `RepoSource` `dir` is ignored for the step's execution.
511
+ # Corresponds to the JSON property `dir`
512
+ # @return [String]
513
+ attr_accessor :dir
514
+
515
+ # Entrypoint to be used instead of the build step image's default entrypoint. If
516
+ # unset, the image's default entrypoint is used.
517
+ # Corresponds to the JSON property `entrypoint`
518
+ # @return [String]
519
+ attr_accessor :entrypoint
520
+
521
+ # A list of environment variable definitions to be used when running a step. The
522
+ # elements are of the form "KEY=VALUE" for the environment variable "KEY" being
523
+ # given the value "VALUE".
524
+ # Corresponds to the JSON property `env`
525
+ # @return [Array<String>]
526
+ attr_accessor :env
527
+
528
+ # Output only. Return code from running the step.
529
+ # Corresponds to the JSON property `exitCode`
530
+ # @return [Fixnum]
531
+ attr_accessor :exit_code
532
+
533
+ # Unique identifier for this build step, used in `wait_for` to reference this
534
+ # build step as a dependency.
535
+ # Corresponds to the JSON property `id`
536
+ # @return [String]
537
+ attr_accessor :id
538
+
539
+ # Required. The name of the container image that will run this particular build
540
+ # step. If the image is available in the host's Docker daemon's cache, it will
541
+ # be run directly. If not, the host will attempt to pull the image first, using
542
+ # the builder service account's credentials if necessary. The Docker daemon's
543
+ # cache will already have the latest versions of all of the officially supported
544
+ # build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://
545
+ # github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also
546
+ # have cached many of the layers for some popular images, like "ubuntu", "debian"
547
+ # , but they will be refreshed at the time you attempt to use them. If you built
548
+ # an image in a previous build step, it will be stored in the host's Docker
549
+ # daemon's cache and is available to use as the name for a later build step.
550
+ # Corresponds to the JSON property `name`
551
+ # @return [String]
552
+ attr_accessor :name
553
+
554
+ # Start and end times for a build execution phase. Next ID: 3
555
+ # Corresponds to the JSON property `pullTiming`
556
+ # @return [Google::Apis::ContaineranalysisV1alpha1::TimeSpan]
557
+ attr_accessor :pull_timing
558
+
559
+ # A shell script to be executed in the step. When script is provided, the user
560
+ # cannot specify the entrypoint or args.
561
+ # Corresponds to the JSON property `script`
562
+ # @return [String]
563
+ attr_accessor :script
564
+
565
+ # A list of environment variables which are encrypted using a Cloud Key
566
+ # Management Service crypto key. These values must be specified in the build's `
567
+ # Secret`.
568
+ # Corresponds to the JSON property `secretEnv`
569
+ # @return [Array<String>]
570
+ attr_accessor :secret_env
571
+
572
+ # Output only. Status of the build step. At this time, build step status is only
573
+ # updated on build completion; step status is not updated in real-time as the
574
+ # build progresses.
575
+ # Corresponds to the JSON property `status`
576
+ # @return [String]
577
+ attr_accessor :status
578
+
579
+ # Time limit for executing this build step. If not defined, the step has no time
580
+ # limit and will be allowed to continue to run until either it completes or the
581
+ # build itself times out.
582
+ # Corresponds to the JSON property `timeout`
583
+ # @return [String]
584
+ attr_accessor :timeout
585
+
586
+ # Start and end times for a build execution phase. Next ID: 3
587
+ # Corresponds to the JSON property `timing`
588
+ # @return [Google::Apis::ContaineranalysisV1alpha1::TimeSpan]
589
+ attr_accessor :timing
590
+
591
+ # List of volumes to mount into the build step. Each volume is created as an
592
+ # empty volume prior to execution of the build step. Upon completion of the
593
+ # build, volumes and their contents are discarded. Using a named volume in only
594
+ # one step is not valid as it is indicative of a build request with an incorrect
595
+ # configuration.
596
+ # Corresponds to the JSON property `volumes`
597
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::Volume>]
598
+ attr_accessor :volumes
599
+
600
+ # The ID(s) of the step(s) that this build step depends on. This build step will
601
+ # not start until all the build steps in `wait_for` have completed successfully.
602
+ # If `wait_for` is empty, this build step will start when all previous build
603
+ # steps in the `Build.Steps` list have completed successfully.
604
+ # Corresponds to the JSON property `waitFor`
605
+ # @return [Array<String>]
606
+ attr_accessor :wait_for
607
+
608
+ def initialize(**args)
609
+ update!(**args)
610
+ end
611
+
612
+ # Update properties of this object
613
+ def update!(**args)
614
+ @allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
615
+ @allow_failure = args[:allow_failure] if args.key?(:allow_failure)
616
+ @args = args[:args] if args.key?(:args)
617
+ @dir = args[:dir] if args.key?(:dir)
618
+ @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
619
+ @env = args[:env] if args.key?(:env)
620
+ @exit_code = args[:exit_code] if args.key?(:exit_code)
621
+ @id = args[:id] if args.key?(:id)
622
+ @name = args[:name] if args.key?(:name)
623
+ @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
624
+ @script = args[:script] if args.key?(:script)
625
+ @secret_env = args[:secret_env] if args.key?(:secret_env)
626
+ @status = args[:status] if args.key?(:status)
627
+ @timeout = args[:timeout] if args.key?(:timeout)
628
+ @timing = args[:timing] if args.key?(:timing)
629
+ @volumes = args[:volumes] if args.key?(:volumes)
630
+ @wait_for = args[:wait_for] if args.key?(:wait_for)
631
+ end
632
+ end
633
+
475
634
  # Note holding the version of the provider's builder and the signature of the
476
635
  # provenance message in linked BuildDetails.
477
636
  class BuildType
@@ -5886,6 +6045,31 @@ module Google
5886
6045
  end
5887
6046
  end
5888
6047
 
6048
+ # Start and end times for a build execution phase. Next ID: 3
6049
+ class TimeSpan
6050
+ include Google::Apis::Core::Hashable
6051
+
6052
+ # End of time span.
6053
+ # Corresponds to the JSON property `endTime`
6054
+ # @return [String]
6055
+ attr_accessor :end_time
6056
+
6057
+ # Start of time span.
6058
+ # Corresponds to the JSON property `startTime`
6059
+ # @return [String]
6060
+ attr_accessor :start_time
6061
+
6062
+ def initialize(**args)
6063
+ update!(**args)
6064
+ end
6065
+
6066
+ # Update properties of this object
6067
+ def update!(**args)
6068
+ @end_time = args[:end_time] if args.key?(:end_time)
6069
+ @start_time = args[:start_time] if args.key?(:start_time)
6070
+ end
6071
+ end
6072
+
5889
6073
  # Request for updating an existing operation
5890
6074
  class UpdateOperationRequest
5891
6075
  include Google::Apis::Core::Hashable
@@ -6077,6 +6261,36 @@ module Google
6077
6261
  end
6078
6262
  end
6079
6263
 
6264
+ # Volume describes a Docker container volume which is mounted into build steps
6265
+ # in order to persist files across build step execution. Next ID: 3
6266
+ class Volume
6267
+ include Google::Apis::Core::Hashable
6268
+
6269
+ # Name of the volume to mount. Volume names must be unique per build step and
6270
+ # must be valid names for Docker volumes. Each named volume must be used by at
6271
+ # least two build steps.
6272
+ # Corresponds to the JSON property `name`
6273
+ # @return [String]
6274
+ attr_accessor :name
6275
+
6276
+ # Path at which to mount the volume. Paths must be absolute and cannot conflict
6277
+ # with other volume paths on the same build step or with certain reserved volume
6278
+ # paths.
6279
+ # Corresponds to the JSON property `path`
6280
+ # @return [String]
6281
+ attr_accessor :path
6282
+
6283
+ def initialize(**args)
6284
+ update!(**args)
6285
+ end
6286
+
6287
+ # Update properties of this object
6288
+ def update!(**args)
6289
+ @name = args[:name] if args.key?(:name)
6290
+ @path = args[:path] if args.key?(:path)
6291
+ end
6292
+ end
6293
+
6080
6294
  # Used by Occurrence to point to where the vulnerability exists and how to fix
6081
6295
  # it.
6082
6296
  class VulnerabilityDetails
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1alpha1
18
18
  # Version of the google-apis-containeranalysis_v1alpha1 gem
19
- GEM_VERSION = "0.37.0"
19
+ GEM_VERSION = "0.39.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
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class BuildStep
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class BuildType
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -826,6 +832,12 @@ module Google
826
832
  include Google::Apis::Core::JsonObjectSupport
827
833
  end
828
834
 
835
+ class TimeSpan
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
829
841
  class UpdateOperationRequest
830
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
831
843
 
@@ -856,6 +868,12 @@ module Google
856
868
  include Google::Apis::Core::JsonObjectSupport
857
869
  end
858
870
 
871
+ class Volume
872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
873
+
874
+ include Google::Apis::Core::JsonObjectSupport
875
+ end
876
+
859
877
  class VulnerabilityDetails
860
878
  class Representation < Google::Apis::Core::JsonRepresentation; end
861
879
 
@@ -978,6 +996,32 @@ module Google
978
996
  end
979
997
  end
980
998
 
999
+ class BuildStep
1000
+ # @private
1001
+ class Representation < Google::Apis::Core::JsonRepresentation
1002
+ collection :allow_exit_codes, as: 'allowExitCodes'
1003
+ property :allow_failure, as: 'allowFailure'
1004
+ collection :args, as: 'args'
1005
+ property :dir, as: 'dir'
1006
+ property :entrypoint, as: 'entrypoint'
1007
+ collection :env, as: 'env'
1008
+ property :exit_code, as: 'exitCode'
1009
+ property :id, as: 'id'
1010
+ property :name, as: 'name'
1011
+ property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1alpha1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::TimeSpan::Representation
1012
+
1013
+ property :script, as: 'script'
1014
+ collection :secret_env, as: 'secretEnv'
1015
+ property :status, as: 'status'
1016
+ property :timeout, as: 'timeout'
1017
+ property :timing, as: 'timing', class: Google::Apis::ContaineranalysisV1alpha1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::TimeSpan::Representation
1018
+
1019
+ collection :volumes, as: 'volumes', class: Google::Apis::ContaineranalysisV1alpha1::Volume, decorator: Google::Apis::ContaineranalysisV1alpha1::Volume::Representation
1020
+
1021
+ collection :wait_for, as: 'waitFor'
1022
+ end
1023
+ end
1024
+
981
1025
  class BuildType
982
1026
  # @private
983
1027
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2388,6 +2432,14 @@ module Google
2388
2432
  end
2389
2433
  end
2390
2434
 
2435
+ class TimeSpan
2436
+ # @private
2437
+ class Representation < Google::Apis::Core::JsonRepresentation
2438
+ property :end_time, as: 'endTime'
2439
+ property :start_time, as: 'startTime'
2440
+ end
2441
+ end
2442
+
2391
2443
  class UpdateOperationRequest
2392
2444
  # @private
2393
2445
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2440,6 +2492,14 @@ module Google
2440
2492
  end
2441
2493
  end
2442
2494
 
2495
+ class Volume
2496
+ # @private
2497
+ class Representation < Google::Apis::Core::JsonRepresentation
2498
+ property :name, as: 'name'
2499
+ property :path, as: 'path'
2500
+ end
2501
+ end
2502
+
2443
2503
  class VulnerabilityDetails
2444
2504
  # @private
2445
2505
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.39.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-11-07 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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.39.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []