google-apis-assuredworkloads_v1beta1 0.10.0 → 0.12.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: b378be0be77b813c7cfebc5eaa85d2c2cd522a139db50bcc0e1e9349330eb64d
4
- data.tar.gz: a3ebc5804c760dfd3f23c38ebe7bea349c21c59c909234ade672bcd3f15f5eb0
3
+ metadata.gz: ec1bca9e1f89f8c113f352e6266f624a0cfd1cd738e856b729358dc5c3e197a5
4
+ data.tar.gz: cd6e2def8b92c15d7ec9c2fa59897fcbbf8863f8d1e62b1c65b50805c61aae9a
5
5
  SHA512:
6
- metadata.gz: 2bdbf37979027df6595032a06fd2dd132d65f8b740224310821c8db09b4d59cdcd85d6b5eba150bb32335301241d65bc285834cb7c65bd7dc00a667d08bba928
7
- data.tar.gz: 25b03a7fcbc0863ce40e0ccb94b808aed396633d0af4b31bc3d35f7d07ed82016fcf8372b87f058b3054b8805e70d53758721b6cf925fe04ffb7d3c74c1d48d7
6
+ metadata.gz: e1d26eaa64064c526b860563a6427632cd67adb92bde5f69f88f5dec17f34cdd27262dbecfffeb2a532f7bb2ae200efd82bebbae6a92cf17ffd1d347092211cb
7
+ data.tar.gz: d39c47cef431c4de88e04fe4a912f60ecca678e6065fcbb846c9984ba759836fb9c0a9b0512bd742582669b66b2d31edcffecb3e8794caf02474f8221d60e70f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-assuredworkloads_v1beta1
2
2
 
3
+ ### v0.12.0 (2023-06-18)
4
+
5
+ * Regenerated from discovery document revision 20230612
6
+
7
+ ### v0.11.0 (2023-05-21)
8
+
9
+ * Regenerated from discovery document revision 20230512
10
+
3
11
  ### v0.10.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230420
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module AssuredworkloadsV1beta1
24
24
 
25
- # Request for acknowledging the violation Next Id: 4
25
+ # Request for acknowledging the violation Next Id: 5
26
26
  class GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest
27
27
  include Google::Apis::Core::Hashable
28
28
 
@@ -85,6 +85,51 @@ module Google
85
85
  end
86
86
  end
87
87
 
88
+ # Operation metadata to give request details of CreateWorkload.
89
+ class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
90
+ include Google::Apis::Core::Hashable
91
+
92
+ # Optional. Compliance controls that should be applied to the resources managed
93
+ # by the workload.
94
+ # Corresponds to the JSON property `complianceRegime`
95
+ # @return [String]
96
+ attr_accessor :compliance_regime
97
+
98
+ # Optional. Time when the operation was created.
99
+ # Corresponds to the JSON property `createTime`
100
+ # @return [String]
101
+ attr_accessor :create_time
102
+
103
+ # Optional. The display name of the workload.
104
+ # Corresponds to the JSON property `displayName`
105
+ # @return [String]
106
+ attr_accessor :display_name
107
+
108
+ # Optional. The parent of the workload.
109
+ # Corresponds to the JSON property `parent`
110
+ # @return [String]
111
+ attr_accessor :parent
112
+
113
+ # Optional. Resource properties in the input that are used for creating/
114
+ # customizing workload resources.
115
+ # Corresponds to the JSON property `resourceSettings`
116
+ # @return [Array<Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings>]
117
+ attr_accessor :resource_settings
118
+
119
+ def initialize(**args)
120
+ update!(**args)
121
+ end
122
+
123
+ # Update properties of this object
124
+ def update!(**args)
125
+ @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime)
126
+ @create_time = args[:create_time] if args.key?(:create_time)
127
+ @display_name = args[:display_name] if args.key?(:display_name)
128
+ @parent = args[:parent] if args.key?(:parent)
129
+ @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
130
+ end
131
+ end
132
+
88
133
  # Response of ListViolations endpoint.
89
134
  class GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse
90
135
  include Google::Apis::Core::Hashable
@@ -517,6 +562,11 @@ module Google
517
562
  # @return [String]
518
563
  attr_accessor :partner
519
564
 
565
+ # Permissions granted to the AW Partner SA account for the customer workload
566
+ # Corresponds to the JSON property `partnerPermissions`
567
+ # @return [Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions]
568
+ attr_accessor :partner_permissions
569
+
520
570
  # Input only. The parent resource for the resources managed by this Assured
521
571
  # Workload. May be either empty or a folder resource which is a child of the
522
572
  # Workload parent. If not specified all resources are created under the parent
@@ -579,6 +629,7 @@ module Google
579
629
  @labels = args[:labels] if args.key?(:labels)
