google-apis-containeranalysis_v1alpha1 0.30.0 → 0.33.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: 822c5fc9e3802ed5ebe5e451c30c39df33756f6fc5b207ac35ccf55a65b864ae
4
- data.tar.gz: 0cc96304e56d6e792f646e715b42f6c1d551fcfa7b067bd76ba8f5d2eb4df11f
3
+ metadata.gz: 3f9a6b1a1bc9f9adac47daf5dcd8504ca08c5175cccb92e2e29015dea4faf2e9
4
+ data.tar.gz: 456db88baed558e99a0e58015c6808f43d4aee42a367f4e764a1a436bb0e996e
5
5
  SHA512:
6
- metadata.gz: 2ea0b8b2d6bc6b9323f85fe7852257496b40ac5d2ac172ad9311fdfcf764e0a68160ec4ac9ecfa7fd6c431b0a5dcbefb95b44219bf69f4b0847ac97897b05ff9
7
- data.tar.gz: 6bf717c68012050c25dfa8f004a6697c82f02cac301fcfcb9dfb2032f00372d399beb7680e2ab9650bceffd792a58ef3331bdd6967ba0302750f4b23049d5bab
6
+ metadata.gz: '08c65b5eb5a3bdf8cc206d5e9fcff569ec298b3ad99f1173af41e3998ab81e692617f7c527f9107ac53ae35519d10ee76d1b33158ae6f0d09f32a42c86d6f0b8'
7
+ data.tar.gz: 0645f0766b72466f85a8fe0598d4ac68fe98648574cbba1f361ba8ddca50900c87e18973cc2329012f1dec9d7ac6be0d42939ca71af7606e0264dcaa8f2688c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.33.0 (2022-08-11)
4
+
5
+ * Regenerated from discovery document revision 20220805
6
+
7
+ ### v0.32.0 (2022-08-04)
8
+
9
+ * Regenerated from discovery document revision 20220727
10
+
11
+ ### v0.31.0 (2022-07-13)
12
+
13
+ * Regenerated from discovery document revision 20220707
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.30.0 (2022-07-01)
4
17
 
5
18
  * Regenerated using generator version 0.8.0
@@ -22,6 +22,26 @@ module Google
22
22
  module Apis
23
23
  module ContaineranalysisV1alpha1
24
24
 
25
+ # Indicates which analysis completed successfully. Multiple types of analysis
26
+ # can be performed on a single resource.
27
+ class AnalysisCompleted
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # type of analysis that were completed on a resource.
31
+ # Corresponds to the JSON property `analysisType`
32
+ # @return [Array<String>]
33
+ attr_accessor :analysis_type
34
+
35
+ def initialize(**args)
36
+ update!(**args)
37
+ end
38
+
39
+ # Update properties of this object
40
+ def update!(**args)
41
+ @analysis_type = args[:analysis_type] if args.key?(:analysis_type)
42
+ end
43
+ end
44
+
25
45
  # Artifact describes a build product.
26
46
  class Artifact
27
47
  include Google::Apis::Core::Hashable
@@ -214,25 +234,28 @@ module Google
214
234
  # anyone who is authenticated with a Google account or a service account. * `
215
235
  # user:`emailid``: An email address that represents a specific Google account.
216
236
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
217
- # address that represents a service account. For example, `my-other-app@appspot.
218
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
219
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
220
- # `uniqueid``: An email address (plus unique identifier) representing a user
221
- # that has been recently deleted. For example, `alice@example.com?uid=
222
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
223
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
224
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
225
- # identifier) representing a service account that has been recently deleted. For
226
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
227
- # If the service account is undeleted, this value reverts to `serviceAccount:`
228
- # emailid`` and the undeleted service account retains the role in the binding. *
229
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
230
- # identifier) representing a Google group that has been recently deleted. For
231
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
232
- # recovered, this value reverts to `group:`emailid`` and the recovered group
233
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
234
- # primary) that represents all the users of that domain. For example, `google.
235
- # com` or `example.com`.
237
+ # address that represents a Google service account. For example, `my-other-app@
238
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
239
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
240
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
241
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
242
+ # . * `group:`emailid``: An email address that represents a Google group. For
243
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
244
+ # email address (plus unique identifier) representing a user that has been
245
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
246
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
247
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
248
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
249
+ # representing a service account that has been recently deleted. For example, `
250
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
251
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
252
+ # and the undeleted service account retains the role in the binding. * `deleted:
253
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
254
+ # representing a Google group that has been recently deleted. For example, `
255
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
256
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
257
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
258
+ # all the users of that domain. For example, `google.com` or `example.com`.
236
259
  # Corresponds to the JSON property `members`
