google-apis-workloadmanager_v1 0.50.0 → 0.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e316e06dc0039dcc1e3f1be69bff09fb1e3fceff31fe72c48159e1e68248d07
4
- data.tar.gz: b79a3042bd313e3d06f1d1ff9707ab888cf9628d27c3029021b9015035845c83
3
+ metadata.gz: afe706b99d79f83c7831a5bd4fed3e263f2f9e74832577b8d56c0ccaa0de5b1d
4
+ data.tar.gz: 3ae833b7b698a4dd78c576148386b5d53559a9fe959abf450edae21522714bef
5
5
  SHA512:
6
- metadata.gz: ed75ecf283420e9b661af568465acefb6fe4a82f742561c0f10ac40f357b9ceea8ede96fb1381d784751cea23ab7303eaa54ef4cd4dc866a30933da3dca624dd
7
- data.tar.gz: 109c5fb72d8d994f35c12ee1357683f2c8d59e91995972fba6a09c02507a9bad8f806eda1d54e152395101a8299597868727194702b7dcfaffc1eccaebaef68e
6
+ metadata.gz: 55e0b128f354f7a9f0cb51ea98d30d2da91ef731508b129e8996c871767317e8bbb1b535e9096255df2a0e498647961489cbf6396a05c97ce2237c52af992bc2
7
+ data.tar.gz: bd6609965f4bc65b73f6828e0265202b1b43047e02bdf4571864f22c5946e00d28654ead63b9bc59db41cdfab707cf9bba15ee077e2f2fd672e7798458e511cb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.51.0 (2026-03-15)
4
+
5
+ * Regenerated from discovery document revision 20260217
6
+
3
7
  ### v0.50.0 (2026-02-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20260204
@@ -193,17 +193,17 @@ module Google
193
193
  end
194
194
  end
195
195
 
196
- # * An AgentCommand specifies a one-time executable program for the agent to run.
196
+ # An AgentCommand specifies a one-time executable program for the agent to run.
197
197
  class AgentCommand
198
198
  include Google::Apis::Core::Hashable
199
199
 
200
- # command is the name of the agent one-time executable that will be invoked.
200
+ # The name of the agent one-time executable that will be invoked.
201
201
  # Corresponds to the JSON property `command`
202
202
  # @return [String]
203
203
  attr_accessor :command
204
204
 
205
- # parameters is a map of key/value pairs that can be used to specify additional
206
- # one-time executable settings.
205
+ # A map of key/value pairs that can be used to specify additional one-time
206
+ # executable settings.
207
207
  # Corresponds to the JSON property `parameters`
208
208
  # @return [Hash<String,String>]
209
209
  attr_accessor :parameters
@@ -635,17 +635,18 @@ module Google
635
635
  end
636
636
  end
637
637
 
638
- # Message describing big query destination
638
+ # BigQuery destination for evaluation results.
639
639
  class BigQueryDestination
640
640
  include Google::Apis::Core::Hashable
641
641
 
642
- # Optional. determine if results will be saved in a new table
642
+ # Optional. Determines if a new results table will be created when an Execution
643
+ # is created.
643
644
  # Corresponds to the JSON property `createNewResultsTable`
644
645
  # @return [Boolean]
645
646
  attr_accessor :create_new_results_table
646
647
  alias_method :create_new_results_table?, :create_new_results_table
647
648
 
648
- # Optional. destination dataset to save evaluation results
649
+ # Optional. Destination dataset to save evaluation results.
649
650
  # Corresponds to the JSON property `destinationDataset`
650
651
  # @return [String]
651
652
  attr_accessor :destination_dataset
@@ -706,16 +707,16 @@ module Google
706
707
  end
707
708
  end
708
709
 
709
- # * Command specifies the type of command to execute.
710
+ # Command specifies the type of command to execute.
710
711
  class Command
711
712
  include Google::Apis::Core::Hashable
712
713
 
713
- # * An AgentCommand specifies a one-time executable program for the agent to run.
714
+ # An AgentCommand specifies a one-time executable program for the agent to run.
714
715
  # Corresponds to the JSON property `agentCommand`
715
716
  # @return [Google::Apis::WorkloadmanagerV1::AgentCommand]
716
717
  attr_accessor :agent_command
717
718
 
718
- # * A ShellCommand is invoked via the agent's command line executor
719
+ # A ShellCommand is invoked via the agent's command line executor.
719
720
  # Corresponds to the JSON property `shellCommand`
720
721
  # @return [Google::Apis::WorkloadmanagerV1::ShellCommand]
721
722
  attr_accessor :shell_command
@@ -1081,16 +1082,17 @@ module Google
1081
1082
  end
1082
1083
  end
1083
1084
 
1084
- # Message describing Evaluation object
1085
+ # Represents a Workload Manager Evaluation configuration. An Evaluation defines
1086
+ # a set of rules to be validated against a scope of Cloud resources.
1085
1087
  class Evaluation
1086
1088
  include Google::Apis::Core::Hashable
1087
1089
 
1088
- # Message describing big query destination
1090
+ # BigQuery destination for evaluation results.
1089
1091
  # Corresponds to the JSON property `bigQueryDestination`
1090
1092
  # @return [Google::Apis::WorkloadmanagerV1::BigQueryDestination]
1091
1093
  attr_accessor :big_query_destination
1092
1094
 
1093
- # Output only. [Output only] Create time stamp
1095
+ # Output only. [Output only] Create time stamp.
1094
1096
  # Corresponds to the JSON property `createTime`
1095
1097
  # @return [String]
1096
1098
  attr_accessor :create_time
@@ -1100,61 +1102,59 @@ module Google
1100
1102
  # @return [String]
1101
1103
  attr_accessor :custom_rules_bucket
1102
1104
 
1103
- # Description of the Evaluation
1105
+ # Description of the Evaluation.
1104
1106
  # Corresponds to the JSON property `description`
