google-apis-assuredworkloads_v1 0.47.0 → 0.49.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: 78ff62a65c076d6884b7efab9dd98af710120bbc88ab7dd563c131a2b717a399
4
- data.tar.gz: ede51f6e37f8e05d37508de69be98615c6613fa069b95d88675819abb6de7f97
3
+ metadata.gz: 15749880cca02737a10ad6baea6f2dbf9fdec4f15bd5ff01cc06fd9349e8ace7
4
+ data.tar.gz: f89d1d88f1da184296347366528557c0d3f803ab94c98f539ac8e5aa3b0cce80
5
5
  SHA512:
6
- metadata.gz: 327a231db8188bbefc864b1c9103e6350b8f34157d32d913fa75505e89c8c1cfc1c6b523f0f155d28ca805e13bc9dd021a4f722946f65f872c0c56e07dd301e9
7
- data.tar.gz: a6b33e7a258858e51a429686c80cfece577e537955bcf8dd700d4471ac7eaf9c16bce0322a71484fc13eb47b1f5abdb7ff38b0d87a9b32b58f905f6b1decc53a
6
+ metadata.gz: 5b892fbda4fe3da7df2e6b1dfc6a717eec957590153ead55efeaf3e210c9e8de29e5d6faa280eeb5c3e36a290dd35f6be544787dc9c591a8e2938557dff34d92
7
+ data.tar.gz: ec80060c2c97677316b62ac3f8417e0cd87bed0cfb394376662532482333594765aedcecb2a60a81c4625591f47449f4d277d6feea24b5bfb7ec5048adfabded
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.49.0 (2023-11-12)
4
+
5
+ * Regenerated from discovery document revision 20231106
6
+
7
+ ### v0.48.0 (2023-10-29)
8
+
9
+ * Regenerated from discovery document revision 20231023
10
+
3
11
  ### v0.47.0 (2023-10-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20231017
@@ -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
@@ -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,10 +513,14 @@ 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
 
@@ -662,7 +702,7 @@ module Google
662
702
  # Output only. Urls for services which are compliant for this Assured Workload,
663
703
  # but which are currently disallowed by the ResourceUsageRestriction org policy.
664
704
  # Invoke RestrictAllowedResources endpoint to allow your project developers to
665
- # use these services in their environment."
705
+ # use these services in their environment.
666
706
  # Corresponds to the JSON property `compliantButDisallowedServices`
667
707
  # @return [Array<String>]
668
708
  attr_accessor :compliant_but_disallowed_services
@@ -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.47.0"
19
+ GEM_VERSION = "0.49.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 = "20231017"
25
+ REVISION = "20231106"
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
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.47.0
4
+ version: 0.49.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-22 00:00:00.000000000 Z
11
+ date: 2023-11-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-assuredworkloads_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.49.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: []