google-apis-containeranalysis_v1 0.15.0 → 0.18.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: fa9c68cbfe1902cd26c21f5b3a2df32e51ac9bb55f71f7e62fca6a4e1afb6763
|
4
|
+
data.tar.gz: 2551ddebbdcac257740162e1ea30eaa72a385a67ca3398d5fcb10f5d5fede36d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4696f1e23babaf02bed8791ad51570f42d3a8c7575a442279e55b602e655ff544dcfcfdf298d7c392e70901f44eafb53d8d5504fbc21487455b1e73ae91741be
|
7
|
+
data.tar.gz: cfa40252009d28275b247c36ed67dec87ba073bb3e3406ca57ad88510435d3f55dedbbce573304af7a2b2ac91a6b44bbda88ef4debee22e770757b23f39baacc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-containeranalysis_v1
|
2
2
|
|
3
|
+
### v0.18.0 (2022-09-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220902
|
6
|
+
|
7
|
+
### v0.17.0 (2022-08-11)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220805
|
10
|
+
|
11
|
+
### v0.16.0 (2022-07-13)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220707
|
14
|
+
* Regenerated using generator version 0.9.0
|
15
|
+
|
3
16
|
### v0.15.0 (2022-07-01)
|
4
17
|
|
5
18
|
* Regenerated using generator version 0.8.0
|
@@ -47,6 +47,26 @@ module Google
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
+
# Indicates which analysis completed successfully. Multiple types of analysis
|
51
|
+
# can be performed on a single resource.
|
52
|
+
class AnalysisCompleted
|
53
|
+
include Google::Apis::Core::Hashable
|
54
|
+
|
55
|
+
#
|
56
|
+
# Corresponds to the JSON property `analysisType`
|
57
|
+
# @return [Array<String>]
|
58
|
+
attr_accessor :analysis_type
|
59
|
+
|
60
|
+
def initialize(**args)
|
61
|
+
update!(**args)
|
62
|
+
end
|
63
|
+
|
64
|
+
# Update properties of this object
|
65
|
+
def update!(**args)
|
66
|
+
@analysis_type = args[:analysis_type] if args.key?(:analysis_type)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
50
70
|
# Artifact describes a build product.
|
51
71
|
class Artifact
|
52
72
|
include Google::Apis::Core::Hashable
|
@@ -265,28 +285,33 @@ module Google
|
|
265
285
|
# members` can have the following values: * `allUsers`: A special identifier
|
266
286
|
# that represents anyone who is on the internet; with or without a Google
|
267
287
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
268
|
-
# anyone who is authenticated with a Google account or a service account.
|
269
|
-
#
|
270
|
-
#
|
271
|
-
#
|
272
|
-
#
|
273
|
-
#
|
274
|
-
# `
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
#
|
279
|
-
#
|
280
|
-
# example, `
|
281
|
-
# If the
|
282
|
-
# emailid`` and the
|
283
|
-
# `deleted:
|
284
|
-
# identifier) representing a
|
285
|
-
# example, `
|
286
|
-
#
|
287
|
-
#
|
288
|
-
#
|
289
|
-
#
|
288
|
+
# anyone who is authenticated with a Google account or a service account. Does
|
289
|
+
# not include identities that come from external identity providers (IdPs)
|
290
|
+
# through identity federation. * `user:`emailid``: An email address that
|
291
|
+
# represents a specific Google account. For example, `alice@example.com` . * `
|
292
|
+
# serviceAccount:`emailid``: An email address that represents a Google service
|
293
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
|
294
|
+
# serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
|
295
|
+
# identifier for a [Kubernetes service account](https://cloud.google.com/
|
296
|
+
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
297
|
+
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
298
|
+
# email address that represents a Google group. For example, `admins@example.com`
|
299
|
+
# . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
300
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
301
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
302
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
303
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
304
|
+
# address (plus unique identifier) representing a service account that has been
|
305
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
306
|
+
# 123456789012345678901`. If the service account is undeleted, this value
|
307
|
+
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
308
|
+
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
309
|
+
# An email address (plus unique identifier) representing a Google group that has
|
310
|
+
# been recently deleted. For example, `admins@example.com?uid=
|
311
|
+
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
312
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
313
|
+
# domain:`domain``: The G Suite domain (primary) that represents all the users
|
314
|
+
# of that domain. For example, `google.com` or `example.com`.
|
290
315
|
# Corresponds to the JSON property `members`
|
291
316
|
# @return [Array<String>]
|
292
317
|
attr_accessor :members
|
@@ -1508,6 +1533,22 @@ module Google
|
|
1508
1533
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep
|
1509
1534
|
include Google::Apis::Core::Hashable
|
1510
1535
|
|
1536
|
+
# Allow this build step to fail without failing the entire build if and only if
|
1537
|
+
# the exit code is one of the specified codes. If allow_failure is also
|
1538
|
+
# specified, this field will take precedence.
|
1539
|
+
# Corresponds to the JSON property `allowExitCodes`
|
1540
|
+
# @return [Array<Fixnum>]
|
1541
|
+
attr_accessor :allow_exit_codes
|
1542
|
+
|
1543
|
+
# Allow this build step to fail without failing the entire build. If false, the
|
1544
|
+
# entire build will fail if this step fails. Otherwise, the build will succeed,
|
1545
|
+
# but this step will still have a failure status. Error information will be
|
1546
|
+
# reported in the failure_detail field.
|
1547
|
+
# Corresponds to the JSON property `allowFailure`
|
1548
|
+
# @return [Boolean]
|
1549
|
+
attr_accessor :allow_failure
|
1550
|
+
alias_method :allow_failure?, :allow_failure
|
1551
|
+
|
1511
1552
|
# A list of arguments that will be presented to the step when it is started. If
|
1512
1553
|
# the image used to run the step's container has an entrypoint, the `args` are
|
1513
1554
|
# used as arguments to that entrypoint. If the image does not define an
|
@@ -1541,6 +1582,11 @@ module Google
|
|
1541
1582
|
# @return [Array<String>]
|
1542
1583
|
attr_accessor :env
|
1543
1584
|
|
1585
|
+
# Output only. Return code from running the step.
|
1586
|
+
# Corresponds to the JSON property `exitCode`
|
1587
|
+
# @return [Fixnum]
|
1588
|
+
attr_accessor :exit_code
|
1589
|
+
|
1544
1590
|
# Unique identifier for this build step, used in `wait_for` to reference this
|
1545
1591
|
# build step as a dependency.
|
1546
1592
|
# Corresponds to the JSON property `id`
|
@@ -1622,10 +1668,13 @@ module Google
|
|
1622
1668
|
|
1623
1669
|
# Update properties of this object
|
1624
1670
|
def update!(**args)
|
1671
|
+
@allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
|
1672
|
+
@allow_failure = args[:allow_failure] if args.key?(:allow_failure)
|
1625
1673
|
@args = args[:args] if args.key?(:args)
|
1626
1674
|
@dir = args[:dir] if args.key?(:dir)
|
1627
1675
|
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
1628
1676
|
@env = args[:env] if args.key?(:env)
|
1677
|
+
@exit_code = args[:exit_code] if args.key?(:exit_code)
|
1629
1678
|
@id = args[:id] if args.key?(:id)
|
1630
1679
|
@name = args[:name] if args.key?(:name)
|
1631
1680
|
@pull_timing = args[:pull_timing] if args.key?(:pull_timing)
|
@@ -2496,6 +2545,18 @@ module Google
|
|
2496
2545
|
class DiscoveryOccurrence
|
2497
2546
|
include Google::Apis::Core::Hashable
|
2498
2547
|
|
2548
|
+
# Indicates which analysis completed successfully. Multiple types of analysis
|
2549
|
+
# can be performed on a single resource.
|
2550
|
+
# Corresponds to the JSON property `analysisCompleted`
|
2551
|
+
# @return [Google::Apis::ContaineranalysisV1::AnalysisCompleted]
|
2552
|
+
attr_accessor :analysis_completed
|
2553
|
+
|
2554
|
+
# Indicates any errors encountered during analysis of a resource. There could be
|
2555
|
+
# 0 or more of these errors.
|
2556
|
+
# Corresponds to the JSON property `analysisError`
|
2557
|
+
# @return [Array<Google::Apis::ContaineranalysisV1::Status>]
|
2558
|
+
attr_accessor :analysis_error
|
2559
|
+
|
2499
2560
|
# The status of discovery for the resource.
|
2500
2561
|
# Corresponds to the JSON property `analysisStatus`
|
2501
2562
|
# @return [String]
|
@@ -2538,6 +2599,8 @@ module Google
|
|
2538
2599
|
|
2539
2600
|
# Update properties of this object
|
2540
2601
|
def update!(**args)
|
2602
|
+
@analysis_completed = args[:analysis_completed] if args.key?(:analysis_completed)
|
2603
|
+
@analysis_error = args[:analysis_error] if args.key?(:analysis_error)
|
2541
2604
|
@analysis_status = args[:analysis_status] if args.key?(:analysis_status)
|
2542
2605
|
@analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
|
2543
2606
|
@archive_time = args[:archive_time] if args.key?(:archive_time)
|
@@ -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.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220902"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AnalysisCompleted
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class Artifact
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -804,6 +810,13 @@ module Google
|
|
804
810
|
end
|
805
811
|
end
|
806
812
|
|
813
|
+
class AnalysisCompleted
|
814
|
+
# @private
|
815
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
816
|
+
collection :analysis_type, as: 'analysisType'
|
817
|
+
end
|
818
|
+
end
|
819
|
+
|
807
820
|
class Artifact
|
808
821
|
# @private
|
809
822
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1173,10 +1186,13 @@ module Google
|
|
1173
1186
|
class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep
|
1174
1187
|
# @private
|
1175
1188
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1189
|
+
collection :allow_exit_codes, as: 'allowExitCodes'
|
1190
|
+
property :allow_failure, as: 'allowFailure'
|
1176
1191
|
collection :args, as: 'args'
|
1177
1192
|
property :dir, as: 'dir'
|
1178
1193
|
property :entrypoint, as: 'entrypoint'
|
1179
1194
|
collection :env, as: 'env'
|
1195
|
+
property :exit_code, as: 'exitCode'
|
1180
1196
|
property :id, as: 'id'
|
1181
1197
|
property :name, as: 'name'
|
1182
1198
|
property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
|
@@ -1435,6 +1451,10 @@ module Google
|
|
1435
1451
|
class DiscoveryOccurrence
|
1436
1452
|
# @private
|
1437
1453
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1454
|
+
property :analysis_completed, as: 'analysisCompleted', class: Google::Apis::ContaineranalysisV1::AnalysisCompleted, decorator: Google::Apis::ContaineranalysisV1::AnalysisCompleted::Representation
|
1455
|
+
|
1456
|
+
collection :analysis_error, as: 'analysisError', class: Google::Apis::ContaineranalysisV1::Status, decorator: Google::Apis::ContaineranalysisV1::Status::Representation
|
1457
|
+
|
1438
1458
|
property :analysis_status, as: 'analysisStatus'
|
1439
1459
|
property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1::Status, decorator: Google::Apis::ContaineranalysisV1::Status::Representation
|
1440
1460
|
|
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.18.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-
|
11
|
+
date: 2022-09-12 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.18.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: []
|