google-apis-assuredworkloads_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: 94f2a4e00140514fb69bc6b5859af9cf762ef8d521448b2b03c8b4d140677b0e
4
- data.tar.gz: 0b19d07c9205f00fd4d1eaace6fa463c1b1e01049ea286c3c0a8f217da0aff53
3
+ metadata.gz: f769cb8d5464ec97ff9cf7186ad15434d0146d2634160f01b886524cefba8023
4
+ data.tar.gz: bb17035f27e57a1233560c222a7434aa647fe7a4f130b4a02ab106cd0c0f00e2
5
5
  SHA512:
6
- metadata.gz: a4bfb3bdd86551e52155eb45e5e6e9abd2e7353ccd9a58019ae810febdb7e71353851239ed4ff3fb826edf99cbe932c1978ee791101bb51cb6f3e3b1c6469902
7
- data.tar.gz: c76053287bb90f832aa0a076b39b42d2ed68878a11b751573cf9dd82c3ad9700bf4a91b0e2d9763224d3836876c1401b6008d3de9e885554b51de4f26ee0e36a
6
+ metadata.gz: a65cf5e3b82a9f43f9971c0d6010499491899bd03b5f666a77b80b284ab01fe4e88cd0c23f9dc7af2a6ea08784485b78b39bf6f917ab7abd3a6d6fc330e1ed77
7
+ data.tar.gz: 6e4831068b0bcae4a7760a7accfff88ba8e22ec58742466d6c91501f28f578963b964ead5bf65e56469c2f04f99662ecdde6fb24bf1954d3c9740e18f01afffa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-assuredworkloads_v1
2
2
 
3
+ ### v0.51.0 (2023-12-10)
4
+
5
+ * Regenerated from discovery document revision 20231201
6
+
3
7
  ### v0.50.0 (2023-11-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20231110
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module AssuredworkloadsV1
24
24
 
25
- # Request for acknowledging the violation Next Id: 5
25
+ # Request for acknowledging the violation
26
26
  class GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest
27
27
  include Google::Apis::Core::Hashable
28
28
 
@@ -168,6 +168,19 @@ module Google
168
168
  end
169
169
  end
170
170
 
171
+ # Response for EnableResourceMonitoring endpoint.
172
+ class GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse
173
+ include Google::Apis::Core::Hashable
174
+
175
+ def initialize(**args)
176
+ update!(**args)
177
+ end
178
+
179
+ # Update properties of this object
180
+ def update!(**args)
181
+ end
182
+ end
183
+
171
184
  # Response of ListViolations endpoint.
172
185
  class GoogleCloudAssuredworkloadsV1ListViolationsResponse
173
186
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AssuredworkloadsV1
18
18
  # Version of the google-apis-assuredworkloads_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.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231110"
25
+ REVISION = "20231201"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class GoogleCloudAssuredworkloadsV1ListViolationsResponse
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -252,6 +258,12 @@ module Google
252
258
  end
253
259
  end
254
260
 
261
+ class GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse
262
+ # @private
263
+ class Representation < Google::Apis::Core::JsonRepresentation
264
+ end
265
+ end
266
+
255
267
  class GoogleCloudAssuredworkloadsV1ListViolationsResponse
256
268
  # @private
257
269
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -256,6 +256,37 @@ module Google
256
256
  execute_or_queue_command(command, &block)
257
257
  end
258
258
 
259
+ # Enable resource violation monitoring for a workload.
260
+ # @param [String] name
261
+ # Required. The `name` field is used to identify the workload. Format:
262
+ # organizations/`org_id`/locations/`location_id`/workloads/`workload_id`
263
+ # @param [String] fields
264
+ # Selector specifying which fields to include in a partial response.
265
+ # @param [String] quota_user
266
+ # Available to use for quota purposes for server-side applications. Can be any
267
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
268
+ # @param [Google::Apis::RequestOptions] options
269
+ # Request-specific options
270
+ #
271
+ # @yield [result, err] Result & error if block supplied
272
+ # @yieldparam result [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse] parsed result object
273
+ # @yieldparam err [StandardError] error object if request failed
274
+ #
275
+ # @return [Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse]
276
+ #
277
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
278
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
279
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
280
+ def enable_organization_location_workload_resource_monitoring(name, fields: nil, quota_user: nil, options: nil, &block)
281
+ command = make_simple_command(:post, 'v1/{+name}:enableResourceMonitoring', options)
282
+ command.response_representation = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse::Representation
283
+ command.response_class = Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1EnableResourceMonitoringResponse
284
+ command.params['name'] = name unless name.nil?
285
+ command.query['fields'] = fields unless fields.nil?
286
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
287
+ execute_or_queue_command(command, &block)
288
+ end
289
+
259
290
  # Gets Assured Workload associated with a CRM Node
260
291
  # @param [String] name
261
292
  # Required. The resource name of the Workload to fetch. This is the workloads's
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-assuredworkloads_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
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-19 00:00:00.000000000 Z
11
+ date: 2023-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.50.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-assuredworkloads_v1/v0.51.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-assuredworkloads_v1
63
63
  post_install_message:
64
64
  rdoc_options: []