google-apis-assuredworkloads_v1beta1 0.26.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b089eeb81216cd21a2c8936c494aea2e75b8c4dd5c11678158c986b18e16fa0f
4
- data.tar.gz: b99ee540243050429ceaf732051411f9a44d9c6f62b80d6185bb959d2e8d018f
3
+ metadata.gz: 79c0fb4524aa792e8899c8fe6cb56b571f15b0b9932385d76bfbdca055235d2f
4
+ data.tar.gz: ea5a2cdf3f07ee44fd6b28b26f2fe6e3159e8f70d765230ed4520de8d1aecafc
5
5
  SHA512:
6
- metadata.gz: 00f8473731ae344f8a6c6046fe1542038139bbcb9b0b4fbdfa02301e12237e1a50aef35fd2aeb10f4f791b707d820bcf398006249443ade27860638638a0823b
7
- data.tar.gz: 9c153f0d3e4ef2339bcced22538ca313f21e569133866fac37069b329f10e948e9039558c2a66a6a6a9e09e8c0698d2317fb3afe3f4a22aba08a2f37e4c5c8f3
6
+ metadata.gz: 344812a9391062bbdef1474bd8e75be24f48107ad9c09dc3015af0d35c4053265486272facb6155b16e051c1490dd7f73bb6d99fcfbea0ead3957d4871fa4fd7
7
+ data.tar.gz: 60592f175718e84723a71a9e07c364474c2270810b690b30f373d90c733c3ebb66dcf97e9bd3cd16ad80019ae1a9e6bec2785d29553ba48f8f0f615895255493
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-assuredworkloads_v1beta1
2
2
 
3
+ ### v0.27.0 (2024-12-02)
4
+
5
+ * Regenerated from discovery document revision 20241107
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.26.0 (2024-06-26)
4
9
 
5
10
  * Regenerated from discovery document revision 20240621
@@ -96,6 +96,75 @@ module Google
96
96
  end
97
97
  end
98
98
 
99
+ # Operation metadata to give request details of ApplyWorkloadUpdate.
100
+ class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateOperationMetadata
101
+ include Google::Apis::Core::Hashable
102
+
103
+ # Optional. The time the operation was created.
104
+ # Corresponds to the JSON property `action`
105
+ # @return [String]
106
+ attr_accessor :action
107
+
108
+ # Optional. Output only. The time the operation was created.
109
+ # Corresponds to the JSON property `createTime`
110
+ # @return [String]
111
+ attr_accessor :create_time
112
+
113
+ # Required. The resource name of the update
114
+ # Corresponds to the JSON property `updateName`
115
+ # @return [String]
116
+ attr_accessor :update_name
117
+
118
+ def initialize(**args)
119
+ update!(**args)
120
+ end
121
+
122
+ # Update properties of this object
123
+ def update!(**args)
124
+ @action = args[:action] if args.key?(:action)
125
+ @create_time = args[:create_time] if args.key?(:create_time)
126
+ @update_name = args[:update_name] if args.key?(:update_name)
127
+ end
128
+ end
129
+
130
+ # Request to apply update to a workload.
131
+ class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest
132
+ include Google::Apis::Core::Hashable
133
+
134
+ # The action to be performed on the update.
135
+ # Corresponds to the JSON property `action`
136
+ # @return [String]
137
+ attr_accessor :action
138
+
139
+ def initialize(**args)
140
+ update!(**args)
141
+ end
142
+
143
+ # Update properties of this object
144
+ def update!(**args)
145
+ @action = args[:action] if args.key?(:action)
146
+ end
147
+ end
148
+
149
+ # Response for ApplyWorkloadUpdate endpoint.
150
+ class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateResponse
151
+ include Google::Apis::Core::Hashable
152
+
153
+ # A workload update is a change to the workload's compliance configuration.
154
+ # Corresponds to the JSON property `appliedUpdate`
155
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate]
156
+ attr_accessor :applied_update
157
+
158
+ def initialize(**args)
159
+ update!(**args)
160
+ end
161
+
162
+ # Update properties of this object
163
+ def update!(**args)
164
+ @applied_update = args[:applied_update] if args.key?(:applied_update)
165
+ end
166
+ end
167
+
99
168
  # Represents move analysis results for an asset.
