google-apis-workloadmanager_v1 0.43.0 → 0.44.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: 6d0f36f5390d2d782c29cb3f2c2827fc80cd9efa814b0fa75593d7dfbaa3c74e
4
- data.tar.gz: 3486f339d61df55d8c9c7716048c9645e6dd69a8bccb6fb34dc9a4ed4f1c00a5
3
+ metadata.gz: 0eacec53adec1f20f3bcdafcb8a72e8f4866375b35c7cbad2ae9644fa320803f
4
+ data.tar.gz: bae222a3519c73d9d853a9ba6cc77fb232a7ae0d64d432ef62c20df250f67e9d
5
5
  SHA512:
6
- metadata.gz: d4350fcae7a4d77a4263ef79ed83277a12dd9d956a227215b9dab9203def9b2a05e534eee0ea9a52eafe1ef36fc529be364aca98823581d96bd9298c86c1cbc0
7
- data.tar.gz: 888880c2f35d3726130cdce25b3b78846135013a1c5568d4a06e111de8f06d1a759e66ec578f08d5b35e567c5ee9a81a90ad81a35f7fda5408b618ec2205e5f1
6
+ metadata.gz: 491b502f5a2743832175b52e7e142543bc8f7f0e7f9055f7ae24e3282c0d5a53cef55b7934aecd410c26c35cb2d222279499faf032f172a0fa87a9660dab438d
7
+ data.tar.gz: 528039f65fbd0d16249328ca0be488eb2904619cc8d57d2de4628dd52cd8b450d1f8122f32307af22abf6e08828d1091ae47b26e84e2779ad6e422614a893ca4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.44.0 (2025-10-12)
4
+
5
+ * Regenerated from discovery document revision 20251001
6
+
3
7
  ### v0.43.0 (2025-09-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20250910
@@ -945,6 +945,62 @@ module Google
945
945
  end
946
946
  end
947
947
 
948
+ # Message represent an rule that failed to be validated.
949
+ class InvalidRule
950
+ include Google::Apis::Core::Hashable
951
+
952
+ # display name of the invalid rule
953
+ # Corresponds to the JSON property `displayName`
954
+ # @return [String]
955
+ attr_accessor :display_name
956
+
957
+ # cloud storage destination of the invalid rule
958
+ # Corresponds to the JSON property `gcsUri`
959
+ # @return [String]
960
+ attr_accessor :gcs_uri
961
+
962
+ # name of the invalid rule
963
+ # Corresponds to the JSON property `name`
964
+ # @return [String]
965
+ attr_accessor :name
966
+
967
+ # The error message of valdating rule formats.
968
+ # Corresponds to the JSON property `valiadtionError`
969
+ # @return [String]
970
+ attr_accessor :valiadtion_error
971
+
972
+ def initialize(**args)
973
+ update!(**args)
974
+ end
975
+
976
+ # Update properties of this object
977
+ def update!(**args)
978
+ @display_name = args[:display_name] if args.key?(:display_name)
979
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
980
+ @name = args[:name] if args.key?(:name)
981
+ @valiadtion_error = args[:valiadtion_error] if args.key?(:valiadtion_error)
982
+ end
983
+ end
984
+
985
+ # Message wrappes a list of invalid rules.
986
+ class InvalidRulesWrapper
987
+ include Google::Apis::Core::Hashable
988
+
989
+ # The invalid rules that failed to be validated.
990
+ # Corresponds to the JSON property `invalidRules`
991
+ # @return [Array<Google::Apis::WorkloadmanagerV1::InvalidRule>]
992
+ attr_accessor :invalid_rules
993
+
994
+ def initialize(**args)
995
+ update!(**args)
996
+ end
997
+
998
+ # Update properties of this object
999
+ def update!(**args)
1000
+ @invalid_rules = args[:invalid_rules] if args.key?(:invalid_rules)
1001
+ end
1002
+ end
1003
+
948
1004
  # List discovered profile Response returns discovered profiles from agents
949
1005
  class ListDiscoveredProfilesResponse
950
1006
  include Google::Apis::Core::Hashable
@@ -1103,6 +1159,13 @@ module Google
1103
1159
  # @return [Array<Google::Apis::WorkloadmanagerV1::Operation>]
1104
1160
  attr_accessor :operations
1105
1161
 
1162
+ # Unordered list. Unreachable resources. Populated when the request sets `
1163
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1164
+ # when attempting to list all resources across all supported locations.
1165
+ # Corresponds to the JSON property `unreachable`
1166
+ # @return [Array<String>]
1167
+ attr_accessor :unreachable
1168
+
1106
1169
  def initialize(**args)
1107
1170
  update!(**args)
1108
1171
  end
@@ -1111,6 +1174,7 @@ module Google
1111
1174
  def update!(**args)
1112
1175
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1113
1176
  @operations = args[:operations] if args.key?(:operations)
1177
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1114
1178
  end
1115
1179
  end
1116
1180
 
@@ -1118,10 +1182,10 @@ module Google
1118
1182
  class ListRulesResponse
1119
1183
  include Google::Apis::Core::Hashable
1120
1184
 
1121
- # A token identifying a page of results the server should return.
1122
- # Corresponds to the JSON property `nextPageToken`
1123
- # @return [String]
1124
- attr_accessor :next_page_token
1185
+ # Message wrappes a list of invalid rules.
1186
+ # Corresponds to the JSON property `invalidRulesWrapper`
1187
+ # @return [Google::Apis::WorkloadmanagerV1::InvalidRulesWrapper]
1188
+ attr_accessor :invalid_rules_wrapper
1125
1189
 
1126
1190
  # all rules in response
1127
1191
  # Corresponds to the JSON property `rules`
@@ -1134,7 +1198,7 @@ module Google
1134
1198
 
1135
1199
  # Update properties of this object
1136
1200
  def update!(**args)
1137
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1201
+ @invalid_rules_wrapper = args[:invalid_rules_wrapper] if args.key?(:invalid_rules_wrapper)
1138
1202
  @rules = args[:rules] if args.key?(:rules)
1139
1203
  end
1140
1204
  end
@@ -1236,12 +1300,24 @@ module Google
1236
1300
  class OpenShiftValidation
1237
1301
  include Google::Apis::Core::Hashable
1238
1302
 
1303
+ # Required. The OpenShift cluster ID (e.g. 8371bb05-7cac-4d38-82c0-0f58c4f6f936).
1304
+ # Corresponds to the JSON property `clusterId`
1305
+ # @return [String]
1306
+ attr_accessor :cluster_id
1307
+
1308
+ # Required. The validation details of the OpenShift cluster in JSON format.
1309
+ # Corresponds to the JSON property `validationDetails`
1310
+ # @return [Hash<String,Object>]
1311
+ attr_accessor :validation_details
1312
+
1239
1313
  def initialize(**args)
1240
1314
  update!(**args)
1241
1315
  end
1242
1316
 
1243
1317
  # Update properties of this object
1244
1318
  def update!(**args)
1319
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
1320
+ @validation_details = args[:validation_details] if args.key?(:validation_details)
1245
1321
  end
1246
1322
  end
1247
1323
 
@@ -1488,6 +1564,12 @@ module Google
1488
1564
  class Rule
1489
1565
  include Google::Apis::Core::Hashable
1490
1566
 
1567
+ # The CAI asset type of the rule is evaluating, for joined asset types, it will
1568
+ # be the corresponding primary asset types.
1569
+ # Corresponds to the JSON property `assetType`
1570
+ # @return [String]
1571
+ attr_accessor :asset_type
1572
+
1491
1573
  # descrite rule in plain language
1492
1574
  # Corresponds to the JSON property `description`
1493
1575
  # @return [String]
@@ -1554,6 +1636,7 @@ module Google
1554
1636
 
1555
1637
  # Update properties of this object
1556
1638
  def update!(**args)
1639
+ @asset_type = args[:asset_type] if args.key?(:asset_type)
1557
1640
  @description = args[:description] if args.key?(:description)
1558
1641
  @display_name = args[:display_name] if args.key?(:display_name)
1559
1642
  @error_message = args[:error_message] if args.key?(:error_message)
@@ -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.43.0"
19
+ GEM_VERSION = "0.44.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 = "20250910"
25
+ REVISION = "20251001"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,18 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class InvalidRule
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class InvalidRulesWrapper
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
157
169
  class ListDiscoveredProfilesResponse
158
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
171
 
@@ -742,6 +754,24 @@ module Google
742
754
  end
743
755
  end
744
756
 
757
+ class InvalidRule
758
+ # @private
759
+ class Representation < Google::Apis::Core::JsonRepresentation
760
+ property :display_name, as: 'displayName'
761
+ property :gcs_uri, as: 'gcsUri'
762
+ property :name, as: 'name'
763
+ property :valiadtion_error, as: 'valiadtionError'
764
+ end
765
+ end
766
+
767
+ class InvalidRulesWrapper
768
+ # @private
769
+ class Representation < Google::Apis::Core::JsonRepresentation
770
+ collection :invalid_rules, as: 'invalidRules', class: Google::Apis::WorkloadmanagerV1::InvalidRule, decorator: Google::Apis::WorkloadmanagerV1::InvalidRule::Representation
771
+
772
+ end
773
+ end
774
+
745
775
  class ListDiscoveredProfilesResponse
746
776
  # @private
747
777
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -796,13 +826,15 @@ module Google
796
826
  property :next_page_token, as: 'nextPageToken'
797
827
  collection :operations, as: 'operations', class: Google::Apis::WorkloadmanagerV1::Operation, decorator: Google::Apis::WorkloadmanagerV1::Operation::Representation
798
828
 
829
+ collection :unreachable, as: 'unreachable'
799
830
  end
800
831
  end
801
832
 
802
833
  class ListRulesResponse
803
834
  # @private
804
835
  class Representation < Google::Apis::Core::JsonRepresentation
805
- property :next_page_token, as: 'nextPageToken'
836
+ property :invalid_rules_wrapper, as: 'invalidRulesWrapper', class: Google::Apis::WorkloadmanagerV1::InvalidRulesWrapper, decorator: Google::Apis::WorkloadmanagerV1::InvalidRulesWrapper::Representation
837
+
806
838
  collection :rules, as: 'rules', class: Google::Apis::WorkloadmanagerV1::Rule, decorator: Google::Apis::WorkloadmanagerV1::Rule::Representation
807
839
 
808
840
  end
@@ -838,6 +870,8 @@ module Google
838
870
  class OpenShiftValidation
839
871
  # @private
840
872
  class Representation < Google::Apis::Core::JsonRepresentation
873
+ property :cluster_id, as: 'clusterId'
874
+ hash :validation_details, as: 'validationDetails'
841
875
  end
842
876
  end
843
877
 
@@ -905,6 +939,7 @@ module Google
905
939
  class Rule
906
940
  # @private
907
941
  class Representation < Google::Apis::Core::JsonRepresentation
942
+ property :asset_type, as: 'assetType'
908
943
  property :description, as: 'description'
909
944
  property :display_name, as: 'displayName'
910
945
  property :error_message, as: 'errorMessage'
@@ -337,6 +337,58 @@ module Google
337
337
  execute_or_queue_command(command, &block)
338
338
  end
339
339
 
