google-apis-assuredworkloads_v1 0.48.0 → 0.50.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: 2ea386dbe42c1e99b10d26ade2570847d3dbc59293eff3db91af6b69da7ca68a
4
- data.tar.gz: d9e29ca43a896ba756362f275fd08fbf1113ec46d7c6e5d9db223f56878e8553
3
+ metadata.gz: 94f2a4e00140514fb69bc6b5859af9cf762ef8d521448b2b03c8b4d140677b0e
4
+ data.tar.gz: 0b19d07c9205f00fd4d1eaace6fa463c1b1e01049ea286c3c0a8f217da0aff53
5
5
  SHA512:
6
- metadata.gz: a56507faf305d5511225c9c6b67234c8481e4a804b1bfb176431a87b8191c48232a0f7adff015beb03d355e025f68c1b7816b2b858568dd3f382d43414e0ec43
7
- data.tar.gz: d5e5978c90035c6728ff1523bd217eaf4eba1f92f3d7635242c2dce17174c9bd105b4429e8363211ea1fc9e943f503e3fea0fd8820d89c795da2ee791114c4ef
6
+ metadata.gz: a4bfb3bdd86551e52155eb45e5e6e9abd2e7353ccd9a58019ae810febdb7e71353851239ed4ff3fb826edf99cbe932c1978ee791101bb51cb6f3e3b1c6469902
7
+ data.tar.gz: c76053287bb90f832aa0a076b39b42d2ed68878a11b751573cf9dd82c3ad9700bf4a91b0e2d9763224d3836876c1401b6008d3de9e885554b51de4f26ee0e36a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.50.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231110
6
+
7
+ ### v0.49.0 (2023-11-12)
8
+
9
+ * Regenerated from discovery document revision 20231106
10
+
3
11
  ### v0.48.0 (2023-10-29)
4
12
 
5
13
  * Regenerated from discovery document revision 20231023
@@ -26,6 +26,11 @@ module Google
26
26
  class GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
+ # Optional. Acknowledge type of specified violation.
30
+ # Corresponds to the JSON property `acknowledgeType`
31
+ # @return [String]
32
+ attr_accessor :acknowledge_type
33
+
29
34
  # Required. Business justification explaining the need for violation
30
35
  # acknowledgement
31
36
  # Corresponds to the JSON property `comment`
@@ -47,6 +52,7 @@ module Google
47
52
 
48
53
  # Update properties of this object
49
54
  def update!(**args)
55
+ @acknowledge_type = args[:acknowledge_type] if args.key?(:acknowledge_type)
50
56
  @comment = args[:comment] if args.key?(:comment)
51
57
  @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
52
58
  end
@@ -107,7 +113,7 @@ module Google
107
113
 
108
114
  # Type of the asset being analyzed. Possible values will be among the ones
109
115
  # listed [here](https://cloud.google.com/asset-inventory/docs/supported-asset-
110
- # types#searchable_asset_types).
116
+ # types).
111
117
  # Corresponds to the JSON property `assetType`
112
118
  # @return [String]
113
119
  attr_accessor :asset_type
@@ -362,7 +368,7 @@ module Google
362
368
  end
363
369
  end
364
370
 
365
- # Workload monitoring Violation. Next Id: 28
371
+ # Workload monitoring Violation.
366
372
  class GoogleCloudAssuredworkloadsV1Violation
367
373
  include Google::Apis::Core::Hashable
368
374
 
@@ -380,6 +386,12 @@ module Google
380
386
  # @return [String]
381
387
  attr_accessor :acknowledgement_time
382
388
 
389
+ # Optional. Output only. Violation Id of the org-policy violation due to which
390
+ # the resource violation is caused. Empty for org-policy violations.
391
+ # Corresponds to the JSON property `associatedOrgPolicyViolationId`
392
+ # @return [String]
393
+ attr_accessor :associated_org_policy_violation_id
394
+
383
395
  # Output only. Immutable. Audit Log Link for violated resource Format: https://
384
396
  # console.cloud.google.com/logs/query;query=`logName``protoPayload.resourceName``
385
397
  # timeRange``folder`
@@ -438,6 +450,12 @@ module Google
438
450
  # @return [String]
