google-apis-recommender_v1beta1 0.28.0 → 0.30.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: e3c99388d6b05f57fbe70599049584c195a7cf66d831563c5c3482c80c60a2a4
4
- data.tar.gz: 9e6bdec5afdb0fa5caa6addb0e0eed1c904420855d76c19499480781be2302d0
3
+ metadata.gz: 733f17b527267d124764168df93492e3ea81df42f42e4b61d41f36e45287c5ba
4
+ data.tar.gz: 621fed8aa7f2f9ebeab1becbc8d5767e1e36af3b485f29ca63f19ddabdf2aa88
5
5
  SHA512:
6
- metadata.gz: ab515b1d57b2adf24e1454642d36da38f5d801455743d4dddc5f6b4a3712f5b440694b2ff39ba8532c60159162932b2140c76c5e9dc8d1cb8b6f547e2f5fd0fb
7
- data.tar.gz: c3d6a4b2e87c1d81e0a335603321ba83c1bb888ddb634ccdac69a3ac65e15836282b6466be697a0d4872bb0058387ddcc5bf45420d64c782ca6b2b24395368be
6
+ metadata.gz: 1f3488ed90bc4e501ad9a65f34b6030d9c8107d34bc86425ab8c63cd310273fd55c69ba2794679ba240428dd500131373bb4954e82cc2eeaafb399bb7762d469
7
+ data.tar.gz: 1f9842d92e30727fb0ae19925be9c15f58999407a6e1a0b7178d05ff9bb75bd335034cc3725970b6d76f9a22787e625c891f8b119da7f3190495a54d3d057021
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-recommender_v1beta1
2
2
 
3
+ ### v0.30.0 (2023-02-15)
4
+
5
+ * Regenerated using generator version 0.12.0
6
+
7
+ ### v0.29.0 (2023-01-15)
8
+
9
+ * Regenerated from discovery document revision 20230108
10
+ * Regenerated using generator version 0.11.1
11
+
3
12
  ### v0.28.0 (2022-10-19)
4
13
 
5
14
  * Regenerated using generator version 0.11.0
@@ -418,6 +418,25 @@ module Google
418
418
  end
419
419
  end
420
420
 
421
+ # Request for the `MarkRecommendationDismissed` Method.
422
+ class GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest
423
+ include Google::Apis::Core::Hashable
424
+
425
+ # Fingerprint of the Recommendation. Provides optimistic locking.
426
+ # Corresponds to the JSON property `etag`
427
+ # @return [String]
428
+ attr_accessor :etag
429
+
430
+ def initialize(**args)
431
+ update!(**args)
432
+ end
433
+
434
+ # Update properties of this object
435
+ def update!(**args)
436
+ @etag = args[:etag] if args.key?(:etag)
437
+ end
438
+ end
439
+
421
440
  # Request for the `MarkRecommendationFailed` Method.
422
441
  class GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest
423
442
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RecommenderV1beta1
18
18
  # Version of the google-apis-recommender_v1beta1 gem
19
- GEM_VERSION = "0.28.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220924"
25
+ REVISION = "20230108"
26
26
  end
27
27
  end
28
28
  end
@@ -88,6 +88,12 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
91
97
  class GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest
92
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
99
 
@@ -292,6 +298,13 @@ module Google
292
298
  end
293
299
  end
294
300
 
301
+ class GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest
302
+ # @private
303
+ class Representation < Google::Apis::Core::JsonRepresentation
304
+ property :etag, as: 'etag'
305
+ end
306
+ end
307
+
295
308
  class GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest
296
309
  # @private
297
310
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -461,6 +461,43 @@ module Google
461
461
  execute_or_queue_command(command, &block)
462
462
  end
463
463
 
464
+ # Mark the Recommendation State as Dismissed. Users can use this method to
465
+ # indicate to the Recommender API that an ACTIVE recommendation has to be marked
466
+ # back as DISMISSED. MarkRecommendationDismissed can be applied to
467
+ # recommendations in ACTIVE state. Requires the recommender.*.update IAM
468
+ # permission for the specified recommender.
469
+ # @param [String] name
470
+ # Name of the recommendation.
471
+ # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest] google_cloud_recommender_v1beta1_mark_recommendation_dismissed_request_object
472
+ # @param [String] fields
473
+ # Selector specifying which fields to include in a partial response.
474
+ # @param [String] quota_user
475
+ # Available to use for quota purposes for server-side applications. Can be any
476
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
477
+ # @param [Google::Apis::RequestOptions] options
478
+ # Request-specific options
479
+ #
480
+ # @yield [result, err] Result & error if block supplied
481
+ # @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation] parsed result object
482
+ # @yieldparam err [StandardError] error object if request failed
483
+ #
484
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation]
485
+ #
486
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
487
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
488
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
489
+ def mark_billing_account_location_recommender_recommendation_dismissed(name, google_cloud_recommender_v1beta1_mark_recommendation_dismissed_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
490
+ command = make_simple_command(:post, 'v1beta1/{+name}:markDismissed', options)
491
+ command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest::Representation
492
+ command.request_object = google_cloud_recommender_v1beta1_mark_recommendation_dismissed_request_object
493
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation::Representation
494
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation
495
+ command.params['name'] = name unless name.nil?
496
+ command.query['fields'] = fields unless fields.nil?
497
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
498
+ execute_or_queue_command(command, &block)
499
+ end
500
+
464
501
  # Marks the Recommendation State as Failed. Users can use this method to
465
502
  # indicate to the Recommender API that they have applied the recommendation
466
503
  # themselves, and the operation failed. This stops the recommendation content
@@ -796,6 +833,43 @@ module Google
796
833
  execute_or_queue_command(command, &block)
797
834
  end
798
835
 
836
+ # Mark the Recommendation State as Dismissed. Users can use this method to
837
+ # indicate to the Recommender API that an ACTIVE recommendation has to be marked
838
+ # back as DISMISSED. MarkRecommendationDismissed can be applied to
839
+ # recommendations in ACTIVE state. Requires the recommender.*.update IAM
840
+ # permission for the specified recommender.
841
+ # @param [String] name
842
+ # Name of the recommendation.
843
+ # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest] google_cloud_recommender_v1beta1_mark_recommendation_dismissed_request_object
844
+ # @param [String] fields
845
+ # Selector specifying which fields to include in a partial response.
846
+ # @param [String] quota_user
847
+ # Available to use for quota purposes for server-side applications. Can be any
848
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
849
+ # @param [Google::Apis::RequestOptions] options
850
+ # Request-specific options
851
+ #
852
+ # @yield [result, err] Result & error if block supplied
853
+ # @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation] parsed result object
854
+ # @yieldparam err [StandardError] error object if request failed
855
+ #
856
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation]
857
+ #
858
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
859
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
860
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
861
+ def mark_folder_location_recommender_recommendation_dismissed(name, google_cloud_recommender_v1beta1_mark_recommendation_dismissed_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
862
+ command = make_simple_command(:post, 'v1beta1/{+name}:markDismissed', options)
863
+ command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest::Representation
864
+ command.request_object = google_cloud_recommender_v1beta1_mark_recommendation_dismissed_request_object
865
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation::Representation
866
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation
867
+ command.params['name'] = name unless name.nil?
868
+ command.query['fields'] = fields unless fields.nil?
869
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
870
+ execute_or_queue_command(command, &block)
871
+ end
872
+
799
873
  # Marks the Recommendation State as Failed. Users can use this method to
800
874
  # indicate to the Recommender API that they have applied the recommendation
801
875
  # themselves, and the operation failed. This stops the recommendation content
@@ -1286,6 +1360,43 @@ module Google
1286
1360
  execute_or_queue_command(command, &block)
1287
1361
  end
1288
1362
 
1363
+ # Mark the Recommendation State as Dismissed. Users can use this method to
1364
+ # indicate to the Recommender API that an ACTIVE recommendation has to be marked
1365
+ # back as DISMISSED. MarkRecommendationDismissed can be applied to
1366
+ # recommendations in ACTIVE state. Requires the recommender.*.update IAM
1367
+ # permission for the specified recommender.
1368
+ # @param [String] name
1369
+ # Name of the recommendation.
1370
+ # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest] google_cloud_recommender_v1beta1_mark_recommendation_dismissed_request_object
1371
+ # @param [String] fields
1372
+ # Selector specifying which fields to include in a partial response.
1373
+ # @param [String] quota_user
1374
+ # Available to use for quota purposes for server-side applications. Can be any
1375
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1376
+ # @param [Google::Apis::RequestOptions] options
1377
+ # Request-specific options
1378
+ #
1379
+ # @yield [result, err] Result & error if block supplied
1380
+ # @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation] parsed result object
1381
+ # @yieldparam err [StandardError] error object if request failed
1382
+ #
1383
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation]
1384
+ #
1385
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1386
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1387
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1388
+ def mark_organization_location_recommender_recommendation_dismissed(name, google_cloud_recommender_v1beta1_mark_recommendation_dismissed_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1389
+ command = make_simple_command(:post, 'v1beta1/{+name}:markDismissed', options)
1390
+ command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest::Representation
1391
+ command.request_object = google_cloud_recommender_v1beta1_mark_recommendation_dismissed_request_object
1392
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation::Representation
1393
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation
1394
+ command.params['name'] = name unless name.nil?
1395
+ command.query['fields'] = fields unless fields.nil?
1396
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1397
+ execute_or_queue_command(command, &block)
1398
+ end
1399
+
1289
1400
  # Marks the Recommendation State as Failed. Users can use this method to
1290
1401
  # indicate to the Recommender API that they have applied the recommendation
1291
1402
  # themselves, and the operation failed. This stops the recommendation content
@@ -1776,6 +1887,43 @@ module Google
1776
1887
  execute_or_queue_command(command, &block)
1777
1888
  end
1778
1889
 
1890
+ # Mark the Recommendation State as Dismissed. Users can use this method to
1891
+ # indicate to the Recommender API that an ACTIVE recommendation has to be marked
1892
+ # back as DISMISSED. MarkRecommendationDismissed can be applied to
1893
+ # recommendations in ACTIVE state. Requires the recommender.*.update IAM
1894
+ # permission for the specified recommender.
1895
+ # @param [String] name
1896
+ # Name of the recommendation.
1897
+ # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest] google_cloud_recommender_v1beta1_mark_recommendation_dismissed_request_object
1898
+ # @param [String] fields
1899
+ # Selector specifying which fields to include in a partial response.
1900
+ # @param [String] quota_user
1901
+ # Available to use for quota purposes for server-side applications. Can be any
1902
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1903
+ # @param [Google::Apis::RequestOptions] options
1904
+ # Request-specific options
1905
+ #
1906
+ # @yield [result, err] Result & error if block supplied
1907
+ # @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation] parsed result object
1908
+ # @yieldparam err [StandardError] error object if request failed
1909
+ #
1910
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation]
1911
+ #
1912
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1913
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1914
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1915
+ def mark_project_location_recommender_recommendation_dismissed(name, google_cloud_recommender_v1beta1_mark_recommendation_dismissed_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1916
+ command = make_simple_command(:post, 'v1beta1/{+name}:markDismissed', options)
1917
+ command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest::Representation
1918
+ command.request_object = google_cloud_recommender_v1beta1_mark_recommendation_dismissed_request_object
1919
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation::Representation
1920
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Recommendation
1921
+ command.params['name'] = name unless name.nil?
1922
+ command.query['fields'] = fields unless fields.nil?
1923
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1924
+ execute_or_queue_command(command, &block)
1925
+ end
1926
+
1779
1927
  # Marks the Recommendation State as Failed. Users can use this method to
1780
1928
  # indicate to the Recommender API that they have applied the recommendation
1781
1929
  # themselves, and the operation failed. This stops the recommendation content
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-recommender_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.30.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: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2023-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.1
19
+ version: 0.11.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-recommender_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recommender_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Recommender API V1beta1