1105
1107
  # @return [String]
1106
1108
  attr_accessor :description
1107
1109
 
1108
- # Evaluation type
1110
+ # Evaluation type.
1109
1111
  # Corresponds to the JSON property `evaluationType`
1110
1112
  # @return [String]
1111
1113
  attr_accessor :evaluation_type
1112
1114
 
1113
1115
  # Optional. Immutable. Customer-managed encryption key name, in the format
1114
- # projects/*/locations/*/keyRings/*/cryptoKeys/*.
1116
+ # projects/*/locations/*/keyRings/*/cryptoKeys/*. The key will be used for CMEK
1117
+ # encryption of the evaluation resource.
1115
1118
  # Corresponds to the JSON property `kmsKey`
1116
1119
  # @return [String]
1117
1120
  attr_accessor :kms_key
1118
1121
 
1119
- # Labels as key value pairs
1122
+ # Labels as key value pairs.
1120
1123
  # Corresponds to the JSON property `labels`
1121
1124
  # @return [Hash<String,String>]
1122
1125
  attr_accessor :labels
1123
1126
 
1124
- # name of resource names have the form 'projects/`project_id`/locations/`
1125
- # location_id`/evaluations/`evaluation_id`'
1127
+ # Name of resource that has the form `projects/`project_id`/locations/`
1128
+ # location_id`/evaluations/`evaluation_id``.
1126
1129
  # Corresponds to the JSON property `name`
1127
1130
  # @return [String]
1128
1131
  attr_accessor :name
1129
1132
 
1130
- # Message describing resource filters
1133
+ # Resource filter for an evaluation defining the scope of resources to be
1134
+ # evaluated.
1131
1135
  # Corresponds to the JSON property `resourceFilter`
1132
1136
  # @return [Google::Apis::WorkloadmanagerV1::ResourceFilter]
1133
1137
  attr_accessor :resource_filter
1134
1138
 
1135
- # Message describing resource status
1139
+ # The lifecycle status of an Evaluation resource.
1136
1140
  # Corresponds to the JSON property `resourceStatus`
1137
1141
  # @return [Google::Apis::WorkloadmanagerV1::ResourceStatus]
1138
1142
  attr_accessor :resource_status
1139
1143
 
1140
- # the name of the rule
1144
+ # The names of the rules used for this evaluation.
1141
1145
  # Corresponds to the JSON property `ruleNames`
1142
1146
  # @return [Array<String>]
1143
1147
  attr_accessor :rule_names
1144
1148
 
1145
- # Output only. [Output only] The updated rule ids if exist.
1146
- # Corresponds to the JSON property `ruleVersions`
1147
- # @return [Array<String>]
1148
- attr_accessor :rule_versions
1149
-
1150
- # crontab format schedule for scheduled evaluation, currently only support the
1151
- # following schedule: "0 */1 * * *", "0 */6 * * *", "0 */12 * * *", "0 0 */1 * *"
1152
- # , "0 0 */7 * *",
1149
+ # Crontab format schedule for scheduled evaluation, currently only supports the
1150
+ # following fixed schedules: * `0 */1 * * *` # Hourly * `0 */6 * * *` # Every 6
1151
+ # hours * `0 */12 * * *` # Every 12 hours * `0 0 */1 * *` # Daily * `0 0 */7 * *`
1152
+ # # Weekly * `0 0 */14 * *` # Every 14 days * `0 0 1 */1 *` # Monthly
1153
1153
  # Corresponds to the JSON property `schedule`
1154
1154
  # @return [String]
1155
1155
  attr_accessor :schedule
1156
1156
 
1157
- # Output only. [Output only] Update time stamp
1157
+ # Output only. [Output only] Update time stamp.
1158
1158
  # Corresponds to the JSON property `updateTime`
1159
1159
  # @return [String]
1160
1160
  attr_accessor :update_time
@@ -1176,79 +1176,78 @@ module Google
1176
1176
  @resource_filter = args[:resource_filter] if args.key?(:resource_filter)
1177
1177
  @resource_status = args[:resource_status] if args.key?(:resource_status)
1178
1178
  @rule_names = args[:rule_names] if args.key?(:rule_names)
1179
- @rule_versions = args[:rule_versions] if args.key?(:rule_versions)
1180
1179
  @schedule = args[:schedule] if args.key?(:schedule)
1181
1180
  @update_time = args[:update_time] if args.key?(:update_time)
1182
1181
  end
1183
1182
  end
1184
1183
 
1185
- # Message describing Execution object
1184
+ # Execution that represents a single run of an Evaluation.
1186
1185
  class Execution
1187
1186
  include Google::Apis::Core::Hashable
1188
1187
 
1189
- # Output only. [Output only] End time stamp
1188
+ # Output only. [Output only] End time stamp.
1190
1189
  # Corresponds to the JSON property `endTime`
1191
1190
  # @return [String]
1192
1191
  attr_accessor :end_time
1193
1192
 
1194
- # Optional. Engine
1193
+ # Optional. Engine.
1195
1194
  # Corresponds to the JSON property `engine`
1196
1195
  # @return [String]
1197
1196
  attr_accessor :engine
1198
1197
 
1199
- # Output only. [Output only] Evaluation ID
1198
+ # Output only. [Output only] Evaluation ID.
1200
1199
  # Corresponds to the JSON property `evaluationId`
1201
1200
  # @return [String]
1202
1201
  attr_accessor :evaluation_id
1203
1202
 
1204
- # Optional. External data sources
1203
+ # Optional. External data sources.
1205
1204
  # Corresponds to the JSON property `externalDataSources`
1206
1205
  # @return [Array<Google::Apis::WorkloadmanagerV1::ExternalDataSources>]
1207
1206
  attr_accessor :external_data_sources
1208
1207
 
1209
- # Output only. [Output only] Inventory time stamp
1208
+ # Output only. [Output only] Inventory time stamp.
1210
1209
  # Corresponds to the JSON property `inventoryTime`
1211
1210
  # @return [String]
1212
1211
  attr_accessor :inventory_time
1213
1212
 
1214
- # Labels as key value pairs
1213
+ # Labels as key value pairs.
1215
1214
  # Corresponds to the JSON property `labels`
1216
1215
  # @return [Hash<String,String>]
1217
1216
  attr_accessor :labels
1218
1217
 
1219
1218
  # The name of execution resource. The format is projects/`project`/locations/`
1220
- # location`/evaluations/`evaluation`/executions/`execution`
1219
+ # location`/evaluations/`evaluation`/executions/`execution`.
1221
1220
  # Corresponds to the JSON property `name`
1222
1221
  # @return [String]
1223
1222
  attr_accessor :name
1224
1223
 
1225
- # Output only. Additional information generated by the execution
1224
+ # Output only. Additional information generated by the execution.
1226
1225
  # Corresponds to the JSON property `notices`
1227
1226
  # @return [Array<Google::Apis::WorkloadmanagerV1::Notice>]
1228
1227
  attr_accessor :notices
1229
1228
 
1230
- # Message for execution summary
1229
+ # Execution summary.
1231
1230
  # Corresponds to the JSON property `resultSummary`
1232
1231
  # @return [Google::Apis::WorkloadmanagerV1::Summary]
1233
1232
  attr_accessor :result_summary
1234
1233
 
1235
- # Output only. execution result summary per rule
1234
+ # Output only. Execution result summary per rule.
1236
1235
  # Corresponds to the JSON property `ruleResults`
1237
1236
  # @return [Array<Google::Apis::WorkloadmanagerV1::RuleExecutionResult>]
1238
1237
  attr_accessor :rule_results
1239
1238
 
1240
- # type represent whether the execution executed directly by user or scheduled
1241
- # according evaluation.schedule field.
1239
+ # Type which represents whether the execution executed directly by user or
1240
+ # scheduled according to the `Evaluation.schedule` field.
1242
1241
  # Corresponds to the JSON property `runType`
1243
1242
  # @return [String]
1244
1243
  attr_accessor :run_type
1245
1244
 
1246
- # Output only. [Output only] Start time stamp
1245
+ # Output only. [Output only] Start time stamp.
1247
1246
  # Corresponds to the JSON property `startTime`
1248
1247
  # @return [String]
1249
1248
  attr_accessor :start_time
1250
1249
 
1251
- # Output only. [Output only] State
1250
+ # Output only. [Output only] State.
1252
1251
  # Corresponds to the JSON property `state`
1253
1252
  # @return [String]
1254
1253
  attr_accessor :state
@@ -1275,7 +1274,7 @@ module Google
1275
1274
  end
1276
1275
  end
1277
1276
 
1278
- # Message describing the result of an execution
1277
+ # The result of an execution.
1279
1278
  class ExecutionResult
1280
1279
  include Google::Apis::Core::Hashable
1281
1280
 
@@ -1289,7 +1288,7 @@ module Google
1289
1288
  # @return [String]
1290
1289
  attr_accessor :documentation_url
1291
1290
 
1292
- # Message represent resource in execution result
1291
+ # Resource in execution result.
1293
1292
  # Corresponds to the JSON property `resource`
1294
1293
  # @return [Google::Apis::WorkloadmanagerV1::Resource]
1295
1294
  attr_accessor :resource
@@ -1304,12 +1303,12 @@ module Google
1304
1303
  # @return [String]
1305
1304
  attr_accessor :severity
1306
1305
 
1307
- # Execution result type of the scanned resource
1306
+ # Execution result type of the scanned resource.
1308
1307
  # Corresponds to the JSON property `type`
1309
1308
  # @return [String]
1310
1309
  attr_accessor :type
1311
1310
 
1312
- # Message describing the violation in an evaluation result.
1311
+ # The violation in an evaluation result.
1313
1312
  # Corresponds to the JSON property `violationDetails`
1314
1313
  # @return [Google::Apis::WorkloadmanagerV1::ViolationDetails]
1315
1314
  attr_accessor :violation_details
@@ -1336,7 +1335,7 @@ module Google
1336
1335
  end
1337
1336
  end
1338
1337
 
1339
- # Message for external data sources
1338
+ # External data sources for an execution.
1340
1339
  class ExternalDataSources
1341
1340
  include Google::Apis::Core::Hashable
1342
1341
 
@@ -1349,18 +1348,18 @@ module Google
1349
1348
  attr_accessor :asset_type
1350
1349
 
1351
1350
  # Optional. Name of external data source. The name will be used inside the rego/
1352
- # sql to refer the external data
1351
+ # sql to refer the external data.
1353
1352
  # Corresponds to the JSON property `name`
1354
1353
  # @return [String]
1355
1354
  attr_accessor :name
1356
1355
 
1357
- # Required. Type of external data source
1356
+ # Required. Type of external data source.
1358
1357
  # Corresponds to the JSON property `type`
1359
1358
  # @return [String]
1360
1359
  attr_accessor :type
1361
1360
 
1362
1361
  # Required. URI of external data source. example of bq table `project_ID`.`
1363
- # dataset_ID`.`table_ID`
1362
+ # dataset_ID`.`table_ID`.
1364
1363
  # Corresponds to the JSON property `uri`
1365
1364
  # @return [String]
1366
1365
  attr_accessor :uri
@@ -1378,11 +1377,12 @@ module Google
1378
1377
  end
1379
1378
  end
1380
1379
 
1381
- # Message describing compute engine instance filter
1380
+ # A filter for matching Compute Engine instances.
1382
1381
  class GceInstanceFilter
1383
1382
  include Google::Apis::Core::Hashable
1384
1383
 
1385
- # Service account of compute engine
1384
+ # If non-empty, only Compute Engine instances associated with at least one of
1385
+ # the provided service accounts will be included in the evaluation.
1386
1386
  # Corresponds to the JSON property `serviceAccounts`
