google-apis-containeranalysis_v1 0.53.0 → 0.54.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: 71bace01e4b9a60cd928bf8448d101e4275856b88503ec48a550637f55233de2
4
- data.tar.gz: d04aa6323b2011b3a0bbe645b17a68dda369dec5e25dd02c59813a049eace9cd
3
+ metadata.gz: b3ee3a3307173557db752bedbd809dc7a7ed1835ec4d956fb0d6c0f7f3100e90
4
+ data.tar.gz: 80af3d70dc789506dc9cfa7d5ebe6fbef978c4ae96e445acddf4e4ca06d30316
5
5
  SHA512:
6
- metadata.gz: 4ffd9221921d77200905d72fa6d346b48c54207b9c78eb1d65aa20942904e4463d60614eb6ae7c06d278ef09be53cd5170e7b94ba3ed7f3f7f6a98026efee2e1
7
- data.tar.gz: af16d63b09e336ab872024add94883d868ad37c1aedc2b0c4211d83cd118d36a81c21b83be4ad45dbbb55b04416c065e9aa6db6b54e52a86e24ca1d3664ae6c9
6
+ metadata.gz: bed0d061923a0975348bf2f7ef383612da32cd10a308b6c8639782d823adfc4394dc9e2c43efb4b8a26d9bce111324dd27a63ba8776c6119cff51e37a1657b46
7
+ data.tar.gz: 9fc9c5bdad4db34211eadcb093b687c79d3eec073c56ebe809933b518f7a1e7ff9df656d30c8f8226319de31ef9786d019384e875978e3ad9f05374900ee2c6b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-containeranalysis_v1
2
2
 
3
+ ### v0.54.0 (2024-08-04)
4
+
5
+ * Regenerated from discovery document revision 20240726
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.53.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240704
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContaineranalysisV1
18
18
  # Version of the google-apis-containeranalysis_v1 gem
19
- GEM_VERSION = "0.53.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240704"
25
+ REVISION = "20240726"
26
26
  end
27
27
  end
28
28
  end
@@ -55,6 +55,108 @@ module Google
55
55
  @batch_path = 'batch'
56
56
  end
57
57
 
58
+ # Creates new notes in batch.
59
+ # @param [String] parent
60
+ # Required. The name of the project in the form of `projects/[PROJECT_ID]`,
61
+ # under which the notes are to be created.
62
+ # @param [Google::Apis::ContaineranalysisV1::BatchCreateNotesRequest] batch_create_notes_request_object
63
+ # @param [String] fields
64
+ # Selector specifying which fields to include in a partial response.
65
+ # @param [String] quota_user
66
+ # Available to use for quota purposes for server-side applications. Can be any
67
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
+ # @param [Google::Apis::RequestOptions] options
69
+ # Request-specific options
70
+ #
71
+ # @yield [result, err] Result & error if block supplied
72
+ # @yieldparam result [Google::Apis::ContaineranalysisV1::BatchCreateNotesResponse] parsed result object
73
+ # @yieldparam err [StandardError] error object if request failed
74
+ #
75
+ # @return [Google::Apis::ContaineranalysisV1::BatchCreateNotesResponse]
76
+ #
77
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
80
+ def batch_project_location_note_create(parent, batch_create_notes_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
81
+ command = make_simple_command(:post, 'v1/{+parent}/notes:batchCreate', options)
82
+ command.request_representation = Google::Apis::ContaineranalysisV1::BatchCreateNotesRequest::Representation
83
+ command.request_object = batch_create_notes_request_object
84
+ command.response_representation = Google::Apis::ContaineranalysisV1::BatchCreateNotesResponse::Representation
85
+ command.response_class = Google::Apis::ContaineranalysisV1::BatchCreateNotesResponse
86
+ command.params['parent'] = parent unless parent.nil?
87
+ command.query['fields'] = fields unless fields.nil?
88
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
89
+ execute_or_queue_command(command, &block)
90
+ end
91
+
92
+ # Creates a new note.
93
+ # @param [String] parent
94
+ # Required. The name of the project in the form of `projects/[PROJECT_ID]`,
95
+ # under which the note is to be created.
96
+ # @param [Google::Apis::ContaineranalysisV1::Note] note_object
97
+ # @param [String] note_id
98
+ # Required. The ID to use for this note.
99
+ # @param [String] fields
100
+ # Selector specifying which fields to include in a partial response.
101
+ # @param [String] quota_user
102
+ # Available to use for quota purposes for server-side applications. Can be any
103
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
104
+ # @param [Google::Apis::RequestOptions] options
105
+ # Request-specific options
106
+ #
107
+ # @yield [result, err] Result & error if block supplied
108
+ # @yieldparam result [Google::Apis::ContaineranalysisV1::Note] parsed result object
109
+ # @yieldparam err [StandardError] error object if request failed
110
+ #
111
+ # @return [Google::Apis::ContaineranalysisV1::Note]
112
+ #
113
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
114
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
115
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
116
+ def create_project_location_note(parent, note_object = nil, note_id: nil, fields: nil, quota_user: nil, options: nil, &block)
117
+ command = make_simple_command(:post, 'v1/{+parent}/notes', options)
118
+ command.request_representation = Google::Apis::ContaineranalysisV1::Note::Representation
119
+ command.request_object = note_object
120
+ command.response_representation = Google::Apis::ContaineranalysisV1::Note::Representation
121
+ command.response_class = Google::Apis::ContaineranalysisV1::Note
122
+ command.params['parent'] = parent unless parent.nil?
123
+ command.query['noteId'] = note_id unless note_id.nil?
124
+ command.query['fields'] = fields unless fields.nil?
125
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
126
+ execute_or_queue_command(command, &block)
127
+ end
128
+
129
+ # Deletes the specified note.
130
+ # @param [String] name
131
+ # Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[
132
+ # NOTE_ID]`.
133
+ # @param [String] fields
134
+ # Selector specifying which fields to include in a partial response.
135
+ # @param [String] quota_user
136
+ # Available to use for quota purposes for server-side applications. Can be any
137
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
138
+ # @param [Google::Apis::RequestOptions] options
139
+ # Request-specific options
140
+ #
141
+ # @yield [result, err] Result & error if block supplied
142
+ # @yieldparam result [Google::Apis::ContaineranalysisV1::Empty] parsed result object
143
+ # @yieldparam err [StandardError] error object if request failed
144
+ #
145
+ # @return [Google::Apis::ContaineranalysisV1::Empty]
146
+ #
147
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
148
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
149
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
150
+ def delete_project_location_note(name, fields: nil, quota_user: nil, options: nil, &block)
151
+ command = make_simple_command(:delete, 'v1/{+name}', options)
152
+ command.response_representation = Google::Apis::ContaineranalysisV1::Empty::Representation
153
+ command.response_class = Google::Apis::ContaineranalysisV1::Empty
154
+ command.params['name'] = name unless name.nil?
155
+ command.query['fields'] = fields unless fields.nil?
156
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
157
+ execute_or_queue_command(command, &block)
158
+ end
159
+
58
160
  # Gets the specified note.
59
161
  # @param [String] name
60
162
  # Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[
@@ -127,6 +229,43 @@ module Google
127
229
  execute_or_queue_command(command, &block)
128
230
  end
129
231
 
232
+ # Updates the specified note.
233
+ # @param [String] name
234
+ # Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[
235
+ # NOTE_ID]`.
236
+ # @param [Google::Apis::ContaineranalysisV1::Note] note_object
237
+ # @param [String] update_mask
238
+ # The fields to update.
239
+ # @param [String] fields
240
+ # Selector specifying which fields to include in a partial response.
241
+ # @param [String] quota_user
242
+ # Available to use for quota purposes for server-side applications. Can be any
243
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
244
+ # @param [Google::Apis::RequestOptions] options
245
+ # Request-specific options
246
+ #
247
+ # @yield [result, err] Result & error if block supplied
248
+ # @yieldparam result [Google::Apis::ContaineranalysisV1::Note] parsed result object
249
+ # @yieldparam err [StandardError] error object if request failed
250
+ #
251
+ # @return [Google::Apis::ContaineranalysisV1::Note]
252
+ #
253
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
254
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
255
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
256
+ def patch_project_location_note(name, note_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
257
+ command = make_simple_command(:patch, 'v1/{+name}', options)
258
+ command.request_representation = Google::Apis::ContaineranalysisV1::Note::Representation
259
+ command.request_object = note_object
260
+ command.response_representation = Google::Apis::ContaineranalysisV1::Note::Representation
261
+ command.response_class = Google::Apis::ContaineranalysisV1::Note
262
+ command.params['name'] = name unless name.nil?
263
+ command.query['updateMask'] = update_mask unless update_mask.nil?
264
+ command.query['fields'] = fields unless fields.nil?
265
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
266
+ execute_or_queue_command(command, &block)
267
+ end
268
+
130
269
  # Lists occurrences referencing the specified note. Provider projects can use
131
270
  # this method to get all occurrences across consumer projects referencing the
132
271
  # specified note.
@@ -169,6 +308,106 @@ module Google
169
308
  execute_or_queue_command(command, &block)
170
309
  end
171
310
 
311
+ # Creates new occurrences in batch.
312
+ # @param [String] parent
313
+ # Required. The name of the project in the form of `projects/[PROJECT_ID]`,
314
+ # under which the occurrences are to be created.
315
+ # @param [Google::Apis::ContaineranalysisV1::BatchCreateOccurrencesRequest] batch_create_occurrences_request_object
316
+ # @param [String] fields
317
+ # Selector specifying which fields to include in a partial response.
318
+ # @param [String] quota_user
319
+ # Available to use for quota purposes for server-side applications. Can be any
320
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
321
+ # @param [Google::Apis::RequestOptions] options
322
+ # Request-specific options
323
+ #
324
+ # @yield [result, err] Result & error if block supplied
325
+ # @yieldparam result [Google::Apis::ContaineranalysisV1::BatchCreateOccurrencesResponse] parsed result object
326
+ # @yieldparam err [StandardError] error object if request failed
327
+ #
328
+ # @return [Google::Apis::ContaineranalysisV1::BatchCreateOccurrencesResponse]
329
+ #
330
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
331
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
332
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
333
+ def batch_project_location_occurrence_create(parent, batch_create_occurrences_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
334
+ command = make_simple_command(:post, 'v1/{+parent}/occurrences:batchCreate', options)
335
+ command.request_representation = Google::Apis::ContaineranalysisV1::BatchCreateOccurrencesRequest::Representation
336
+ command.request_object = batch_create_occurrences_request_object
337
+ command.response_representation = Google::Apis::ContaineranalysisV1::BatchCreateOccurrencesResponse::Representation
338
+ command.response_class = Google::Apis::ContaineranalysisV1::BatchCreateOccurrencesResponse
339
+ command.params['parent'] = parent unless parent.nil?
340
+ command.query['fields'] = fields unless fields.nil?
341
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
342
+ execute_or_queue_command(command, &block)
343
+ end
344
+
345
+ # Creates a new occurrence.
346
+ # @param [String] parent
347
+ # Required. The name of the project in the form of `projects/[PROJECT_ID]`,
348
+ # under which the occurrence is to be created.
349
+ # @param [Google::Apis::ContaineranalysisV1::Occurrence] occurrence_object
350
+ # @param [String] fields
351
+ # Selector specifying which fields to include in a partial response.
352
+ # @param [String] quota_user
353
+ # Available to use for quota purposes for server-side applications. Can be any
354
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
355
+ # @param [Google::Apis::RequestOptions] options
356
+ # Request-specific options
357
+ #
358
+ # @yield [result, err] Result & error if block supplied
359
+ # @yieldparam result [Google::Apis::ContaineranalysisV1::Occurrence] parsed result object
360
+ # @yieldparam err [StandardError] error object if request failed
361
+ #
362
+ # @return [Google::Apis::ContaineranalysisV1::Occurrence]
363
+ #
364
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
365
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
366
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
367
+ def create_project_location_occurrence(parent, occurrence_object = nil, fields: nil, quota_user: nil, options: nil, &block)
368
+ command = make_simple_command(:post, 'v1/{+parent}/occurrences', options)
369
+ command.request_representation = Google::Apis::ContaineranalysisV1::Occurrence::Representation
370
+ command.request_object = occurrence_object
371
+ command.response_representation = Google::Apis::ContaineranalysisV1::Occurrence::Representation
372
+ command.response_class = Google::Apis::ContaineranalysisV1::Occurrence
373
+ command.params['parent'] = parent unless parent.nil?
374
+ command.query['fields'] = fields unless fields.nil?
375
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
376
+ execute_or_queue_command(command, &block)
377
+ end
378
+
379
+ # Deletes the specified occurrence. For example, use this method to delete an
380
+ # occurrence when the occurrence is no longer applicable for the given resource.
381
+ # @param [String] name
382
+ # Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/
383
+ # occurrences/[OCCURRENCE_ID]`.
384
+ # @param [String] fields
385
+ # Selector specifying which fields to include in a partial response.
386
+ # @param [String] quota_user
387
+ # Available to use for quota purposes for server-side applications. Can be any
388
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
389
+ # @param [Google::Apis::RequestOptions] options
390
+ # Request-specific options
391
+ #
392
+ # @yield [result, err] Result & error if block supplied
393
+ # @yieldparam result [Google::Apis::ContaineranalysisV1::Empty] parsed result object
394
+ # @yieldparam err [StandardError] error object if request failed
395
+ #
396
+ # @return [Google::Apis::ContaineranalysisV1::Empty]
397
+ #
398
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
399
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
400
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
401
+ def delete_project_location_occurrence(name, fields: nil, quota_user: nil, options: nil, &block)
402
+ command = make_simple_command(:delete, 'v1/{+name}', options)
403
+ command.response_representation = Google::Apis::ContaineranalysisV1::Empty::Representation
404
+ command.response_class = Google::Apis::ContaineranalysisV1::Empty
405
+ command.params['name'] = name unless name.nil?
406
+ command.query['fields'] = fields unless fields.nil?
407
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
408
+ execute_or_queue_command(command, &block)
409
+ end
410
+
172
411
  # Gets the specified occurrence.
173
412
  # @param [String] name
174
413
  # Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/
@@ -307,6 +546,43 @@ module Google
307
546
  execute_or_queue_command(command, &block)
308
547
  end
309
548
 
549
+ # Updates the specified occurrence.
550
+ # @param [String] name
551
+ # Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/
552
+ # occurrences/[OCCURRENCE_ID]`.
553
+ # @param [Google::Apis::ContaineranalysisV1::Occurrence] occurrence_object
554
+ # @param [String] update_mask
555
+ # The fields to update.
556
+ # @param [String] fields
557
+ # Selector specifying which fields to include in a partial response.
558
+ # @param [String] quota_user
559
+ # Available to use for quota purposes for server-side applications. Can be any
560
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
561
+ # @param [Google::Apis::RequestOptions] options
562
+ # Request-specific options
563
+ #
564
+ # @yield [result, err] Result & error if block supplied
565
+ # @yieldparam result [Google::Apis::ContaineranalysisV1::Occurrence] parsed result object
566
+ # @yieldparam err [StandardError] error object if request failed
567
+ #
568
+ # @return [Google::Apis::ContaineranalysisV1::Occurrence]
569
+ #
570
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
571
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
572
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
573
+ def patch_project_location_occurrence(name, occurrence_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
574
+ command = make_simple_command(:patch, 'v1/{+name}', options)
575
+ command.request_representation = Google::Apis::ContaineranalysisV1::Occurrence::Representation
576
+ command.request_object = occurrence_object
577
+ command.response_representation = Google::Apis::ContaineranalysisV1::Occurrence::Representation
578
+ command.response_class = Google::Apis::ContaineranalysisV1::Occurrence
579
+ command.params['name'] = name unless name.nil?
580
+ command.query['updateMask'] = update_mask unless update_mask.nil?
581
+ command.query['fields'] = fields unless fields.nil?
582
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
583
+ execute_or_queue_command(command, &block)
584
+ end
585
+
310
586
  # Generates an SBOM for the given resource.
311
587
  # @param [String] name
312
588
  # Required. The name of the resource in the form of `projects/[PROJECT_ID]/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-containeranalysis_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.54.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: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-08-04 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-containeranalysis_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-containeranalysis_v1/v0.54.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-containeranalysis_v1
63
63
  post_install_message:
64
64
  rdoc_options: []