340
+ # Updates the parameters of a single Evaluation.
341
+ # @param [String] name
342
+ # name of resource names have the form 'projects/`project_id`/locations/`
343
+ # location_id`/evaluations/`evaluation_id`'
344
+ # @param [Google::Apis::WorkloadmanagerV1::Evaluation] evaluation_object
345
+ # @param [String] request_id
346
+ # Optional. An optional request ID to identify requests. Specify a unique
347
+ # request ID so that if you must retry your request, the server will know to
348
+ # ignore the request if it has already been completed. The server will guarantee
349
+ # that for at least 60 minutes since the first request. For example, consider a
350
+ # situation where you make an initial request and the request times out. If you
351
+ # make the request again with the same request ID, the server can check if
352
+ # original operation with the same request ID was received, and if so, will
353
+ # ignore the second request. This prevents clients from accidentally creating
354
+ # duplicate commitments. The request ID must be a valid UUID with the exception
355
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
356
+ # @param [String] update_mask
357
+ # Required. Field mask is used to specify the fields to be overwritten in the
358
+ # Evaluation resource by the update. The fields specified in the update_mask are
359
+ # relative to the resource, not the full request. A field will be overwritten if
360
+ # it is in the mask.
361
+ # @param [String] fields
362
+ # Selector specifying which fields to include in a partial response.
363
+ # @param [String] quota_user
364
+ # Available to use for quota purposes for server-side applications. Can be any
365
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
366
+ # @param [Google::Apis::RequestOptions] options
367
+ # Request-specific options
368
+ #
369
+ # @yield [result, err] Result & error if block supplied
370
+ # @yieldparam result [Google::Apis::WorkloadmanagerV1::Operation] parsed result object
371
+ # @yieldparam err [StandardError] error object if request failed
372
+ #
373
+ # @return [Google::Apis::WorkloadmanagerV1::Operation]
374
+ #
375
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
376
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
377
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
378
+ def patch_project_location_evaluation(name, evaluation_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
379
+ command = make_simple_command(:patch, 'v1/{+name}', options)
380
+ command.request_representation = Google::Apis::WorkloadmanagerV1::Evaluation::Representation
381
+ command.request_object = evaluation_object
382
+ command.response_representation = Google::Apis::WorkloadmanagerV1::Operation::Representation
383
+ command.response_class = Google::Apis::WorkloadmanagerV1::Operation
384
+ command.params['name'] = name unless name.nil?
385
+ command.query['requestId'] = request_id unless request_id.nil?
386
+ command.query['updateMask'] = update_mask unless update_mask.nil?
387
+ command.query['fields'] = fields unless fields.nil?
388
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
389
+ execute_or_queue_command(command, &block)
390
+ end
391
+
340
392
  # Deletes a single Execution.
341
393
  # @param [String] name
342
394
  # Required. Name of the resource
@@ -765,6 +817,13 @@ module Google
765
817
  # The standard list page size.
766
818
  # @param [String] page_token
767
819
  # The standard list page token.
820
+ # @param [Boolean] return_partial_success
821
+ # When set to `true`, operations that are reachable are returned as normal, and
822
+ # those that are unreachable are returned in the [ListOperationsResponse.
823
+ # unreachable] field. This can only be `true` when reading across collections e.
824
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
825
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
826
+ # explicitly documented otherwise in service or product specific documentation.
768
827
  # @param [String] fields
769
828
  # Selector specifying which fields to include in a partial response.
770
829
  # @param [String] quota_user
@@ -782,7 +841,7 @@ module Google
782
841
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
783
842
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
784
843
  # @raise [Google::Apis::AuthorizationError] Authorization is required
785
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
844
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
786
845
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
787
846
  command.response_representation = Google::Apis::WorkloadmanagerV1::ListOperationsResponse::Representation
788
847
  command.response_class = Google::Apis::WorkloadmanagerV1::ListOperationsResponse
@@ -790,6 +849,7 @@ module Google
790
849
  command.query['filter'] = filter unless filter.nil?
791
850
  command.query['pageSize'] = page_size unless page_size.nil?
792
851
  command.query['pageToken'] = page_token unless page_token.nil?
852
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
793
853
  command.query['fields'] = fields unless fields.nil?
794
854
  command.query['quotaUser'] = quota_user unless quota_user.nil?
795
855
  execute_or_queue_command(command, &block)
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.43.0
4
+ version: 0.44.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.43.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.44.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: