google-apis-containeranalysis_v1alpha1 0.31.0 → 0.34.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: 903193d6e6d7a61c9bec27ab6bc88243865804814b6857334e3bfb48144a8787
4
- data.tar.gz: 5dfd87ef3430018f6ac3521378ded9e318e31360648ba84cd7062c7e30e021c1
3
+ metadata.gz: 2d05e469aaa1f45c0da05f11cdac03183d91f111ec2bc07f8af72bc15ef99244
4
+ data.tar.gz: 74e4cd63870f766b3864f64408f4320044c1574f5a562c9acf944e65cff3b1ee
5
5
  SHA512:
6
- metadata.gz: 0b7ad4e42d20cd0990ab52045efda5c01e6147eba00c0ec748b524a31e4cf13442a5899ae8f9972a26c480114727cdc24da74cc9442ae93c4b2fb0f11485c204
7
- data.tar.gz: 1f599a18a9d9c71f9bb17e50ca4cf8e4452f08280c514c35406d1687ac295d62ac69cbf176622fd91026e02587f4988803d0b11db4c8fc9ef2a3fdd489c3e06d
6
+ metadata.gz: fc53654a73355d136592cd2ac622546ba2c6e716703891e00f02350ad694d26759acdb950c891cfc35c4b1e1a29691685482f150e102fa0886fbecca6d46c6aa
7
+ data.tar.gz: 5263f029bbdf42aef679666369e749d1b915f346fe28cae0fe6efc5239c42f416903d3004ab4f4697d620d4d0e3d7085e8e3e3d8392be913c704a0f02154580b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-containeranalysis_v1alpha1
2
2
 
3
+ ### v0.34.0 (2022-09-09)
4
+
5
+ * Regenerated from discovery document revision 20220902
6
+
7
+ ### v0.33.0 (2022-08-11)
8
+
9
+ * Regenerated from discovery document revision 20220805
10
+
11
+ ### v0.32.0 (2022-08-04)
12
+
13
+ * Regenerated from discovery document revision 20220727
14
+
3
15
  ### v0.31.0 (2022-07-13)
4
16
 
5
17
  * Regenerated from discovery document revision 20220707
@@ -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
@@ -211,28 +231,33 @@ module Google
211
231
  # members` can have the following values: * `allUsers`: A special identifier
212
232
  # that represents anyone who is on the internet; with or without a Google
213
233
  # account. * `allAuthenticatedUsers`: A special identifier that represents
214
- # anyone who is authenticated with a Google account or a service account. * `
215
- # user:`emailid``: An email address that represents a specific Google account.
216
- # 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`.
234
+ # anyone who is authenticated with a Google account or a service account. Does
235
+ # not include identities that come from external identity providers (IdPs)
236
+ # through identity federation. * `user:`emailid``: An email address that
237
+ # represents a specific Google account. For example, `alice@example.com` . * `
238
+ # serviceAccount:`emailid``: An email address that represents a Google service
239
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
240
+ # serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
241
+ # identifier for a [Kubernetes service account](https://cloud.google.com/
242
+ # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
243
+ # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
244
+ # email address that represents a Google group. For example, `admins@example.com`
245
+ # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
246
+ # identifier) representing a user that has been recently deleted. For example, `
247
+ # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
248
+ # value reverts to `user:`emailid`` and the recovered user retains the role in
249
+ # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
250
+ # address (plus unique identifier) representing a service account that has been
251
+ # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
252
+ # 123456789012345678901`. If the service account is undeleted, this value
253
+ # reverts to `serviceAccount:`emailid`` and the undeleted service account
254
+ # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
255
+ # An email address (plus unique identifier) representing a Google group that has
256
+ # been recently deleted. For example, `admins@example.com?uid=
257
+ # 123456789012345678901`. If the group is recovered, this value reverts to `
258
+ # group:`emailid`` and the recovered group retains the role in the binding. * `
259
+ # domain:`domain``: The G Suite domain (primary) that represents all the users
260
+ # of that domain. For example, `google.com` or `example.com`.
236
261
  # Corresponds to the JSON property `members`
237
262
  # @return [Array<String>]
238
263
  attr_accessor :members
@@ -1373,6 +1398,22 @@ module Google
1373
1398
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep
1374
1399
  include Google::Apis::Core::Hashable
1375
1400
 
1401
+ # Allow this build step to fail without failing the entire build if and only if
1402
+ # the exit code is one of the specified codes. If allow_failure is also
1403
+ # specified, this field will take precedence.
1404
+ # Corresponds to the JSON property `allowExitCodes`
1405
+ # @return [Array<Fixnum>]
1406
+ attr_accessor :allow_exit_codes
1407
+
1408
+ # Allow this build step to fail without failing the entire build. If false, the
1409
+ # entire build will fail if this step fails. Otherwise, the build will succeed,
1410
+ # but this step will still have a failure status. Error information will be
1411
+ # reported in the failure_detail field.
1412
+ # Corresponds to the JSON property `allowFailure`
1413
+ # @return [Boolean]
1414
+ attr_accessor :allow_failure
1415
+ alias_method :allow_failure?, :allow_failure
1416
+
1376
1417
  # A list of arguments that will be presented to the step when it is started. If
1377
1418
  # the image used to run the step's container has an entrypoint, the `args` are
1378
1419
  # used as arguments to that entrypoint. If the image does not define an
@@ -1406,6 +1447,11 @@ module Google
1406
1447
  # @return [Array<String>]
1407
1448
  attr_accessor :env
1408
1449
 
1450
+ # Output only. Return code from running the step.
1451
+ # Corresponds to the JSON property `exitCode`
1452
+ # @return [Fixnum]
1453
+ attr_accessor :exit_code
1454
+
1409
1455
  # Unique identifier for this build step, used in `wait_for` to reference this
1410
1456
  # build step as a dependency.
1411
1457
  # Corresponds to the JSON property `id`
@@ -1487,10 +1533,13 @@ module Google
1487
1533
 
1488
1534
  # Update properties of this object
1489
1535
  def update!(**args)
1536
+ @allow_exit_codes = args[:allow_exit_codes] if args.key?(:allow_exit_codes)
1537
+ @allow_failure = args[:allow_failure] if args.key?(:allow_failure)
1490
1538
  @args = args[:args] if args.key?(:args)
1491
1539
  @dir = args[:dir] if args.key?(:dir)
1492
1540
  @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
1493
1541
  @env = args[:env] if args.key?(:env)
1542
+ @exit_code = args[:exit_code] if args.key?(:exit_code)
1494
1543
  @id = args[:id] if args.key?(:id)
1495
1544
  @name = args[:name] if args.key?(:name)
1496
1545
  @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
@@ -2195,8 +2244,8 @@ module Google
2195
2244
  # @return [String]
2196
2245
  attr_accessor :platform
2197
2246
 
2198
- # Output only. Resource URI for the artifact being deployed taken from the
2199
- # deployable field with the same name.
2247
+ # Resource URI for the artifact being deployed taken from the deployable field
2248
+ # with the same name.
2200
2249
  # Corresponds to the JSON property `resourceUri`
2201
2250
  # @return [Array<String>]
2202
2251
  attr_accessor :resource_uri
@@ -2391,6 +2440,18 @@ module Google
2391
2440
  class Discovered
2392
2441
  include Google::Apis::Core::Hashable
2393
2442
 
2443
+ # Indicates which analysis completed successfully. Multiple types of analysis
2444
+ # can be performed on a single resource.
2445
+ # Corresponds to the JSON property `analysisCompleted`
2446
+ # @return [Google::Apis::ContaineranalysisV1alpha1::AnalysisCompleted]
2447
+ attr_accessor :analysis_completed
2448
+
2449
+ # Indicates any errors encountered during analysis of a resource. There could be
2450
+ # 0 or more of these errors.
2451
+ # Corresponds to the JSON property `analysisError`
2452
+ # @return [Array<Google::Apis::ContaineranalysisV1alpha1::Status>]
2453
+ attr_accessor :analysis_error
2454
+
2394
2455
  # The status of discovery for the resource.
2395
2456
  # Corresponds to the JSON property `analysisStatus`
2396
2457
  # @return [String]
@@ -2438,6 +2499,8 @@ module Google
2438
2499
 
2439
2500
  # Update properties of this object
2440
2501
  def update!(**args)
2502
+ @analysis_completed = args[:analysis_completed] if args.key?(:analysis_completed)
2503
+ @analysis_error = args[:analysis_error] if args.key?(:analysis_error)
2441
2504
  @analysis_status = args[:analysis_status] if args.key?(:analysis_status)
2442
2505
  @analysis_status_error = args[:analysis_status_error] if args.key?(:analysis_status_error)
2443
2506
  @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.31.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220707"
25
+ REVISION = "20220902"
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
@@ -1171,10 +1184,13 @@ module Google
1171
1184
  class ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep
1172
1185
  # @private
1173
1186
  class Representation < Google::Apis::Core::JsonRepresentation
1187
+ collection :allow_exit_codes, as: 'allowExitCodes'
1188
+ property :allow_failure, as: 'allowFailure'
1174
1189
  collection :args, as: 'args'
1175
1190
  property :dir, as: 'dir'
1176
1191
  property :entrypoint, as: 'entrypoint'
1177
1192
  collection :env, as: 'env'
1193
+ property :exit_code, as: 'exitCode'
1178
1194
  property :id, as: 'id'
1179
1195
  property :name, as: 'name'
1180
1196
  property :pull_timing, as: 'pullTiming', class: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan, decorator: Google::Apis::ContaineranalysisV1alpha1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan::Representation
@@ -1444,6 +1460,10 @@ module Google
1444
1460
  class Discovered
1445
1461
  # @private
1446
1462
  class Representation < Google::Apis::Core::JsonRepresentation
1463
+ property :analysis_completed, as: 'analysisCompleted', class: Google::Apis::ContaineranalysisV1alpha1::AnalysisCompleted, decorator: Google::Apis::ContaineranalysisV1alpha1::AnalysisCompleted::Representation
1464
+
1465
+ collection :analysis_error, as: 'analysisError', class: Google::Apis::ContaineranalysisV1alpha1::Status, decorator: Google::Apis::ContaineranalysisV1alpha1::Status::Representation
1466
+
1447
1467
  property :analysis_status, as: 'analysisStatus'
1448
1468
  property :analysis_status_error, as: 'analysisStatusError', class: Google::Apis::ContaineranalysisV1alpha1::Status, decorator: Google::Apis::ContaineranalysisV1alpha1::Status::Representation
1449
1469
 
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.31.0
4
+ version: 0.34.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-18 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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1alpha1/v0.34.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: []