100
169
  class GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis
101
170
  include Google::Apis::Core::Hashable
@@ -226,6 +295,31 @@ module Google
226
295
  end
227
296
  end
228
297
 
298
+ # Response of listing the compliance updates per workload with pagination.
299
+ class GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse
300
+ include Google::Apis::Core::Hashable
301
+
302
+ # The next page token. Return empty if reached the last page.
303
+ # Corresponds to the JSON property `nextPageToken`
304
+ # @return [String]
305
+ attr_accessor :next_page_token
306
+
307
+ # The list of workload updates for a given workload.
308
+ # Corresponds to the JSON property `workloadUpdates`
309
+ # @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate>]
310
+ attr_accessor :workload_updates
311
+
312
+ def initialize(**args)
313
+ update!(**args)
314
+ end
315
+
316
+ # Update properties of this object
317
+ def update!(**args)
318
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
319
+ @workload_updates = args[:workload_updates] if args.key?(:workload_updates)
320
+ end
321
+ end
322
+
229
323
  # Response of ListWorkloads endpoint.
230
324
  class GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse
231
325
  include Google::Apis::Core::Hashable
@@ -335,6 +429,154 @@ module Google
335
429
  end
336
430
  end
337
431
 
432
+ # This assured workload service object is used to represent the org policy
433
+ # attached to a resource. It servces the same purpose as the orgpolicy.v2.Policy
434
+ # object but with functionality that is limited to what is supported by Assured
435
+ # Workloads(e.g. only one rule under one OrgPolicy object, no conditions, etc).
436
+ class GoogleCloudAssuredworkloadsV1beta1OrgPolicy
437
+ include Google::Apis::Core::Hashable
438
+
439
+ # The constraint name of the OrgPolicy. e.g. "constraints/gcp.resourceLocations".
440
+ # Corresponds to the JSON property `constraint`
441
+ # @return [String]
442
+ attr_accessor :constraint
443
+
444
+ # If `inherit` is true, policy rules of the lowest ancestor in the resource
445
+ # hierarchy chain are inherited. If it is false, policy rules are not inherited.
446
+ # Corresponds to the JSON property `inherit`
447
+ # @return [Boolean]
448
+ attr_accessor :inherit
449
+ alias_method :inherit?, :inherit
450
+
451
+ # Ignores policies set above this resource and restores to the `
452
+ # constraint_default` value. `reset` can only be true when `rules` is empty and `
453
+ # inherit` is false.
454
+ # Corresponds to the JSON property `reset`
455
+ # @return [Boolean]
456
+ attr_accessor :reset
457
+ alias_method :reset?, :reset
458
+
459
+ # Resource that the OrgPolicy attaches to. Format: folders/123" projects/123".
460
+ # Corresponds to the JSON property `resource`
461
+ # @return [String]
462
+ attr_accessor :resource
463
+
464
+ # A rule used to express this policy.
465
+ # Corresponds to the JSON property `rule`
466
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule]
467
+ attr_accessor :rule
468
+
469
+ def initialize(**args)
470
+ update!(**args)
471
+ end
472
+
473
+ # Update properties of this object
474
+ def update!(**args)
475
+ @constraint = args[:constraint] if args.key?(:constraint)
476
+ @inherit = args[:inherit] if args.key?(:inherit)
477
+ @reset = args[:reset] if args.key?(:reset)
478
+ @resource = args[:resource] if args.key?(:resource)
479
+ @rule = args[:rule] if args.key?(:rule)
480
+ end
481
+ end
482
+
483
+ # A rule used to express this policy.
484
+ class GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule
485
+ include Google::Apis::Core::Hashable
486
+
487
+ # ListPolicy only when all values are allowed.
488
+ # Corresponds to the JSON property `allowAll`
489
+ # @return [Boolean]
490
+ attr_accessor :allow_all
491
+ alias_method :allow_all?, :allow_all
492
+
493
+ # ListPolicy only when all values are denied.
494
+ # Corresponds to the JSON property `denyAll`
495
+ # @return [Boolean]
496
+ attr_accessor :deny_all
497
+ alias_method :deny_all?, :deny_all
498
+
499
+ # BooleanPolicy only.
500
+ # Corresponds to the JSON property `enforce`
501
+ # @return [Boolean]
502
+ attr_accessor :enforce
503
+ alias_method :enforce?, :enforce
504
+
505
+ # The values allowed for a ListPolicy.
506
+ # Corresponds to the JSON property `values`
507
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRuleStringValues]
508
+ attr_accessor :values
509
+
510
+ def initialize(**args)
511
+ update!(**args)
512
+ end
513
+
514
+ # Update properties of this object
515
+ def update!(**args)
516
+ @allow_all = args[:allow_all] if args.key?(:allow_all)
517
+ @deny_all = args[:deny_all] if args.key?(:deny_all)
518
+ @enforce = args[:enforce] if args.key?(:enforce)
519
+ @values = args[:values] if args.key?(:values)
520
+ end
521
+ end
522
+
523
+ # The values allowed for a ListPolicy.
524
+ class GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRuleStringValues
525
+ include Google::Apis::Core::Hashable
526
+
527
+ # List of values allowed at this resource.
528
+ # Corresponds to the JSON property `allowedValues`
529
+ # @return [Array<String>]
530
+ attr_accessor :allowed_values
531
+
532
+ # List of values denied at this resource.
533
+ # Corresponds to the JSON property `deniedValues`
534
+ # @return [Array<String>]
535
+ attr_accessor :denied_values
536
+
537
+ def initialize(**args)
538
+ update!(**args)
539
+ end
540
+
541
+ # Update properties of this object
542
+ def update!(**args)
543
+ @allowed_values = args[:allowed_values] if args.key?(:allowed_values)
544
+ @denied_values = args[:denied_values] if args.key?(:denied_values)
545
+ end
546
+ end
547
+
548
+ # Represents an update for an org policy control applied on an Assured Workload
549
+ # resource. The inherited org policy is not considered.
550
+ class GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate
551
+ include Google::Apis::Core::Hashable
552
+
553
+ # This assured workload service object is used to represent the org policy
554
+ # attached to a resource. It servces the same purpose as the orgpolicy.v2.Policy
555
+ # object but with functionality that is limited to what is supported by Assured
556
+ # Workloads(e.g. only one rule under one OrgPolicy object, no conditions, etc).
557
+ # Corresponds to the JSON property `appliedPolicy`
558
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicy]
559
+ attr_accessor :applied_policy
560
+
561
+ # This assured workload service object is used to represent the org policy
562
+ # attached to a resource. It servces the same purpose as the orgpolicy.v2.Policy
563
+ # object but with functionality that is limited to what is supported by Assured
564
+ # Workloads(e.g. only one rule under one OrgPolicy object, no conditions, etc).
565
+ # Corresponds to the JSON property `suggestedPolicy`
566
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicy]
567
+ attr_accessor :suggested_policy
568
+
569
+ def initialize(**args)
570
+ update!(**args)
571
+ end
572
+
573
+ # Update properties of this object
574
+ def update!(**args)
575
+ @applied_policy = args[:applied_policy] if args.key?(:applied_policy)
576
+ @suggested_policy = args[:suggested_policy] if args.key?(:suggested_policy)
577
+ end
578
+ end
579
+
338
580
  # Request for restricting list of available resources in Workload environment.