439
451
  attr_accessor :org_policy_constraint
440
452
 
453
+ # Optional. Output only. Parent project number where resource is present. Empty
454
+ # for org-policy violations.
455
+ # Corresponds to the JSON property `parentProjectNumber`
456
+ # @return [String]
457
+ attr_accessor :parent_project_number
458
+
441
459
  # Represents remediation guidance to resolve compliance violation for
442
460
  # AssuredWorkload
443
461
  # Corresponds to the JSON property `remediation`
@@ -450,6 +468,18 @@ module Google
450
468
  # @return [String]
451
469
  attr_accessor :resolve_time
452
470
 
471
+ # Optional. Output only. Name of the resource like //storage.googleapis.com/
472
+ # myprojectxyz-testbucket. Empty for org-policy violations.
473
+ # Corresponds to the JSON property `resourceName`
474
+ # @return [String]
475
+ attr_accessor :resource_name
476
+
477
+ # Optional. Output only. Type of the resource like compute.googleapis.com/Disk,
478
+ # etc. Empty for org-policy violations.
479
+ # Corresponds to the JSON property `resourceType`
480
+ # @return [String]
481
+ attr_accessor :resource_type
482
+
453
483
  # Output only. State of the violation
454
484
  # Corresponds to the JSON property `state`
455
485
  # @return [String]
@@ -460,6 +490,11 @@ module Google
460
490
  # @return [String]
461
491
  attr_accessor :update_time
462
492
 
493
+ # Output only. Type of the violation
494
+ # Corresponds to the JSON property `violationType`
495
+ # @return [String]
496
+ attr_accessor :violation_type
497
+
463
498
  def initialize(**args)
464
499
  update!(**args)
465
500
  end
@@ -468,6 +503,7 @@ module Google
468
503
  def update!(**args)
469
504
  @acknowledged = args[:acknowledged] if args.key?(:acknowledged)
470
505
  @acknowledgement_time = args[:acknowledgement_time] if args.key?(:acknowledgement_time)
506
+ @associated_org_policy_violation_id = args[:associated_org_policy_violation_id] if args.key?(:associated_org_policy_violation_id)
471
507
  @audit_log_link = args[:audit_log_link] if args.key?(:audit_log_link)
472
508
  @begin_time = args[:begin_time] if args.key?(:begin_time)
473
509
  @category = args[:category] if args.key?(:category)
@@ -477,14 +513,18 @@ module Google
477
513
  @name = args[:name] if args.key?(:name)
478
514
  @non_compliant_org_policy = args[:non_compliant_org_policy] if args.key?(:non_compliant_org_policy)
479
515
  @org_policy_constraint = args[:org_policy_constraint] if args.key?(:org_policy_constraint)
516
+ @parent_project_number = args[:parent_project_number] if args.key?(:parent_project_number)
480
517
  @remediation = args[:remediation] if args.key?(:remediation)
481
518
  @resolve_time = args[:resolve_time] if args.key?(:resolve_time)
519
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
520
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
482
521
  @state = args[:state] if args.key?(:state)
483
522
  @update_time = args[:update_time] if args.key?(:update_time)
523
+ @violation_type = args[:violation_type] if args.key?(:violation_type)
484
524
  end
485
525
  end
486
526
 
487
- # Violation exception detail. Next Id: 6
527
+ # Violation exception detail.
488
528
  class GoogleCloudAssuredworkloadsV1ViolationExceptionContext
489
529
  include Google::Apis::Core::Hashable
490
530
 
@@ -807,11 +847,21 @@ module Google
807
847
  class GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus
808
848
  include Google::Apis::Core::Hashable
809
849
 
850
+ # Number of current resource violations which are not acknowledged.
851
+ # Corresponds to the JSON property `acknowledgedResourceViolationCount`
852
+ # @return [Fixnum]
853
+ attr_accessor :acknowledged_resource_violation_count
854
+
810
855
  # Number of current orgPolicy violations which are acknowledged.
811
856
  # Corresponds to the JSON property `acknowledgedViolationCount`
812
857
  # @return [Fixnum]
813
858
  attr_accessor :acknowledged_violation_count
814
859
 