1387
1387
  # @return [Array<String>]
1388
1388
  attr_accessor :service_accounts
@@ -1579,62 +1579,6 @@ module Google
1579
1579
  end
1580
1580
  end
1581
1581
 
1582
- # Message represent an rule that failed to be validated.
1583
- class InvalidRule
1584
- include Google::Apis::Core::Hashable
1585
-
1586
- # display name of the invalid rule
1587
- # Corresponds to the JSON property `displayName`
1588
- # @return [String]
1589
- attr_accessor :display_name
1590
-
1591
- # cloud storage destination of the invalid rule
1592
- # Corresponds to the JSON property `gcsUri`
1593
- # @return [String]
1594
- attr_accessor :gcs_uri
1595
-
1596
- # name of the invalid rule
1597
- # Corresponds to the JSON property `name`
1598
- # @return [String]
1599
- attr_accessor :name
1600
-
1601
- # The error message of valdating rule formats.
1602
- # Corresponds to the JSON property `valiadtionError`
1603
- # @return [String]
1604
- attr_accessor :valiadtion_error
1605
-
1606
- def initialize(**args)
1607
- update!(**args)
1608
- end
1609
-
1610
- # Update properties of this object
1611
- def update!(**args)
1612
- @display_name = args[:display_name] if args.key?(:display_name)
1613
- @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
1614
- @name = args[:name] if args.key?(:name)
1615
- @valiadtion_error = args[:valiadtion_error] if args.key?(:valiadtion_error)
1616
- end
1617
- end
1618
-
1619
- # Message wrappes a list of invalid rules.
1620
- class InvalidRulesWrapper
1621
- include Google::Apis::Core::Hashable
1622
-
1623
- # The invalid rules that failed to be validated.
1624
- # Corresponds to the JSON property `invalidRules`
1625
- # @return [Array<Google::Apis::WorkloadmanagerV1::InvalidRule>]
1626
- attr_accessor :invalid_rules
1627
-
1628
- def initialize(**args)
1629
- update!(**args)
1630
- end
1631
-
1632
- # Update properties of this object
1633
- def update!(**args)
1634
- @invalid_rules = args[:invalid_rules] if args.key?(:invalid_rules)
1635
- end
1636
- end
1637
-
1638
1582
  # The response object from `ListActuations`.
1639
1583
  class ListActuationsResponse
1640
1584
  include Google::Apis::Core::Hashable
@@ -1729,11 +1673,11 @@ module Google
1729
1673
  end
1730
1674
  end
1731
1675
 
1732
- # Message for response to listing Evaluations
1676
+ # Response message for the ListEvaluations RPC.
1733
1677
  class ListEvaluationsResponse
1734
1678
  include Google::Apis::Core::Hashable
1735
1679
 
1736
- # The list of Evaluation
1680
+ # The list of evaluations.
1737
1681
  # Corresponds to the JSON property `evaluations`
1738
1682
  # @return [Array<Google::Apis::WorkloadmanagerV1::Evaluation>]
1739
1683
  attr_accessor :evaluations
@@ -1760,7 +1704,7 @@ module Google
1760
1704
  end
1761
1705
  end
1762
1706
 
1763
- # Message for response of list execution results
1707
+ # Response message for the ListExecutionResults RPC.
1764
1708
  class ListExecutionResultsResponse
1765
1709
  include Google::Apis::Core::Hashable
1766
1710
 
@@ -1786,11 +1730,11 @@ module Google
1786
1730
  end
1787
1731
  end
1788
1732
 
1789
- # Message for response to listing Executions
1733
+ # Response message for the ListExecutions RPC.
1790
1734
  class ListExecutionsResponse
1791
1735
  include Google::Apis::Core::Hashable
1792
1736
 
1793
- # The list of Execution
1737
+ # The list of Execution.
1794
1738
  # Corresponds to the JSON property `executions`
1795
1739
  # @return [Array<Google::Apis::WorkloadmanagerV1::Execution>]
1796
1740
  attr_accessor :executions
@@ -1876,16 +1820,11 @@ module Google
1876
1820
  end
1877
1821
  end
1878
1822
 
1879
- # Mesesage of response of list rules
1823
+ # Response message for the ListRules RPC.
1880
1824
  class ListRulesResponse
1881
1825
  include Google::Apis::Core::Hashable
1882
1826
 
1883
- # Message wrappes a list of invalid rules.
1884
- # Corresponds to the JSON property `invalidRulesWrapper`
1885
- # @return [Google::Apis::WorkloadmanagerV1::InvalidRulesWrapper]
1886
- attr_accessor :invalid_rules_wrapper
1887
-
1888
- # all rules in response
1827
+ # All rules in response.
1889
1828
  # Corresponds to the JSON property `rules`
1890
1829
  # @return [Array<Google::Apis::WorkloadmanagerV1::Rule>]
1891
1830
  attr_accessor :rules
@@ -1896,12 +1835,11 @@ module Google
1896
1835
 
1897
1836
  # Update properties of this object
1898
1837
  def update!(**args)
1899
- @invalid_rules_wrapper = args[:invalid_rules_wrapper] if args.key?(:invalid_rules_wrapper)
1900
1838
  @rules = args[:rules] if args.key?(:rules)
1901
1839
  end
1902
1840
  end
1903
1841
 
1904
- # Message for response to list scanned resources
1842
+ # Response message for the ListScannedResources RPC.
1905
1843
  class ListScannedResourcesResponse
1906
1844
  include Google::Apis::Core::Hashable
1907
1845
 
@@ -1911,7 +1849,7 @@ module Google
1911
1849
  # @return [String]
1912
1850
  attr_accessor :next_page_token
1913
1851
 
1914
- # All scanned resources in response
1852
+ # All scanned resources in response.
1915
1853
  # Corresponds to the JSON property `scannedResources`
1916
1854
  # @return [Array<Google::Apis::WorkloadmanagerV1::ScannedResource>]
1917
1855
  attr_accessor :scanned_resources
@@ -2063,11 +2001,11 @@ module Google
2063
2001
  end
2064
2002
  end
2065
2003
 
2066
- # Message for additional information generated by the execution
2004
+ # Additional information generated by an execution.
2067
2005
  class Notice
2068
2006
  include Google::Apis::Core::Hashable
2069
2007
 
2070
- # Output only. Message of the notice
2008
+ # Output only. Message of the notice.
2071
2009
  # Corresponds to the JSON property `message`
2072
2010
  # @return [String]
2073
2011
  attr_accessor :message
@@ -2303,7 +2241,7 @@ module Google
2303
2241
  end
2304
2242
  end
2305
2243
 
2306
- # Message represent resource in execution result
2244
+ # Resource in execution result.
2307
2245
  class Resource
2308
2246
  include Google::Apis::Core::Hashable
2309
2247
 
@@ -2334,26 +2272,32 @@ module Google
2334
2272
  end
2335
2273
  end
2336
2274
 
2337
- # Message describing resource filters
2275
+ # Resource filter for an evaluation defining the scope of resources to be
2276
+ # evaluated.
2338
2277
  class ResourceFilter
2339
2278
  include Google::Apis::Core::Hashable
2340
2279
 
2341
- # Message describing compute engine instance filter
2280
+ # A filter for matching Compute Engine instances.
2342
2281
  # Corresponds to the JSON property `gceInstanceFilter`
2343
2282
  # @return [Google::Apis::WorkloadmanagerV1::GceInstanceFilter]
2344
2283
  attr_accessor :gce_instance_filter
2345
2284
 
2346
- # The label used for filter resource
2285
+ # Labels to filter resources by. Each key-value pair in the map must exist on
2286
+ # the resource for it to be included (e.g. VM instance labels). For example,
2287
+ # specifying `` "env": "prod", "database": "nosql" `` will only include
2288
+ # resources that have labels `env=prod` and `database=nosql`.
2347
2289
  # Corresponds to the JSON property `inclusionLabels`
2348
2290
  # @return [Hash<String,String>]
2349
2291
  attr_accessor :inclusion_labels
2350
2292
 
2351
- # The id pattern for filter resource
2293
+ # The pattern to filter resources by their id For example, a pattern of ".*prod-
2294
+ # cluster.*" will match all resources that contain "prod-cluster" in their ID.
2352
2295
  # Corresponds to the JSON property `resourceIdPatterns`
2353
2296
  # @return [Array<String>]
2354
2297
  attr_accessor :resource_id_patterns
2355
2298
 
2356
- # The scopes of evaluation resource
2299
+ # The scopes of evaluation resource. Format: * `projects/`project_id`` * `
2300
+ # folders/`folder_id`` * `organizations/`organization_id``
2357
2301
  # Corresponds to the JSON property `scopes`
2358
2302
  # @return [Array<String>]
2359
2303
  attr_accessor :scopes
@@ -2371,16 +2315,11 @@ module Google
2371
2315
  end
2372
2316
  end
2373
2317
 
2374
- # Message describing resource status
2318
+ # The lifecycle status of an Evaluation resource.
2375
2319
  class ResourceStatus
2376
2320
  include Google::Apis::Core::Hashable
2377
2321
 
2378
- # Historical: Used before 2023-05-22 the new version of rule id if exists
2379
- # Corresponds to the JSON property `rulesNewerVersions`
2380
- # @return [Array<String>]
2381
- attr_accessor :rules_newer_versions
2382
-
2383
- # State of the resource
2322
+ # State of the Evaluation resource.
2384
2323
  # Corresponds to the JSON property `state`
2385
2324
  # @return [String]
2386
2325
  attr_accessor :state
@@ -2391,12 +2330,11 @@ module Google
2391
2330
 
2392
2331
  # Update properties of this object
2393
2332
  def update!(**args)
2394
- @rules_newer_versions = args[:rules_newer_versions] if args.key?(:rules_newer_versions)
2395
2333
  @state = args[:state] if args.key?(:state)
2396
2334
  end
2397
2335
  end
2398
2336
 
2399
- # Message represent a rule
2337
+ # A rule to be evaluated.
2400
2338
  class Rule
2401
2339
  include Google::Apis::Core::Hashable
2402
2340
 
@@ -2406,37 +2344,37 @@ module Google
2406
2344
  # @return [String]
2407
2345
  attr_accessor :asset_type
2408
2346
 
2409
- # descrite rule in plain language
2347
+ # Describe rule in plain language.
2410
2348
  # Corresponds to the JSON property `description`
2411
2349
  # @return [String]
2412
2350
  attr_accessor :description
2413
2351
 
2414
- # the name display in UI
2352
+ # The name display in UI.
2415
2353
  # Corresponds to the JSON property `displayName`
2416
2354
  # @return [String]
2417
2355
  attr_accessor :display_name
2418
2356
 
2419
- # the message template for rule
2357
+ # The message template for rule.
2420
2358
  # Corresponds to the JSON property `errorMessage`
2421
2359
  # @return [String]
2422
2360
  attr_accessor :error_message
2423
2361
 
2424
- # rule name
2362
+ # Rule name.
2425
2363
  # Corresponds to the JSON property `name`
2426
2364
  # @return [String]
2427
2365
  attr_accessor :name
2428
2366
 
2429
- # the primary category
2367
+ # The primary category.
2430
2368
  # Corresponds to the JSON property `primaryCategory`
2431
2369
  # @return [String]
2432
2370
  attr_accessor :primary_category
2433
2371
 
2434
- # the remediation for the rule
2372
+ # The remediation for the rule.
2435
2373
  # Corresponds to the JSON property `remediation`
2436
2374
  # @return [String]
2437
2375
  attr_accessor :remediation
