google-apis-recommender_v1beta1 0.27.0 → 0.29.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: '059bfa0eb07408524a9bad5c4ba3454a53a2a9ab6f6b4769ffcdb12e1ac03b25'
4
- data.tar.gz: 8fd8a0de2aef7dd5beb436f9d43ea0b0bc0147709e8dd3fa9040cfc09a01ee1b
3
+ metadata.gz: 8c7f9331cd8822697daca516692aea26c85b8d5d80f00145c93dbd6935f0197d
4
+ data.tar.gz: 8673d00c36e61d24c885a287511afb84780f6da8f646e862a578b450a9f472ca
5
5
  SHA512:
6
- metadata.gz: bcf831f73add3450f200dae351cadf4d0d256b81845c514960f894a8aef59dc9d68d035b177298a85a1a5f6b50fc81fd45cc66d996d68e1331a1f994dea10e3f
7
- data.tar.gz: 83ca7e02d247172e62499533de2123d197246c63540b449fbe48ad93ee6605cb5a038b6cd2c8a995c371e7d71bd0c9a10ea0c6a14c7e840983bdaf17ba798ed6
6
+ metadata.gz: 77ce69538f532b38f0af441cca7d5c2ec25fb729d17da614f3fb08d9eb38577af0b8e94b1f74287c158ff7df0c31ddf31e7992bde2b2c79ffb2b0344c65d6eb9
7
+ data.tar.gz: 463ef58f46661bea2bdb980390a773a5660096159acabc5364558edb7b59990e0d9f8f321b92d1cb52bf04485e1dec694de5a86c9c66d811ed412c0a649abac6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-recommender_v1beta1
2
2
 
3
+ ### v0.29.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20230108
6
+ * Regenerated using generator version 0.11.1
7
+
8
+ ### v0.28.0 (2022-10-19)
9
+
10
+ * Regenerated using generator version 0.11.0
11
+
3
12
  ### v0.27.0 (2022-09-29)
4
13
 
5
14
  * Regenerated from discovery document revision 20220924
@@ -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.27.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.1"
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.27.0
4
+ version: 0.29.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-03 00:00:00.000000000 Z
11
+ date: 2023-01-15 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.0
19
+ version: 0.9.1
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.0
29
+ version: 0.9.1
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.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.29.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