Skip to content

Commit e3c0880

Browse files
feat: Automated regeneration of workloadmanager v1 client (googleapis#22026)
Auto-created at 2025-03-09 10:29:31 +0000 using the toys pull request generator.
1 parent 7400b64 commit e3c0880

File tree

4 files changed

+52
-45
lines changed

4 files changed

+52
-45
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360353,6 +360353,9 @@
360353360353
"/workloadmanager:v1/workloadmanager.projects.locations.evaluations.list/parent": parent
360354360354
"/workloadmanager:v1/workloadmanager.projects.locations.get": get_project_location
360355360355
"/workloadmanager:v1/workloadmanager.projects.locations.get/name": name
360356+
"/workloadmanager:v1/workloadmanager.projects.locations.insights.delete": delete_project_location_insight
360357+
"/workloadmanager:v1/workloadmanager.projects.locations.insights.delete/name": name
360358+
"/workloadmanager:v1/workloadmanager.projects.locations.insights.delete/requestId": request_id
360356360359
"/workloadmanager:v1/workloadmanager.projects.locations.insights.writeInsight": write_insight
360357360360
"/workloadmanager:v1/workloadmanager.projects.locations.insights.writeInsight/location": location
360358360361
"/workloadmanager:v1/workloadmanager.projects.locations.list": list_project_locations

generated/google-apis-workloadmanager_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-workloadmanager_v1
22

3+
### v0.31.0 (2025-03-09)
4+
5+
* Regenerated from discovery document revision 20250226
6+
37
### v0.30.0 (2025-02-26)
48

59
* Regenerated from discovery document revision 20250219

generated/google-apis-workloadmanager_v1/lib/google/apis/workloadmanager_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module WorkloadmanagerV1
1818
# Version of the google-apis-workloadmanager_v1 gem
19-
GEM_VERSION = "0.30.0"
19+
GEM_VERSION = "0.31.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250219"
25+
REVISION = "20250226"
2626
end
2727
end
2828
end

generated/google-apis-workloadmanager_v1/lib/google/apis/workloadmanager_v1/service.rb

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,49 @@ def list_project_location_evaluation_execution_scanned_resources(parent, filter:
630630
execute_or_queue_command(command, &block)
631631
end
632632

633+
# Delete the data insights from workload manager data warehouse.
634+
# @param [String] name
635+
# Required. The system id of the SAP system resource to delete. Formatted as
636+
# projects/`project`/locations/`location`/sapSystems/`sap_system_id`
637+
# @param [String] request_id
638+
# Optional. An optional request ID to identify requests. Specify a unique
639+
# request ID so that if you must retry your request, the server will know to
640+
# ignore the request if it has already been completed. The server will guarantee
641+
# that for at least 60 minutes since the first request. For example, consider a
642+
# situation where you make an initial request and the request times out. If you
643+
# make the request again with the same request ID, the server can check if
644+
# original operation with the same request ID was received, and if so, will
645+
# ignore the second request. This prevents clients from accidentally creating
646+
# duplicate commitments. The request ID must be a valid UUID with the exception
647+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
648+
# @param [String] fields
649+
# Selector specifying which fields to include in a partial response.
650+
# @param [String] quota_user
651+
# Available to use for quota purposes for server-side applications. Can be any
652+
# arbitrary string assigned to a user, but should not exceed 40 characters.
653+
# @param [Google::Apis::RequestOptions] options
654+
# Request-specific options
655+
#
656+
# @yield [result, err] Result & error if block supplied
657+
# @yieldparam result [Google::Apis::WorkloadmanagerV1::Empty] parsed result object
658+
# @yieldparam err [StandardError] error object if request failed
659+
#
660+
# @return [Google::Apis::WorkloadmanagerV1::Empty]
661+
#
662+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
663+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
664+
# @raise [Google::Apis::AuthorizationError] Authorization is required
665+
def delete_project_location_insight(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
666+
command = make_simple_command(:delete, 'v1/{+name}', options)
667+
command.response_representation = Google::Apis::WorkloadmanagerV1::Empty::Representation
668+
command.response_class = Google::Apis::WorkloadmanagerV1::Empty
669+
command.params['name'] = name unless name.nil?
670+
command.query['requestId'] = request_id unless request_id.nil?
671+
command.query['fields'] = fields unless fields.nil?
672+
command.query['quotaUser'] = quota_user unless quota_user.nil?
673+
execute_or_queue_command(command, &block)
674+
end
675+
633676
# Write the data insights to workload manager data warehouse.
634677
# @param [String] location
635678
# Required. The GCP location. The format is: projects/`project`/locations/`
@@ -852,49 +895,6 @@ def list_project_location_rules(parent, custom_rules_bucket: nil, filter: nil, p
852895
command.query['quotaUser'] = quota_user unless quota_user.nil?
853896
execute_or_queue_command(command, &block)
854897
end
855-
856-
# Delete the data insights from workload manager data warehouse.
857-
# @param [String] name
858-
# Required. The system id of the SAP system resource to delete. Formatted as
859-
# projects/`project`/locations/`location`/sapSystems/`sap_system_id`
860-
# @param [String] request_id
861-
# Optional. An optional request ID to identify requests. Specify a unique
862-
# request ID so that if you must retry your request, the server will know to
863-
# ignore the request if it has already been completed. The server will guarantee
864-
# that for at least 60 minutes since the first request. For example, consider a
865-
# situation where you make an initial request and the request times out. If you
866-
# make the request again with the same request ID, the server can check if
867-
# original operation with the same request ID was received, and if so, will
868-
# ignore the second request. This prevents clients from accidentally creating
869-
# duplicate commitments. The request ID must be a valid UUID with the exception
870-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
871-
# @param [String] fields
872-
# Selector specifying which fields to include in a partial response.
873-
# @param [String] quota_user
874-
# Available to use for quota purposes for server-side applications. Can be any
875-
# arbitrary string assigned to a user, but should not exceed 40 characters.
876-
# @param [Google::Apis::RequestOptions] options
877-
# Request-specific options
878-
#
879-
# @yield [result, err] Result & error if block supplied
880-
# @yieldparam result [Google::Apis::WorkloadmanagerV1::Empty] parsed result object
881-
# @yieldparam err [StandardError] error object if request failed
882-
#
883-
# @return [Google::Apis::WorkloadmanagerV1::Empty]
884-
#
885-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
886-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
887-
# @raise [Google::Apis::AuthorizationError] Authorization is required
888-
def delete_project_location_sap_system(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
889-
command = make_simple_command(:delete, 'v1/{+name}', options)
890-
command.response_representation = Google::Apis::WorkloadmanagerV1::Empty::Representation
891-
command.response_class = Google::Apis::WorkloadmanagerV1::Empty
892-
command.params['name'] = name unless name.nil?
893-
command.query['requestId'] = request_id unless request_id.nil?
894-
command.query['fields'] = fields unless fields.nil?
895-
command.query['quotaUser'] = quota_user unless quota_user.nil?
896-
execute_or_queue_command(command, &block)
897-
end
898898

899899
protected
900900

0 commit comments

Comments
 (0)