google-apis-containeranalysis_v1alpha1 0.14.0 → 0.15.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: 82f7c90d24f3a27ca19c0c58338731522361618d87df2b98bf42970dd9795bfa
4
- data.tar.gz: b209a12b04acfc62e1ba22468d6506fba065b1fa2d7538fcca659c271d398485
3
+ metadata.gz: 80537a13075a5e455e0d123601c1ca760dc2a9619ab33ac97bebec4635c8dfa3
4
+ data.tar.gz: f1ed78bcb00111531087446ed0462fff0fe05bb5b0feaf9f0436edc1d737b8c6
5
5
  SHA512:
6
- metadata.gz: ab314728b00102d7d99df58f2eee5e12985d0e0581634bda1b86093b711d56d57419f33c3708bf67104100c81a8a9efb19f36197723958db6ee06a7a6eeacc29
7
- data.tar.gz: 103f6d9191b9da38fc90666a5cbfb6ce5091d0dba91404401a5fc59011c132a5baf8b0633caac4a27c6653e8ff73ba05f7c881805401a24c1c6f18b7892f9429
6
+ metadata.gz: a5b071f3b91c87c64da4abf2d446f3dd4c0129cd9949448ca809af12d845c0d47861d4af413c91276ef382de23f9d0623672673d818ff1a1d3d1a514f6e13726
7
+ data.tar.gz: 803371d43e140b4d3a43f97026220e5fa7cf6a115ccb2a77b85e44a44611e140b6e5464ad6f895c8a1f29861e2353dec4812985f36fd3926afe80db7b3185f6f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.15.0 (2021-09-16)
4
+
5
+ * Regenerated from discovery document revision 20210913
6
+
3
7
  ### v0.14.0 (2021-09-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20210825
@@ -438,6 +438,141 @@ module Google
438
438
  end
439
439
  end
440
440
 