2438
2376
 
2439
- # Output only. the version of the rule
2377
+ # Output only. The version of the rule.
2440
2378
  # Corresponds to the JSON property `revisionId`
2441
2379
  # @return [String]
2442
2380
  attr_accessor :revision_id
@@ -2446,22 +2384,22 @@ module Google
2446
2384
  # @return [String]
2447
2385
  attr_accessor :rule_type
2448
2386
 
2449
- # the secondary category
2387
+ # The secondary category.
2450
2388
  # Corresponds to the JSON property `secondaryCategory`
2451
2389
  # @return [String]
2452
2390
  attr_accessor :secondary_category
2453
2391
 
2454
- # the severity of the rule
2392
+ # The severity of the rule.
2455
2393
  # Corresponds to the JSON property `severity`
2456
2394
  # @return [String]
2457
2395
  attr_accessor :severity
2458
2396
 
2459
- # List of user-defined tags
2397
+ # List of user-defined tags.
2460
2398
  # Corresponds to the JSON property `tags`
2461
2399
  # @return [Array<String>]
2462
2400
  attr_accessor :tags
2463
2401
 
2464
- # the docuement url for the rule
2402
+ # The document url for the rule.
2465
2403
  # Corresponds to the JSON property `uri`
2466
2404
  # @return [String]
2467
2405
  attr_accessor :uri
@@ -2488,31 +2426,31 @@ module Google
2488
2426
  end
2489
2427
  end
2490
2428
 
2491
- # Message for execution result summary per rule
2429
+ # Execution result summary per rule.
2492
2430
  class RuleExecutionResult
2493
2431
  include Google::Apis::Core::Hashable
2494
2432
 
2495
- # Execution message, if any
2433
+ # Execution message, if any.
2496
2434
  # Corresponds to the JSON property `message`
2497
2435
  # @return [String]
2498
2436
  attr_accessor :message
2499
2437
 
2500
- # Number of violations
2438
+ # Number of violations.
2501
2439
  # Corresponds to the JSON property `resultCount`
2502
2440
  # @return [Fixnum]
2503
2441
  attr_accessor :result_count
2504
2442
 
2505
- # rule name
2443
+ # Rule name as plain text like `sap-hana-configured`.
2506
2444
  # Corresponds to the JSON property `rule`
2507
2445
  # @return [String]
2508
2446
  attr_accessor :rule
2509
2447
 
2510
- # Number of total scanned resources
2448
+ # Number of total scanned resources.
2511
2449
  # Corresponds to the JSON property `scannedResourceCount`
2512
2450
  # @return [Fixnum]
2513
2451
  attr_accessor :scanned_resource_count
2514
2452
 
2515
- # Output only. The execution status
2453
+ # Output only. The execution status.
2516
2454
  # Corresponds to the JSON property `state`
2517
2455
  # @return [String]
2518
2456
  attr_accessor :state
@@ -2556,17 +2494,16 @@ module Google
2556
2494
  end
2557
2495
  end
2558
2496
 
2559
- # Message for creating a Execution
2497
+ # Request message for the RunEvaluation RPC.
2560
2498
  class RunEvaluationRequest
2561
2499
  include Google::Apis::Core::Hashable
2562
2500
 
2563
- # Message describing Execution object
2501
+ # Execution that represents a single run of an Evaluation.
2564
2502
  # Corresponds to the JSON property `execution`
2565
2503
  # @return [Google::Apis::WorkloadmanagerV1::Execution]
2566
2504
  attr_accessor :execution
2567
2505
 
2568
- # Required. Id of the requesting object If auto-generating Id server-side,
2569
- # remove this field and execution_id from the method_signature of Create RPC
2506
+ # Required. ID of the execution which will be created.
2570
2507
  # Corresponds to the JSON property `executionId`
2571
2508
  # @return [String]
2572
2509
  attr_accessor :execution_id
@@ -3514,16 +3451,16 @@ module Google
3514
3451
  end
3515
3452
  end
3516
3453
 
3517
- # Message of scanned resource
3454
+ # A scanned resource.
3518
3455
  class ScannedResource
3519
3456
  include Google::Apis::Core::Hashable
3520
3457
 
3521
- # resource name
3458
+ # Resource name.
3522
3459
  # Corresponds to the JSON property `resource`
3523
3460
  # @return [String]
3524
3461
  attr_accessor :resource
3525
3462
 
3526
- # resource type
3463
+ # Resource type.
3527
3464
  # Corresponds to the JSON property `type`
3528
3465
  # @return [String]
3529
3466
  attr_accessor :type
@@ -3564,16 +3501,16 @@ module Google
3564
3501
  end
3565
3502
  end
3566
3503
 
3567
- # * A ShellCommand is invoked via the agent's command line executor
3504
+ # A ShellCommand is invoked via the agent's command line executor.
3568
3505
  class ShellCommand
3569
3506
  include Google::Apis::Core::Hashable
3570
3507
 
3571
- # args is a string of arguments to be passed to the command.
3508
+ # Arguments to be passed to the command.
3572
3509
  # Corresponds to the JSON property `args`
3573
3510
  # @return [String]
3574
3511
  attr_accessor :args
3575
3512
 
3576
- # command is the name of the command to be executed.
3513
+ # The name of the command to be executed.
3577
3514
  # Corresponds to the JSON property `command`
3578
3515
  # @return [String]
3579
3516
  attr_accessor :command
@@ -3911,21 +3848,21 @@ module Google
3911
3848
  end
3912
3849
  end
3913
3850
 
3914
- # Message for execution summary
3851
+ # Execution summary.
3915
3852
  class Summary
3916
3853
  include Google::Apis::Core::Hashable
3917
3854
 
3918
- # Output only. Number of failures
3855
+ # Output only. Number of failures.
3919
3856
  # Corresponds to the JSON property `failures`
3920
3857
  # @return [Fixnum]
3921
3858
  attr_accessor :failures
3922
3859
 
3923
- # Output only. Number of new failures compared to the previous execution
3860
+ # Output only. Number of new failures compared to the previous execution.
3924
3861
  # Corresponds to the JSON property `newFailures`
3925
3862
  # @return [Fixnum]
3926
3863
  attr_accessor :new_failures
3927
3864
 
3928
- # Output only. Number of new fixes compared to the previous execution
3865
+ # Output only. Number of new fixes compared to the previous execution.
3929
3866
  # Corresponds to the JSON property `newFixes`
3930
3867
  # @return [Fixnum]
3931
3868
  attr_accessor :new_fixes
@@ -4054,7 +3991,7 @@ module Google
4054
3991
  end
4055
3992
  end
4056
3993
 
4057
- # Message describing the violation in an evaluation result.
3994
+ # The violation in an evaluation result.
4058
3995
  class ViolationDetails
4059
3996
  include Google::Apis::Core::Hashable
4060
3997
 
@@ -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.50.0"
19
+ GEM_VERSION = "0.51.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260204"
25
+ REVISION = "20260217"
26
26
  end
27
27
  end
28
28
  end
@@ -214,18 +214,6 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
- class InvalidRule
218
- class Representation < Google::Apis::Core::JsonRepresentation; end
219
-
220
- include Google::Apis::Core::JsonObjectSupport
221
- end
222
-
223
- class InvalidRulesWrapper
224
- class Representation < Google::Apis::Core::JsonRepresentation; end
225
-
226
- include Google::Apis::Core::JsonObjectSupport
227
- end
228
-
229
217
  class ListActuationsResponse
230
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
219
 
@@ -905,7 +893,6 @@ module Google
905
893
  property :resource_status, as: 'resourceStatus', class: Google::Apis::WorkloadmanagerV1::ResourceStatus, decorator: Google::Apis::WorkloadmanagerV1::ResourceStatus::Representation
906
894
 
907
895
  collection :rule_names, as: 'ruleNames'
908
- collection :rule_versions, as: 'ruleVersions'
909
896
  property :schedule, as: 'schedule'
910
897
  property :update_time, as: 'updateTime'
911
898
  end
@@ -1022,24 +1009,6 @@ module Google
1022
1009
  end
1023
1010
  end
1024
1011
 
1025
- class InvalidRule
1026
- # @private
1027
- class Representation < Google::Apis::Core::JsonRepresentation
1028
- property :display_name, as: 'displayName'
1029
- property :gcs_uri, as: 'gcsUri'
1030
- property :name, as: 'name'
1031
- property :valiadtion_error, as: 'valiadtionError'
1032
- end
1033
- end
1034
-
1035
- class InvalidRulesWrapper
1036
- # @private
1037
- class Representation < Google::Apis::Core::JsonRepresentation
1038
- collection :invalid_rules, as: 'invalidRules', class: Google::Apis::WorkloadmanagerV1::InvalidRule, decorator: Google::Apis::WorkloadmanagerV1::InvalidRule::Representation
1039
-
1040
- end
1041
- end
1042
-
1043
1012
  class ListActuationsResponse
1044
1013
  # @private
1045
1014
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1121,8 +1090,6 @@ module Google
1121
1090
  class ListRulesResponse
1122
1091
  # @private
1123
1092
  class Representation < Google::Apis::Core::JsonRepresentation
1124
- property :invalid_rules_wrapper, as: 'invalidRulesWrapper', class: Google::Apis::WorkloadmanagerV1::InvalidRulesWrapper, decorator: Google::Apis::WorkloadmanagerV1::InvalidRulesWrapper::Representation
1125
-
1126
1093
  collection :rules, as: 'rules', class: Google::Apis::WorkloadmanagerV1::Rule, decorator: Google::Apis::WorkloadmanagerV1::Rule::Representation
1127
1094
 
1128
1095
  end
@@ -1249,7 +1216,6 @@ module Google
1249
1216
  class ResourceStatus
1250
1217
  # @private
1251
1218
  class Representation < Google::Apis::Core::JsonRepresentation
1252
- collection :rules_newer_versions, as: 'rulesNewerVersions'
1253
1219
  property :state, as: 'state'
1254
1220
  end
1255
1221
  end
@@ -548,10 +548,10 @@ module Google
548
548
  # Creates a new Evaluation in a given project and location.
549
549
  # @param [String] parent
550
550
  # Required. The resource prefix of the evaluation location using the form: `
551
- # projects/`project_id`/locations/`location_id``
551
+ # projects/`project_id`/locations/`location_id``.
552
552
  # @param [Google::Apis::WorkloadmanagerV1::Evaluation] evaluation_object
553
553
  # @param [String] evaluation_id
554
- # Required. Id of the requesting object
554
+ # Required. Id of the requesting object.
555
555
  # @param [String] request_id
556
556
  # Optional. An optional request ID to identify requests. Specify a unique
557
557
  # request ID so that if you must retry your request, the server will know to
@@ -596,9 +596,9 @@ module Google
596
596
 
597
597
  # Deletes a single Evaluation.
598
598
  # @param [String] name
599
- # Required. Name of the resource
599
+ # Required. Name of the resource.
600
600
  # @param [Boolean] force
601
- # Optional. Followed the best practice from https://aip.dev/135#cascading-delete
601
+ # Optional. Followed the best practice from https://aip.dev/135#cascading-delete.
602
602
  # @param [String] request_id
603
603
  # Optional. An optional request ID to identify requests. Specify a unique
604
604
  # request ID so that if you must retry your request, the server will know to
@@ -641,7 +641,7 @@ module Google
641
641
 
642
642
  # Gets details of a single Evaluation.
643
643
  # @param [String] name
644
- # Required. Name of the resource
644
+ # Required. Name of the resource.
645
645
  # @param [String] fields
646
646
  # Selector specifying which fields to include in a partial response.
