google-apis-recommender_v1beta1 0.30.0 → 0.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/recommender_v1beta1/classes.rb +92 -0
- data/lib/google/apis/recommender_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/recommender_v1beta1/representations.rb +56 -0
- data/lib/google/apis/recommender_v1beta1/service.rb +70 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c29d36328e1d393bca0ccfe1ddf0e5296c10fca32989327402a7313cd50ab6c
|
4
|
+
data.tar.gz: 2e0235152f2df05ad1e2dd6f807dfadf138a81893af7348bd00ccfe6e94035d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 209370cdec73c120541b54fc459be7b46e1320c12d459c64bb5cc954445981bc21bda5e0a3dad714c8c5c23dee652f4d47bc26c7db05db997c683fe70e7291d1
|
7
|
+
data.tar.gz: 3dadfeb6fd5d67d72f170df45812ab37f0cb7c168c7371c2e0a8199db44b27738d6ef8d4f6892e99c273017015f440e45a3c144348f01f33bc2d1c2774d62f9f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-recommender_v1beta1
|
2
2
|
|
3
|
+
### v0.32.0 (2023-07-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230706
|
6
|
+
|
7
|
+
### v0.31.0 (2023-06-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230612
|
10
|
+
|
3
11
|
### v0.30.0 (2023-02-15)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.12.0
|
@@ -226,6 +226,26 @@ module Google
|
|
226
226
|
end
|
227
227
|
end
|
228
228
|
|
229
|
+
# The type of insight.
|
230
|
+
class GoogleCloudRecommenderV1beta1InsightType
|
231
|
+
include Google::Apis::Core::Hashable
|
232
|
+
|
233
|
+
# The insight_type’s name in format insightTypes/`insight_type` eg: insightTypes/
|
234
|
+
# google.iam.policy.Insight
|
235
|
+
# Corresponds to the JSON property `name`
|
236
|
+
# @return [String]
|
237
|
+
attr_accessor :name
|
238
|
+
|
239
|
+
def initialize(**args)
|
240
|
+
update!(**args)
|
241
|
+
end
|
242
|
+
|
243
|
+
# Update properties of this object
|
244
|
+
def update!(**args)
|
245
|
+
@name = args[:name] if args.key?(:name)
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
229
249
|
# Configuration for an InsightType.
|
230
250
|
class GoogleCloudRecommenderV1beta1InsightTypeConfig
|
231
251
|
include Google::Apis::Core::Hashable
|
@@ -313,6 +333,32 @@ module Google
|
|
313
333
|
end
|
314
334
|
end
|
315
335
|
|
336
|
+
# Response for the `ListInsightTypes` method. Next ID: 3
|
337
|
+
class GoogleCloudRecommenderV1beta1ListInsightTypesResponse
|
338
|
+
include Google::Apis::Core::Hashable
|
339
|
+
|
340
|
+
# The set of recommenders available
|
341
|
+
# Corresponds to the JSON property `insightTypes`
|
342
|
+
# @return [Array<Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightType>]
|
343
|
+
attr_accessor :insight_types
|
344
|
+
|
345
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
346
|
+
# field is omitted, there are no subsequent pages.
|
347
|
+
# Corresponds to the JSON property `nextPageToken`
|
348
|
+
# @return [String]
|
349
|
+
attr_accessor :next_page_token
|
350
|
+
|
351
|
+
def initialize(**args)
|
352
|
+
update!(**args)
|
353
|
+
end
|
354
|
+
|
355
|
+
# Update properties of this object
|
356
|
+
def update!(**args)
|
357
|
+
@insight_types = args[:insight_types] if args.key?(:insight_types)
|
358
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
316
362
|
# Response to the `ListInsights` method.
|
317
363
|
class GoogleCloudRecommenderV1beta1ListInsightsResponse
|
318
364
|
include Google::Apis::Core::Hashable
|
@@ -365,6 +411,32 @@ module Google
|
|
365
411
|
end
|
366
412
|
end
|
367
413
|
|
414
|
+
# Response for the `ListRecommender` method. Next ID: 3
|
415
|
+
class GoogleCloudRecommenderV1beta1ListRecommendersResponse
|
416
|
+
include Google::Apis::Core::Hashable
|
417
|
+
|
418
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
419
|
+
# field is omitted, there are no subsequent pages.
|
420
|
+
# Corresponds to the JSON property `nextPageToken`
|
421
|
+
# @return [String]
|
422
|
+
attr_accessor :next_page_token
|
423
|
+
|
424
|
+
# The set of recommenders available
|
425
|
+
# Corresponds to the JSON property `recommenders`
|
426
|
+
# @return [Array<Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderType>]
|
427
|
+
attr_accessor :recommenders
|
428
|
+
|
429
|
+
def initialize(**args)
|
430
|
+
update!(**args)
|
431
|
+
end
|
432
|
+
|
433
|
+
# Update properties of this object
|
434
|
+
def update!(**args)
|
435
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
436
|
+
@recommenders = args[:recommenders] if args.key?(:recommenders)
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|
368
440
|
# Request for the `MarkInsightAccepted` method.
|
369
441
|
class GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest
|
370
442
|
include Google::Apis::Core::Hashable
|
@@ -870,6 +942,26 @@ module Google
|
|
870
942
|
end
|
871
943
|
end
|
872
944
|
|
945
|
+
# The type of a recommender.
|
946
|
+
class GoogleCloudRecommenderV1beta1RecommenderType
|
947
|
+
include Google::Apis::Core::Hashable
|
948
|
+
|
949
|
+
# The recommender's name in format RecommenderTypes/`recommender_type` eg:
|
950
|
+
# recommenderTypes/google.iam.policy.Recommender
|
951
|
+
# Corresponds to the JSON property `name`
|
952
|
+
# @return [String]
|
953
|
+
attr_accessor :name
|
954
|
+
|
955
|
+
def initialize(**args)
|
956
|
+
update!(**args)
|
957
|
+
end
|
958
|
+
|
959
|
+
# Update properties of this object
|
960
|
+
def update!(**args)
|
961
|
+
@name = args[:name] if args.key?(:name)
|
962
|
+
end
|
963
|
+
end
|
964
|
+
|
873
965
|
# Contains information on the impact of a reliability recommendation.
|
874
966
|
class GoogleCloudRecommenderV1beta1ReliabilityProjection
|
875
967
|
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.
|
19
|
+
GEM_VERSION = "0.32.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 = "
|
25
|
+
REVISION = "20230706"
|
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 GoogleCloudRecommenderV1beta1InsightType
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class GoogleCloudRecommenderV1beta1InsightTypeConfig
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -64,6 +70,12 @@ module Google
|
|
64
70
|
include Google::Apis::Core::JsonObjectSupport
|
65
71
|
end
|
66
72
|
|
73
|
+
class GoogleCloudRecommenderV1beta1ListInsightTypesResponse
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
67
79
|
class GoogleCloudRecommenderV1beta1ListInsightsResponse
|
68
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
81
|
|
@@ -76,6 +88,12 @@ module Google
|
|
76
88
|
include Google::Apis::Core::JsonObjectSupport
|
77
89
|
end
|
78
90
|
|
91
|
+
class GoogleCloudRecommenderV1beta1ListRecommendersResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
79
97
|
class GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest
|
80
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
99
|
|
@@ -154,6 +172,12 @@ module Google
|
|
154
172
|
include Google::Apis::Core::JsonObjectSupport
|
155
173
|
end
|
156
174
|
|
175
|
+
class GoogleCloudRecommenderV1beta1RecommenderType
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
157
181
|
class GoogleCloudRecommenderV1beta1ReliabilityProjection
|
158
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
183
|
|
@@ -243,6 +267,13 @@ module Google
|
|
243
267
|
end
|
244
268
|
end
|
245
269
|
|
270
|
+
class GoogleCloudRecommenderV1beta1InsightType
|
271
|
+
# @private
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
273
|
+
property :name, as: 'name'
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
246
277
|
class GoogleCloudRecommenderV1beta1InsightTypeConfig
|
247
278
|
# @private
|
248
279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -264,6 +295,15 @@ module Google
|
|
264
295
|
end
|
265
296
|
end
|
266
297
|
|
298
|
+
class GoogleCloudRecommenderV1beta1ListInsightTypesResponse
|
299
|
+
# @private
|
300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
301
|
+
collection :insight_types, as: 'insightTypes', class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightType, decorator: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightType::Representation
|
302
|
+
|
303
|
+
property :next_page_token, as: 'nextPageToken'
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
267
307
|
class GoogleCloudRecommenderV1beta1ListInsightsResponse
|
268
308
|
# @private
|
269
309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -282,6 +322,15 @@ module Google
|
|
282
322
|
end
|
283
323
|
end
|
284
324
|
|
325
|
+
class GoogleCloudRecommenderV1beta1ListRecommendersResponse
|
326
|
+
# @private
|
327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
328
|
+
property :next_page_token, as: 'nextPageToken'
|
329
|
+
collection :recommenders, as: 'recommenders', class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderType, decorator: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderType::Representation
|
330
|
+
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
285
334
|
class GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest
|
286
335
|
# @private
|
287
336
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -415,6 +464,13 @@ module Google
|
|
415
464
|
end
|
416
465
|
end
|
417
466
|
|
467
|
+
class GoogleCloudRecommenderV1beta1RecommenderType
|
468
|
+
# @private
|
469
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
470
|
+
property :name, as: 'name'
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
418
474
|
class GoogleCloudRecommenderV1beta1ReliabilityProjection
|
419
475
|
# @private
|
420
476
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -948,6 +948,41 @@ module Google
|
|
948
948
|
execute_or_queue_command(command, &block)
|
949
949
|
end
|
950
950
|
|
951
|
+
# Lists available InsightTypes. No IAM permissions are required.
|
952
|
+
# @param [Fixnum] page_size
|
953
|
+
# Optional. The number of InsightTypes to return per page. The service may
|
954
|
+
# return fewer than this value.
|
955
|
+
# @param [String] page_token
|
956
|
+
# Optional. A page token, received from a previous `ListRecommenders` call.
|
957
|
+
# Provide this to retrieve the subsequent page.
|
958
|
+
# @param [String] fields
|
959
|
+
# Selector specifying which fields to include in a partial response.
|
960
|
+
# @param [String] quota_user
|
961
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
962
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
963
|
+
# @param [Google::Apis::RequestOptions] options
|
964
|
+
# Request-specific options
|
965
|
+
#
|
966
|
+
# @yield [result, err] Result & error if block supplied
|
967
|
+
# @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListInsightTypesResponse] parsed result object
|
968
|
+
# @yieldparam err [StandardError] error object if request failed
|
969
|
+
#
|
970
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListInsightTypesResponse]
|
971
|
+
#
|
972
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
973
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
974
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
975
|
+
def list_insight_types(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
976
|
+
command = make_simple_command(:get, 'v1beta1/insightTypes', options)
|
977
|
+
command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListInsightTypesResponse::Representation
|
978
|
+
command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListInsightTypesResponse
|
979
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
980
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
981
|
+
command.query['fields'] = fields unless fields.nil?
|
982
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
983
|
+
execute_or_queue_command(command, &block)
|
984
|
+
end
|
985
|
+
|
951
986
|
# Gets the requested InsightTypeConfig. There is only one instance of the config
|
952
987
|
# for each InsightType.
|
953
988
|
# @param [String] name
|
@@ -2001,6 +2036,41 @@ module Google
|
|
2001
2036
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2002
2037
|
execute_or_queue_command(command, &block)
|
2003
2038
|
end
|
2039
|
+
|
2040
|
+
# Lists all available Recommenders. No IAM permissions are required.
|
2041
|
+
# @param [Fixnum] page_size
|
2042
|
+
# Optional. The number of RecommenderTypes to return per page. The service may
|
2043
|
+
# return fewer than this value.
|
2044
|
+
# @param [String] page_token
|
2045
|
+
# Optional. A page token, received from a previous `ListRecommenders` call.
|
2046
|
+
# Provide this to retrieve the subsequent page.
|
2047
|
+
# @param [String] fields
|
2048
|
+
# Selector specifying which fields to include in a partial response.
|
2049
|
+
# @param [String] quota_user
|
2050
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2051
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2052
|
+
# @param [Google::Apis::RequestOptions] options
|
2053
|
+
# Request-specific options
|
2054
|
+
#
|
2055
|
+
# @yield [result, err] Result & error if block supplied
|
2056
|
+
# @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListRecommendersResponse] parsed result object
|
2057
|
+
# @yieldparam err [StandardError] error object if request failed
|
2058
|
+
#
|
2059
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListRecommendersResponse]
|
2060
|
+
#
|
2061
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2062
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2063
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2064
|
+
def list_recommenders(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2065
|
+
command = make_simple_command(:get, 'v1beta1/recommenders', options)
|
2066
|
+
command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListRecommendersResponse::Representation
|
2067
|
+
command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1ListRecommendersResponse
|
2068
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2069
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2070
|
+
command.query['fields'] = fields unless fields.nil?
|
2071
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2072
|
+
execute_or_queue_command(command, &block)
|
2073
|
+
end
|
2004
2074
|
|
2005
2075
|
protected
|
2006
2076
|
|
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.
|
4
|
+
version: 0.32.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
|
+
date: 2023-07-09 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-recommender_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.32.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: []
|