339
581
  class GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesRequest
340
582
  include Google::Apis::Core::Hashable
@@ -368,6 +610,26 @@ module Google
368
610
  end
369
611
  end
370
612
 
613
+ # The details of the update.
614
+ class GoogleCloudAssuredworkloadsV1beta1UpdateDetails
615
+ include Google::Apis::Core::Hashable
616
+
617
+ # Represents an update for an org policy control applied on an Assured Workload
618
+ # resource. The inherited org policy is not considered.
619
+ # Corresponds to the JSON property `orgPolicyUpdate`
620
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate]
621
+ attr_accessor :org_policy_update
622
+
623
+ def initialize(**args)
624
+ update!(**args)
625
+ end
626
+
627
+ # Update properties of this object
628
+ def update!(**args)
629
+ @org_policy_update = args[:org_policy_update] if args.key?(:org_policy_update)
630
+ end
631
+ end
632
+
371
633
  # Workload monitoring Violation.
372
634
  class GoogleCloudAssuredworkloadsV1beta1Violation
373
635
  include Google::Apis::Core::Hashable
@@ -679,6 +941,11 @@ module Google
679
941
  class GoogleCloudAssuredworkloadsV1beta1Workload
680
942
  include Google::Apis::Core::Hashable
681
943
 
944
+ # Output only. The number of updates available for the workload.
945
+ # Corresponds to the JSON property `availableUpdates`
946
+ # @return [Fixnum]
947
+ attr_accessor :available_updates
948
+
682
949
  # Optional. The billing account used for the resources which are direct children