441
+ # A step in the build pipeline.
442
+ class BuildStep
443
+ include Google::Apis::Core::Hashable
444
+
445
+ # A list of arguments that will be presented to the step when it is started. If
446
+ # the image used to run the step's container has an entrypoint, the `args` are
447
+ # used as arguments to that entrypoint. If the image does not define an
448
+ # entrypoint, the first element in args is used as the entrypoint, and the
449
+ # remainder will be used as arguments.
450
+ # Corresponds to the JSON property `args`
451
+ # @return [Array<String>]
452
+ attr_accessor :args
453
+
454
+ # Working directory to use when running this step's container. If this value is
455
+ # a relative path, it is relative to the build's working directory. If this
456
+ # value is absolute, it may be outside the build's working directory, in which
457
+ # case the contents of the path may not be persisted across build step
458
+ # executions, unless a `volume` for that path is specified. If the build
459
+ # specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies
460
+ # an absolute path, the `RepoSource` `dir` is ignored for the step's execution.
461
+ # Corresponds to the JSON property `dir`
462
+ # @return [String]
463
+ attr_accessor :dir
464
+
465
+ # Entrypoint to be used instead of the build step image's default entrypoint. If
466
+ # unset, the image's default entrypoint is used.
467
+ # Corresponds to the JSON property `entrypoint`
468
+ # @return [String]
469
+ attr_accessor :entrypoint
470
+
471
+ # A list of environment variable definitions to be used when running a step. The
472
+ # elements are of the form "KEY=VALUE" for the environment variable "KEY" being
473
+ # given the value "VALUE".
474
+ # Corresponds to the JSON property `env`
475
+ # @return [Array<String>]
476
+ attr_accessor :env
477
+
478
+ # Unique identifier for this build step, used in `wait_for` to reference this
479
+ # build step as a dependency.
480
+ # Corresponds to the JSON property `id`
481
+ # @return [String]
482
+ attr_accessor :id
483
+
484
+ # Required. The name of the container image that will run this particular build
485
+ # step. If the image is available in the host's Docker daemon's cache, it will
486
+ # be run directly. If not, the host will attempt to pull the image first, using
487
+ # the builder service account's credentials if necessary. The Docker daemon's
488
+ # cache will already have the latest versions of all of the officially supported
489
+ # build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://
490
+ # github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also
491
+ # have cached many of the layers for some popular images, like "ubuntu", "debian"
492
+ # , but they will be refreshed at the time you attempt to use them. If you built
493
+ # an image in a previous build step, it will be stored in the host's Docker
494
+ # daemon's cache and is available to use as the name for a later build step.
495
+ # Corresponds to the JSON property `name`
496
+ # @return [String]
497
+ attr_accessor :name
498
+
499
+ # Start and end times for a build execution phase.
500
+ # Corresponds to the JSON property `pullTiming`
501
+ # @return [Google::Apis::ContaineranalysisV1alpha1::TimeSpan]
502
+ attr_accessor :pull_timing
503
+
504
+ # A shell script to be executed in the step. When script is provided, the user
505
+ # cannot specify the entrypoint or args.
506
+ # Corresponds to the JSON property `script`
507
+ # @return [String]
508
+ attr_accessor :script
509
+
510
+ # A list of environment variables which are encrypted using a Cloud Key
511
+ # Management Service crypto key. These values must be specified in the build's `
512
+ # Secret`.
513
+ # Corresponds to the JSON property `secretEnv`
514
+ # @return [Array<String>]
515
+ attr_accessor :secret_env
516
+
517
+ # Output only. Status of the build step. At this time, build step status is only
518
+ # updated on build completion; step status is not updated in real-time as the
519
+ # build progresses.
520
+ # Corresponds to the JSON property `status`
521
+ # @return [String]
522
+ attr_accessor :status
523
+
524
+ # Time limit for executing this build step. If not defined, the step has no time
525
+ # limit and will be allowed to continue to run until either it completes or the
526
+ # build itself times out.
527
+ # Corresponds to the JSON property `timeout`
528
+ # @return [String]
529
+ attr_accessor :timeout
530
+
531
+ # Start and end times for a build execution phase.
532
+ # Corresponds to the JSON property `timing`
533
+ # @return [Google::Apis::ContaineranalysisV1alpha1::TimeSpan]
534
+ attr_accessor :timing
535
+
536
+ # List of volumes to mount into the build step. Each volume is created as an
537
+ # empty volume prior to execution of the build step. Upon completion of the
538
+ # build, volumes and their contents are discarded. Using a named volume in only
539
+ # one step is not valid as it is indicative of a build request with an incorrect
540
+ # configuration.
541
+ # Corresponds to the JSON property `volumes`
542
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::Volume>]
543
+ attr_accessor :volumes
544
+
545
+ # The ID(s) of the step(s) that this build step depends on. This build step will
546
+ # not start until all the build steps in `wait_for` have completed successfully.
547
+ # If `wait_for` is empty, this build step will start when all previous build
548
+ # steps in the `Build.Steps` list have completed successfully.
549
+ # Corresponds to the JSON property `waitFor`
550
+ # @return [Array<String>]
551
+ attr_accessor :wait_for
552
+
553
+ def initialize(**args)
554
+ update!(**args)
555
+ end
556
+
557
+ # Update properties of this object
558
+ def update!(**args)
559
+ @args = args[:args] if args.key?(:args)
560
+ @dir = args[:dir] if args.key?(:dir)
561
+ @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
562
+ @env = args[:env] if args.key?(:env)
563
+ @id = args[:id] if args.key?(:id)
564
+ @name = args[:name] if args.key?(:name)
565
+ @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
566
+ @script = args[:script] if args.key?(:script)
567
+ @secret_env = args[:secret_env] if args.key?(:secret_env)
568
+ @status = args[:status] if args.key?(:status)
569
+ @timeout = args[:timeout] if args.key?(:timeout)
570
+ @timing = args[:timing] if args.key?(:timing)
571
+ @volumes = args[:volumes] if args.key?(:volumes)
572
+ @wait_for = args[:wait_for] if args.key?(:wait_for)
573
+ end
574
+ end
575
+
441
576
  # Note holding the version of the provider's builder and the signature of the
442
577
  # provenance message in linked BuildDetails.
443
578
  class BuildType
@@ -3595,6 +3730,31 @@ module Google
3595
3730
  end
3596
3731
  end
3597
3732
 
3733
+ # Start and end times for a build execution phase.
3734
+ class TimeSpan
3735
+ include Google::Apis::Core::Hashable
3736
+
3737
+ # End of time span.
3738
+ # Corresponds to the JSON property `endTime`
3739
+ # @return [String]
3740
+ attr_accessor :end_time
3741
+
3742
+ # Start of time span.
3743
+ # Corresponds to the JSON property `startTime`
3744
+ # @return [String]
3745
+ attr_accessor :start_time
3746
+
3747
+ def initialize(**args)
3748
+ update!(**args)
3749
+ end
3750
+
3751
+ # Update properties of this object
3752
+ def update!(**args)
3753
+ @end_time = args[:end_time] if args.key?(:end_time)
3754
+ @start_time = args[:start_time] if args.key?(:start_time)
3755
+ end
3756
+ end
3757
+
3598
3758
  # Request for updating an existing operation
