google-apis-recommender_v1beta1 0.12.0 → 0.16.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/recommender_v1beta1/classes.rb +195 -12
- data/lib/google/apis/recommender_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/recommender_v1beta1/representations.rb +67 -0
- data/lib/google/apis/recommender_v1beta1/service.rb +302 -0
- data/lib/google/apis/recommender_v1beta1.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2a93e7480db2fbd68d733da4112903e4bdabf4f566e150d39a0d2c670865910
|
4
|
+
data.tar.gz: 5c72febc91692b7750a7ab69fa299443d4fd578aea3aeafcceedcc5630b8a1e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93a094dee06b0e48104baacecb488891869fc39d4c0811f8e69b8c1e109ee08facf1e3f9089c8e9c1ebe82514ee601a612fd6784c55d74efddfd8fa80a0689ce
|
7
|
+
data.tar.gz: 639c6d956e9c678b8141527b3ac8f64f1499a21a8f4825f4596addb0aab8ab406b54682e2c10590fd40f9a5bdf337b54c36f77912ebb0294cb08a4e78b9b61ae
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-recommender_v1beta1
|
2
2
|
|
3
|
+
### v0.16.0 (2021-11-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211105
|
6
|
+
|
7
|
+
### v0.15.0 (2021-11-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211031
|
10
|
+
|
11
|
+
### v0.14.0 (2021-10-20)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
15
|
+
### v0.13.0 (2021-09-01)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210806
|
18
|
+
|
3
19
|
### v0.12.0 (2021-07-14)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210709
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Recommender service in particular.)
|
67
67
|
|
@@ -213,6 +213,93 @@ module Google
|
|
213
213
|
end
|
214
214
|
end
|
215
215
|
|
216
|
+
# Configuration for an InsightType.
|
217
|
+
class GoogleCloudRecommenderV1beta1InsightTypeConfig
|
218
|
+
include Google::Apis::Core::Hashable
|
219
|
+
|
220
|
+
# Allows clients to store small amounts of arbitrary data. Annotations must
|
221
|
+
# follow the Kubernetes syntax. The total size of all keys and values combined
|
222
|
+
# is limited to 256k. Key can have 2 segments: prefix (optional) and name (
|
223
|
+
# required), separated by a slash (/). Prefix must be a DNS subdomain. Name must
|
224
|
+
# be 63 characters or less, begin and end with alphanumerics, with dashes (-),
|
225
|
+
# underscores (_), dots (.), and alphanumerics between.
|
226
|
+
# Corresponds to the JSON property `annotations`
|
227
|
+
# @return [Hash<String,String>]
|
228
|
+
attr_accessor :annotations
|
229
|
+
|
230
|
+
# A user-settable field to provide a human-readable name to be used in user
|
231
|
+
# interfaces.
|
232
|
+
# Corresponds to the JSON property `displayName`
|
233
|
+
# @return [String]
|
234
|
+
attr_accessor :display_name
|
235
|
+
|
236
|
+
# Fingerprint of the InsightTypeConfig. Provides optimistic locking when
|
237
|
+
# updating.
|
238
|
+
# Corresponds to the JSON property `etag`
|
239
|
+
# @return [String]
|
240
|
+
attr_accessor :etag
|
241
|
+
|
242
|
+
# A configuration to customize the generation of insights. Eg, customizing the
|
243
|
+
# lookback period considered when generating a insight.
|
244
|
+
# Corresponds to the JSON property `insightTypeGenerationConfig`
|
245
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeGenerationConfig]
|
246
|
+
attr_accessor :insight_type_generation_config
|
247
|
+
|
248
|
+
# Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]
|
249
|
+
# /insightTypes/[INSIGHT_TYPE_ID]/config
|
250
|
+
# Corresponds to the JSON property `name`
|
251
|
+
# @return [String]
|
252
|
+
attr_accessor :name
|
253
|
+
|
254
|
+
# Output only. Immutable. The revision ID of the config. A new revision is
|
255
|
+
# committed whenever the config is changed in any way. The format is an 8-
|
256
|
+
# character hexadecimal string.
|
257
|
+
# Corresponds to the JSON property `revisionId`
|
258
|
+
# @return [String]
|
259
|
+
attr_accessor :revision_id
|
260
|
+
|
261
|
+
# Last time when the config was updated.
|
262
|
+
# Corresponds to the JSON property `updateTime`
|
263
|
+
# @return [String]
|
264
|
+
attr_accessor :update_time
|
265
|
+
|
266
|
+
def initialize(**args)
|
267
|
+
update!(**args)
|
268
|
+
end
|
269
|
+
|
270
|
+
# Update properties of this object
|
271
|
+
def update!(**args)
|
272
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
273
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
274
|
+
@etag = args[:etag] if args.key?(:etag)
|
275
|
+
@insight_type_generation_config = args[:insight_type_generation_config] if args.key?(:insight_type_generation_config)
|
276
|
+
@name = args[:name] if args.key?(:name)
|
277
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
278
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
# A configuration to customize the generation of insights. Eg, customizing the
|
283
|
+
# lookback period considered when generating a insight.
|
284
|
+
class GoogleCloudRecommenderV1beta1InsightTypeGenerationConfig
|
285
|
+
include Google::Apis::Core::Hashable
|
286
|
+
|
287
|
+
# Parameters for this InsightTypeGenerationConfig. These configs can be used by
|
288
|
+
# or are applied to all subtypes.
|
289
|
+
# Corresponds to the JSON property `params`
|
290
|
+
# @return [Hash<String,Object>]
|
291
|
+
attr_accessor :params
|
292
|
+
|
293
|
+
def initialize(**args)
|
294
|
+
update!(**args)
|
295
|
+
end
|
296
|
+
|
297
|
+
# Update properties of this object
|
298
|
+
def update!(**args)
|
299
|
+
@params = args[:params] if args.key?(:params)
|
300
|
+
end
|
301
|
+
end
|
302
|
+
|
216
303
|
# Response to the `ListInsights` method.
|
217
304
|
class GoogleCloudRecommenderV1beta1ListInsightsResponse
|
218
305
|
include Google::Apis::Core::Hashable
|
@@ -301,8 +388,8 @@ module Google
|
|
301
388
|
attr_accessor :etag
|
302
389
|
|
303
390
|
# State properties to include with this state. Overwrites any existing `
|
304
|
-
# state_metadata`. Keys must match the regex
|
305
|
-
# the regex
|
391
|
+
# state_metadata`. Keys must match the regex `/^a-z0-9`0,62`$/`. Values must
|
392
|
+
# match the regex `/^[a-zA-Z0-9_./-]`0,255`$/`.
|
306
393
|
# Corresponds to the JSON property `stateMetadata`
|
307
394
|
# @return [Hash<String,String>]
|
308
395
|
attr_accessor :state_metadata
|
@@ -328,8 +415,8 @@ module Google
|
|
328
415
|
attr_accessor :etag
|
329
416
|
|
330
417
|
# State properties to include with this state. Overwrites any existing `
|
331
|
-
# state_metadata`. Keys must match the regex
|
332
|
-
# the regex
|
418
|
+
# state_metadata`. Keys must match the regex `/^a-z0-9`0,62`$/`. Values must
|
419
|
+
# match the regex `/^[a-zA-Z0-9_./-]`0,255`$/`.
|
333
420
|
# Corresponds to the JSON property `stateMetadata`
|
334
421
|
# @return [Hash<String,String>]
|
335
422
|
attr_accessor :state_metadata
|
@@ -355,8 +442,8 @@ module Google
|
|
355
442
|
attr_accessor :etag
|
356
443
|
|
357
444
|
# State properties to include with this state. Overwrites any existing `
|
358
|
-
# state_metadata`. Keys must match the regex
|
359
|
-
# the regex
|
445
|
+
# state_metadata`. Keys must match the regex `/^a-z0-9`0,62`$/`. Values must
|
446
|
+
# match the regex `/^[a-zA-Z0-9_./-]`0,255`$/`.
|
360
447
|
# Corresponds to the JSON property `stateMetadata`
|
361
448
|
# @return [Hash<String,String>]
|
362
449
|
attr_accessor :state_metadata
|
@@ -397,12 +484,12 @@ module Google
|
|
397
484
|
# Set of filters to apply if `path` refers to array elements or nested array
|
398
485
|
# elements in order to narrow down to a single unique element that is being
|
399
486
|
# tested/modified. This is intended to be an exact match per filter. To perform
|
400
|
-
# advanced matching, use path_value_matchers. * Example: ` "/versions/*/name"
|
401
|
-
# it-123" "/versions/*/targetSize/percent": 20 ` * Example: ` "/
|
402
|
-
# "roles/owner" "/bindings/*/condition" : null ` * Example:
|
403
|
-
# : "roles/owner" "/bindings/*/members/*" : ["x@example.
|
404
|
-
# When both path_filters and path_value_matchers
|
405
|
-
# be performed.
|
487
|
+
# advanced matching, use path_value_matchers. * Example: ``` ` "/versions/*/name"
|
488
|
+
# : "it-123" "/versions/*/targetSize/percent": 20 ` ``` * Example: ``` ` "/
|
489
|
+
# bindings/*/role": "roles/owner" "/bindings/*/condition" : null ` ``` * Example:
|
490
|
+
# ``` ` "/bindings/*/role": "roles/owner" "/bindings/*/members/*" : ["x@example.
|
491
|
+
# com", "y@example.com"] ` ``` When both path_filters and path_value_matchers
|
492
|
+
# are set, an implicit AND must be performed.
|
406
493
|
# Corresponds to the JSON property `pathFilters`
|
407
494
|
# @return [Hash<String,Object>]
|
408
495
|
attr_accessor :path_filters
|
@@ -563,6 +650,14 @@ module Google
|
|
563
650
|
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommendationStateInfo]
|
564
651
|
attr_accessor :state_info
|
565
652
|
|
653
|
+
# Corresponds to a mutually exclusive group ID within a recommender. A non-empty
|
654
|
+
# ID indicates that the recommendation belongs to a mutually exclusive group.
|
655
|
+
# This means that only one recommendation within the group is suggested to be
|
656
|
+
# applied.
|
657
|
+
# Corresponds to the JSON property `xorGroupId`
|
658
|
+
# @return [String]
|
659
|
+
attr_accessor :xor_group_id
|
660
|
+
|
566
661
|
def initialize(**args)
|
567
662
|
update!(**args)
|
568
663
|
end
|
@@ -580,6 +675,7 @@ module Google
|
|
580
675
|
@priority = args[:priority] if args.key?(:priority)
|
581
676
|
@recommender_subtype = args[:recommender_subtype] if args.key?(:recommender_subtype)
|
582
677
|
@state_info = args[:state_info] if args.key?(:state_info)
|
678
|
+
@xor_group_id = args[:xor_group_id] if args.key?(:xor_group_id)
|
583
679
|
end
|
584
680
|
end
|
585
681
|
|
@@ -655,6 +751,93 @@ module Google
|
|
655
751
|
end
|
656
752
|
end
|
657
753
|
|
754
|
+
# Configuration for a Recommender.
|
755
|
+
class GoogleCloudRecommenderV1beta1RecommenderConfig
|
756
|
+
include Google::Apis::Core::Hashable
|
757
|
+
|
758
|
+
# Allows clients to store small amounts of arbitrary data. Annotations must
|
759
|
+
# follow the Kubernetes syntax. The total size of all keys and values combined
|
760
|
+
# is limited to 256k. Key can have 2 segments: prefix (optional) and name (
|
761
|
+
# required), separated by a slash (/). Prefix must be a DNS subdomain. Name must
|
762
|
+
# be 63 characters or less, begin and end with alphanumerics, with dashes (-),
|
763
|
+
# underscores (_), dots (.), and alphanumerics between.
|
764
|
+
# Corresponds to the JSON property `annotations`
|
765
|
+
# @return [Hash<String,String>]
|
766
|
+
attr_accessor :annotations
|
767
|
+
|
768
|
+
# A user-settable field to provide a human-readable name to be used in user
|
769
|
+
# interfaces.
|
770
|
+
# Corresponds to the JSON property `displayName`
|
771
|
+
# @return [String]
|
772
|
+
attr_accessor :display_name
|
773
|
+
|
774
|
+
# Fingerprint of the RecommenderConfig. Provides optimistic locking when
|
775
|
+
# updating.
|
776
|
+
# Corresponds to the JSON property `etag`
|
777
|
+
# @return [String]
|
778
|
+
attr_accessor :etag
|
779
|
+
|
780
|
+
# Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/
|
781
|
+
# recommenders/[RECOMMENDER_ID]/config
|
782
|
+
# Corresponds to the JSON property `name`
|
783
|
+
# @return [String]
|
784
|
+
attr_accessor :name
|
785
|
+
|
786
|
+
# A Configuration to customize the generation of recommendations. Eg,
|
787
|
+
# customizing the lookback period considered when generating a recommendation.
|
788
|
+
# Corresponds to the JSON property `recommenderGenerationConfig`
|
789
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderGenerationConfig]
|
790
|
+
attr_accessor :recommender_generation_config
|
791
|
+
|
792
|
+
# Output only. Immutable. The revision ID of the config. A new revision is
|
793
|
+
# committed whenever the config is changed in any way. The format is an 8-
|
794
|
+
# character hexadecimal string.
|
795
|
+
# Corresponds to the JSON property `revisionId`
|
796
|
+
# @return [String]
|
797
|
+
attr_accessor :revision_id
|
798
|
+
|
799
|
+
# Last time when the config was updated.
|
800
|
+
# Corresponds to the JSON property `updateTime`
|
801
|
+
# @return [String]
|
802
|
+
attr_accessor :update_time
|
803
|
+
|
804
|
+
def initialize(**args)
|
805
|
+
update!(**args)
|
806
|
+
end
|
807
|
+
|
808
|
+
# Update properties of this object
|
809
|
+
def update!(**args)
|
810
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
811
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
812
|
+
@etag = args[:etag] if args.key?(:etag)
|
813
|
+
@name = args[:name] if args.key?(:name)
|
814
|
+
@recommender_generation_config = args[:recommender_generation_config] if args.key?(:recommender_generation_config)
|
815
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
816
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
817
|
+
end
|
818
|
+
end
|
819
|
+
|
820
|
+
# A Configuration to customize the generation of recommendations. Eg,
|
821
|
+
# customizing the lookback period considered when generating a recommendation.
|
822
|
+
class GoogleCloudRecommenderV1beta1RecommenderGenerationConfig
|
823
|
+
include Google::Apis::Core::Hashable
|
824
|
+
|
825
|
+
# Parameters for this RecommenderGenerationConfig. These configs can be used by
|
826
|
+
# or are applied to all subtypes.
|
827
|
+
# Corresponds to the JSON property `params`
|
828
|
+
# @return [Hash<String,Object>]
|
829
|
+
attr_accessor :params
|
830
|
+
|
831
|
+
def initialize(**args)
|
832
|
+
update!(**args)
|
833
|
+
end
|
834
|
+
|
835
|
+
# Update properties of this object
|
836
|
+
def update!(**args)
|
837
|
+
@params = args[:params] if args.key?(:params)
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
658
841
|
# Contains various ways of describing the impact on Security.
|
659
842
|
class GoogleCloudRecommenderV1beta1SecurityProjection
|
660
843
|
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.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211105"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,18 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class GoogleCloudRecommenderV1beta1InsightTypeConfig
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class GoogleCloudRecommenderV1beta1InsightTypeGenerationConfig
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
55
67
|
class GoogleCloudRecommenderV1beta1ListInsightsResponse
|
56
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
69
|
|
@@ -124,6 +136,18 @@ module Google
|
|
124
136
|
include Google::Apis::Core::JsonObjectSupport
|
125
137
|
end
|
126
138
|
|
139
|
+
class GoogleCloudRecommenderV1beta1RecommenderConfig
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class GoogleCloudRecommenderV1beta1RecommenderGenerationConfig
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
127
151
|
class GoogleCloudRecommenderV1beta1SecurityProjection
|
128
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
153
|
|
@@ -197,6 +221,27 @@ module Google
|
|
197
221
|
end
|
198
222
|
end
|
199
223
|
|
224
|
+
class GoogleCloudRecommenderV1beta1InsightTypeConfig
|
225
|
+
# @private
|
226
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
227
|
+
hash :annotations, as: 'annotations'
|
228
|
+
property :display_name, as: 'displayName'
|
229
|
+
property :etag, as: 'etag'
|
230
|
+
property :insight_type_generation_config, as: 'insightTypeGenerationConfig', class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeGenerationConfig, decorator: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeGenerationConfig::Representation
|
231
|
+
|
232
|
+
property :name, as: 'name'
|
233
|
+
property :revision_id, as: 'revisionId'
|
234
|
+
property :update_time, as: 'updateTime'
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class GoogleCloudRecommenderV1beta1InsightTypeGenerationConfig
|
239
|
+
# @private
|
240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
241
|
+
hash :params, as: 'params'
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
200
245
|
class GoogleCloudRecommenderV1beta1ListInsightsResponse
|
201
246
|
# @private
|
202
247
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -292,6 +337,7 @@ module Google
|
|
292
337
|
property :recommender_subtype, as: 'recommenderSubtype'
|
293
338
|
property :state_info, as: 'stateInfo', class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommendationStateInfo, decorator: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommendationStateInfo::Representation
|
294
339
|
|
340
|
+
property :xor_group_id, as: 'xorGroupId'
|
295
341
|
end
|
296
342
|
end
|
297
343
|
|
@@ -319,6 +365,27 @@ module Google
|
|
319
365
|
end
|
320
366
|
end
|
321
367
|
|
368
|
+
class GoogleCloudRecommenderV1beta1RecommenderConfig
|
369
|
+
# @private
|
370
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
371
|
+
hash :annotations, as: 'annotations'
|
372
|
+
property :display_name, as: 'displayName'
|
373
|
+
property :etag, as: 'etag'
|
374
|
+
property :name, as: 'name'
|
375
|
+
property :recommender_generation_config, as: 'recommenderGenerationConfig', class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderGenerationConfig, decorator: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderGenerationConfig::Representation
|
376
|
+
|
377
|
+
property :revision_id, as: 'revisionId'
|
378
|
+
property :update_time, as: 'updateTime'
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
382
|
+
class GoogleCloudRecommenderV1beta1RecommenderGenerationConfig
|
383
|
+
# @private
|
384
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
385
|
+
hash :params, as: 'params'
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
322
389
|
class GoogleCloudRecommenderV1beta1SecurityProjection
|
323
390
|
# @private
|
324
391
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -719,6 +719,82 @@ module Google
|
|
719
719
|
execute_or_queue_command(command, &block)
|
720
720
|
end
|
721
721
|
|
722
|
+
# Updates an InsightTypeConfig change. This will create a new revision of the
|
723
|
+
# config.
|
724
|
+
# @param [String] name
|
725
|
+
# Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]
|
726
|
+
# /insightTypes/[INSIGHT_TYPE_ID]/config
|
727
|
+
# @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig] google_cloud_recommender_v1beta1_insight_type_config_object
|
728
|
+
# @param [String] update_mask
|
729
|
+
# The list of fields to be updated.
|
730
|
+
# @param [Boolean] validate_only
|
731
|
+
# If true, validate the request and preview the change, but do not actually
|
732
|
+
# update it.
|
733
|
+
# @param [String] fields
|
734
|
+
# Selector specifying which fields to include in a partial response.
|
735
|
+
# @param [String] quota_user
|
736
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
737
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
738
|
+
# @param [Google::Apis::RequestOptions] options
|
739
|
+
# Request-specific options
|
740
|
+
#
|
741
|
+
# @yield [result, err] Result & error if block supplied
|
742
|
+
# @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig] parsed result object
|
743
|
+
# @yieldparam err [StandardError] error object if request failed
|
744
|
+
#
|
745
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig]
|
746
|
+
#
|
747
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
748
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
749
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
750
|
+
def config_organization_location_insight_type(name, google_cloud_recommender_v1beta1_insight_type_config_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
751
|
+
command = make_simple_command(:post, 'v1beta1/{+name}', options)
|
752
|
+
command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
|
753
|
+
command.request_object = google_cloud_recommender_v1beta1_insight_type_config_object
|
754
|
+
command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
|
755
|
+
command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig
|
756
|
+
command.params['name'] = name unless name.nil?
|
757
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
758
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
759
|
+
command.query['fields'] = fields unless fields.nil?
|
760
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
761
|
+
execute_or_queue_command(command, &block)
|
762
|
+
end
|
763
|
+
|
764
|
+
# Gets the requested InsightTypeConfig. There is only one instance of the config
|
765
|
+
# for each InsightType.
|
766
|
+
# @param [String] name
|
767
|
+
# Required. Name of the InsightTypeConfig to get. Acceptable formats: * `
|
768
|
+
# projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/
|
769
|
+
# config` * `projects/[PROJECT_ID]/locations/global/recommenders/[
|
770
|
+
# INSIGHT_TYPE_ID]/config`
|
771
|
+
# @param [String] fields
|
772
|
+
# Selector specifying which fields to include in a partial response.
|
773
|
+
# @param [String] quota_user
|
774
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
775
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
776
|
+
# @param [Google::Apis::RequestOptions] options
|
777
|
+
# Request-specific options
|
778
|
+
#
|
779
|
+
# @yield [result, err] Result & error if block supplied
|
780
|
+
# @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig] parsed result object
|
781
|
+
# @yieldparam err [StandardError] error object if request failed
|
782
|
+
#
|
783
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig]
|
784
|
+
#
|
785
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
786
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
787
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
788
|
+
def get_organization_location_insight_type_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
789
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
790
|
+
command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
|
791
|
+
command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig
|
792
|
+
command.params['name'] = name unless name.nil?
|
793
|
+
command.query['fields'] = fields unless fields.nil?
|
794
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
795
|
+
execute_or_queue_command(command, &block)
|
796
|
+
end
|
797
|
+
|
722
798
|
# Gets the requested insight. Requires the recommender.*.get IAM permission for
|
723
799
|
# the specified insight type.
|
724
800
|
# @param [String] name
|
@@ -847,6 +923,81 @@ module Google
|
|
847
923
|
execute_or_queue_command(command, &block)
|
848
924
|
end
|
849
925
|
|
926
|
+
# Updates a Recommender Config. This will create a new revision of the config.
|
927
|
+
# @param [String] name
|
928
|
+
# Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/
|
929
|
+
# recommenders/[RECOMMENDER_ID]/config
|
930
|
+
# @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig] google_cloud_recommender_v1beta1_recommender_config_object
|
931
|
+
# @param [String] update_mask
|
932
|
+
# The list of fields to be updated.
|
933
|
+
# @param [Boolean] validate_only
|
934
|
+
# If true, validate the request and preview the change, but do not actually
|
935
|
+
# update it.
|
936
|
+
# @param [String] fields
|
937
|
+
# Selector specifying which fields to include in a partial response.
|
938
|
+
# @param [String] quota_user
|
939
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
940
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
941
|
+
# @param [Google::Apis::RequestOptions] options
|
942
|
+
# Request-specific options
|
943
|
+
#
|
944
|
+
# @yield [result, err] Result & error if block supplied
|
945
|
+
# @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig] parsed result object
|
946
|
+
# @yieldparam err [StandardError] error object if request failed
|
947
|
+
#
|
948
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig]
|
949
|
+
#
|
950
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
951
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
952
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
953
|
+
def config_organization_location_recommender(name, google_cloud_recommender_v1beta1_recommender_config_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
954
|
+
command = make_simple_command(:post, 'v1beta1/{+name}', options)
|
955
|
+
command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
|
956
|
+
command.request_object = google_cloud_recommender_v1beta1_recommender_config_object
|
957
|
+
command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
|
958
|
+
command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig
|
959
|
+
command.params['name'] = name unless name.nil?
|
960
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
961
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
962
|
+
command.query['fields'] = fields unless fields.nil?
|
963
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
964
|
+
execute_or_queue_command(command, &block)
|
965
|
+
end
|
966
|
+
|
967
|
+
# Gets the requested Recommender Config. There is only one instance of the
|
968
|
+
# config for each Recommender.
|
969
|
+
# @param [String] name
|
970
|
+
# Required. Name of the Recommendation Config to get. Acceptable formats: * `
|
971
|
+
# projects/[PROJECT_NUMBER]/locations/global/recommenders/[RECOMMENDER_ID]/
|
972
|
+
# config` * `projects/[PROJECT_ID]/locations/global/recommenders/[RECOMMENDER_ID]
|
973
|
+
# /config`
|
974
|
+
# @param [String] fields
|
975
|
+
# Selector specifying which fields to include in a partial response.
|
976
|
+
# @param [String] quota_user
|
977
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
978
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
979
|
+
# @param [Google::Apis::RequestOptions] options
|
980
|
+
# Request-specific options
|
981
|
+
#
|
982
|
+
# @yield [result, err] Result & error if block supplied
|
983
|
+
# @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig] parsed result object
|
984
|
+
# @yieldparam err [StandardError] error object if request failed
|
985
|
+
#
|
986
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig]
|
987
|
+
#
|
988
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
989
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
990
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
991
|
+
def get_organization_location_recommender_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
992
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
993
|
+
command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
|
994
|
+
command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig
|
995
|
+
command.params['name'] = name unless name.nil?
|
996
|
+
command.query['fields'] = fields unless fields.nil?
|
997
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
998
|
+
execute_or_queue_command(command, &block)
|
999
|
+
end
|
1000
|
+
|
850
1001
|
# Gets the requested recommendation. Requires the recommender.*.get IAM
|
851
1002
|
# permission for the specified recommender.
|
852
1003
|
# @param [String] name
|
@@ -1054,6 +1205,82 @@ module Google
|
|
1054
1205
|
execute_or_queue_command(command, &block)
|
1055
1206
|
end
|
1056
1207
|
|
1208
|
+
# Gets the requested InsightTypeConfig. There is only one instance of the config
|
1209
|
+
# for each InsightType.
|
1210
|
+
# @param [String] name
|
1211
|
+
# Required. Name of the InsightTypeConfig to get. Acceptable formats: * `
|
1212
|
+
# projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/
|
1213
|
+
# config` * `projects/[PROJECT_ID]/locations/global/recommenders/[
|
1214
|
+
# INSIGHT_TYPE_ID]/config`
|
1215
|
+
# @param [String] fields
|
1216
|
+
# Selector specifying which fields to include in a partial response.
|
1217
|
+
# @param [String] quota_user
|
1218
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1219
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1220
|
+
# @param [Google::Apis::RequestOptions] options
|
1221
|
+
# Request-specific options
|
1222
|
+
#
|
1223
|
+
# @yield [result, err] Result & error if block supplied
|
1224
|
+
# @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig] parsed result object
|
1225
|
+
# @yieldparam err [StandardError] error object if request failed
|
1226
|
+
#
|
1227
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig]
|
1228
|
+
#
|
1229
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1230
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1231
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1232
|
+
def get_project_location_insight_type_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
1233
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1234
|
+
command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
|
1235
|
+
command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig
|
1236
|
+
command.params['name'] = name unless name.nil?
|
1237
|
+
command.query['fields'] = fields unless fields.nil?
|
1238
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1239
|
+
execute_or_queue_command(command, &block)
|
1240
|
+
end
|
1241
|
+
|
1242
|
+
# Updates an InsightTypeConfig change. This will create a new revision of the
|
1243
|
+
# config.
|
1244
|
+
# @param [String] name
|
1245
|
+
# Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]
|
1246
|
+
# /insightTypes/[INSIGHT_TYPE_ID]/config
|
1247
|
+
# @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig] google_cloud_recommender_v1beta1_insight_type_config_object
|
1248
|
+
# @param [String] update_mask
|
1249
|
+
# The list of fields to be updated.
|
1250
|
+
# @param [Boolean] validate_only
|
1251
|
+
# If true, validate the request and preview the change, but do not actually
|
1252
|
+
# update it.
|
1253
|
+
# @param [String] fields
|
1254
|
+
# Selector specifying which fields to include in a partial response.
|
1255
|
+
# @param [String] quota_user
|
1256
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1257
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1258
|
+
# @param [Google::Apis::RequestOptions] options
|
1259
|
+
# Request-specific options
|
1260
|
+
#
|
1261
|
+
# @yield [result, err] Result & error if block supplied
|
1262
|
+
# @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig] parsed result object
|
1263
|
+
# @yieldparam err [StandardError] error object if request failed
|
1264
|
+
#
|
1265
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig]
|
1266
|
+
#
|
1267
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1268
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1269
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1270
|
+
def update_project_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)
|
1271
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
1272
|
+
command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
|
1273
|
+
command.request_object = google_cloud_recommender_v1beta1_insight_type_config_object
|
1274
|
+
command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
|
1275
|
+
command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig
|
1276
|
+
command.params['name'] = name unless name.nil?
|
1277
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1278
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
1279
|
+
command.query['fields'] = fields unless fields.nil?
|
1280
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1281
|
+
execute_or_queue_command(command, &block)
|
1282
|
+
end
|
1283
|
+
|
1057
1284
|
# Gets the requested insight. Requires the recommender.*.get IAM permission for
|
1058
1285
|
# the specified insight type.
|
1059
1286
|
# @param [String] name
|
@@ -1182,6 +1409,81 @@ module Google
|
|
1182
1409
|
execute_or_queue_command(command, &block)
|
1183
1410
|
end
|
1184
1411
|
|
1412
|
+
# Gets the requested Recommender Config. There is only one instance of the
|
1413
|
+
# config for each Recommender.
|
1414
|
+
# @param [String] name
|
1415
|
+
# Required. Name of the Recommendation Config to get. Acceptable formats: * `
|
1416
|
+
# projects/[PROJECT_NUMBER]/locations/global/recommenders/[RECOMMENDER_ID]/
|
1417
|
+
# config` * `projects/[PROJECT_ID]/locations/global/recommenders/[RECOMMENDER_ID]
|
1418
|
+
# /config`
|
1419
|
+
# @param [String] fields
|
1420
|
+
# Selector specifying which fields to include in a partial response.
|
1421
|
+
# @param [String] quota_user
|
1422
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1423
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1424
|
+
# @param [Google::Apis::RequestOptions] options
|
1425
|
+
# Request-specific options
|
1426
|
+
#
|
1427
|
+
# @yield [result, err] Result & error if block supplied
|
1428
|
+
# @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig] parsed result object
|
1429
|
+
# @yieldparam err [StandardError] error object if request failed
|
1430
|
+
#
|
1431
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig]
|
1432
|
+
#
|
1433
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1434
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1435
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1436
|
+
def get_project_location_recommender_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
1437
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1438
|
+
command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
|
1439
|
+
command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig
|
1440
|
+
command.params['name'] = name unless name.nil?
|
1441
|
+
command.query['fields'] = fields unless fields.nil?
|
1442
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1443
|
+
execute_or_queue_command(command, &block)
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
# Updates a Recommender Config. This will create a new revision of the config.
|
1447
|
+
# @param [String] name
|
1448
|
+
# Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/
|
1449
|
+
# recommenders/[RECOMMENDER_ID]/config
|
1450
|
+
# @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig] google_cloud_recommender_v1beta1_recommender_config_object
|
1451
|
+
# @param [String] update_mask
|
1452
|
+
# The list of fields to be updated.
|
1453
|
+
# @param [Boolean] validate_only
|
1454
|
+
# If true, validate the request and preview the change, but do not actually
|
1455
|
+
# update it.
|
1456
|
+
# @param [String] fields
|
1457
|
+
# Selector specifying which fields to include in a partial response.
|
1458
|
+
# @param [String] quota_user
|
1459
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1460
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1461
|
+
# @param [Google::Apis::RequestOptions] options
|
1462
|
+
# Request-specific options
|
1463
|
+
#
|
1464
|
+
# @yield [result, err] Result & error if block supplied
|
1465
|
+
# @yieldparam result [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig] parsed result object
|
1466
|
+
# @yieldparam err [StandardError] error object if request failed
|
1467
|
+
#
|
1468
|
+
# @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig]
|
1469
|
+
#
|
1470
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1471
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1472
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1473
|
+
def update_project_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)
|
1474
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
1475
|
+
command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
|
1476
|
+
command.request_object = google_cloud_recommender_v1beta1_recommender_config_object
|
1477
|
+
command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
|
1478
|
+
command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig
|
1479
|
+
command.params['name'] = name unless name.nil?
|
1480
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1481
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
1482
|
+
command.query['fields'] = fields unless fields.nil?
|
1483
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1484
|
+
execute_or_queue_command(command, &block)
|
1485
|
+
end
|
1486
|
+
|
1185
1487
|
# Gets the requested recommendation. Requires the recommender.*.get IAM
|
1186
1488
|
# permission for the specified recommender.
|
1187
1489
|
# @param [String] name
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
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.16.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: 2021-
|
11
|
+
date: 2021-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.16.0
|
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: []
|
65
65
|
require_paths:
|