google-apis-workloadmanager_v1 0.29.0 → 0.30.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.
@@ -126,6 +126,106 @@ module Google
126
126
  execute_or_queue_command(command, &block)
127
127
  end
128
128
 
129
+ # Gets details of a discovered workload profile.
130
+ # @param [String] name
131
+ # Required. Name of the resource
132
+ # @param [String] fields
133
+ # Selector specifying which fields to include in a partial response.
134
+ # @param [String] quota_user
135
+ # Available to use for quota purposes for server-side applications. Can be any
136
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
137
+ # @param [Google::Apis::RequestOptions] options
138
+ # Request-specific options
139
+ #
140
+ # @yield [result, err] Result & error if block supplied
141
+ # @yieldparam result [Google::Apis::WorkloadmanagerV1::WorkloadProfile] parsed result object
142
+ # @yieldparam err [StandardError] error object if request failed
143
+ #
144
+ # @return [Google::Apis::WorkloadmanagerV1::WorkloadProfile]
145
+ #
146
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
147
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
148
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
149
+ def get_project_location_discoveredprofile(name, fields: nil, quota_user: nil, options: nil, &block)
150
+ command = make_simple_command(:get, 'v1/{+name}', options)
151
+ command.response_representation = Google::Apis::WorkloadmanagerV1::WorkloadProfile::Representation
152
+ command.response_class = Google::Apis::WorkloadmanagerV1::WorkloadProfile
153
+ command.params['name'] = name unless name.nil?
154
+ command.query['fields'] = fields unless fields.nil?
155
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
156
+ execute_or_queue_command(command, &block)
157
+ end
158
+
159
+ # List discovered workload profiles
160
+ # @param [String] parent
161
+ # Required. Parent value for ListDiscoveredProfilesRequest
162
+ # @param [String] filter
163
+ # Optional. Filtering results
164
+ # @param [Fixnum] page_size
165
+ # Optional. Requested page size. Server may return fewer items than requested.
166
+ # If unspecified, server will pick an appropriate default.
167
+ # @param [String] page_token
168
+ # Optional. A token identifying a page of results the server should return.
169
+ # @param [String] fields
170
+ # Selector specifying which fields to include in a partial response.
171
+ # @param [String] quota_user
172
+ # Available to use for quota purposes for server-side applications. Can be any
173
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
174
+ # @param [Google::Apis::RequestOptions] options
175
+ # Request-specific options
176
+ #
177
+ # @yield [result, err] Result & error if block supplied
178
+ # @yieldparam result [Google::Apis::WorkloadmanagerV1::ListDiscoveredProfilesResponse] parsed result object
179
+ # @yieldparam err [StandardError] error object if request failed
180
+ #
181
+ # @return [Google::Apis::WorkloadmanagerV1::ListDiscoveredProfilesResponse]
182
+ #
183
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
184
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
185
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
186
+ def list_project_location_discoveredprofiles(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
187
+ command = make_simple_command(:get, 'v1/{+parent}/discoveredprofiles', options)
188
+ command.response_representation = Google::Apis::WorkloadmanagerV1::ListDiscoveredProfilesResponse::Representation
189
+ command.response_class = Google::Apis::WorkloadmanagerV1::ListDiscoveredProfilesResponse
190
+ command.params['parent'] = parent unless parent.nil?
191
+ command.query['filter'] = filter unless filter.nil?
192
+ command.query['pageSize'] = page_size unless page_size.nil?
193
+ command.query['pageToken'] = page_token unless page_token.nil?
194
+ command.query['fields'] = fields unless fields.nil?
195
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
196
+ execute_or_queue_command(command, &block)
197
+ end
198
+
199
+ # Get the health of a discovered workload profile.
200
+ # @param [String] name
201
+ # Required. The resource name
202
+ # @param [String] fields
203
+ # Selector specifying which fields to include in a partial response.
204
+ # @param [String] quota_user
205
+ # Available to use for quota purposes for server-side applications. Can be any
206
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
207
+ # @param [Google::Apis::RequestOptions] options
208
+ # Request-specific options
209
+ #
210
+ # @yield [result, err] Result & error if block supplied
211
+ # @yieldparam result [Google::Apis::WorkloadmanagerV1::WorkloadProfileHealth] parsed result object
212
+ # @yieldparam err [StandardError] error object if request failed
213
+ #
214
+ # @return [Google::Apis::WorkloadmanagerV1::WorkloadProfileHealth]
215
+ #
216
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
217
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
218
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
219
+ def get_project_location_discoveredprofile_healthe(name, fields: nil, quota_user: nil, options: nil, &block)
220
+ command = make_simple_command(:get, 'v1/{+name}', options)
221
+ command.response_representation = Google::Apis::WorkloadmanagerV1::WorkloadProfileHealth::Representation
222
+ command.response_class = Google::Apis::WorkloadmanagerV1::WorkloadProfileHealth
223
+ command.params['name'] = name unless name.nil?
224
+ command.query['fields'] = fields unless fields.nil?
225
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
226
+ execute_or_queue_command(command, &block)
227
+ end
228
+
129
229
  # Creates a new Evaluation in a given project and location.
130
230
  # @param [String] parent
131
231
  # Required. The resource prefix of the evaluation location using the form: `
@@ -752,6 +852,49 @@ module Google
752
852
  command.query['quotaUser'] = quota_user unless quota_user.nil?
753
853
  execute_or_queue_command(command, &block)
754
854
  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
755
898
 
756
899
  protected
757
900
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workloadmanager_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-12 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.29.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.30.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:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.2
76
+ rubygems_version: 3.6.5
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Workload Manager API V1
79
79
  test_files: []