237
260
  # @return [Array<String>]
238
261
  attr_accessor :members
@@ -784,6 +807,12 @@ module Google
784
807
  class ComplianceVersion
785
808
  include Google::Apis::Core::Hashable
786
809
 
810
+ # The name of the document that defines this benchmark, e.g. "CIS Container-
811
+ # Optimized OS".
812
+ # Corresponds to the JSON property `benchmarkDocument`
813
+ # @return [String]
814
+ attr_accessor :benchmark_document
815
+
787
816
  # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is
788
817
  # applicable to.
789
818
  # Corresponds to the JSON property `cpeUri`
@@ -802,6 +831,7 @@ module Google
802
831
 
803
832
  # Update properties of this object
804
833
  def update!(**args)
834
+ @benchmark_document = args[:benchmark_document] if args.key?(:benchmark_document)
805
835
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
806
836
  @version = args[:version] if args.key?(:version)
807
837
  end
@@ -2384,6 +2414,18 @@ module Google
2384
2414
  class Discovered
2385
2415
  include Google::Apis::Core::Hashable
2386
2416
 
2417
+ # Indicates which analysis completed successfully. Multiple types of analysis
2418
+ # can be performed on a single resource.
2419
+ # Corresponds to the JSON property `analysisCompleted`
2420
+ # @return [Google::Apis::ContaineranalysisV1alpha1::AnalysisCompleted]
2421
+ attr_accessor :analysis_completed
2422
+
2423
+ # Indicates any errors encountered during analysis of a resource. There could be
2424
+ # 0 or more of these errors.
2425
+ # Corresponds to the JSON property `analysisError`
2426
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::Status>]
2427
+ attr_accessor :analysis_error
2428
+
2387
2429
  # The status of discovery for the resource.
2388
2430
  # Corresponds to the JSON property `analysisStatus`
2389
2431
  # @return [String]
@@ -2431,6 +2473,8 @@ module Google
2431
2473
 
2432
2474
  # Update properties of this object
2433
2475
  def update!(**args)
2476
+ @analysis_completed = args[:analysis_completed] if args.key?(:analysis_completed)
2477
+ @analysis_error = args[:analysis_error] if args.key?(:analysis_error)
2434
2478
  @analysis_status = args[:analysis_status] if args.key?(:analysis_status)
2435
2479
  @analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
2436
2480
  @archive_time = args[:archive_time] if args.key?(:archive_time)
@@ -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.30.0"
19
+ GEM_VERSION = "0.33.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.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
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ContaineranalysisV1alpha1
24
24
 
25
+ class AnalysisCompleted
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class Artifact
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -844,6 +850,13 @@ module Google
844
850
  include Google::Apis::Core::JsonObjectSupport
845
851
  end
846
852
 
853
+ class AnalysisCompleted
854
+ # @private
855
+ class Representation < Google::Apis::Core::JsonRepresentation
856
+ collection :analysis_type, as: 'analysisType'
857
+ end
858
+ end
859
+
847
860
  class Artifact
848
861
  # @private
849
862
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1031,6 +1044,7 @@ module Google
1031
1044
  class ComplianceVersion
1032
1045
  # @private
1033
1046
  class Representation < Google::Apis::Core::JsonRepresentation
1047
+ property :benchmark_document, as: 'benchmarkDocument'
1034
1048
  property :cpe_uri, as: 'cpeUri'
1035
1049
  property :version, as: 'version'
1036
1050
  end
@@ -1443,6 +1457,10 @@ module Google
1443
1457
  class Discovered
1444
1458
  # @private
1445
1459
  class Representation < Google::Apis::Core::JsonRepresentation
1460
+ property :analysis_completed, as: 'analysisCompleted', class: Google::Apis::ContaineranalysisV1alpha1::AnalysisCompleted, decorator: Google::Apis::ContaineranalysisV1alpha1::AnalysisCompleted::Representation
1461
+
1462
+ collection :analysis_error, as: 'analysisError', class: Google::Apis::ContaineranalysisV1alpha1::Status, decorator: Google::Apis::ContaineranalysisV1alpha1::Status::Representation
1463
+
1446
1464
  property :analysis_status, as: 'analysisStatus'
1447
1465
  property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1alpha1::Status, decorator: Google::Apis::ContaineranalysisV1alpha1::Status::Representation
1448
1466
 
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.30.0
4
+ version: 0.33.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-07-04 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
@@ -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.30.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.33.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: []