3599
3759
  class UpdateOperationRequest
3600
3760
  include Google::Apis::Core::Hashable
@@ -3786,6 +3946,36 @@ module Google
3786
3946
  end
3787
3947
  end
3788
3948
 
3949
+ # Volume describes a Docker container volume which is mounted into build steps
3950
+ # in order to persist files across build step execution.
3951
+ class Volume
3952
+ include Google::Apis::Core::Hashable
3953
+
3954
+ # Name of the volume to mount. Volume names must be unique per build step and
3955
+ # must be valid names for Docker volumes. Each named volume must be used by at
3956
+ # least two build steps.
3957
+ # Corresponds to the JSON property `name`
3958
+ # @return [String]
3959
+ attr_accessor :name
3960
+
3961
+ # Path at which to mount the volume. Paths must be absolute and cannot conflict
3962
+ # with other volume paths on the same build step or with certain reserved volume
3963
+ # paths.
3964
+ # Corresponds to the JSON property `path`
3965
+ # @return [String]
3966
+ attr_accessor :path
3967
+
3968
+ def initialize(**args)
3969
+ update!(**args)
3970
+ end
3971
+
3972
+ # Update properties of this object
3973
+ def update!(**args)
3974
+ @name = args[:name] if args.key?(:name)
3975
+ @path = args[:path] if args.key?(:path)
3976
+ end
3977
+ end
3978
+
3789
3979
  # Used by Occurrence to point to where the vulnerability exists and how to fix
3790
3980
  # it.
3791
3981
  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.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210825"
25
+ REVISION = "20210913"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class BuildStep
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class BuildType
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -538,6 +544,12 @@ module Google
538
544
  include Google::Apis::Core::JsonObjectSupport
539
545
  end
540
546
 
547
+ class TimeSpan
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
541
553
  class UpdateOperationRequest
542
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
555
 
@@ -568,6 +580,12 @@ module Google
568
580
  include Google::Apis::Core::JsonObjectSupport
569
581
  end
570
582
 
583
+ class Volume
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
571
589
  class VulnerabilityDetails
572
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
591
 
@@ -681,6 +699,29 @@ module Google
681
699
  end
682
700
  end
683
701
 
702
+ class BuildStep
703
+ # @private
704
+ class Representation < Google::Apis::Core::JsonRepresentation
705
+ collection :args, as: 'args'
706
+ property :dir, as: 'dir'
707
+ property :entrypoint, as: 'entrypoint'
708
+ collection :env, as: 'env'
709
+ property :id, as: 'id'
710
+ property :name, as: 'name'
711
+ property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1alpha1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::TimeSpan::Representation
712
+
713
+ property :script, as: 'script'
714
+ collection :secret_env, as: 'secretEnv'
715
+ property :status, as: 'status'
716
+ property :timeout, as: 'timeout'
717
+ property :timing, as: 'timing', class: Google::Apis::ContaineranalysisV1alpha1::TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::TimeSpan::Representation
718
+
719
+ collection :volumes, as: 'volumes', class: Google::Apis::ContaineranalysisV1alpha1::Volume, decorator: Google::Apis::ContaineranalysisV1alpha1::Volume::Representation
720
+
721
+ collection :wait_for, as: 'waitFor'
722
+ end
723
+ end
724
+
684
725
  class BuildType
685
726
  # @private
686
727
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1518,6 +1559,14 @@ module Google
1518
1559
  end
1519
1560
  end
1520
1561
 
1562
+ class TimeSpan
1563
+ # @private
1564
+ class Representation < Google::Apis::Core::JsonRepresentation
1565
+ property :end_time, as: 'endTime'
1566
+ property :start_time, as: 'startTime'
1567
+ end
1568
+ end
1569
+
1521
1570
  class UpdateOperationRequest
1522
1571
  # @private
1523
1572
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1570,6 +1619,14 @@ module Google
1570
1619
  end
1571
1620
  end
1572
1621
 
1622
+ class Volume
1623
+ # @private
1624
+ class Representation < Google::Apis::Core::JsonRepresentation
1625
+ property :name, as: 'name'
1626
+ property :path, as: 'path'
1627
+ end
1628
+ end
1629
+
1573
1630
  class VulnerabilityDetails
1574
1631
  # @private
1575
1632
  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.14.0
4
+ version: 0.15.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: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2021-09-20 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/master/generated/google-apis-containeranalysis_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-containeranalysis_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []