google-apis-workloadmanager_v1 0.25.0 → 0.27.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: a908dd1056693897d7d4f1a98cdab7f5059feff1fe0b8d9209cbf2bf692cddec
4
- data.tar.gz: af3afc700f3a0ded3cae24127af8bfde4fcdd3ab3faf21f83b7458444441ea05
3
+ metadata.gz: eac3948a2722181a66e9ede895ae0e693a132fa14398a9071dbebe45316621f9
4
+ data.tar.gz: e4ce06c598afdc571a08c809cc62d3dff9cfb228814b8bf09aaa24c3cf9fc0f1
5
5
  SHA512:
6
- metadata.gz: 2cb22c475b06b7f88f318c678a667e2f32301164ac1a34341f00b2d57788cbc30398f988c202817ddb199544d0d528b1f2ef35a2520bf9b77e1be5b2ee4acdd7
7
- data.tar.gz: 12b5018ab5bb900898dc9aa53f5b1c4eb1affa05293a6509ddcd3e7ca5a40a6df2aca298912b2809bb14129081956d5bcc94f160dad1f1d0f5a4d0cd680daded
6
+ metadata.gz: 7ef0ce86898bf3d61658aede5c5d1db6035b944fd74209ae6ab14924bc28b295b2a36b7ddcfdb6c4b5075acf10877b311c76ebece0a034cd8978baf5031a0f48
7
+ data.tar.gz: d67ec1fb10e442ca46c2df050cffc917b22efb6a316f7651dfc4270512edfc43142cc41c61d26d767de365e62c60cb1c3aae875ff5d082a570edf75c346ca0d3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.27.0 (2024-11-03)
4
+
5
+ * Regenerated from discovery document revision 20241016
6
+
7
+ ### v0.26.0 (2024-10-20)
8
+
9
+ * Regenerated from discovery document revision 20241009
10
+
3
11
  ### v0.25.0 (2024-10-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20241002
@@ -48,53 +48,6 @@ module Google
48
48
  end
49
49
  end
50
50
 
51
- # Provides the mapping of a cloud asset to a direct physical location or to a
52
- # proxy that defines the location on its behalf.
53
- class AssetLocation
54
- include Google::Apis::Core::Hashable
55
-
56
- # Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants
57
- # that use CCFE RMS for storing resource metadata.
58
- # Corresponds to the JSON property `ccfeRmsPath`
59
- # @return [String]
60
- attr_accessor :ccfe_rms_path
61
-
62
- # Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state
63
- # of the region at the time of asset creation.
64
- # Corresponds to the JSON property `expected`
65
- # @return [Google::Apis::WorkloadmanagerV1::IsolationExpectations]
66
- attr_accessor :expected
67
-
68
- # Defines extra parameters required for specific asset types.
69
- # Corresponds to the JSON property `extraParameters`
70
- # @return [Array<Google::Apis::WorkloadmanagerV1::ExtraParameter>]
71
- attr_accessor :extra_parameters
72
-
73
- # Contains all kinds of physical location definitions for this asset.
74
- # Corresponds to the JSON property `locationData`
75
- # @return [Array<Google::Apis::WorkloadmanagerV1::LocationData>]
76
- attr_accessor :location_data
77
-
78
- # Defines parents assets if any in order to allow later generation of
79
- # child_asset_location data via child assets.
80
- # Corresponds to the JSON property `parentAsset`
81
- # @return [Array<Google::Apis::WorkloadmanagerV1::CloudAsset>]
82
- attr_accessor :parent_asset
83
-
84
- def initialize(**args)
85
- update!(**args)
86
- end
87
-
88
- # Update properties of this object
89
- def update!(**args)
90
- @ccfe_rms_path = args[:ccfe_rms_path] if args.key?(:ccfe_rms_path)
91
- @expected = args[:expected] if args.key?(:expected)
92
- @extra_parameters = args[:extra_parameters] if args.key?(:extra_parameters)
93
- @location_data = args[:location_data] if args.key?(:location_data)
94
- @parent_asset = args[:parent_asset] if args.key?(:parent_asset)
95
- end
96
- end
97
-
98
51
  # Message describing big query destination
99
52
  class BigQueryDestination
100
53
  include Google::Apis::Core::Hashable
@@ -121,26 +74,6 @@ module Google
121
74
  end
122
75
  end
123
76
 
124
- # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
125
- # guide#data-metadata-placement-and-failure-domains
126
- class BlobstoreLocation
127
- include Google::Apis::Core::Hashable
128
-
129
- #
130
- # Corresponds to the JSON property `policyId`
131
- # @return [Array<String>]
132
- attr_accessor :policy_id
133
-
134
- def initialize(**args)
135
- update!(**args)
136
- end
137
-
138
- # Update properties of this object
139
- def update!(**args)
140
- @policy_id = args[:policy_id] if args.key?(:policy_id)
141
- end
142
- end
143
-
144
77
  # The request message for Operations.CancelOperation.