580
630
  @name = args[:name] if args.key?(:name)
581
631
  @partner = args[:partner] if args.key?(:partner)
632
+ @partner_permissions = args[:partner_permissions] if args.key?(:partner_permissions)
582
633
  @provisioned_resources_parent = args[:provisioned_resources_parent] if args.key?(:provisioned_resources_parent)
583
634
  @resource_settings = args[:resource_settings] if args.key?(:resource_settings)
584
635
  @resources = args[:resources] if args.key?(:resources)
@@ -655,12 +706,12 @@ module Google
655
706
  class GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceStatus
656
707
  include Google::Apis::Core::Hashable
657
708
 
658
- # Count of active Violations which are acknowledged in the Workload.
709
+ # Number of current orgPolicy violations which are acknowledged.
659
710
  # Corresponds to the JSON property `acknowledgedViolationCount`
660
711
  # @return [Fixnum]
661
712
  attr_accessor :acknowledged_violation_count
662
713
 
663
- # Count of active Violations which haven't been acknowledged.
714
+ # Number of current orgPolicy violations which are not acknowledged.
664
715
  # Corresponds to the JSON property `activeViolationCount`
665
716
  # @return [Fixnum]
666
717
  attr_accessor :active_violation_count
@@ -793,6 +844,33 @@ module Google
793
844
  end
794
845
  end
795
846
 
847
+ # Permissions granted to the AW Partner SA account for the customer workload
848
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions
849
+ include Google::Apis::Core::Hashable
850
+
851
+ # Allow the partner to view inspectability logs and monitoring violations.
852
+ # Corresponds to the JSON property `dataLogsViewer`
853
+ # @return [Boolean]
854
+ attr_accessor :data_logs_viewer
855
+ alias_method :data_logs_viewer?, :data_logs_viewer
856
+
857
+ # Allow partner to monitor folder and remediate violations
858
+ # Corresponds to the JSON property `remediateFolderViolations`
859
+ # @return [Boolean]
860
+ attr_accessor :remediate_folder_violations
861
+ alias_method :remediate_folder_violations?, :remediate_folder_violations
862
+
863
+ def initialize(**args)
864
+ update!(**args)
865
+ end
866
+
867
+ # Update properties of this object
868
+ def update!(**args)
869
+ @data_logs_viewer = args[:data_logs_viewer] if args.key?(:data_logs_viewer)
870
+ @remediate_folder_violations = args[:remediate_folder_violations] if args.key?(:remediate_folder_violations)
871
+ end
872
+ end
873
+
796
874
  # Represent the resources that are children of this Workload.
797
875
  class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo
798
876
  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.10.0"
19
+ GEM_VERSION = "0.12.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 = "20230420"
25
+ REVISION = "20230612"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -154,6 +160,12 @@ module Google
154
160
  include Google::Apis::Core::JsonObjectSupport
155
161
  end
156
162
 
163
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
157
169
  class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo
158
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
171
 
@@ -217,6 +229,18 @@ module Google
217
229
  end
218
230
  end
219
231
 
232
+ class GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
233
+ # @private
234
+ class Representation < Google::Apis::Core::JsonRepresentation
235
+ property :compliance_regime, as: 'complianceRegime'
236
+ property :create_time, as: 'createTime'
237
+ property :display_name, as: 'displayName'
238
+ property :parent, as: 'parent'
239
+ collection :resource_settings, as: 'resourceSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings::Representation
240
+
241
+ end
242
+ end
243
+
220
244
  class GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse
221
245
  # @private
222
246
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -337,6 +361,8 @@ module Google
337
361
  hash :labels, as: 'labels'
338
362
  property :name, as: 'name'
339
363
  property :partner, as: 'partner'
364
+ property :partner_permissions, as: 'partnerPermissions', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions::Representation
365
+
340
366
  property :provisioned_resources_parent, as: 'provisionedResourcesParent'
341
367
  collection :resource_settings, as: 'resourceSettings', class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings, decorator: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings::Representation
342
368
 
@@ -421,6 +447,14 @@ module Google
421
447
  end
422
448
  end
423
449
 
450
+ class GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ property :data_logs_viewer, as: 'dataLogsViewer'
454
+ property :remediate_folder_violations, as: 'remediateFolderViolations'
455
+ end
456
+ end
457
+
424
458
  class GoogleCloudAssuredworkloadsV1beta1WorkloadResourceInfo
425
459
  # @private
426
460
  class Representation < Google::Apis::Core::JsonRepresentation
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.10.0
4
+ version: 0.12.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-04-30 00:00:00.000000000 Z
11
+ date: 2023-06-18 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.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1beta1/v0.12.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: []