google-apis-containeranalysis_v1 0.14.0 → 0.17.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: 17e959ecd241cbc2d82c423b5af0333ad8b4b7382dbe238043e050991168b7ca
4
- data.tar.gz: c5cd79c689de624c9d600be3d9e71f065a29107def895da4e7bdc87a3a8ded54
3
+ metadata.gz: 2ec9aadeeadd6f5c6b3154ca22d8bfa9fa1ceb9b28bf7cf88430ab8d99c37064
4
+ data.tar.gz: 6effc149cdee8b888221af8de49af4e000e083ad64b2f2a22a1d893e7d0c7bfa
5
5
  SHA512:
6
- metadata.gz: 9ba76982c48e5c98016344e7c408c69372d5250c441a2ee964cfe98105712368ab547d4a8d554b7671e8f40d0eaf47def615e54e619d3d41c097811c489b7865
7
- data.tar.gz: 66fda29fb0d41e063c1802252d28f79f1f4e27e34116c3fe4718f9a418ec922693ecd1cde20f960a8621a803885b5cd03cc0de36760826afea8ca1e14a8c78dd
6
+ metadata.gz: 7e0dde07e0f4ef9dc0f3fc3a354161e6cf6d4aee40e3e706466aaedd02e0bd12b2b0dbca82958a1c85658051bb2707f0b49b1e891b465e313c37c25a75693a63
7
+ data.tar.gz: 816232da0919581aaebbcb5df9c1adab091afdce964ffc55953271c8c60cd5c455defb3e62c9bc0fadf144dc3c54992a0f7db849e6435fff7712418a8297129b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.17.0 (2022-08-11)
4
+
5
+ * Regenerated from discovery document revision 20220805
6
+
7
+ ### v0.16.0 (2022-07-13)
8
+
9
+ * Regenerated from discovery document revision 20220707
10
+ * Regenerated using generator version 0.9.0
11
+
12
+ ### v0.15.0 (2022-07-01)
13
+
14
+ * Regenerated using generator version 0.8.0
15
+
3
16
  ### v0.14.0 (2022-06-21)
4
17
 
5
18
  * Regenerated using generator version 0.7.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
@@ -268,25 +288,28 @@ module Google
268
288
  # anyone who is authenticated with a Google account or a service account. * `
269
289
  # user:`emailid``: An email address that represents a specific Google account.
270
290
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
271
- # address that represents a service account. For example, `my-other-app@appspot.
272
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
273
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
274
- # `uniqueid``: An email address (plus unique identifier) representing a user
275
- # that has been recently deleted. For example, `alice@example.com?uid=
276
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
277
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
278
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
279
- # identifier) representing a service account that has been recently deleted. For
280
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
281
- # If the service account is undeleted, this value reverts to `serviceAccount:`
282
- # emailid`` and the undeleted service account retains the role in the binding. *
283
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
284
- # identifier) representing a Google group that has been recently deleted. For
285
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
286
- # recovered, this value reverts to `group:`emailid`` and the recovered group
287
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
288
- # primary) that represents all the users of that domain. For example, `google.
289
- # com` or `example.com`.
291
+ # address that represents a Google service account. For example, `my-other-app@
292
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
293
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
294
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
295
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
296
+ # . * `group:`emailid``: An email address that represents a Google group. For
297
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
298
+ # email address (plus unique identifier) representing a user that has been
299
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
300
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
301
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
302
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
303
+ # representing a service account that has been recently deleted. For example, `
304
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
305
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
306
+ # and the undeleted service account retains the role in the binding. * `deleted:
307
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
308
+ # representing a Google group that has been recently deleted. For example, `
309
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
310
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
311
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
312
+ # all the users of that domain. For example, `google.com` or `example.com`.
290
313
  # Corresponds to the JSON property `members`
291
314
  # @return [Array<String>]
292
315
  attr_accessor :members
@@ -2496,6 +2519,18 @@ module Google
2496
2519
  class DiscoveryOccurrence
2497
2520
  include Google::Apis::Core::Hashable
2498
2521
 
2522
+ # Indicates which analysis completed successfully. Multiple types of analysis
2523
+ # can be performed on a single resource.
2524
+ # Corresponds to the JSON property `analysisCompleted`
2525
+ # @return [Google::Apis::ContaineranalysisV1::AnalysisCompleted]
2526
+ attr_accessor :analysis_completed
2527
+
2528
+ # Indicates any errors encountered during analysis of a resource. There could be
2529
+ # 0 or more of these errors.
2530
+ # Corresponds to the JSON property `analysisError`
2531
+ # @return [Array<Google::Apis::ContaineranalysisV1::Status>]
2532
+ attr_accessor :analysis_error
2533
+
2499
2534
  # The status of discovery for the resource.
2500
2535
  # Corresponds to the JSON property `analysisStatus`
2501
2536
  # @return [String]
@@ -2538,6 +2573,8 @@ module Google
2538
2573
 
2539
2574
  # Update properties of this object
2540
2575
  def update!(**args)
2576
+ @analysis_completed = args[:analysis_completed] if args.key?(:analysis_completed)
2577
+ @analysis_error = args[:analysis_error] if args.key?(:analysis_error)
2541
2578
  @analysis_status = args[:analysis_status] if args.key?(:analysis_status)
2542
2579
  @analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
2543
2580
  @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.14.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.7.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220602"
25
+ REVISION = "20220805"
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
@@ -1435,6 +1448,10 @@ module Google
1435
1448
  class DiscoveryOccurrence
1436
1449
  # @private
1437
1450
  class Representation < Google::Apis::Core::JsonRepresentation
1451
+ property :analysis_completed, as: 'analysisCompleted', class: Google::Apis::ContaineranalysisV1::AnalysisCompleted, decorator: Google::Apis::ContaineranalysisV1::AnalysisCompleted::Representation
1452
+
1453
+ collection :analysis_error, as: 'analysisError', class: Google::Apis::ContaineranalysisV1::Status, decorator: Google::Apis::ContaineranalysisV1::Status::Representation
1454
+
1438
1455
  property :analysis_status, as: 'analysisStatus'
1439
1456
  property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1::Status, decorator: Google::Apis::ContaineranalysisV1::Status::Representation
1440
1457
 
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.14.0
4
+ version: 0.17.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-06-27 00:00:00.000000000 Z
11
+ date: 2022-08-15 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.6'
19
+ version: '0.7'
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.6'
29
+ version: '0.7'
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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.17.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: []