145
78
  class CancelOperationRequest
146
79
  include Google::Apis::Core::Hashable
@@ -154,50 +87,6 @@ module Google
154
87
  end
155
88
  end
156
89
 
157
- #
158
- class CloudAsset
159
- include Google::Apis::Core::Hashable
160
-
161
- #
162
- # Corresponds to the JSON property `assetName`
163
- # @return [String]
164
- attr_accessor :asset_name
165
-
166
- #
167
- # Corresponds to the JSON property `assetType`
168
- # @return [String]
169
- attr_accessor :asset_type
170
-
171
- def initialize(**args)
172
- update!(**args)
173
- end
174
-
175
- # Update properties of this object
176
- def update!(**args)
177
- @asset_name = args[:asset_name] if args.key?(:asset_name)
178
- @asset_type = args[:asset_type] if args.key?(:asset_type)
179
- end
180
- end
181
-
182
- #
183
- class CloudAssetComposition
184
- include Google::Apis::Core::Hashable
185
-
186
- #
187
- # Corresponds to the JSON property `childAsset`
188
- # @return [Array<Google::Apis::WorkloadmanagerV1::CloudAsset>]
189
- attr_accessor :child_asset
190
-
191
- def initialize(**args)
192
- update!(**args)
193
- end
194
-
195
- # Update properties of this object
196
- def update!(**args)
197
- @child_asset = args[:child_asset] if args.key?(:child_asset)
198
- end
199
- end
200
-
201
90
  # * Command specifies the type of command to execute.
202
91
  class Command
203
92
  include Google::Apis::Core::Hashable
@@ -223,25 +112,6 @@ module Google
223
112
  end
224
113
  end
225
114
 
226
- #
227
- class DirectLocationAssignment
228
- include Google::Apis::Core::Hashable
229
-
230
- #
231
- # Corresponds to the JSON property `location`
232
- # @return [Array<Google::Apis::WorkloadmanagerV1::LocationAssignment>]
233
- attr_accessor :location
234
-
235
- def initialize(**args)
236
- update!(**args)
237
- end
238
-
239
- # Update properties of this object
240
- def update!(**args)
241
- @location = args[:location] if args.key?(:location)
242
- end
243
- end
244
-
245
115
  # A generic empty message that you can re-use to avoid defining duplicated empty
246
116
  # messages in your APIs. A typical example is to use it as the request or the
247
117
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -381,6 +251,16 @@ module Google
381
251
  # @return [String]
382
252
  attr_accessor :name
383
253
 
254
+ # Output only. Additional information generated by the execution
255
+ # Corresponds to the JSON property `notices`
256
+ # @return [Array<Google::Apis::WorkloadmanagerV1::Notice>]
257
+ attr_accessor :notices
258
+
259
+ # Output only. execution result summary per rule
260
+ # Corresponds to the JSON property `ruleResults`
261
+ # @return [Array<Google::Apis::WorkloadmanagerV1::RuleExecutionResult>]
262
+ attr_accessor :rule_results
263
+
384
264
  # type represent whether the execution executed directly by user or scheduled
385
265
  # according evaluation.schedule field.
386
266
  # Corresponds to the JSON property `runType`
@@ -409,6 +289,8 @@ module Google
409
289
  @inventory_time = args[:inventory_time] if args.key?(:inventory_time)
410
290
  @labels = args[:labels] if args.key?(:labels)
411
291
  @name = args[:name] if args.key?(:name)
292
+ @notices = args[:notices] if args.key?(:notices)
293
+ @rule_results = args[:rule_results] if args.key?(:rule_results)
412
294
  @run_type = args[:run_type] if args.key?(:run_type)
413
295
  @start_time = args[:start_time] if args.key?(:start_time)
414
296
  @state = args[:state] if args.key?(:state)
@@ -517,26 +399,6 @@ module Google
517
399
  end
518
400
  end
519
401
 
520
- # Defines parameters that should only be used for specific asset types.
521
- class ExtraParameter
522
- include Google::Apis::Core::Hashable
523
-
524
- # To be used for specifying the intended distribution of regional compute.
525
- # googleapis.com/InstanceGroupManager instances
526
- # Corresponds to the JSON property `regionalMigDistributionPolicy`
527
- # @return [Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy]
528
- attr_accessor :regional_mig_distribution_policy
529
-
530
- def initialize(**args)
531
- update!(**args)
532
- end
533
-
534
- # Update properties of this object
535
- def update!(**args)
536
- @regional_mig_distribution_policy = args[:regional_mig_distribution_policy] if args.key?(:regional_mig_distribution_policy)
537
- end
538
- end
539
-
540
402
  # Message describing compute engine instance filter
541
403
  class GceInstanceFilter
542
404
  include Google::Apis::Core::Hashable
@@ -601,70 +463,6 @@ module Google
601
463
  end
602
464
  end
603
465
 
604
- #
605
- class IsolationExpectations
606
- include Google::Apis::Core::Hashable
607
-
608
- # Explicit overrides for ZI and ZS requirements to be used for resources that
609
- # should be excluded from ZI/ZS verification logic.
610
- # Corresponds to the JSON property `requirementOverride`
611
- # @return [Google::Apis::WorkloadmanagerV1::RequirementOverride]
612
- attr_accessor :requirement_override
613
-
614
- #
615
- # Corresponds to the JSON property `ziOrgPolicy`
616
- # @return [String]
617
- attr_accessor :zi_org_policy
618
-
619
- #
620
- # Corresponds to the JSON property `ziRegionPolicy`
621
- # @return [String]
622
- attr_accessor :zi_region_policy
623
-
624
- #
625
- # Corresponds to the JSON property `ziRegionState`
626
- # @return [String]
627
- attr_accessor :zi_region_state
628
-
629
- # Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead
630
- # for setting ZI expectations as per go/zicy-publish-physical-location.
631
- # Corresponds to the JSON property `zoneIsolation`
632
- # @return [String]
633
- attr_accessor :zone_isolation
634
-
635
- # Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs
636
- # expectations as per go/zicy-publish-physical-location.
637
- # Corresponds to the JSON property `zoneSeparation`
638
- # @return [String]
639
- attr_accessor :zone_separation
640
-
641
- #
642
- # Corresponds to the JSON property `zsOrgPolicy`
643
- # @return [String]
644
- attr_accessor :zs_org_policy
645
-
646
- #
647
- # Corresponds to the JSON property `zsRegionState`
648
- # @return [String]
649
- attr_accessor :zs_region_state
650
-
651
- def initialize(**args)
652
- update!(**args)
653
- end
654
-
655
- # Update properties of this object
656
- def update!(**args)
657
- @requirement_override = args[:requirement_override] if args.key?(:requirement_override)
658
- @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy)
659
- @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy)
660
- @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state)
661
- @zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation)
662
- @zone_separation = args[:zone_separation] if args.key?(:zone_separation)
663
- @zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy)
664
- @zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state)
665
- end
666
- end
667
-
668
466
  # Message for response to listing Evaluations
669
467
  class ListEvaluationsResponse
670
468
  include Google::Apis::Core::Hashable
@@ -901,66 +699,14 @@ module Google
901
699
  end
902
700
  end
903
701
 
904
- #
905
- class LocationAssignment
702
+ # Message for additional information generated by the execution
703
+ class Notice
906
704
  include Google::Apis::Core::Hashable
907
705
 
908
- #
909
- # Corresponds to the JSON property `location`
910
- # @return [String]
911
- attr_accessor :location
912
-
913
- #
914
- # Corresponds to the JSON property `locationType`
706
+ # Output only. Message of the notice
707
+ # Corresponds to the JSON property `message`
915
708
  # @return [String]
916
- attr_accessor :location_type
917
-
918
- def initialize(**args)
919
- update!(**args)
920
- end
921
-
922
- # Update properties of this object
923
- def update!(**args)
924
- @location = args[:location] if args.key?(:location)
925
- @location_type = args[:location_type] if args.key?(:location_type)
926
- end
927
- end
928
-
929
- #
930
- class LocationData
931
- include Google::Apis::Core::Hashable
932
-
933
- # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
934
- # guide#data-metadata-placement-and-failure-domains
935
- # Corresponds to the JSON property `blobstoreLocation`
936
- # @return [Google::Apis::WorkloadmanagerV1::BlobstoreLocation]
937
- attr_accessor :blobstore_location
938
-
939
- #
940
- # Corresponds to the JSON property `childAssetLocation`
941
- # @return [Google::Apis::WorkloadmanagerV1::CloudAssetComposition]
942
- attr_accessor :child_asset_location
943
-
944
- #
945
- # Corresponds to the JSON property `directLocation`
946
- # @return [Google::Apis::WorkloadmanagerV1::DirectLocationAssignment]
947
- attr_accessor :direct_location
948
-
949
- #
950
- # Corresponds to the JSON property `gcpProjectProxy`
951
- # @return [Google::Apis::WorkloadmanagerV1::TenantProjectProxy]
952
- attr_accessor :gcp_project_proxy
953
-
954
- # Message describing that the location of the customer resource is tied to
955
- # placer allocations
956
- # Corresponds to the JSON property `placerLocation`
957
- # @return [Google::Apis::WorkloadmanagerV1::PlacerLocation]
958
- attr_accessor :placer_location
959
-
960
- #
961
- # Corresponds to the JSON property `spannerLocation`
962
- # @return [Google::Apis::WorkloadmanagerV1::SpannerLocation]
963
- attr_accessor :spanner_location
709
+ attr_accessor :message
964
710
 
965
711
  def initialize(**args)
966
712
  update!(**args)
@@ -968,12 +714,7 @@ module Google
968
714
 
969
715
  # Update properties of this object
970
716
  def update!(**args)
971
- @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location)
972
- @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location)
973
- @direct_location = args[:direct_location] if args.key?(:direct_location)
974
- @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy)
975
- @placer_location = args[:placer_location] if args.key?(:placer_location)
976
- @spanner_location = args[:spanner_location] if args.key?(:spanner_location)
717
+ @message = args[:message] if args.key?(:message)
977
718
  end
978
719
  end
979
720
 
@@ -1098,79 +839,6 @@ module Google
1098
839
  end
1099
840
  end
1100
841
 
1101
- # Message describing that the location of the customer resource is tied to
1102
- # placer allocations
1103
- class PlacerLocation
1104
- include Google::Apis::Core::Hashable
1105
-
1106
- # Directory with a config related to it in placer (e.g. "/placer/prod/home/my-
1107
- # root/my-dir")
1108
- # Corresponds to the JSON property `placerConfig`
1109
- # @return [String]
1110
- attr_accessor :placer_config
1111
-
1112
- def initialize(**args)
1113
- update!(**args)
1114
- end
1115
-
1116
- # Update properties of this object
1117
- def update!(**args)
1118
- @placer_config = args[:placer_config] if args.key?(:placer_config)
1119
- end
1120
- end
1121
-
1122
- # To be used for specifying the intended distribution of regional compute.
1123
- # googleapis.com/InstanceGroupManager instances
1124
- class RegionalMigDistributionPolicy
1125
- include Google::Apis::Core::Hashable
1126
-
1127
- # The shape in which the group converges around distribution of resources.
1128
- # Instance of proto2 enum
1129
- # Corresponds to the JSON property `targetShape`
1130
- # @return [Fixnum]
1131
- attr_accessor :target_shape
1132
-
1133
- # Cloud zones used by regional MIG to create instances.
1134
- # Corresponds to the JSON property `zones`
1135
- # @return [Array<Google::Apis::WorkloadmanagerV1::ZoneConfiguration>]
1136
- attr_accessor :zones
1137
-
1138
- def initialize(**args)
1139
- update!(**args)
1140
- end
1141
-
1142
- # Update properties of this object
1143
- def update!(**args)
1144
- @target_shape = args[:target_shape] if args.key?(:target_shape)
1145
- @zones = args[:zones] if args.key?(:zones)
1146
- end
1147
- end
1148
-
1149
- #
1150
- class RequirementOverride
1151
- include Google::Apis::Core::Hashable
1152
-
1153
- #
1154
- # Corresponds to the JSON property `ziOverride`
1155
- # @return [String]
1156
- attr_accessor :zi_override
1157
-
1158
- #
1159
- # Corresponds to the JSON property `zsOverride`
1160
- # @return [String]
1161
- attr_accessor :zs_override
1162
-
1163
- def initialize(**args)
1164
- update!(**args)
1165
- end
1166
-
1167
- # Update properties of this object
1168
- def update!(**args)
1169
- @zi_override = args[:zi_override] if args.key?(:zi_override)
1170
- @zs_override = args[:zs_override] if args.key?(:zs_override)
1171
- end
1172
- end
1173
-
1174
842
  # Message represent resource in execution result
1175
843
  class Resource
1176
844
  include Google::Apis::Core::Hashable
@@ -1343,6 +1011,49 @@ module Google
1343
1011
  end
1344
1012
  end
1345
1013
 