683
950
  # of workload. This billing account is initially associated with the resources
684
951
  # created as part of Workload creation. After the initial creation of these
@@ -796,6 +1063,15 @@ module Google
796
1063
  # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions]
797
1064
  attr_accessor :partner_permissions
798
1065
 
1066
+ # Optional. Billing account necessary for purchasing services from Sovereign
1067
+ # Partners. This field is required for creating SIA/PSN/CNTXT partner workloads.
1068
+ # The caller should have 'billing.resourceAssociations.create' IAM permission on
1069
+ # this billing-account. The format of this string is billingAccounts/AAAAAA-
1070
+ # BBBBBB-CCCCCC
1071
+ # Corresponds to the JSON property `partnerServicesBillingAccount`
1072
+ # @return [String]
1073
+ attr_accessor :partner_services_billing_account
1074
+
799
1075
  # Input only. The parent resource for the resources managed by this Assured
800
1076
  # Workload. May be either empty or a folder resource which is a child of the
801
1077
  # Workload parent. If not specified all resources are created under the parent
@@ -841,12 +1117,18 @@ module Google
841
1117
  attr_accessor :violation_notifications_enabled
842
1118
  alias_method :violation_notifications_enabled?, :violation_notifications_enabled
843
1119
 
1120
+ # Options to be set for the given created workload.
1121
+ # Corresponds to the JSON property `workloadOptions`
1122
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions]
1123
+ attr_accessor :workload_options
1124
+
844
1125
  def initialize(**args)
845
1126
  update!(**args)
846
1127
  end
847
1128
 
848
1129
  # Update properties of this object
849
1130
  def update!(**args)
1131
+ @available_updates = args[:available_updates] if args.key?(:available_updates)
850
1132
  @billing_account = args[:billing_account] if args.key?(:billing_account)
851
1133
  @cjis_settings = args[:cjis_settings] if args.key?(:cjis_settings)
852
1134
  @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
@@ -867,12 +1149,14 @@ module Google
867
1149
  @name = args[:name] if args.key?(:name)
868
1150
  @partner = args[:partner] if args.key?(:partner)
869
1151
  @partner_permissions = args[:partner_permissions] if args.key?(:partner_permissions)
1152
+ @partner_services_billing_account = args[:partner_services_billing_account] if args.key?(:partner_services_billing_account)
870
1153
  @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
871
1154
  @resource_monitoring_enabled = args[:resource_monitoring_enabled] if args.key?(:resource_monitoring_enabled)
