google-apis-containeranalysis_v1 0.23.0 → 0.24.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd7cb84da449ebe3cb15070314040fcd6c12076f5805d132eca2434d0c1db703
|
4
|
+
data.tar.gz: b8f3556501ac6e532cc819faab3a531b7838387794e9f75c913913b3841e2ddb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ac4e5fa5a59dc67a197f0e09f3d3b7664d9a05bbc3d6f8d5f1b3ac57b53a8796ac9a4f3ad6048f09268b20e4511f941aa3e18b7380a786549e3ac7982eff530
|
7
|
+
data.tar.gz: 54816bc5b0b60ae3d9bb1152dad48e97a9d0097804e73d69b248bd168f4e3edeaa8d5a18fbcd2ba93fcdc821941aba5219d3b4a812938697b2d3a442a08f435c
|
data/CHANGELOG.md
CHANGED
@@ -497,6 +497,165 @@ module Google
|
|
497
497
|
end
|
498
498
|
end
|
499
499
|
|
500
|
+
# A step in the build pipeline. Next ID: 20
|
501
|
+
class BuildStep
|
502
|
+
include Google::Apis::Core::Hashable
|
503
|
+
|
504
|
+
# Allow this build step to fail without failing the entire build if and only if
|
505
|
+
# the exit code is one of the specified codes. If allow_failure is also
|
506
|
+
# specified, this field will take precedence.
|
507
|
+
# Corresponds to the JSON property `allowExitCodes`
|
508
|
+
# @return [Array<Fixnum>]
|
509
|
+
attr_accessor :allow_exit_codes
|
510
|
+
|
511
|
+
# Allow this build step to fail without failing the entire build. If false, the
|
512
|
+
# entire build will fail if this step fails. Otherwise, the build will succeed,
|
513
|
+
# but this step will still have a failure status. Error information will be
|
514
|
+
# reported in the failure_detail field.
|
515
|
+
# Corresponds to the JSON property `allowFailure`
|
516
|
+
# @return [Boolean]
|
517
|
+
attr_accessor :allow_failure
|
518
|
+
alias_method :allow_failure?, :allow_failure
|
519
|
+
|
520
|
+
# A list of arguments that will be presented to the step when it is started. If
|
521
|
+
# the image used to run the step's container has an entrypoint, the `args` are
|
522
|
+
# used as arguments to that entrypoint. If the image does not define an
|
523
|
+
# entrypoint, the first element in args is used as the entrypoint, and the
|
524
|
+
# remainder will be used as arguments.
|
525
|
+
# Corresponds to the JSON property `args`
|
526
|
+
# @return [Array<String>]
|
527
|
+
attr_accessor :args
|
528
|
+
|
529
|
+
# Working directory to use when running this step's container. If this value is
|
530
|
+
# a relative path, it is relative to the build's working directory. If this
|
531
|
+
# value is absolute, it may be outside the build's working directory, in which
|
532
|
+
# case the contents of the path may not be persisted across build step
|
533
|
+
# executions, unless a `volume` for that path is specified. If the build
|
534
|
+
# specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies
|
535
|
+
# an absolute path, the `RepoSource` `dir` is ignored for the step's execution.
|
536
|
+
# Corresponds to the JSON property `dir`
|
537
|
+
# @return [String]
|
538
|
+
attr_accessor :dir
|
539
|
+
|
540
|
+
# Entrypoint to be used instead of the build step image's default entrypoint. If
|
541
|
+
# unset, the image's default entrypoint is used.
|
542
|
+
# Corresponds to the JSON property `entrypoint`
|
543
|
+
# @return [String]
|
544
|
+
attr_accessor :entrypoint
|
545
|
+
|
546
|
+
# A list of environment variable definitions to be used when running a step. The
|
547
|
+
# elements are of the form "KEY=VALUE" for the environment variable "KEY" being
|
548
|
+
# given the value "VALUE".
|
549
|
+
# Corresponds to the JSON property `env`
|
550
|
+
# @return [Array<String>]
|
551
|
+
attr_accessor :env
|
552
|
+
|
553
|
+
# Output only. Return code from running the step.
|
554
|
+
# Corresponds to the JSON property `exitCode`
|
555
|
+
# @return [Fixnum]
|
556
|
+
attr_accessor :exit_code
|
557
|
+
|
558
|
+
# Unique identifier for this build step, used in `wait_for` to reference this
|
559
|
+
# build step as a dependency.
|
560
|
+
# Corresponds to the JSON property `id`
|
561
|
+
# @return [String]
|
562
|
+
attr_accessor :id
|
563
|
+
|
564
|
+
# Required. The name of the container image that will run this particular build
|
565
|
+
# step. If the image is available in the host's Docker daemon's cache, it will
|
566
|
+
# be run directly. If not, the host will attempt to pull the image first, using
|
567
|
+
# the builder service account's credentials if necessary. The Docker daemon's
|
568
|
+
# cache will already have the latest versions of all of the officially supported
|
569
|
+
# build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://
|
570
|
+
# github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also
|
571
|
+
# have cached many of the layers for some popular images, like "ubuntu", "debian"
|
572
|
+
# , but they will be refreshed at the time you attempt to use them. If you built
|
573
|
+
# an image in a previous build step, it will be stored in the host's Docker
|
574
|
+
# daemon's cache and is available to use as the name for a later build step.
|
575
|
+
# Corresponds to the JSON property `name`
|
576
|
+
# @return [String]
|
577
|
+
attr_accessor :name
|
578
|
+
|
579
|
+
# Start and end times for a build execution phase. Next ID: 3
|
580
|
+
# Corresponds to the JSON property `pullTiming`
|
581
|
+
# @return [Google::Apis::ContaineranalysisV1::TimeSpan]
|
582
|
+
attr_accessor :pull_timing
|
583
|
+
|
584
|
+
# A shell script to be executed in the step. When script is provided, the user
|
585
|
+
# cannot specify the entrypoint or args.
|
586
|
+
# Corresponds to the JSON property `script`
|
587
|
+
# @return [String]
|
588
|
+
attr_accessor :script
|
589
|
+
|
590
|
+
# A list of environment variables which are encrypted using a Cloud Key
|
591
|
+
# Management Service crypto key. These values must be specified in the build's `
|
592
|
+
# Secret`.
|
593
|
+
# Corresponds to the JSON property `secretEnv`
|
594
|
+
# @return [Array<String>]
|
595
|
+
attr_accessor :secret_env
|
596
|
+
|
597
|
+
# Output only. Status of the build step. At this time, build step status is only
|
598
|
+
# updated on build completion; step status is not updated in real-time as the
|
599
|
+
# build progresses.
|
600
|
+
# Corresponds to the JSON property `status`
|
601
|
+
# @return [String]
|
602
|
+
attr_accessor :status
|
603
|
+
|
604
|
+
# Time limit for executing this build step. If not defined, the step has no time
|
605
|
+
# limit and will be allowed to continue to run until either it completes or the
|
606
|
+
# build itself times out.
|
607
|
+
# Corresponds to the JSON property `timeout`
|
608
|
+
# @return [String]
|
609
|
+
attr_accessor :timeout
|
610
|
+
|
611
|
+
# Start and end times for a build execution phase. Next ID: 3
|
612
|
+
# Corresponds to the JSON property `timing`
|
613
|
+
# @return [Google::Apis::ContaineranalysisV1::TimeSpan]
|
614
|
+
attr_accessor :timing
|
615
|
+
|
616
|
+
# List of volumes to mount into the build step. Each volume is created as an
|
617
|
+
# empty volume prior to execution of the build step. Upon completion of the
|
618
|
+
# build, volumes and their contents are discarded. Using a named volume in only
|
619
|
+
# one step is not valid as it is indicative of a build request with an incorrect
|
620
|
+
# configuration.
|
621
|
+
# Corresponds to the JSON property `volumes`
|
622
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::Volume>]
|
623
|
+
attr_accessor :volumes
|
624
|
+
|
625
|
+
# The ID(s) of the step(s) that this build step depends on. This build step will
|
626
|
+
# not start until all the build steps in `wait_for` have completed successfully.
|
627
|
+
# If `wait_for` is empty, this build step will start when all previous build
|
628
|
+
# steps in the `Build.Steps` list have completed successfully.
|
629
|
+
# Corresponds to the JSON property `waitFor`
|
630
|
+
# @return [Array<String>]
|
631
|
+
attr_accessor :wait_for
|
632
|
+
|
633
|
+
def initialize(**args)
|
634
|
+
update!(**args)
|
635
|
+
end
|
636
|
+
|
637
|
+
# Update properties of this object
|
638
|
+
def update!(**args)
|
639
|
+
@allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
|
640
|
+
@allow_failure = args[:allow_failure] if args.key?(:allow_failure)
|
641
|
+
@args = args[:args] if args.key?(:args)
|
642
|
+
@dir = args[:dir] if args.key?(:dir)
|
643
|
+
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
644
|
+
@env = args[:env] if args.key?(:env)
|
645
|
+
@exit_code = args[:exit_code] if args.key?(:exit_code)
|
646
|
+
@id = args[:id] if args.key?(:id)
|
647
|
+
@name = args[:name] if args.key?(:name)
|
648
|
+
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
|
649
|
+
@script = args[:script] if args.key?(:script)
|
650
|
+
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
651
|
+
@status = args[:status] if args.key?(:status)
|
652
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
653
|
+
@timing = args[:timing] if args.key?(:timing)
|
654
|
+
@volumes = args[:volumes] if args.key?(:volumes)
|
655
|
+
@wait_for = args[:wait_for] if args.key?(:wait_for)
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
500
659
|
#
|
501
660
|
class BuilderConfig
|
502
661
|
include Google::Apis::Core::Hashable
|
@@ -5242,6 +5401,31 @@ module Google
|
|
5242
5401
|
end
|
5243
5402
|
end
|
5244
5403
|
|
5404
|
+
# Start and end times for a build execution phase. Next ID: 3
|
5405
|
+
class TimeSpan
|
5406
|
+
include Google::Apis::Core::Hashable
|
5407
|
+
|
5408
|
+
# End of time span.
|
5409
|
+
# Corresponds to the JSON property `endTime`
|
5410
|
+
# @return [String]
|
5411
|
+
attr_accessor :end_time
|
5412
|
+
|
5413
|
+
# Start of time span.
|
5414
|
+
# Corresponds to the JSON property `startTime`
|
5415
|
+
# @return [String]
|
5416
|
+
attr_accessor :start_time
|
5417
|
+
|
5418
|
+
def initialize(**args)
|
5419
|
+
update!(**args)
|
5420
|
+
end
|
5421
|
+
|
5422
|
+
# Update properties of this object
|
5423
|
+
def update!(**args)
|
5424
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
5425
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
5426
|
+
end
|
5427
|
+
end
|
5428
|
+
|
5245
5429
|
# The Upgrade Distribution represents metadata about the Upgrade for each
|
5246
5430
|
# operating system (CPE). Some distributions have additional metadata around
|
5247
5431
|
# updates, classifying them into various categories and severities.
|
@@ -5430,6 +5614,36 @@ module Google
|
|
5430
5614
|
end
|
5431
5615
|
end
|
5432
5616
|
|
5617
|
+
# Volume describes a Docker container volume which is mounted into build steps
|
5618
|
+
# in order to persist files across build step execution. Next ID: 3
|
5619
|
+
class Volume
|
5620
|
+
include Google::Apis::Core::Hashable
|
5621
|
+
|
5622
|
+
# Name of the volume to mount. Volume names must be unique per build step and
|
5623
|
+
# must be valid names for Docker volumes. Each named volume must be used by at
|
5624
|
+
# least two build steps.
|
5625
|
+
# Corresponds to the JSON property `name`
|
5626
|
+
# @return [String]
|
5627
|
+
attr_accessor :name
|
5628
|
+
|
5629
|
+
# Path at which to mount the volume. Paths must be absolute and cannot conflict
|
5630
|
+
# with other volume paths on the same build step or with certain reserved volume
|
5631
|
+
# paths.
|
5632
|
+
# Corresponds to the JSON property `path`
|
5633
|
+
# @return [String]
|
5634
|
+
attr_accessor :path
|
5635
|
+
|
5636
|
+
def initialize(**args)
|
5637
|
+
update!(**args)
|
5638
|
+
end
|
5639
|
+
|
5640
|
+
# Update properties of this object
|
5641
|
+
def update!(**args)
|
5642
|
+
@name = args[:name] if args.key?(:name)
|
5643
|
+
@path = args[:path] if args.key?(:path)
|
5644
|
+
end
|
5645
|
+
end
|
5646
|
+
|
5433
5647
|
# A security vulnerability that can be found in resources.
|
5434
5648
|
class VulnerabilityNote
|
5435
5649
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.24.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221015"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class BuildStep
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class BuilderConfig
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -772,6 +778,12 @@ module Google
|
|
772
778
|
include Google::Apis::Core::JsonObjectSupport
|
773
779
|
end
|
774
780
|
|
781
|
+
class TimeSpan
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
783
|
+
|
784
|
+
include Google::Apis::Core::JsonObjectSupport
|
785
|
+
end
|
786
|
+
|
775
787
|
class UpgradeDistribution
|
776
788
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
777
789
|
|
@@ -796,6 +808,12 @@ module Google
|
|
796
808
|
include Google::Apis::Core::JsonObjectSupport
|
797
809
|
end
|
798
810
|
|
811
|
+
class Volume
|
812
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
813
|
+
|
814
|
+
include Google::Apis::Core::JsonObjectSupport
|
815
|
+
end
|
816
|
+
|
799
817
|
class VulnerabilityNote
|
800
818
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
801
819
|
|
@@ -953,6 +971,32 @@ module Google
|
|
953
971
|
end
|
954
972
|
end
|
955
973
|
|
974
|
+
class BuildStep
|
975
|
+
# @private
|
976
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
977
|
+
collection :allow_exit_codes, as: 'allowExitCodes'
|
978
|
+
property :allow_failure, as: 'allowFailure'
|
979
|
+
collection :args, as: 'args'
|
980
|
+
property :dir, as: 'dir'
|
981
|
+
property :entrypoint, as: 'entrypoint'
|
982
|
+
collection :env, as: 'env'
|
983
|
+
property :exit_code, as: 'exitCode'
|
984
|
+
property :id, as: 'id'
|
985
|
+
property :name, as: 'name'
|
986
|
+
property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1::TimeSpan::Representation
|
987
|
+
|
988
|
+
property :script, as: 'script'
|
989
|
+
collection :secret_env, as: 'secretEnv'
|
990
|
+
property :status, as: 'status'
|
991
|
+
property :timeout, as: 'timeout'
|
992
|
+
property :timing, as: 'timing', class: Google::Apis::ContaineranalysisV1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1::TimeSpan::Representation
|
993
|
+
|
994
|
+
collection :volumes, as: 'volumes', class: Google::Apis::ContaineranalysisV1::Volume, decorator: Google::Apis::ContaineranalysisV1::Volume::Representation
|
995
|
+
|
996
|
+
collection :wait_for, as: 'waitFor'
|
997
|
+
end
|
998
|
+
end
|
999
|
+
|
956
1000
|
class BuilderConfig
|
957
1001
|
# @private
|
958
1002
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2201,6 +2245,14 @@ module Google
|
|
2201
2245
|
end
|
2202
2246
|
end
|
2203
2247
|
|
2248
|
+
class TimeSpan
|
2249
|
+
# @private
|
2250
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2251
|
+
property :end_time, as: 'endTime'
|
2252
|
+
property :start_time, as: 'startTime'
|
2253
|
+
end
|
2254
|
+
end
|
2255
|
+
|
2204
2256
|
class UpgradeDistribution
|
2205
2257
|
# @private
|
2206
2258
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2249,6 +2301,14 @@ module Google
|
|
2249
2301
|
end
|
2250
2302
|
end
|
2251
2303
|
|
2304
|
+
class Volume
|
2305
|
+
# @private
|
2306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2307
|
+
property :name, as: 'name'
|
2308
|
+
property :path, as: 'path'
|
2309
|
+
end
|
2310
|
+
end
|
2311
|
+
|
2252
2312
|
class VulnerabilityNote
|
2253
2313
|
# @private
|
2254
2314
|
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.
|
4
|
+
version: 0.24.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-
|
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
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.24.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: []
|