1014
+ # Message for execution result summary per rule
1015
+ class RuleExecutionResult
1016
+ include Google::Apis::Core::Hashable
1017
+
1018
+ # Execution message, if any
1019
+ # Corresponds to the JSON property `message`
1020
+ # @return [String]
1021
+ attr_accessor :message
1022
+
1023
+ # Number of violations
1024
+ # Corresponds to the JSON property `resultCount`
1025
+ # @return [Fixnum]
1026
+ attr_accessor :result_count
1027
+
1028
+ # rule name
1029
+ # Corresponds to the JSON property `rule`
1030
+ # @return [String]
1031
+ attr_accessor :rule
1032
+
1033
+ # Number of total scanned resources
1034
+ # Corresponds to the JSON property `scannedResourceCount`
1035
+ # @return [Fixnum]
1036
+ attr_accessor :scanned_resource_count
1037
+
1038
+ # Output only. The execution status
1039
+ # Corresponds to the JSON property `state`
1040
+ # @return [String]
1041
+ attr_accessor :state
1042
+
1043
+ def initialize(**args)
1044
+ update!(**args)
1045
+ end
1046
+
1047
+ # Update properties of this object
1048
+ def update!(**args)
1049
+ @message = args[:message] if args.key?(:message)
1050
+ @result_count = args[:result_count] if args.key?(:result_count)
1051
+ @rule = args[:rule] if args.key?(:rule)
1052
+ @scanned_resource_count = args[:scanned_resource_count] if args.key?(:scanned_resource_count)
1053
+ @state = args[:state] if args.key?(:state)
1054
+ end
1055
+ end
1056
+
1346
1057
  # Message for creating a Execution
1347
1058
  class RunEvaluationRequest
1348
1059
  include Google::Apis::Core::Hashable
@@ -1989,32 +1700,6 @@ module Google
1989
1700
  end
1990
1701
  end
1991
1702
 
1992
- #
1993
- class SpannerLocation
1994
- include Google::Apis::Core::Hashable
1995
-
1996
- # Set of backups used by the resource with name in the same format as what is
1997
- # available at http://table/spanner_automon.backup_metadata
1998
- # Corresponds to the JSON property `backupName`
1999
- # @return [Array<String>]
2000
- attr_accessor :backup_name
2001
-
2002
- # Set of databases used by the resource in format /span//
2003
- # Corresponds to the JSON property `dbName`
2004
- # @return [Array<String>]
2005
- attr_accessor :db_name
2006
-
2007
- def initialize(**args)
2008
- update!(**args)
2009
- end
2010
-
2011
- # Update properties of this object
2012
- def update!(**args)
2013
- @backup_name = args[:backup_name] if args.key?(:backup_name)
2014
- @db_name = args[:db_name] if args.key?(:db_name)
2015
- end
2016
- end
2017
-
2018
1703
  # A presentation of SQLServer workload insight. The schema of SqlServer
2019
1704
  # workloads validation related data.
2020
1705
  class SqlserverValidation
@@ -2138,25 +1823,6 @@ module Google
2138
1823
  end
2139
1824
  end
2140
1825
 
2141
- #
2142
- class TenantProjectProxy
2143
- include Google::Apis::Core::Hashable
2144
-
2145
- #
2146
- # Corresponds to the JSON property `projectNumbers`
2147
- # @return [Array<String>]
2148
- attr_accessor :project_numbers
2149
-
2150
- def initialize(**args)
2151
- update!(**args)
2152
- end
2153
-
2154
- # Update properties of this object
2155
- def update!(**args)
2156
- @project_numbers = args[:project_numbers] if args.key?(:project_numbers)
2157
- end
2158
- end
2159
-
2160
1826
  # Message describing the violation in an evaluation result.
2161
1827
  class ViolationDetails
2162
1828
  include Google::Apis::Core::Hashable
@@ -2240,25 +1906,6 @@ module Google
2240
1906
  def update!(**args)
2241
1907
  end
2242
1908
  end
2243
-
2244
- #
2245
- class ZoneConfiguration
2246
- include Google::Apis::Core::Hashable
2247
-
2248
- #
2249
- # Corresponds to the JSON property `zone`
2250
- # @return [String]
2251
- attr_accessor :zone
2252
-
2253
- def initialize(**args)
2254
- update!(**args)
2255
- end
2256
-
2257
- # Update properties of this object
2258
- def update!(**args)
2259
- @zone = args[:zone] if args.key?(:zone)
2260
- end
2261
- end
2262
1909
  end
2263
1910
  end
2264
1911
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkloadmanagerV1
18
18
  # Version of the google-apis-workloadmanager_v1 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241002"
25
+ REVISION = "20241016"
26
26
  end
27
27
  end
28
28
  end
@@ -28,54 +28,24 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class AssetLocation
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
31
  class BigQueryDestination
38
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
33
 
40
34
  include Google::Apis::Core::JsonObjectSupport
41
35
  end
42
36
 
43
- class BlobstoreLocation
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
37
  class CancelOperationRequest
50
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
39
 
52
40
  include Google::Apis::Core::JsonObjectSupport
53
41
  end
54
42
 
55
- class CloudAsset
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
- class CloudAssetComposition
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
43
  class Command
68
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
45
 
70
46
  include Google::Apis::Core::JsonObjectSupport
71
47
  end
72
48
 
73
- class DirectLocationAssignment
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
49
  class Empty
80
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
51
 
@@ -106,12 +76,6 @@ module Google
106
76
  include Google::Apis::Core::JsonObjectSupport
107
77
  end
108
78
 
109
- class ExtraParameter
110
- class Representation < Google::Apis::Core::JsonRepresentation; end
111
-
112
- include Google::Apis::Core::JsonObjectSupport
113
- end
114
-
115
79
  class GceInstanceFilter
116
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
81
 
@@ -124,12 +88,6 @@ module Google
124
88
  include Google::Apis::Core::JsonObjectSupport
125
89
  end
126
90
 
127
- class IsolationExpectations
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
129
-
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
132
-
133
91
  class ListEvaluationsResponse
134
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
93
 
@@ -178,13 +136,7 @@ module Google
178
136
  include Google::Apis::Core::JsonObjectSupport
179
137
  end
180
138
 
181
- class LocationAssignment
182
- class Representation < Google::Apis::Core::JsonRepresentation; end
183
-
184
- include Google::Apis::Core::JsonObjectSupport
185
- end
186
-
187
- class LocationData
139
+ class Notice
188
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
141
 
190
142
  include Google::Apis::Core::JsonObjectSupport
@@ -202,43 +154,31 @@ module Google
202
154
  include Google::Apis::Core::JsonObjectSupport
203
155
  end
204
156
 
205
- class PlacerLocation
206
- class Representation < Google::Apis::Core::JsonRepresentation; end
207
-
208
- include Google::Apis::Core::JsonObjectSupport
209
- end
210
-
211
- class RegionalMigDistributionPolicy
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
215
- end
216
-
217
- class RequirementOverride
157
+ class Resource
218
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
159
 
220
160
  include Google::Apis::Core::JsonObjectSupport
221
161
  end
222
162
 
223
- class Resource
163
+ class ResourceFilter
224
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
165
 
226
166
  include Google::Apis::Core::JsonObjectSupport
227
167
  end
228
168
 
229
- class ResourceFilter
169
+ class ResourceStatus
230
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
171
 
232
172
  include Google::Apis::Core::JsonObjectSupport
233
173
  end
234
174
 
235
- class ResourceStatus
175
+ class Rule
236
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
177
 
238
178
  include Google::Apis::Core::JsonObjectSupport
239
179
  end
240
180
 
241
- class Rule
181
+ class RuleExecutionResult
242
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
183
 
244
184
  include Google::Apis::Core::JsonObjectSupport
@@ -340,12 +280,6 @@ module Google
340
280
  include Google::Apis::Core::JsonObjectSupport
341
281
  end
342
282
 
343
- class SpannerLocation
344
- class Representation < Google::Apis::Core::JsonRepresentation; end
345
-
346
- include Google::Apis::Core::JsonObjectSupport
347
- end
348
-
349
283
  class SqlserverValidation
350
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
285
 
@@ -370,12 +304,6 @@ module Google
370
304
  include Google::Apis::Core::JsonObjectSupport
371
305
  end
372
306
 
373
- class TenantProjectProxy
374
- class Representation < Google::Apis::Core::JsonRepresentation; end
375
-
376
- include Google::Apis::Core::JsonObjectSupport
377
- end
378
-
379
307
  class ViolationDetails
380
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
309
 
@@ -394,12 +322,6 @@ module Google
394
322
  include Google::Apis::Core::JsonObjectSupport
395
323
  end
396
324
 
397
- class ZoneConfiguration
398
- class Representation < Google::Apis::Core::JsonRepresentation; end
399
-
400
- include Google::Apis::Core::JsonObjectSupport
401
- end
402
-
403
325
  class AgentCommand
404
326
  # @private
405
327
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -408,21 +330,6 @@ module Google
408
330
  end
409
331
  end
410
332
 
411
- class AssetLocation
412
- # @private
413
- class Representation < Google::Apis::Core::JsonRepresentation
414
- property :ccfe_rms_path, as: 'ccfeRmsPath'
415
- property :expected, as: 'expected', class: Google::Apis::WorkloadmanagerV1::IsolationExpectations, decorator: Google::Apis::WorkloadmanagerV1::IsolationExpectations::Representation
416
-
417
- collection :extra_parameters, as: 'extraParameters', class: Google::Apis::WorkloadmanagerV1::ExtraParameter, decorator: Google::Apis::WorkloadmanagerV1::ExtraParameter::Representation
418
-
419
- collection :location_data, as: 'locationData', class: Google::Apis::WorkloadmanagerV1::LocationData, decorator: Google::Apis::WorkloadmanagerV1::LocationData::Representation
420
-
421
- collection :parent_asset, as: 'parentAsset', class: Google::Apis::WorkloadmanagerV1::CloudAsset, decorator: Google::Apis::WorkloadmanagerV1::CloudAsset::Representation
422
-
423
- end
424
- end
425
-
426
333
  class BigQueryDestination
427
334
  # @private
428
335
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -431,35 +338,12 @@ module Google
431
338
  end
432
339
  end
433
340
 
434
- class BlobstoreLocation
435
- # @private
436
- class Representation < Google::Apis::Core::JsonRepresentation
437
- collection :policy_id, as: 'policyId'
438
- end
439
- end
440
-
441
341
  class CancelOperationRequest
442
342
  # @private
443
343
  class Representation < Google::Apis::Core::JsonRepresentation
444
344
  end
445
345
  end
446
346
 
447
- class CloudAsset
448
- # @private
449
- class Representation < Google::Apis::Core::JsonRepresentation
450
- property :asset_name, as: 'assetName'
451
- property :asset_type, as: 'assetType'
452
- end
453
- end
454
-
455
- class CloudAssetComposition
456
- # @private
457
- class Representation < Google::Apis::Core::JsonRepresentation
458
- collection :child_asset, as: 'childAsset', class: Google::Apis::WorkloadmanagerV1::CloudAsset, decorator: Google::Apis::WorkloadmanagerV1::CloudAsset::Representation
459
-
460
- end
461
- end
462
-
463
347
  class Command
464
348
  # @private
465
349
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -470,14 +354,6 @@ module Google
470
354
  end
471
355
  end
472
356
 
473
- class DirectLocationAssignment
474
- # @private
475
- class Representation < Google::Apis::Core::JsonRepresentation
476
- collection :location, as: 'location', class: Google::Apis::WorkloadmanagerV1::LocationAssignment, decorator: Google::Apis::WorkloadmanagerV1::LocationAssignment::Representation
477
-
478
- end
479
- end
480
-
481
357
  class Empty
482
358
  # @private
483
359
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -515,6 +391,10 @@ module Google
515
391
  property :inventory_time, as: 'inventoryTime'
516
392
  hash :labels, as: 'labels'
517
393
  property :name, as: 'name'
394
+ collection :notices, as: 'notices', class: Google::Apis::WorkloadmanagerV1::Notice, decorator: Google::Apis::WorkloadmanagerV1::Notice::Representation
395
+
396
+ collection :rule_results, as: 'ruleResults', class: Google::Apis::WorkloadmanagerV1::RuleExecutionResult, decorator: Google::Apis::WorkloadmanagerV1::RuleExecutionResult::Representation
397
+
518
398
  property :run_type, as: 'runType'
519
399
  property :start_time, as: 'startTime'
520
400
  property :state, as: 'state'
@@ -548,14 +428,6 @@ module Google
548
428
  end
549
429
  end
550
430
 
551
- class ExtraParameter
552
- # @private
553
- class Representation < Google::Apis::Core::JsonRepresentation
554
- property :regional_mig_distribution_policy, as: 'regionalMigDistributionPolicy', class: Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy, decorator: Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy::Representation
555
-
556
- end
557
- end
558
-
559
431
  class GceInstanceFilter
560
432
  # @private
561
433
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -577,21 +449,6 @@ module Google
577
449
  end
578
450
  end
579
451
 
580
- class IsolationExpectations
581
- # @private
582
- class Representation < Google::Apis::Core::JsonRepresentation
583
- property :requirement_override, as: 'requirementOverride', class: Google::Apis::WorkloadmanagerV1::RequirementOverride, decorator: Google::Apis::WorkloadmanagerV1::RequirementOverride::Representation
584
-
585
- property :zi_org_policy, as: 'ziOrgPolicy'
586
- property :zi_region_policy, as: 'ziRegionPolicy'
587
- property :zi_region_state, as: 'ziRegionState'
588
- property :zone_isolation, as: 'zoneIsolation'
589
- property :zone_separation, as: 'zoneSeparation'
590
- property :zs_org_policy, as: 'zsOrgPolicy'
591
- property :zs_region_state, as: 'zsRegionState'
592
- end
593
- end
594
-
595
452
  class ListEvaluationsResponse
596
453
  # @private
597
454
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -668,29 +525,10 @@ module Google
668
525
  end
669
526
  end
670
527
 
671
- class LocationAssignment
528
+ class Notice
672
529
  # @private
673
530
  class Representation < Google::Apis::Core::JsonRepresentation
674
- property :location, as: 'location'
675
- property :location_type, as: 'locationType'
676
- end
677
- end
678
-
679
- class LocationData
680
- # @private
681
- class Representation < Google::Apis::Core::JsonRepresentation
682
- property :blobstore_location, as: 'blobstoreLocation', class: Google::Apis::WorkloadmanagerV1::BlobstoreLocation, decorator: Google::Apis::WorkloadmanagerV1::BlobstoreLocation::Representation
683
-
684
- property :child_asset_location, as: 'childAssetLocation', class: Google::Apis::WorkloadmanagerV1::CloudAssetComposition, decorator: Google::Apis::WorkloadmanagerV1::CloudAssetComposition::Representation
685
-
686
- property :direct_location, as: 'directLocation', class: Google::Apis::WorkloadmanagerV1::DirectLocationAssignment, decorator: Google::Apis::WorkloadmanagerV1::DirectLocationAssignment::Representation
687
-
688
- property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::WorkloadmanagerV1::TenantProjectProxy, decorator: Google::Apis::WorkloadmanagerV1::TenantProjectProxy::Representation
689
-
690
- property :placer_location, as: 'placerLocation', class: Google::Apis::WorkloadmanagerV1::PlacerLocation, decorator: Google::Apis::WorkloadmanagerV1::PlacerLocation::Representation
691
-
692
- property :spanner_location, as: 'spannerLocation', class: Google::Apis::WorkloadmanagerV1::SpannerLocation, decorator: Google::Apis::WorkloadmanagerV1::SpannerLocation::Representation
693
-
531
+ property :message, as: 'message'
694
532
  end
695
533
  end
696
534
 
@@ -719,30 +557,6 @@ module Google
719
557
  end
720
558
  end
721
559
 
722
- class PlacerLocation
723
- # @private
724
- class Representation < Google::Apis::Core::JsonRepresentation
725
- property :placer_config, as: 'placerConfig'
726
- end
727
- end
728
-
729
- class RegionalMigDistributionPolicy
730
- # @private
731
- class Representation < Google::Apis::Core::JsonRepresentation
732
- property :target_shape, as: 'targetShape'
733
- collection :zones, as: 'zones', class: Google::Apis::WorkloadmanagerV1::ZoneConfiguration, decorator: Google::Apis::WorkloadmanagerV1::ZoneConfiguration::Representation
734
-
735
- end
736
- end
737
-
738
- class RequirementOverride
739
- # @private
740
- class Representation < Google::Apis::Core::JsonRepresentation
741
- property :zi_override, as: 'ziOverride'
742
- property :zs_override, as: 'zsOverride'
743
- end
744
- end
745
-
746
560
  class Resource
747
561
  # @private
748
562
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -788,6 +602,17 @@ module Google
788
602
  end
789
603
  end
790
604
 
605
+ class RuleExecutionResult
606
+ # @private
607
+ class Representation < Google::Apis::Core::JsonRepresentation
608
+ property :message, as: 'message'
609
+ property :result_count, :numeric_string => true, as: 'resultCount'
610
+ property :rule, as: 'rule'
611
+ property :scanned_resource_count, :numeric_string => true, as: 'scannedResourceCount'
612
+ property :state, as: 'state'
613
+ end
614
+ end
615
+
791
616
  class RunEvaluationRequest
792
617
  # @private
793
618
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -967,14 +792,6 @@ module Google
967
792
  end
968
793
  end
969
794
 
970
- class SpannerLocation
971
- # @private
972
- class Representation < Google::Apis::Core::JsonRepresentation
973
- collection :backup_name, as: 'backupName'
974
- collection :db_name, as: 'dbName'
975
- end
976
- end
977
-
978
795
  class SqlserverValidation
979
796
  # @private
980
797
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1011,13 +828,6 @@ module Google
1011
828
  end
1012
829
  end
1013
830
 
1014
- class TenantProjectProxy
1015
- # @private
1016
- class Representation < Google::Apis::Core::JsonRepresentation
1017
- collection :project_numbers, as: 'projectNumbers'
1018
- end
1019
- end
1020
-
1021
831
  class ViolationDetails
1022
832
  # @private
1023
833
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1042,13 +852,6 @@ module Google
1042
852
  class Representation < Google::Apis::Core::JsonRepresentation
1043
853
  end
1044
854
  end
1045
-
1046
- class ZoneConfiguration
1047
- # @private
1048
- class Representation < Google::Apis::Core::JsonRepresentation
1049
- property :zone, as: 'zone'
1050
- end
1051
- end
1052
855
  end
1053
856
  end
1054
857
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workloadmanager_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.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-10-13 00:00:00.000000000 Z
11
+ date: 2024-11-03 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-workloadmanager_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.27.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1
63
63
  post_install_message:
64
64
  rdoc_options: []