google-apis-containeranalysis_v1beta1 0.22.0 → 0.25.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: '09f79f9f8280f5beaa51b90c110639cbc1fc905a091a58bcba6656de648c5f3a'
4
- data.tar.gz: 7229343cf3fdf2363c2328cdba480ca1d521c900b9fac1927e0c5be25319dc5e
3
+ metadata.gz: 8ff7a397734bf72231e548b4c2098914d7f8e6cf6105b7079d7b70d1b5a8763f
4
+ data.tar.gz: 32f7972e3d7cb656c66862a34d982bfddaccc24d792a6c9e7dd0a42b9bb2cbc2
5
5
  SHA512:
6
- metadata.gz: 5c2143eff66750f100391ca8e04db9d0c0e42b08e1422df982fdc4f7fa2de40426dce3c22f880d61788c3559cf1b7ab9278f05a1f21365d8a7c10702696c427e
7
- data.tar.gz: f6840781154409bbc604c7290f2eec98d7304c5f0da642c3d8af1a148e47496e5850043e671bc264a15e74d2636cf5828a6ae395db217899ed4c26aebf4c863c
6
+ metadata.gz: 0a02ac70a3f648d805f0f71fb917a8c783ab7867b3154f61f606c95ebe3959f0290ea93c189fa0eb46368c94c6378930c31e5c31e839a505a115b95e6974ed32
7
+ data.tar.gz: 932972c548c4be90442837f3ddc29f71d14a91326739f3082d630cac7b32ef8de6a859c28c739af278773ee6b6250a557e4e7a5f563411c136f2156136c46929
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-containeranalysis_v1beta1
2
2
 
3
+ ### v0.25.0 (2022-09-07)
4
+
5
+ * Regenerated from discovery document revision 20220902
6
+
7
+ ### v0.24.0 (2022-08-11)
8
+
9
+ * Regenerated from discovery document revision 20220805
10
+
11
+ ### v0.23.0 (2022-07-13)
12
+
13
+ * Regenerated from discovery document revision 20220707
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.22.0 (2022-07-02)
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
@@ -321,28 +341,33 @@ module Google
321
341
  # members` can have the following values: * `allUsers`: A special identifier
322
342
  # that represents anyone who is on the internet; with or without a Google
323
343
  # account. * `allAuthenticatedUsers`: A special identifier that represents
324
- # anyone who is authenticated with a Google account or a service account. * `
325
- # user:`emailid``: An email address that represents a specific Google account.
326
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
327
- # address that represents a service account. For example, `my-other-app@appspot.
328
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
329
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
330
- # `uniqueid``: An email address (plus unique identifier) representing a user
331
- # that has been recently deleted. For example, `alice@example.com?uid=
332
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
333
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
334
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
335
- # identifier) representing a service account that has been recently deleted. For
336
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
337
- # If the service account is undeleted, this value reverts to `serviceAccount:`
338
- # emailid`` and the undeleted service account retains the role in the binding. *
339
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
340
- # identifier) representing a Google group that has been recently deleted. For
341
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
342
- # recovered, this value reverts to `group:`emailid`` and the recovered group
343
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
344
- # primary) that represents all the users of that domain. For example, `google.
345
- # com` or `example.com`.
344
+ # anyone who is authenticated with a Google account or a service account. Does
345
+ # not include identities that come from external identity providers (IdPs)
346
+ # through identity federation. * `user:`emailid``: An email address that
347
+ # represents a specific Google account. For example, `alice@example.com` . * `
348
+ # serviceAccount:`emailid``: An email address that represents a Google service
349
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
350
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
351
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
352
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
353
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
354
+ # email address that represents a Google group. For example, `admins@example.com`
355
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
356
+ # identifier) representing a user that has been recently deleted. For example, `
357
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
358
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
359
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
360
+ # address (plus unique identifier) representing a service account that has been
361
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
362
+ # 123456789012345678901`. If the service account is undeleted, this value
363
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
364
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
365
+ # An email address (plus unique identifier) representing a Google group that has
366
+ # been recently deleted. For example, `admins@example.com?uid=
367
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
368
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
369
+ # domain:`domain``: The G Suite domain (primary) that represents all the users
370
+ # of that domain. For example, `google.com` or `example.com`.
346
371
  # Corresponds to the JSON property `members`
347
372
  # @return [Array<String>]
348
373
  attr_accessor :members
@@ -1372,6 +1397,22 @@ module Google
1372
1397
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep
1373
1398
  include Google::Apis::Core::Hashable
1374
1399
 
1400
+ # Allow this build step to fail without failing the entire build if and only if
1401
+ # the exit code is one of the specified codes. If allow_failure is also
1402
+ # specified, this field will take precedence.
1403
+ # Corresponds to the JSON property `allowExitCodes`
1404
+ # @return [Array<Fixnum>]
1405
+ attr_accessor :allow_exit_codes
1406
+
1407
+ # Allow this build step to fail without failing the entire build. If false, the
1408
+ # entire build will fail if this step fails. Otherwise, the build will succeed,
1409
+ # but this step will still have a failure status. Error information will be
1410
+ # reported in the failure_detail field.
1411
+ # Corresponds to the JSON property `allowFailure`
1412
+ # @return [Boolean]
1413
+ attr_accessor :allow_failure
1414
+ alias_method :allow_failure?, :allow_failure
1415
+
1375
1416
  # A list of arguments that will be presented to the step when it is started. If
