google-apis-recommender_v1 0.23.0 → 0.24.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: 05ddeb9770e3e4a3c9c29a6dd87f4f8b78df23ac65ab426bc124c6aa296bbc76
4
- data.tar.gz: fd50e6d887867bf9d880ddcd24904cf6b2f0bf52cd9ea20bd181a91190e8f849
3
+ metadata.gz: 2a13390d15d753894ef5105d656e9f196bdc8162104375c737ea6ec7ca502525
4
+ data.tar.gz: 2e777f4d62256fc00ad5188448ac3ac909b5d9b5f8820cea17e35eae1c204848
5
5
  SHA512:
6
- metadata.gz: af188c0373ff0beeeb652b1e9885fdd8358329906178d9bca091c32f6164e5e2ef84f09e8388b47604ef379c6a04f9c51c6acec4040257f39bceef52520138a1
7
- data.tar.gz: 171e579fded3ea542587d473c2ef95ad429464778ca54c80855569c67cf0c0dece27a20f9c61f5884724b641dcc15195d3bd06347e201dc9dd277e080d7d1e7a
6
+ metadata.gz: 82ced562b8f379cef1b1fe1a1c71a957570f88ab6fef0a82ec4c988a3d86c47759a3ba2568e875929a4d6cd50f2225ab08b4619ae8573ca1b9315176e0904f4e
7
+ data.tar.gz: b3489eac3807e46066099f4820c4b9995ba869dd78f2baa6cf926af20575402e47af89de032b298231a131a1f0af43d5b80239fdbc4c8b74d37c79af5388125d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-recommender_v1
2
2
 
3
+ ### v0.24.0 (2022-09-22)
4
+
5
+ * Regenerated from discovery document revision 20220917
6
+ * Regenerated using generator version 0.10.0
7
+
3
8
  ### v0.23.0 (2022-09-16)
4
9
 
5
10
  * Unspecified changes
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RecommenderV1
18
18
  # Version of the google-apis-recommender_v1 gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.9.0"
22
+ GENERATOR_VERSION = "0.10.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220905"
25
+ REVISION = "20220917"
26
26
  end
27
27
  end
28
28
  end
@@ -49,6 +49,84 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
+ # Gets the requested InsightTypeConfig. There is only one instance of the config
53
+ # for each InsightType.
54
+ # @param [String] name
55
+ # Required. Name of the InsightTypeConfig to get. Acceptable formats: * `
56
+ # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/
57
+ # config` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[
58
+ # INSIGHT_TYPE_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/[
59
+ # LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config` * `billingAccounts/[
60
+ # BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config`
61
+ # @param [String] fields
62
+ # Selector specifying which fields to include in a partial response.
63
+ # @param [String] quota_user
64
+ # Available to use for quota purposes for server-side applications. Can be any
65
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
66
+ # @param [Google::Apis::RequestOptions] options
67
+ # Request-specific options
68
+ #
69
+ # @yield [result, err] Result & error if block supplied
70
+ # @yieldparam result [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightTypeConfig] parsed result object
71
+ # @yieldparam err [StandardError] error object if request failed
72
+ #
73
+ # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightTypeConfig]
74
+ #
75
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
76
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
77
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
78
+ def get_billing_account_location_insight_type_config(name, fields: nil, quota_user: nil, options: nil, &block)
79
+ command = make_simple_command(:get, 'v1/{+name}', options)
80
+ command.response_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightTypeConfig::Representation
81
+ command.response_class = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightTypeConfig
82
+ command.params['name'] = name unless name.nil?
83
+ command.query['fields'] = fields unless fields.nil?
84
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
85
+ execute_or_queue_command(command, &block)
86
+ end
87
+
88
+ # Updates an InsightTypeConfig change. This will create a new revision of the
89
+ # config.
90
+ # @param [String] name
91
+ # Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]
92
+ # /insightTypes/[INSIGHT_TYPE_ID]/config
93
+ # @param [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightTypeConfig] google_cloud_recommender_v1_insight_type_config_object
94
+ # @param [String] update_mask
95
+ # The list of fields to be updated.
96
+ # @param [Boolean] validate_only
97
+ # If true, validate the request and preview the change, but do not actually
98
+ # update it.
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::RecommenderV1::GoogleCloudRecommenderV1InsightTypeConfig] parsed result object
109
+ # @yieldparam err [StandardError] error object if request failed
110
+ #
111
+ # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightTypeConfig]
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 update_billing_account_location_insight_type_config(name, google_cloud_recommender_v1_insight_type_config_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
117
+ command = make_simple_command(:patch, 'v1/{+name}', options)
118
+ command.request_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightTypeConfig::Representation
119
+ command.request_object = google_cloud_recommender_v1_insight_type_config_object
120
+ command.response_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightTypeConfig::Representation
121
+ command.response_class = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightTypeConfig
122
+ command.params['name'] = name unless name.nil?
123
+ command.query['updateMask'] = update_mask unless update_mask.nil?
124
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
125
+ command.query['fields'] = fields unless fields.nil?
126
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
127
+ execute_or_queue_command(command, &block)
128
+ end
129
+
52
130
  # Gets the requested insight. Requires the recommender.*.get IAM permission for
53
131
  # the specified insight type.
54
132
  # @param [String] name
@@ -177,6 +255,83 @@ module Google
177
255
  execute_or_queue_command(command, &block)
178
256
  end
179
257
 
258
+ # Gets the requested Recommender Config. There is only one instance of the
259
+ # config for each Recommender.
260
+ # @param [String] name
261
+ # Required. Name of the Recommendation Config to get. Acceptable formats: * `
262
+ # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/
263
+ # config` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[
264
+ # RECOMMENDER_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]
265
+ # /recommenders/[RECOMMENDER_ID]/config` * `billingAccounts/[BILLING_ACCOUNT_ID]/
266
+ # locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config`
267
+ # @param [String] fields
268
+ # Selector specifying which fields to include in a partial response.
269
+ # @param [String] quota_user
270
+ # Available to use for quota purposes for server-side applications. Can be any
271
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
272
+ # @param [Google::Apis::RequestOptions] options
273
+ # Request-specific options
274
+ #
275
+ # @yield [result, err] Result & error if block supplied
276
+ # @yieldparam result [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommenderConfig] parsed result object
277
+ # @yieldparam err [StandardError] error object if request failed
278
+ #
279
+ # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommenderConfig]
280
+ #
281
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
282
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
283
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
284
+ def get_billing_account_location_recommender_config(name, fields: nil, quota_user: nil, options: nil, &block)
285
+ command = make_simple_command(:get, 'v1/{+name}', options)
286
+ command.response_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommenderConfig::Representation
287
+ command.response_class = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommenderConfig
288
+ command.params['name'] = name unless name.nil?
289
+ command.query['fields'] = fields unless fields.nil?
290
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
291
+ execute_or_queue_command(command, &block)
292
+ end
293
+
294
+ # Updates a Recommender Config. This will create a new revision of the config.
295
+ # @param [String] name
296
+ # Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/
297
+ # recommenders/[RECOMMENDER_ID]/config
298
+ # @param [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommenderConfig] google_cloud_recommender_v1_recommender_config_object
299
+ # @param [String] update_mask
300
+ # The list of fields to be updated.
301
+ # @param [Boolean] validate_only
302
+ # If true, validate the request and preview the change, but do not actually
303
+ # update it.
304
+ # @param [String] fields
305
+ # Selector specifying which fields to include in a partial response.
306
+ # @param [String] quota_user
307
+ # Available to use for quota purposes for server-side applications. Can be any
308
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
309
+ # @param [Google::Apis::RequestOptions] options
310
+ # Request-specific options
311
+ #
312
+ # @yield [result, err] Result & error if block supplied
313
+ # @yieldparam result [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommenderConfig] parsed result object
314
+ # @yieldparam err [StandardError] error object if request failed
315
+ #
316
+ # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommenderConfig]
317
+ #
318
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
319
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
320
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
321
+ def update_billing_account_location_recommender_config(name, google_cloud_recommender_v1_recommender_config_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
322
+ command = make_simple_command(:patch, 'v1/{+name}', options)
323
+ command.request_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommenderConfig::Representation
324
+ command.request_object = google_cloud_recommender_v1_recommender_config_object
325
+ command.response_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommenderConfig::Representation
326
+ command.response_class = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommenderConfig
327
+ command.params['name'] = name unless name.nil?
328
+ command.query['updateMask'] = update_mask unless update_mask.nil?
329
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
330
+ command.query['fields'] = fields unless fields.nil?
331
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
332
+ execute_or_queue_command(command, &block)
333
+ end
334
+
180
335
  # Gets the requested recommendation. Requires the recommender.*.get IAM
181
336
  # permission for the specified recommender.
182
337
  # @param [String] name
@@ -723,10 +878,11 @@ module Google
723
878
  # for each InsightType.
724
879
  # @param [String] name
725
880
  # Required. Name of the InsightTypeConfig to get. Acceptable formats: * `
726
- # projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/
727
- # config` * `projects/[PROJECT_ID]/locations/global/recommenders/[
728
- # INSIGHT_TYPE_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/global/
729
- # recommenders/[INSIGHT_TYPE_ID]/config`
881
+ # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/
882
+ # config` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[
883
+ # INSIGHT_TYPE_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/[
884
+ # LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config` * `billingAccounts/[
885
+ # BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config`
730
886
  # @param [String] fields
731
887
  # Selector specifying which fields to include in a partial response.
732
888
  # @param [String] quota_user
@@ -931,7 +1087,8 @@ module Google
931
1087
  # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/
932
1088
  # config` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[
933
1089
  # RECOMMENDER_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]
934
- # /recommenders/[RECOMMENDER_ID]/config`
1090
+ # /recommenders/[RECOMMENDER_ID]/config` * `billingAccounts/[BILLING_ACCOUNT_ID]/
1091
+ # locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config`
935
1092
  # @param [String] fields
936
1093
  # Selector specifying which fields to include in a partial response.
937
1094
  # @param [String] quota_user
@@ -1211,10 +1368,11 @@ module Google
1211
1368
  # for each InsightType.
1212
1369
  # @param [String] name
1213
1370
  # Required. Name of the InsightTypeConfig to get. Acceptable formats: * `
1214
- # projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/
1215
- # config` * `projects/[PROJECT_ID]/locations/global/recommenders/[
1216
- # INSIGHT_TYPE_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/global/
1217
- # recommenders/[INSIGHT_TYPE_ID]/config`
1371
+ # projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/
1372
+ # config` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[
1373
+ # INSIGHT_TYPE_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/[
1374
+ # LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config` * `billingAccounts/[
1375
+ # BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config`
1218
1376
  # @param [String] fields
1219
1377
  # Selector specifying which fields to include in a partial response.
1220
1378
  # @param [String] quota_user
@@ -1419,7 +1577,8 @@ module Google
1419
1577
  # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/
1420
1578
  # config` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[
1421
1579
  # RECOMMENDER_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]
1422
- # /recommenders/[RECOMMENDER_ID]/config`
1580
+ # /recommenders/[RECOMMENDER_ID]/config` * `billingAccounts/[BILLING_ACCOUNT_ID]/
1581
+ # locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config`
1423
1582
  # @param [String] fields
1424
1583
  # Selector specifying which fields to include in a partial response.
1425
1584
  # @param [String] quota_user
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-recommender_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.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-09-19 00:00:00.000000000 Z
11
+ date: 2022-09-26 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.7.2
19
+ version: 0.9.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.7.2
29
+ version: 0.9.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recommender_v1
63
63
  post_install_message:
64
64
  rdoc_options: []