872
1155
  @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
873
1156
  @resources = args[:resources] if args.key?(:resources)
874
1157
  @saa_enrollment_response = args[:saa_enrollment_response] if args.key?(:saa_enrollment_response)
875
1158
  @violation_notifications_enabled = args[:violation_notifications_enabled] if args.key?(:violation_notifications_enabled)
1159
+ @workload_options = args[:workload_options] if args.key?(:workload_options)
876
1160
  end
877
1161
  end
878
1162
 
@@ -1053,6 +1337,12 @@ module Google
1053
1337
  class GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions
1054
1338
  include Google::Apis::Core::Hashable
1055
1339
 
1340
+ # Optional. Allow partner to view support case details for an AXT log
1341
+ # Corresponds to the JSON property `accessTransparencyLogsSupportCaseViewer`
1342
+ # @return [Boolean]
1343
+ attr_accessor :access_transparency_logs_support_case_viewer
1344
+ alias_method :access_transparency_logs_support_case_viewer?, :access_transparency_logs_support_case_viewer
1345
+
1056
1346
  # Optional. Allow partner to view violation alerts.
1057
1347
  # Corresponds to the JSON property `assuredWorkloadsMonitoring`
1058
1348
  # @return [Boolean]
@@ -1077,6 +1367,7 @@ module Google
1077
1367
 
1078
1368
  # Update properties of this object
1079
1369
  def update!(**args)
1370
+ @access_transparency_logs_support_case_viewer = args[:access_transparency_logs_support_case_viewer] if args.key?(:access_transparency_logs_support_case_viewer)
1080
1371
  @assured_workloads_monitoring = args[:assured_workloads_monitoring] if args.key?(:assured_workloads_monitoring)
1081
1372
  @data_logs_viewer = args[:data_logs_viewer] if args.key?(:data_logs_viewer)
1082
1373
  @service_access_approver = args[:service_access_approver] if args.key?(:service_access_approver)
@@ -1169,6 +1460,70 @@ module Google
1169
1460
  end
1170
1461
  end
1171
1462
 
1463
+ # A workload update is a change to the workload's compliance configuration.
1464
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate
1465
+ include Google::Apis::Core::Hashable
1466
+
1467
+ # The time the update was created.
1468
+ # Corresponds to the JSON property `createTime`
1469
+ # @return [String]
1470
+ attr_accessor :create_time
1471
+
1472
+ # The details of the update.
1473
+ # Corresponds to the JSON property `details`
1474
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1UpdateDetails]
1475
+ attr_accessor :details
1476
+
1477
+ # Output only. Immutable. Identifier. Resource name of the WorkloadUpdate.
1478
+ # Format: organizations/`organization`/locations/`location`/workloads/`workload`/
1479
+ # updates/`update`
1480
+ # Corresponds to the JSON property `name`
1481
+ # @return [String]
1482
+ attr_accessor :name
1483
+
1484
+ # Output only. The state of the update.
1485
+ # Corresponds to the JSON property `state`
1486
+ # @return [String]
1487
+ attr_accessor :state
1488
+
1489
+ # The time the update was last updated.
1490
+ # Corresponds to the JSON property `updateTime`
1491
+ # @return [String]
1492
+ attr_accessor :update_time
1493
+
1494
+ def initialize(**args)
1495
+ update!(**args)
1496
+ end
1497
+
1498
+ # Update properties of this object
1499
+ def update!(**args)
1500
+ @create_time = args[:create_time] if args.key?(:create_time)
1501
+ @details = args[:details] if args.key?(:details)
1502
+ @name = args[:name] if args.key?(:name)
1503
+ @state = args[:state] if args.key?(:state)
1504
+ @update_time = args[:update_time] if args.key?(:update_time)
1505
+ end
1506
+ end
1507
+
1508
+ # Options to be set for the given created workload.
1509
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions
1510
+ include Google::Apis::Core::Hashable
1511
+
1512
+ # Optional. Specifies type of KAJ Enrollment if provided.
1513
+ # Corresponds to the JSON property `kajEnrollmentType`
1514
+ # @return [String]
1515
+ attr_accessor :kaj_enrollment_type
1516
+
1517
+ def initialize(**args)
1518
+ update!(**args)
1519
+ end
1520
+
1521
+ # Update properties of this object
1522
+ def update!(**args)
1523
+ @kaj_enrollment_type = args[:kaj_enrollment_type] if args.key?(:kaj_enrollment_type)
1524
+ end
1525
+ end
1526
+
1172
1527
  # The response message for Operations.ListOperations.
1173
1528
  class GoogleLongrunningListOperationsResponse
1174
1529
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AssuredworkloadsV1beta1
18
18
  # Version of the google-apis-assuredworkloads_v1beta1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240621"
25
+ REVISION = "20241107"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,24 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateOperationMetadata
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
43
61
  class GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis
44
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
63
 
@@ -70,6 +88,12 @@ module Google
70
88
  include Google::Apis::Core::JsonObjectSupport
71
89
  end
72
90
 
91
+ class GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
73
97
  class GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse
74
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
99
 
@@ -94,6 +118,30 @@ module Google
94
118
  include Google::Apis::Core::JsonObjectSupport
95
119
  end
96
120
 
121
+ class GoogleCloudAssuredworkloadsV1beta1OrgPolicy
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRuleStringValues
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
97
145
  class GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesRequest
98
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
147
 
@@ -106,6 +154,12 @@ module Google
106
154
  include Google::Apis::Core::JsonObjectSupport
107
155
  end
108
156
 
157
+ class GoogleCloudAssuredworkloadsV1beta1UpdateDetails
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
109
163
  class GoogleCloudAssuredworkloadsV1beta1Violation
110
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
165
 
@@ -214,6 +268,18 @@ module Google
214
268
  include Google::Apis::Core::JsonObjectSupport
215
269
  end
216
270
 
271
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
217
283
  class GoogleLongrunningListOperationsResponse
218
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
285
 
@@ -262,6 +328,30 @@ module Google
262
328
  end
263
329
  end
264
330
 
331
+ class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateOperationMetadata
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ property :action, as: 'action'
335
+ property :create_time, as: 'createTime'
336
+ property :update_name, as: 'updateName'
337
+ end
338
+ end
339
+
340
+ class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest
341
+ # @private
342
+ class Representation < Google::Apis::Core::JsonRepresentation
343
+ property :action, as: 'action'
344
+ end
345
+ end
346
+
347
+ class GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateResponse
348
+ # @private
349
+ class Representation < Google::Apis::Core::JsonRepresentation
350
+ property :applied_update, as: 'appliedUpdate', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate::Representation
351
+
352
+ end
353
+ end
354
+
265
355
  class GoogleCloudAssuredworkloadsV1beta1AssetMoveAnalysis
266
356
  # @private
267
357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -305,6 +395,15 @@ module Google
305
395
  end
306
396
  end
307
397
 
398
+ class GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse
399
+ # @private
400
+ class Representation < Google::Apis::Core::JsonRepresentation
401
+ property :next_page_token, as: 'nextPageToken'
402
+ collection :workload_updates, as: 'workloadUpdates', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate::Representation
403
+
404
+ end
405
+ end
406
+
308
407
  class GoogleCloudAssuredworkloadsV1beta1ListWorkloadsResponse
309
408
  # @private
310
409
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -342,6 +441,47 @@ module Google
342
441
  end
343
442
  end
344
443
 