860
+ # Number of current resource violations which are acknowledged.
861
+ # Corresponds to the JSON property `activeResourceViolationCount`
862
+ # @return [Fixnum]
863
+ attr_accessor :active_resource_violation_count
864
+
815
865
  # Number of current orgPolicy violations which are not acknowledged.
816
866
  # Corresponds to the JSON property `activeViolationCount`
817
867
  # @return [Fixnum]
@@ -823,7 +873,9 @@ module Google
823
873
 
824
874
  # Update properties of this object
825
875
  def update!(**args)
876
+ @acknowledged_resource_violation_count = args[:acknowledged_resource_violation_count] if args.key?(:acknowledged_resource_violation_count)
826
877
  @acknowledged_violation_count = args[:acknowledged_violation_count] if args.key?(:acknowledged_violation_count)
878
+ @active_resource_violation_count = args[:active_resource_violation_count] if args.key?(:active_resource_violation_count)
827
879
  @active_violation_count = args[:active_violation_count] if args.key?(:active_violation_count)
828
880
  end
829
881
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AssuredworkloadsV1
18
18
  # Version of the google-apis-assuredworkloads_v1 gem
19
- GEM_VERSION = "0.48.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231023"
25
+ REVISION = "20231110"
26
26
  end
27
27
  end
28
28
  end
@@ -211,6 +211,7 @@ module Google
211
211
  class GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest
212
212
  # @private
213
213
  class Representation < Google::Apis::Core::JsonRepresentation
214
+ property :acknowledge_type, as: 'acknowledgeType'
214
215
  property :comment, as: 'comment'
215
216
  property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
216
217
  end
@@ -325,6 +326,7 @@ module Google
325
326
  class Representation < Google::Apis::Core::JsonRepresentation
326
327
  property :acknowledged, as: 'acknowledged'
327
328
  property :acknowledgement_time, as: 'acknowledgementTime'
329
+ property :associated_org_policy_violation_id, as: 'associatedOrgPolicyViolationId'
328
330
  property :audit_log_link, as: 'auditLogLink'
329
331
  property :begin_time, as: 'beginTime'
330
332
  property :category, as: 'category'
@@ -335,11 +337,15 @@ module Google
335
337
  property :name, as: 'name'
336
338
  property :non_compliant_org_policy, as: 'nonCompliantOrgPolicy'
337
339
  property :org_policy_constraint, as: 'orgPolicyConstraint'
340
+ property :parent_project_number, as: 'parentProjectNumber'
338
341
  property :remediation, as: 'remediation', class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation, decorator: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ViolationRemediation::Representation
339
342
 
340
343
  property :resolve_time, as: 'resolveTime'
344
+ property :resource_name, as: 'resourceName'
345
+ property :resource_type, as: 'resourceType'
341
346
  property :state, as: 'state'
342
347
  property :update_time, as: 'updateTime'
348
+ property :violation_type, as: 'violationType'
343
349
  end
344
350
  end
345
351
 
@@ -427,7 +433,9 @@ module Google
427
433
  class GoogleCloudAssuredworkloadsV1WorkloadComplianceStatus
428
434
  # @private
429
435
  class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :acknowledged_resource_violation_count, as: 'acknowledgedResourceViolationCount'
430
437
  property :acknowledged_violation_count, as: 'acknowledgedViolationCount'
438
+ property :active_resource_violation_count, as: 'activeResourceViolationCount'
431
439
  property :active_violation_count, as: 'activeViolationCount'
432
440
  end
433
441
  end
@@ -133,7 +133,7 @@ module Google
133
133
  # Optional. List of asset types to be analyzed, including and under the source
134
134
  # resource. If empty, all assets are analyzed. The complete list of asset types
135
135
  # is available [here](https://cloud.google.com/asset-inventory/docs/supported-
136
- # asset-types#searchable_asset_types).
136
+ # asset-types).
137
137
  # @param [Fixnum] page_size
138
138
  # Optional. Page size. If a value is not specified, the default value of 10 is
139
139
  # used.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-assuredworkloads_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.50.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: 2023-10-29 00:00:00.000000000 Z
11
+ date: 2023-11-19 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-assuredworkloads_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.48.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1
63
63
  post_install_message:
64
64
  rdoc_options: []