@@ -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