google-apis-recommender_v1beta1 0.24.0 → 0.26.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: a30014f6af0f656ad8b790b49b786525370d370f49903233d831915fcdb4f6e4
4
- data.tar.gz: 53df837256a3d2aa09cd4a8cf91e322cb57e6e5ca272ae761d81f82a0c7e8cba
3
+ metadata.gz: 6043384465ac35db5e65312db5a29bfdaf19d5db8ccd0fa9f6110409c551aa12
4
+ data.tar.gz: 4903f557a0fe8521d29973b24513a764414d512af05e3af410690ce0f309bad2
5
5
  SHA512:
6
- metadata.gz: 7c68aacdbaa804a0cc145975c7365fb4a922ce615eda5da15dcf75ccd1cef606ef1a80cb539631e45970514d7b8a3fbbbe1f76a8c452e6a1aa8e818da2e2dc46
7
- data.tar.gz: 3b0532652693b656521885491b6f84b05c8740e252d528bc0ab4350d5feda9fc5334c44636fac44eff94ebd67d285e55cec7dc823b4e4cb3dd985e07e48ee46d
6
+ metadata.gz: 07bb8030e0f96b1e36bca601a6f329ef1b01814ac7d145558ee07fdaa4a4f704bfe7765c9808a367521ff6c94e34bbeab5bcf4a640f17b6c814dc5a4cf9462ff
7
+ data.tar.gz: c4468a7879f3e60f2e06b028523ee677185964b81a15530aefcb8705ea6c3033416a52d4f899c5cfdcc5dbb7e2eb9e0674bf8b1601e7e986be60fcd3e518d33e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-recommender_v1beta1
2
2
 
3
+ ### v0.26.0 (2022-09-25)
4
+
5
+ * Regenerated from discovery document revision 20220917
6
+ * Regenerated using generator version 0.10.0
7
+
8
+ ### v0.25.0 (2022-09-18)
9
+
10
+ * Unspecified changes
11
+
3
12
  ### v0.24.0 (2022-09-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20220905
@@ -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.24.0"
19
+ GEM_VERSION = "0.26.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::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig] parsed result object
71
+ # @yieldparam err [StandardError] error object if request failed
72
+ #
73
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig]
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, 'v1beta1/{+name}', options)
80
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
81
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig
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::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig] google_cloud_recommender_v1beta1_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::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig] parsed result object
109
+ # @yieldparam err [StandardError] error object if request failed
110
+ #
111
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig]
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_v1beta1_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, 'v1beta1/{+name}', options)
118
+ command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
119
+ command.request_object = google_cloud_recommender_v1beta1_insight_type_config_object
120
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
121
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig
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::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig] parsed result object
277
+ # @yieldparam err [StandardError] error object if request failed
278
+ #
279
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig]
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, 'v1beta1/{+name}', options)
286
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
287
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig
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::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig] google_cloud_recommender_v1beta1_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::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig] parsed result object
314
+ # @yieldparam err [StandardError] error object if request failed
315
+ #
316
+ # @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig]
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_v1beta1_recommender_config_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
322
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
323
+ command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
324
+ command.request_object = google_cloud_recommender_v1beta1_recommender_config_object
325
+ command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
326
+ command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig
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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.26.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-12 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'
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'
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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.26.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: []