444
+ class GoogleCloudAssuredworkloadsV1beta1OrgPolicy
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ property :constraint, as: 'constraint'
448
+ property :inherit, as: 'inherit'
449
+ property :reset, as: 'reset'
450
+ property :resource, as: 'resource'
451
+ property :rule, as: 'rule', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule::Representation
452
+
453
+ end
454
+ end
455
+
456
+ class GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRule
457
+ # @private
458
+ class Representation < Google::Apis::Core::JsonRepresentation
459
+ property :allow_all, as: 'allowAll'
460
+ property :deny_all, as: 'denyAll'
461
+ property :enforce, as: 'enforce'
462
+ property :values, as: 'values', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRuleStringValues, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRuleStringValues::Representation
463
+
464
+ end
465
+ end
466
+
467
+ class GoogleCloudAssuredworkloadsV1beta1OrgPolicyPolicyRuleStringValues
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ collection :allowed_values, as: 'allowedValues'
471
+ collection :denied_values, as: 'deniedValues'
472
+ end
473
+ end
474
+
475
+ class GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ property :applied_policy, as: 'appliedPolicy', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicy, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicy::Representation
479
+
480
+ property :suggested_policy, as: 'suggestedPolicy', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicy, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicy::Representation
481
+
482
+ end
483
+ end
484
+
345
485
  class GoogleCloudAssuredworkloadsV1beta1RestrictAllowedResourcesRequest
346
486
  # @private
347
487
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -355,6 +495,14 @@ module Google
355
495
  end
356
496
  end
357
497
 
498
+ class GoogleCloudAssuredworkloadsV1beta1UpdateDetails
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ property :org_policy_update, as: 'orgPolicyUpdate', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1OrgPolicyUpdate::Representation
502
+
503
+ end
504
+ end
505
+
358
506
  class GoogleCloudAssuredworkloadsV1beta1Violation
359
507
  # @private
360
508
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -433,6 +581,7 @@ module Google
433
581
  class GoogleCloudAssuredworkloadsV1beta1Workload
434
582
  # @private
435
583
  class Representation < Google::Apis::Core::JsonRepresentation
584
+ property :available_updates, as: 'availableUpdates'
436
585
  property :billing_account, as: 'billingAccount'
437
586
  property :cjis_settings, as: 'cjisSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadCjisSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadCjisSettings::Representation
438
587
 
@@ -461,6 +610,7 @@ module Google
461
610
  property :partner, as: 'partner'
462
611
  property :partner_permissions, as: 'partnerPermissions', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions::Representation
463
612
 
613
+ property :partner_services_billing_account, as: 'partnerServicesBillingAccount'
464
614
  property :provisioned_resources_parent, as: 'provisionedResourcesParent'
465
615
  property :resource_monitoring_enabled, as: 'resourceMonitoringEnabled'
466
616
  collection :resource_settings, as: 'resourceSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings::Representation
@@ -470,6 +620,8 @@ module Google
470
620
  property :saa_enrollment_response, as: 'saaEnrollmentResponse', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadSaaEnrollmentResponse::Representation
471
621
 
472
622
  property :violation_notifications_enabled, as: 'violationNotificationsEnabled'
623
+ property :workload_options, as: 'workloadOptions', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions::Representation
624
+
473
625
  end
474
626
  end
475
627
 
@@ -535,6 +687,7 @@ module Google
535
687
  class GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions
536
688
  # @private
537
689
  class Representation < Google::Apis::Core::JsonRepresentation
690
+ property :access_transparency_logs_support_case_viewer, as: 'accessTransparencyLogsSupportCaseViewer'
538
691
  property :assured_workloads_monitoring, as: 'assuredWorkloadsMonitoring'
539
692
  property :data_logs_viewer, as: 'dataLogsViewer'
540
693
  property :service_access_approver, as: 'serviceAccessApprover'
@@ -566,6 +719,25 @@ module Google
566
719
  end
567
720
  end
568
721
 
722
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ property :create_time, as: 'createTime'
726
+ property :details, as: 'details', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1UpdateDetails, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1UpdateDetails::Representation
727
+
728
+ property :name, as: 'name'
729
+ property :state, as: 'state'
730
+ property :update_time, as: 'updateTime'
731
+ end
732
+ end
733
+
734
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadWorkloadOptions
735
+ # @private
736
+ class Representation < Google::Apis::Core::JsonRepresentation
737
+ property :kaj_enrollment_type, as: 'kajEnrollmentType'
738
+ end
739
+ end
740
+
569
741
  class GoogleLongrunningListOperationsResponse
570
742
  # @private
571
743
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -480,6 +480,77 @@ module Google
480
480
  execute_or_queue_command(command, &block)
481
481
  end
482
482
 
483
+ # This endpoint creates a new operation to apply the given update.
484
+ # @param [String] name
485
+ # Required. The resource name of the update. Format: organizations/`org_id`/
486
+ # locations/`location_id`/workloads/`workload_id`/updates/`update_id`
487
+ # @param [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest] google_cloud_assuredworkloads_v1beta1_apply_workload_update_request_object
488
+ # @param [String] fields
489
+ # Selector specifying which fields to include in a partial response.
490
+ # @param [String] quota_user
491
+ # Available to use for quota purposes for server-side applications. Can be any
492
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
493
+ # @param [Google::Apis::RequestOptions] options
494
+ # Request-specific options
495
+ #
496
+ # @yield [result, err] Result & error if block supplied
497
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningOperation] parsed result object
498
+ # @yieldparam err [StandardError] error object if request failed
499
+ #
500
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningOperation]
501
+ #
502
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
503
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
504
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
505
+ def apply_organization_location_workload_update(name, google_cloud_assuredworkloads_v1beta1_apply_workload_update_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
506
+ command = make_simple_command(:post, 'v1beta1/{+name}:apply', options)
507
+ command.request_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest::Representation
508
+ command.request_object = google_cloud_assuredworkloads_v1beta1_apply_workload_update_request_object
509
+ command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningOperation::Representation
510
+ command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleLongrunningOperation
511
+ command.params['name'] = name unless name.nil?
512
+ command.query['fields'] = fields unless fields.nil?
513
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
514
+ execute_or_queue_command(command, &block)
515
+ end
516
+
517
+ # This endpoint lists all updates for the given workload.
518
+ # @param [String] parent
519
+ # Required. organizations/`org_id`/locations/`location_id`/workloads/`
520
+ # workload_id`
521
+ # @param [Fixnum] page_size
522
+ # Page size. The default value is 20 and the max allowed value is 100.
523
+ # @param [String] page_token
524
+ # Page token returned from previous request.
525
+ # @param [String] fields
526
+ # Selector specifying which fields to include in a partial response.
527
+ # @param [String] quota_user
528
+ # Available to use for quota purposes for server-side applications. Can be any
529
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
530
+ # @param [Google::Apis::RequestOptions] options
531
+ # Request-specific options
532
+ #
533
+ # @yield [result, err] Result & error if block supplied
534
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse] parsed result object
535
+ # @yieldparam err [StandardError] error object if request failed
536
+ #
537
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse]
538
+ #
539
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
540
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
541
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
542
+ def list_organization_location_workload_updates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
543
+ command = make_simple_command(:get, 'v1beta1/{+parent}/updates', options)
544
+ command.response_representation = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse::Representation
545
+ command.response_class = Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ListWorkloadUpdatesResponse
546
+ command.params['parent'] = parent unless parent.nil?
547
+ command.query['pageSize'] = page_size unless page_size.nil?
548
+ command.query['pageToken'] = page_token unless page_token.nil?
549
+ command.query['fields'] = fields unless fields.nil?
550
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
551
+ execute_or_queue_command(command, &block)
552
+ end
553
+
483
554
  # Acknowledges an existing violation. By acknowledging a violation, users
484
555
  # acknowledge the existence of a compliance violation in their workload and
485
556
  # decide to ignore it due to a valid business justification. Acknowledgement is
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-assuredworkloads_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.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: 2024-06-27 00:00:00.000000000 Z
11
+ date: 2024-12-04 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.27.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Assured Workloads API V1beta1