1376
1417
  # the image used to run the step's container has an entrypoint, the `args` are
1377
1418
  # used as arguments to that entrypoint. If the image does not define an
@@ -1405,6 +1446,11 @@ module Google
1405
1446
  # @return [Array<String>]
1406
1447
  attr_accessor :env
1407
1448
 
1449
+ # Output only. Return code from running the step.
1450
+ # Corresponds to the JSON property `exitCode`
1451
+ # @return [Fixnum]
1452
+ attr_accessor :exit_code
1453
+
1408
1454
  # Unique identifier for this build step, used in `wait_for` to reference this
1409
1455
  # build step as a dependency.
1410
1456
  # Corresponds to the JSON property `id`
@@ -1486,10 +1532,13 @@ module Google
1486
1532
 
1487
1533
  # Update properties of this object
1488
1534
  def update!(**args)
1535
+ @allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
1536
+ @allow_failure = args[:allow_failure] if args.key?(:allow_failure)
1489
1537
  @args = args[:args] if args.key?(:args)
1490
1538
  @dir = args[:dir] if args.key?(:dir)
1491
1539
  @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
1492
1540
  @env = args[:env] if args.key?(:env)
1541
+ @exit_code = args[:exit_code] if args.key?(:exit_code)
1493
1542
  @id = args[:id] if args.key?(:id)
1494
1543
  @name = args[:name] if args.key?(:name)
1495
1544
  @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
@@ -2313,6 +2362,18 @@ module Google
2313
2362
  class Discovered
2314
2363
  include Google::Apis::Core::Hashable
2315
2364
 
2365
+ # Indicates which analysis completed successfully. Multiple types of analysis
2366
+ # can be performed on a single resource.
2367
+ # Corresponds to the JSON property `analysisCompleted`
2368
+ # @return [Google::Apis::ContaineranalysisV1beta1::AnalysisCompleted]
2369
+ attr_accessor :analysis_completed
2370
+
2371
+ # Indicates any errors encountered during analysis of a resource. There could be
2372
+ # 0 or more of these errors.
2373
+ # Corresponds to the JSON property `analysisError`
2374
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::Status>]
2375
+ attr_accessor :analysis_error
2376
+
2316
2377
  # The status of discovery for the resource.
2317
2378
  # Corresponds to the JSON property `analysisStatus`
2318
2379
  # @return [String]
@@ -2345,6 +2406,8 @@ module Google
2345
2406
 
2346
2407
  # Update properties of this object
2347
2408
  def update!(**args)
2409
+ @analysis_completed = args[:analysis_completed] if args.key?(:analysis_completed)
2410
+ @analysis_error = args[:analysis_error] if args.key?(:analysis_error)
2348
2411
  @analysis_status = args[:analysis_status] if args.key?(:analysis_status)
2349
2412
  @analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
2350
2413
  @continuous_analysis = args[:continuous_analysis] if args.key?(:continuous_analysis)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1beta1
18
18
  # Version of the google-apis-containeranalysis_v1beta1 gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.25.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 = "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
 
@@ -774,6 +780,13 @@ module Google
774
780
  end
775
781
  end
776
782
 
783
+ class AnalysisCompleted
784
+ # @private
785
+ class Representation < Google::Apis::Core::JsonRepresentation
786
+ collection :analysis_type, as: 'analysisType'
787
+ end
788
+ end
789
+
777
790
  class Artifact
778
791
  # @private
779
792
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1106,10 +1119,13 @@ module Google
1106
1119
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep
1107
1120
  # @private
1108
1121
  class Representation < Google::Apis::Core::JsonRepresentation
1122
+ collection :allow_exit_codes, as: 'allowExitCodes'
1123
+ property :allow_failure, as: 'allowFailure'
1109
1124
  collection :args, as: 'args'
1110
1125
  property :dir, as: 'dir'
1111
1126
  property :entrypoint, as: 'entrypoint'
1112
1127
  collection :env, as: 'env'
1128
+ property :exit_code, as: 'exitCode'
1113
1129
  property :id, as: 'id'
1114
1130
  property :name, as: 'name'
1115
1131
  property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
@@ -1354,6 +1370,10 @@ module Google
1354
1370
  class Discovered
1355
1371
  # @private
1356
1372
  class Representation < Google::Apis::Core::JsonRepresentation
1373
+ property :analysis_completed, as: 'analysisCompleted', class: Google::Apis::ContaineranalysisV1beta1::AnalysisCompleted, decorator: Google::Apis::ContaineranalysisV1beta1::AnalysisCompleted::Representation
1374
+
1375
+ collection :analysis_error, as: 'analysisError', class: Google::Apis::ContaineranalysisV1beta1::Status, decorator: Google::Apis::ContaineranalysisV1beta1::Status::Representation
1376
+
1357
1377
  property :analysis_status, as: 'analysisStatus'
1358
1378
  property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1beta1::Status, decorator: Google::Apis::ContaineranalysisV1beta1::Status::Representation
1359
1379
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.25.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-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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1beta1/v0.25.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []