google-apis-assuredworkloads_v1 0.49.0 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15749880cca02737a10ad6baea6f2dbf9fdec4f15bd5ff01cc06fd9349e8ace7
4
- data.tar.gz: f89d1d88f1da184296347366528557c0d3f803ab94c98f539ac8e5aa3b0cce80
3
+ metadata.gz: f769cb8d5464ec97ff9cf7186ad15434d0146d2634160f01b886524cefba8023
4
+ data.tar.gz: bb17035f27e57a1233560c222a7434aa647fe7a4f130b4a02ab106cd0c0f00e2
5
5
  SHA512:
6
- metadata.gz: 5b892fbda4fe3da7df2e6b1dfc6a717eec957590153ead55efeaf3e210c9e8de29e5d6faa280eeb5c3e36a290dd35f6be544787dc9c591a8e2938557dff34d92
7
- data.tar.gz: ec80060c2c97677316b62ac3f8417e0cd87bed0cfb394376662532482333594765aedcecb2a60a81c4625591f47449f4d277d6feea24b5bfb7ec5048adfabded
6
+ metadata.gz: a65cf5e3b82a9f43f9971c0d6010499491899bd03b5f666a77b80b284ab01fe4e88cd0c23f9dc7af2a6ea08784485b78b39bf6f917ab7abd3a6d6fc330e1ed77
7
+ data.tar.gz: 6e4831068b0bcae4a7760a7accfff88ba8e22ec58742466d6c91501f28f578963b964ead5bf65e56469c2f04f99662ecdde6fb24bf1954d3c9740e18f01afffa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.50.0 (2023-11-19)
8
+
9
+ * Regenerated from discovery document revision 20231110
10
+
3
11
  ### v0.49.0 (2023-11-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20231106
@@ -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
 
@@ -113,7 +113,7 @@ module Google
113
113
 
114
114
  # Type of the asset being analyzed. Possible values will be among the ones
115
115
  # listed [here](https://cloud.google.com/asset-inventory/docs/supported-asset-
116
- # types#searchable_asset_types).
116
+ # types).
117
117
  # Corresponds to the JSON property `assetType`
118
118
  # @return [String]
119
119
  attr_accessor :asset_type
@@ -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
@@ -368,7 +381,7 @@ module Google
368
381
  end
369
382
  end
370
383
 
371
- # Workload monitoring Violation. Next Id: 28
384
+ # Workload monitoring Violation.
372
385
  class GoogleCloudAssuredworkloadsV1Violation
373
386
  include Google::Apis::Core::Hashable
374
387
 
@@ -524,7 +537,7 @@ module Google
524
537
  end
525
538
  end
526
539
 
527
- # Violation exception detail. Next Id: 6
540
+ # Violation exception detail.
528
541
  class GoogleCloudAssuredworkloadsV1ViolationExceptionContext
529
542
  include Google::Apis::Core::Hashable
530
543
 
@@ -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.49.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 = "20231106"
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
@@ -133,7 +133,7 @@ module Google
133
133
  # Optional. List of asset types to be analyzed, including and under the source
134
134
  # resource. If empty, all assets are analyzed. The complete list of asset types
135
135
  # is available [here](https://cloud.google.com/asset-inventory/docs/supported-
136
- # asset-types#searchable_asset_types).
136
+ # asset-types).
137
137
  # @param [Fixnum] page_size
138
138
  # Optional. Page size. If a value is not specified, the default value of 10 is
139
139
  # used.
@@ -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.49.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-12 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.49.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: []