647
647
  # @param [String] quota_user
@@ -671,11 +671,11 @@ module Google
671
671
 
672
672
  # Lists Evaluations in a given project and location.
673
673
  # @param [String] parent
674
- # Required. Parent value for ListEvaluationsRequest
674
+ # Required. Parent value for ListEvaluationsRequest.
675
675
  # @param [String] filter
676
676
  # Filter to be applied when listing the evaluation results.
677
677
  # @param [String] order_by
678
- # Hint for how to order the results
678
+ # Hint for how to order the results.
679
679
  # @param [Fixnum] page_size
680
680
  # Requested page size. Server may return fewer items than requested. If
681
681
  # unspecified, server will pick an appropriate default.
@@ -714,8 +714,8 @@ module Google
714
714
 
715
715
  # Updates the parameters of a single Evaluation.
716
716
  # @param [String] name
717
- # name of resource names have the form 'projects/`project_id`/locations/`
718
- # location_id`/evaluations/`evaluation_id`'
717
+ # Name of resource that has the form `projects/`project_id`/locations/`
718
+ # location_id`/evaluations/`evaluation_id``.
719
719
  # @param [Google::Apis::WorkloadmanagerV1::Evaluation] evaluation_object
720
720
  # @param [String] request_id
721
721
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -766,7 +766,7 @@ module Google
766
766
 
767
767
  # Deletes a single Execution.
768
768
  # @param [String] name
769
- # Required. Name of the resource
769
+ # Required. Name of the resource.
770
770
  # @param [String] request_id
771
771
  # Optional. An optional request ID to identify requests. Specify a unique
772
772
  # request ID so that if you must retry your request, the server will know to
@@ -808,7 +808,7 @@ module Google
808
808
 
809
809
  # Gets details of a single Execution.
810
810
  # @param [String] name
811
- # Required. Name of the resource
811
+ # Required. Name of the resource.
812
812
  # @param [String] fields
813
813
  # Selector specifying which fields to include in a partial response.
814
814
  # @param [String] quota_user
@@ -838,10 +838,10 @@ module Google
838
838
 
839
839
  # Lists Executions in a given project and location.
840
840
  # @param [String] parent
841
- # Required. The resource prefix of the Execution using the form: 'projects/`
842
- # project`/locations/`location`/evaluations/`evaluation`'
841
+ # Required. The resource prefix of the Execution using the form: `projects/`
842
+ # project`/locations/`location`/evaluations/`evaluation``.
843
843
  # @param [String] filter
844
- # Filtering results
844
+ # Filtering results.
845
845
  # @param [String] order_by
846
846
  # Field to sort by. See https://google.aip.dev/132#ordering for more details.
847
847
  # @param [Fixnum] page_size
@@ -882,8 +882,8 @@ module Google
882
882
 
883
883
  # Creates a new Execution in a given project and location.
884
884
  # @param [String] name
885
- # Required. The resource name of the Execution using the form: 'projects/`
886
- # project`/locations/`location`/evaluations/`evaluation`/executions/`execution`'
885
+ # Required. The resource name of the Evaluation using the form: `projects/`
886
+ # project`/locations/`location`/evaluations/`evaluation``.
887
887
  # @param [Google::Apis::WorkloadmanagerV1::RunEvaluationRequest] run_evaluation_request_object
888
888
  # @param [String] fields
889
889
  # Selector specifying which fields to include in a partial response.
@@ -917,9 +917,9 @@ module Google
917
917
  # Lists the result of a single evaluation.
918
918
  # @param [String] parent
919
919
  # Required. The execution results. Format: `parent`/evaluations/*/executions/*/
920
- # results
920
+ # results.
921
921
  # @param [String] filter
922
- # Filtering results
922
+ # Filtering results.
923
923
  # @param [Fixnum] page_size
924
924
  # Requested page size. Server may return fewer items than requested. If
925
925
  # unspecified, server will pick an appropriate default.
@@ -957,9 +957,9 @@ module Google
957
957
 
958
958
  # List all scanned resources for a single Execution.
959
959
  # @param [String] parent
960
- # Required. parent for ListScannedResourcesRequest
960
+ # Required. Parent for ListScannedResourcesRequest.
961
961
  # @param [String] filter
962
- # Filtering results
962
+ # Filtering results.
963
963
  # @param [String] order_by
964
964
  # Field to sort by. See https://google.aip.dev/132#ordering for more details.
965
965
  # @param [Fixnum] page_size
@@ -968,7 +968,7 @@ module Google
968
968
  # @param [String] page_token
969
969
  # A token identifying a page of results the server should return.
970
970
  # @param [String] rule
971
- # rule name
971
+ # Rule name.
972
972
  # @param [String] fields
973
973
  # Selector specifying which fields to include in a partial response.
974
974
  # @param [String] quota_user
@@ -1235,14 +1235,14 @@ module Google
1235
1235
  # @param [String] parent
1236
1236
  # Required. The [project] on which to execute the request. The format is:
1237
1237
  # projects/`project_id`/locations/`location` Currently, the pre-defined rules
1238
- # are global available to all projects and all regions
1238
+ # are global available to all projects and all regions.
1239
1239
  # @param [String] custom_rules_bucket
1240
1240
  # The Cloud Storage bucket name for custom rules.
1241
1241
  # @param [String] evaluation_type
1242
1242
  # Optional. The evaluation type of the rules will be applied to. The Cloud
1243
1243
  # Storage bucket name for custom rules.
1244
1244
  # @param [String] filter
1245
- # Filter based on primary_category, secondary_category
1245
+ # Filter based on primary_category, secondary_category.
1246
1246
  # @param [Fixnum] page_size
1247
1247
  # Requested page size. Server may return fewer items than requested. If
1248
1248
  # unspecified, server will pick an appropriate default.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workloadmanager_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.50.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.51.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1
62
62
  rdoc_options: []
63
63
  require_paths: