google-apis-workloadmanager_v1 0.26.0 → 0.28.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: a9530ab3b2d320396e0f9972fe6c5b461f14dff0edd74ef6e689a0f111dcdce7
4
- data.tar.gz: 9ee0d9cd50ed5aea8ee996c44f5e0b1e6cbda9eb8476c37cc4aa2ffad445ba1a
3
+ metadata.gz: ebfbd61a3d7045b9335429ca3a0a3b73f60331112dddff534cdbc0665d880428
4
+ data.tar.gz: 5294c65f7cc7d57cdb374475e76a5bccb6f73cb61276e7a31414ec949c60d300
5
5
  SHA512:
6
- metadata.gz: fefd76d7f8aa373767abb2c6c872d1008c9247abe45a9ec70adef72199d0b9a43e53a743cccfaf8e609cb6be64c5ba7dcd3f5bd1a2b3963d249750aa8a5c500e
7
- data.tar.gz: c50e5957bcbb2ebc14394280de1ebd903ce6a9f3f32d39203c3d51f5c249aa30a7040cebf532b3ab33f762a2332bb66e15419c3828ab35f8f6f12691ecd09d10
6
+ metadata.gz: d1d90c1f7938714f3af1484426894002fff289a18ebd36ae728459de1f891a46e5652baa190a511915d0c411b998dbb477ab5ab60e9a4c103e06d19cfc7affb7
7
+ data.tar.gz: dbd751617cdf4f45bd171edca9b4567fb833006ad1918c64ddbe1c9e52917b553015f8716759a6e3464be7304c25985d7bb8fdeacd28794a7f713bb8fe55d1e0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.28.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241209
6
+
7
+ ### v0.27.0 (2024-11-03)
8
+
9
+ * Regenerated from discovery document revision 20241016
10
+
3
11
  ### v0.26.0 (2024-10-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20241009
@@ -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.
@@ -282,6 +152,11 @@ module Google
282
152
  # @return [String]
283
153
  attr_accessor :description
284
154
 
155
+ # Evaluation type
156
+ # Corresponds to the JSON property `evaluationType`
157
+ # @return [String]
158
+ attr_accessor :evaluation_type
159
+
285
160
  # Labels as key value pairs
286
161
  # Corresponds to the JSON property `labels`
287
162
  # @return [Hash<String,String>]
@@ -335,6 +210,7 @@ module Google
335
210
  @create_time = args[:create_time] if args.key?(:create_time)
336
211
  @custom_rules_bucket = args[:custom_rules_bucket] if args.key?(:custom_rules_bucket)
337
212
  @description = args[:description] if args.key?(:description)
213
+ @evaluation_type = args[:evaluation_type] if args.key?(:evaluation_type)
338
214
  @labels = args[:labels] if args.key?(:labels)
339
215
  @name = args[:name] if args.key?(:name)
340
216
  @resource_filter = args[:resource_filter] if args.key?(:resource_filter)
@@ -381,6 +257,16 @@ module Google
381
257
  # @return [String]
382
258
  attr_accessor :name
383
259
 
260
+ # Output only. Additional information generated by the execution
261
+ # Corresponds to the JSON property `notices`
262
+ # @return [Array<Google::Apis::WorkloadmanagerV1::Notice>]
263
+ attr_accessor :notices
264
+
265
+ # Message for execution summary
266
+ # Corresponds to the JSON property `resultSummary`
267
+ # @return [Google::Apis::WorkloadmanagerV1::Summary]
268
+ attr_accessor :result_summary
269
+
384
270
  # Output only. execution result summary per rule
385
271
  # Corresponds to the JSON property `ruleResults`
386
272
  # @return [Array<Google::Apis::WorkloadmanagerV1::RuleExecutionResult>]
@@ -414,6 +300,8 @@ module Google
414
300
  @inventory_time = args[:inventory_time] if args.key?(:inventory_time)
415
301
  @labels = args[:labels] if args.key?(:labels)
416
302
  @name = args[:name] if args.key?(:name)
303
+ @notices = args[:notices] if args.key?(:notices)
304
+ @result_summary = args[:result_summary] if args.key?(:result_summary)
417
305
  @rule_results = args[:rule_results] if args.key?(:rule_results)
418
306
  @run_type = args[:run_type] if args.key?(:run_type)
419
307
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -523,26 +411,6 @@ module Google
523
411
  end
524
412
  end
525
413
 
526
- # Defines parameters that should only be used for specific asset types.
527
- class ExtraParameter
528
- include Google::Apis::Core::Hashable
529
-
530
- # To be used for specifying the intended distribution of regional compute.
531
- # googleapis.com/InstanceGroupManager instances
532
- # Corresponds to the JSON property `regionalMigDistributionPolicy`
533
- # @return [Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy]
534
- attr_accessor :regional_mig_distribution_policy
535
-
536
- def initialize(**args)
537
- update!(**args)
538
- end
539
-
540
- # Update properties of this object
541
- def update!(**args)
542
- @regional_mig_distribution_policy = args[:regional_mig_distribution_policy] if args.key?(:regional_mig_distribution_policy)
543
- end
544
- end
545
-
546
414
  # Message describing compute engine instance filter
547
415
  class GceInstanceFilter
548
416
  include Google::Apis::Core::Hashable
@@ -593,6 +461,11 @@ module Google
593
461
  # @return [Google::Apis::WorkloadmanagerV1::SqlserverValidation]
594
462
  attr_accessor :sqlserver_validation
595
463
 
464
+ # The schema of torso workload validation data.
465
+ # Corresponds to the JSON property `torsoValidation`
466
+ # @return [Google::Apis::WorkloadmanagerV1::TorsoValidation]
467
+ attr_accessor :torso_validation
468
+
596
469
  def initialize(**args)
597
470
  update!(**args)
598
471
  end
@@ -604,70 +477,7 @@ module Google
604
477
  @sap_validation = args[:sap_validation] if args.key?(:sap_validation)
605
478
  @sent_time = args[:sent_time] if args.key?(:sent_time)
606
479
  @sqlserver_validation = args[:sqlserver_validation] if args.key?(:sqlserver_validation)
607
- end
608
- end
609
-
610
- #
611
- class IsolationExpectations
612
- include Google::Apis::Core::Hashable
613
-
614
- # Explicit overrides for ZI and ZS requirements to be used for resources that
615
- # should be excluded from ZI/ZS verification logic.
616
- # Corresponds to the JSON property `requirementOverride`
617
- # @return [Google::Apis::WorkloadmanagerV1::RequirementOverride]
618
- attr_accessor :requirement_override
619
-
620
- #
621
- # Corresponds to the JSON property `ziOrgPolicy`
622
- # @return [String]
623
- attr_accessor :zi_org_policy
624
-
625
- #
626
- # Corresponds to the JSON property `ziRegionPolicy`
627
- # @return [String]
628
- attr_accessor :zi_region_policy
629
-
630
- #
631
- # Corresponds to the JSON property `ziRegionState`
632
- # @return [String]
633
- attr_accessor :zi_region_state
634
-
635
- # Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead
636
- # for setting ZI expectations as per go/zicy-publish-physical-location.
637
- # Corresponds to the JSON property `zoneIsolation`
638
- # @return [String]
639
- attr_accessor :zone_isolation
640
-
641
- # Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs
642
- # expectations as per go/zicy-publish-physical-location.
643
- # Corresponds to the JSON property `zoneSeparation`
644
- # @return [String]
645
- attr_accessor :zone_separation
646
-
647
- #
648
- # Corresponds to the JSON property `zsOrgPolicy`
649
- # @return [String]
650
- attr_accessor :zs_org_policy
651
-
652
- #
653
- # Corresponds to the JSON property `zsRegionState`
654
- # @return [String]
655
- attr_accessor :zs_region_state
656
-
657
- def initialize(**args)
658
- update!(**args)
659
- end
660
-
661
- # Update properties of this object
662
- def update!(**args)
663
- @requirement_override = args[:requirement_override] if args.key?(:requirement_override)
664
- @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy)
665
- @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy)
666
- @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state)
667
- @zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation)
668
- @zone_separation = args[:zone_separation] if args.key?(:zone_separation)
669
- @zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy)
670
- @zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state)
480
+ @torso_validation = args[:torso_validation] if args.key?(:torso_validation)
671
481
  end
672
482
  end
673
483
 
@@ -907,66 +717,14 @@ module Google
907
717
  end
908
718
  end
909
719
 
910
- #
911
- class LocationAssignment
720
+ # Message for additional information generated by the execution
721
+ class Notice
912
722
  include Google::Apis::Core::Hashable
913
723
 
914
- #
915
- # Corresponds to the JSON property `location`
916
- # @return [String]
917
- attr_accessor :location
918
-
919
- #
920
- # Corresponds to the JSON property `locationType`
724
+ # Output only. Message of the notice
725
+ # Corresponds to the JSON property `message`
921
726
  # @return [String]
922
- attr_accessor :location_type
923
-
924
- def initialize(**args)
925
- update!(**args)
926
- end
927
-
928
- # Update properties of this object
929
- def update!(**args)
930
- @location = args[:location] if args.key?(:location)
931
- @location_type = args[:location_type] if args.key?(:location_type)
932
- end
933
- end
934
-
935
- #
936
- class LocationData
937
- include Google::Apis::Core::Hashable
938
-
939
- # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
940
- # guide#data-metadata-placement-and-failure-domains
941
- # Corresponds to the JSON property `blobstoreLocation`
942
- # @return [Google::Apis::WorkloadmanagerV1::BlobstoreLocation]
943
- attr_accessor :blobstore_location
944
-
945
- #
946
- # Corresponds to the JSON property `childAssetLocation`
947
- # @return [Google::Apis::WorkloadmanagerV1::CloudAssetComposition]
948
- attr_accessor :child_asset_location
949
-
950
- #
951
- # Corresponds to the JSON property `directLocation`
952
- # @return [Google::Apis::WorkloadmanagerV1::DirectLocationAssignment]
953
- attr_accessor :direct_location
954
-
955
- #
956
- # Corresponds to the JSON property `gcpProjectProxy`
957
- # @return [Google::Apis::WorkloadmanagerV1::TenantProjectProxy]
958
- attr_accessor :gcp_project_proxy
959
-
960
- # Message describing that the location of the customer resource is tied to
961
- # placer allocations
962
- # Corresponds to the JSON property `placerLocation`
963
- # @return [Google::Apis::WorkloadmanagerV1::PlacerLocation]
964
- attr_accessor :placer_location
965
-
966
- #
967
- # Corresponds to the JSON property `spannerLocation`
968
- # @return [Google::Apis::WorkloadmanagerV1::SpannerLocation]
969
- attr_accessor :spanner_location
727
+ attr_accessor :message
970
728
 
971
729
  def initialize(**args)
972
730
  update!(**args)
@@ -974,12 +732,7 @@ module Google
974
732
 
975
733
  # Update properties of this object
976
734
  def update!(**args)
977
- @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location)
978
- @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location)
979
- @direct_location = args[:direct_location] if args.key?(:direct_location)
980
- @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy)
981
- @placer_location = args[:placer_location] if args.key?(:placer_location)
982
- @spanner_location = args[:spanner_location] if args.key?(:spanner_location)
735
+ @message = args[:message] if args.key?(:message)
983
736
  end
984
737
  end
985
738
 
@@ -1104,79 +857,6 @@ module Google
1104
857
  end
1105
858
  end
1106
859
 
1107
- # Message describing that the location of the customer resource is tied to
1108
- # placer allocations
1109
- class PlacerLocation
1110
- include Google::Apis::Core::Hashable
1111
-
1112
- # Directory with a config related to it in placer (e.g. "/placer/prod/home/my-
1113
- # root/my-dir")
1114
- # Corresponds to the JSON property `placerConfig`
1115
- # @return [String]
1116
- attr_accessor :placer_config
1117
-
1118
- def initialize(**args)
1119
- update!(**args)
1120
- end
1121
-
1122
- # Update properties of this object
1123
- def update!(**args)
1124
- @placer_config = args[:placer_config] if args.key?(:placer_config)
1125
- end
1126
- end
1127
-
1128
- # To be used for specifying the intended distribution of regional compute.
1129
- # googleapis.com/InstanceGroupManager instances
1130
- class RegionalMigDistributionPolicy
1131
- include Google::Apis::Core::Hashable
1132
-
1133
- # The shape in which the group converges around distribution of resources.
1134
- # Instance of proto2 enum
1135
- # Corresponds to the JSON property `targetShape`
1136
- # @return [Fixnum]
1137
- attr_accessor :target_shape
1138
-
1139
- # Cloud zones used by regional MIG to create instances.
1140
- # Corresponds to the JSON property `zones`
1141
- # @return [Array<Google::Apis::WorkloadmanagerV1::ZoneConfiguration>]
1142
- attr_accessor :zones
1143
-
1144
- def initialize(**args)
1145
- update!(**args)
1146
- end
1147
-
1148
- # Update properties of this object
1149
- def update!(**args)
1150
- @target_shape = args[:target_shape] if args.key?(:target_shape)
1151
- @zones = args[:zones] if args.key?(:zones)
1152
- end
1153
- end
1154
-
1155
- #
1156
- class RequirementOverride
1157
- include Google::Apis::Core::Hashable
1158
-
1159
- #
1160
- # Corresponds to the JSON property `ziOverride`
1161
- # @return [String]
1162
- attr_accessor :zi_override
1163
-
1164
- #
1165
- # Corresponds to the JSON property `zsOverride`
1166
- # @return [String]
1167
- attr_accessor :zs_override
1168
-
1169
- def initialize(**args)
1170
- update!(**args)
1171
- end
1172
-
1173
- # Update properties of this object
1174
- def update!(**args)
1175
- @zi_override = args[:zi_override] if args.key?(:zi_override)
1176
- @zs_override = args[:zs_override] if args.key?(:zs_override)
1177
- end
1178
- end
1179
-
1180
860
  # Message represent resource in execution result
1181
861
  class Resource
1182
862
  include Google::Apis::Core::Hashable
@@ -2038,32 +1718,6 @@ module Google
2038
1718
  end
2039
1719
  end
2040
1720
 
2041
- #
2042
- class SpannerLocation
2043
- include Google::Apis::Core::Hashable
2044
-
2045
- # Set of backups used by the resource with name in the same format as what is
2046
- # available at http://table/spanner_automon.backup_metadata
2047
- # Corresponds to the JSON property `backupName`
2048
- # @return [Array<String>]
2049
- attr_accessor :backup_name
2050
-
2051
- # Set of databases used by the resource in format /span//
2052
- # Corresponds to the JSON property `dbName`
2053
- # @return [Array<String>]
2054
- attr_accessor :db_name
2055
-
2056
- def initialize(**args)
2057
- update!(**args)
2058
- end
2059
-
2060
- # Update properties of this object
2061
- def update!(**args)
2062
- @backup_name = args[:backup_name] if args.key?(:backup_name)
2063
- @db_name = args[:db_name] if args.key?(:db_name)
2064
- end
2065
- end
2066
-
2067
1721
  # A presentation of SQLServer workload insight. The schema of SqlServer
2068
1722
  # workloads validation related data.
2069
1723
  class SqlserverValidation
@@ -2187,14 +1841,69 @@ module Google
2187
1841
  end
2188
1842
  end
2189
1843
 
2190
- #
2191
- class TenantProjectProxy
1844
+ # Message for execution summary
1845
+ class Summary
2192
1846
  include Google::Apis::Core::Hashable
2193
1847
 
2194
- #
2195
- # Corresponds to the JSON property `projectNumbers`
2196
- # @return [Array<String>]
2197
- attr_accessor :project_numbers
1848
+ # Output only. Number of failures
1849
+ # Corresponds to the JSON property `failures`
1850
+ # @return [Fixnum]
1851
+ attr_accessor :failures
1852
+
1853
+ # Output only. Number of new failures compared to the previous execution
1854
+ # Corresponds to the JSON property `newFailures`
1855
+ # @return [Fixnum]
1856
+ attr_accessor :new_failures
1857
+
1858
+ # Output only. Number of new fixes compared to the previous execution
1859
+ # Corresponds to the JSON property `newFixes`
1860
+ # @return [Fixnum]
1861
+ attr_accessor :new_fixes
1862
+
1863
+ def initialize(**args)
1864
+ update!(**args)
1865
+ end
1866
+
1867
+ # Update properties of this object
1868
+ def update!(**args)
1869
+ @failures = args[:failures] if args.key?(:failures)
1870
+ @new_failures = args[:new_failures] if args.key?(:new_failures)
1871
+ @new_fixes = args[:new_fixes] if args.key?(:new_fixes)
1872
+ end
1873
+ end
1874
+
1875
+ # The schema of torso workload validation data.
1876
+ class TorsoValidation
1877
+ include Google::Apis::Core::Hashable
1878
+
1879
+ # Required. agent_version lists the version of the agent that collected this
1880
+ # data.
1881
+ # Corresponds to the JSON property `agentVersion`
1882
+ # @return [String]
1883
+ attr_accessor :agent_version
1884
+
1885
+ # Required. instance_name lists the human readable name of the instance that the
1886
+ # data comes from.
1887
+ # Corresponds to the JSON property `instanceName`
1888
+ # @return [String]
1889
+ attr_accessor :instance_name
1890
+
1891
+ # Required. project_id lists the human readable cloud project that the data
1892
+ # comes from.
1893
+ # Corresponds to the JSON property `projectId`
1894
+ # @return [String]
1895
+ attr_accessor :project_id
1896
+
1897
+ # Required. validation_details contains the pairs of validation data: field name
1898
+ # & field value.
1899
+ # Corresponds to the JSON property `validationDetails`
1900
+ # @return [Hash<String,String>]
1901
+ attr_accessor :validation_details
1902
+
1903
+ # Required. workload_type specifies the type of torso workload.
1904
+ # Corresponds to the JSON property `workloadType`
1905
+ # @return [String]
1906
+ attr_accessor :workload_type
2198
1907
 
2199
1908
  def initialize(**args)
2200
1909
  update!(**args)
@@ -2202,7 +1911,11 @@ module Google
2202
1911
 
2203
1912
  # Update properties of this object
2204
1913
  def update!(**args)
2205
- @project_numbers = args[:project_numbers] if args.key?(:project_numbers)
1914
+ @agent_version = args[:agent_version] if args.key?(:agent_version)
1915
+ @instance_name = args[:instance_name] if args.key?(:instance_name)
1916
+ @project_id = args[:project_id] if args.key?(:project_id)
1917
+ @validation_details = args[:validation_details] if args.key?(:validation_details)
1918
+ @workload_type = args[:workload_type] if args.key?(:workload_type)
2206
1919
  end
2207
1920
  end
2208
1921
 
@@ -2289,25 +2002,6 @@ module Google
2289
2002
  def update!(**args)
2290
2003
  end
2291
2004
  end
2292
-
2293
- #
2294
- class ZoneConfiguration
2295
- include Google::Apis::Core::Hashable
2296
-
2297
- #
2298
- # Corresponds to the JSON property `zone`
2299
- # @return [String]
2300
- attr_accessor :zone
2301
-
2302
- def initialize(**args)
2303
- update!(**args)
2304
- end
2305
-
2306
- # Update properties of this object
2307
- def update!(**args)
2308
- @zone = args[:zone] if args.key?(:zone)
2309
- end
2310
- end
2311
2005
  end
2312
2006
  end
2313
2007
  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.26.0"
19
+ GEM_VERSION = "0.28.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 = "20241009"
25
+ REVISION = "20241209"
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,24 +154,6 @@ 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
218
- class Representation < Google::Apis::Core::JsonRepresentation; end
219
-
220
- include Google::Apis::Core::JsonObjectSupport
221
- end
222
-
223
157
  class Resource
224
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
159
 
@@ -346,12 +280,6 @@ module Google
346
280
  include Google::Apis::Core::JsonObjectSupport
347
281
  end
348
282
 
349
- class SpannerLocation
350
- class Representation < Google::Apis::Core::JsonRepresentation; end
351
-
352
- include Google::Apis::Core::JsonObjectSupport
353
- end
354
-
355
283
  class SqlserverValidation
356
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
285
 
@@ -376,31 +304,31 @@ module Google
376
304
  include Google::Apis::Core::JsonObjectSupport
377
305
  end
378
306
 
379
- class TenantProjectProxy
307
+ class Summary
380
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
309
 
382
310
  include Google::Apis::Core::JsonObjectSupport
383
311
  end
384
312
 
385
- class ViolationDetails
313
+ class TorsoValidation
386
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
315
 
388
316
  include Google::Apis::Core::JsonObjectSupport
389
317
  end
390
318
 
391
- class WriteInsightRequest
319
+ class ViolationDetails
392
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
321
 
394
322
  include Google::Apis::Core::JsonObjectSupport
395
323
  end
396
324
 
397
- class WriteInsightResponse
325
+ class WriteInsightRequest
398
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
327
 
400
328
  include Google::Apis::Core::JsonObjectSupport
401
329
  end
402
330
 
403
- class ZoneConfiguration
331
+ class WriteInsightResponse
404
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
333
 
406
334
  include Google::Apis::Core::JsonObjectSupport
@@ -414,21 +342,6 @@ module Google
414
342
  end
415
343
  end
416
344
 
417
- class AssetLocation
418
- # @private
419
- class Representation < Google::Apis::Core::JsonRepresentation
420
- property :ccfe_rms_path, as: 'ccfeRmsPath'
421
- property :expected, as: 'expected', class: Google::Apis::WorkloadmanagerV1::IsolationExpectations, decorator: Google::Apis::WorkloadmanagerV1::IsolationExpectations::Representation
422
-
423
- collection :extra_parameters, as: 'extraParameters', class: Google::Apis::WorkloadmanagerV1::ExtraParameter, decorator: Google::Apis::WorkloadmanagerV1::ExtraParameter::Representation
424
-
425
- collection :location_data, as: 'locationData', class: Google::Apis::WorkloadmanagerV1::LocationData, decorator: Google::Apis::WorkloadmanagerV1::LocationData::Representation
426
-
427
- collection :parent_asset, as: 'parentAsset', class: Google::Apis::WorkloadmanagerV1::CloudAsset, decorator: Google::Apis::WorkloadmanagerV1::CloudAsset::Representation
428
-
429
- end
430
- end
431
-
432
345
  class BigQueryDestination
433
346
  # @private
434
347
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -437,35 +350,12 @@ module Google
437
350
  end
438
351
  end
439
352
 
440
- class BlobstoreLocation
441
- # @private
442
- class Representation < Google::Apis::Core::JsonRepresentation
443
- collection :policy_id, as: 'policyId'
444
- end
445
- end
446
-
447
353
  class CancelOperationRequest
448
354
  # @private
449
355
  class Representation < Google::Apis::Core::JsonRepresentation
450
356
  end
451
357
  end
452
358
 
453
- class CloudAsset
454
- # @private
455
- class Representation < Google::Apis::Core::JsonRepresentation
456
- property :asset_name, as: 'assetName'
457
- property :asset_type, as: 'assetType'
458
- end
459
- end
460
-
461
- class CloudAssetComposition
462
- # @private
463
- class Representation < Google::Apis::Core::JsonRepresentation
464
- collection :child_asset, as: 'childAsset', class: Google::Apis::WorkloadmanagerV1::CloudAsset, decorator: Google::Apis::WorkloadmanagerV1::CloudAsset::Representation
465
-
466
- end
467
- end
468
-
469
359
  class Command
470
360
  # @private
471
361
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -476,14 +366,6 @@ module Google
476
366
  end
477
367
  end
478
368
 
479
- class DirectLocationAssignment
480
- # @private
481
- class Representation < Google::Apis::Core::JsonRepresentation
482
- collection :location, as: 'location', class: Google::Apis::WorkloadmanagerV1::LocationAssignment, decorator: Google::Apis::WorkloadmanagerV1::LocationAssignment::Representation
483
-
484
- end
485
- end
486
-
487
369
  class Empty
488
370
  # @private
489
371
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -498,6 +380,7 @@ module Google
498
380
  property :create_time, as: 'createTime'
499
381
  property :custom_rules_bucket, as: 'customRulesBucket'
500
382
  property :description, as: 'description'
383
+ property :evaluation_type, as: 'evaluationType'
501
384
  hash :labels, as: 'labels'
502
385
  property :name, as: 'name'
503
386
  property :resource_filter, as: 'resourceFilter', class: Google::Apis::WorkloadmanagerV1::ResourceFilter, decorator: Google::Apis::WorkloadmanagerV1::ResourceFilter::Representation
@@ -521,6 +404,10 @@ module Google
521
404
  property :inventory_time, as: 'inventoryTime'
522
405
  hash :labels, as: 'labels'
523
406
  property :name, as: 'name'
407
+ collection :notices, as: 'notices', class: Google::Apis::WorkloadmanagerV1::Notice, decorator: Google::Apis::WorkloadmanagerV1::Notice::Representation
408
+
409
+ property :result_summary, as: 'resultSummary', class: Google::Apis::WorkloadmanagerV1::Summary, decorator: Google::Apis::WorkloadmanagerV1::Summary::Representation
410
+
524
411
  collection :rule_results, as: 'ruleResults', class: Google::Apis::WorkloadmanagerV1::RuleExecutionResult, decorator: Google::Apis::WorkloadmanagerV1::RuleExecutionResult::Representation
525
412
 
526
413
  property :run_type, as: 'runType'
@@ -556,14 +443,6 @@ module Google
556
443
  end
557
444
  end
558
445
 
559
- class ExtraParameter
560
- # @private
561
- class Representation < Google::Apis::Core::JsonRepresentation
562
- property :regional_mig_distribution_policy, as: 'regionalMigDistributionPolicy', class: Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy, decorator: Google::Apis::WorkloadmanagerV1::RegionalMigDistributionPolicy::Representation
563
-
564
- end
565
- end
566
-
567
446
  class GceInstanceFilter
568
447
  # @private
569
448
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -582,21 +461,8 @@ module Google
582
461
  property :sent_time, as: 'sentTime'
583
462
  property :sqlserver_validation, as: 'sqlserverValidation', class: Google::Apis::WorkloadmanagerV1::SqlserverValidation, decorator: Google::Apis::WorkloadmanagerV1::SqlserverValidation::Representation
584
463
 
585
- end
586
- end
464
+ property :torso_validation, as: 'torsoValidation', class: Google::Apis::WorkloadmanagerV1::TorsoValidation, decorator: Google::Apis::WorkloadmanagerV1::TorsoValidation::Representation
587
465
 
588
- class IsolationExpectations
589
- # @private
590
- class Representation < Google::Apis::Core::JsonRepresentation
591
- property :requirement_override, as: 'requirementOverride', class: Google::Apis::WorkloadmanagerV1::RequirementOverride, decorator: Google::Apis::WorkloadmanagerV1::RequirementOverride::Representation
592
-
593
- property :zi_org_policy, as: 'ziOrgPolicy'
594
- property :zi_region_policy, as: 'ziRegionPolicy'
595
- property :zi_region_state, as: 'ziRegionState'
596
- property :zone_isolation, as: 'zoneIsolation'
597
- property :zone_separation, as: 'zoneSeparation'
598
- property :zs_org_policy, as: 'zsOrgPolicy'
599
- property :zs_region_state, as: 'zsRegionState'
600
466
  end
601
467
  end
602
468
 
@@ -676,29 +542,10 @@ module Google
676
542
  end
677
543
  end
678
544
 
679
- class LocationAssignment
545
+ class Notice
680
546
  # @private
681
547
  class Representation < Google::Apis::Core::JsonRepresentation
682
- property :location, as: 'location'
683
- property :location_type, as: 'locationType'
684
- end
685
- end
686
-
687
- class LocationData
688
- # @private
689
- class Representation < Google::Apis::Core::JsonRepresentation
690
- property :blobstore_location, as: 'blobstoreLocation', class: Google::Apis::WorkloadmanagerV1::BlobstoreLocation, decorator: Google::Apis::WorkloadmanagerV1::BlobstoreLocation::Representation
691
-
692
- property :child_asset_location, as: 'childAssetLocation', class: Google::Apis::WorkloadmanagerV1::CloudAssetComposition, decorator: Google::Apis::WorkloadmanagerV1::CloudAssetComposition::Representation
693
-
694
- property :direct_location, as: 'directLocation', class: Google::Apis::WorkloadmanagerV1::DirectLocationAssignment, decorator: Google::Apis::WorkloadmanagerV1::DirectLocationAssignment::Representation
695
-
696
- property :gcp_project_proxy, as: 'gcpProjectProxy', class: Google::Apis::WorkloadmanagerV1::TenantProjectProxy, decorator: Google::Apis::WorkloadmanagerV1::TenantProjectProxy::Representation
697
-
698
- property :placer_location, as: 'placerLocation', class: Google::Apis::WorkloadmanagerV1::PlacerLocation, decorator: Google::Apis::WorkloadmanagerV1::PlacerLocation::Representation
699
-
700
- property :spanner_location, as: 'spannerLocation', class: Google::Apis::WorkloadmanagerV1::SpannerLocation, decorator: Google::Apis::WorkloadmanagerV1::SpannerLocation::Representation
701
-
548
+ property :message, as: 'message'
702
549
  end
703
550
  end
704
551
 
@@ -727,30 +574,6 @@ module Google
727
574
  end
728
575
  end
729
576
 
730
- class PlacerLocation
731
- # @private
732
- class Representation < Google::Apis::Core::JsonRepresentation
733
- property :placer_config, as: 'placerConfig'
734
- end
735
- end
736
-
737
- class RegionalMigDistributionPolicy
738
- # @private
739
- class Representation < Google::Apis::Core::JsonRepresentation
740
- property :target_shape, as: 'targetShape'
741
- collection :zones, as: 'zones', class: Google::Apis::WorkloadmanagerV1::ZoneConfiguration, decorator: Google::Apis::WorkloadmanagerV1::ZoneConfiguration::Representation
742
-
743
- end
744
- end
745
-
746
- class RequirementOverride
747
- # @private
748
- class Representation < Google::Apis::Core::JsonRepresentation
749
- property :zi_override, as: 'ziOverride'
750
- property :zs_override, as: 'zsOverride'
751
- end
752
- end
753
-
754
577
  class Resource
755
578
  # @private
756
579
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -986,14 +809,6 @@ module Google
986
809
  end
987
810
  end
988
811
 
989
- class SpannerLocation
990
- # @private
991
- class Representation < Google::Apis::Core::JsonRepresentation
992
- collection :backup_name, as: 'backupName'
993
- collection :db_name, as: 'dbName'
994
- end
995
- end
996
-
997
812
  class SqlserverValidation
998
813
  # @private
999
814
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1030,10 +845,23 @@ module Google
1030
845
  end
1031
846
  end
1032
847
 
1033
- class TenantProjectProxy
848
+ class Summary
1034
849
  # @private
1035
850
  class Representation < Google::Apis::Core::JsonRepresentation
1036
- collection :project_numbers, as: 'projectNumbers'
851
+ property :failures, :numeric_string => true, as: 'failures'
852
+ property :new_failures, :numeric_string => true, as: 'newFailures'
853
+ property :new_fixes, :numeric_string => true, as: 'newFixes'
854
+ end
855
+ end
856
+
857
+ class TorsoValidation
858
+ # @private
859
+ class Representation < Google::Apis::Core::JsonRepresentation
860
+ property :agent_version, as: 'agentVersion'
861
+ property :instance_name, as: 'instanceName'
862
+ property :project_id, as: 'projectId'
863
+ hash :validation_details, as: 'validationDetails'
864
+ property :workload_type, as: 'workloadType'
1037
865
  end
1038
866
  end
1039
867
 
@@ -1061,13 +889,6 @@ module Google
1061
889
  class Representation < Google::Apis::Core::JsonRepresentation
1062
890
  end
1063
891
  end
1064
-
1065
- class ZoneConfiguration
1066
- # @private
1067
- class Representation < Google::Apis::Core::JsonRepresentation
1068
- property :zone, as: 'zone'
1069
- end
1070
- end
1071
892
  end
1072
893
  end
1073
894
  end
@@ -570,8 +570,8 @@ module Google
570
570
  # Clients can use Operations.GetOperation or other methods to check whether the
571
571
  # cancellation succeeded or whether the operation completed despite cancellation.
572
572
  # On successful cancellation, the operation is not deleted; instead, it becomes
573
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
574
- # corresponding to `Code.CANCELLED`.
573
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
574
+ # , corresponding to `Code.CANCELLED`.
575
575
  # @param [String] name
576
576
  # The name of the operation resource to be cancelled.
577
577
  # @param [Google::Apis::WorkloadmanagerV1::CancelOperationRequest] cancel_operation_request_object
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.26.0
4
+ version: 0.28.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-27 00:00:00.000000000 Z
11
+ date: 2024-12-15 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.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.28.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: []
@@ -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.21
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Workload Manager API V1