google-apis-recommender_v1 0.5.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4bc71f91cce6b58ac27589d23f596b7688221cbd81d109d54103e1c32e50215
|
4
|
+
data.tar.gz: 03fa3c8af3fef7bcd31bfd8d5708ad652297fc990b1898ee157600e363c55a2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7e9d1ba732e6a950c09cbb1087efda9424b4e5e68783baea8da05bfe25b456a37ad1b5481ce084b8b280102915cfb6a41b4736ff55820d9b198327199714de3
|
7
|
+
data.tar.gz: 874503a8e8a388ec2f5cd88b0b4166f7495c08be8b6f84191ef1c7a4ce55f223790661baec7aceb9dc1913c02a72d716c990f40fe03a7e84609a44116263c07b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-recommender_v1
|
2
2
|
|
3
|
+
### v0.10.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.9.0 (2021-06-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210613
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.8.0 (2021-05-26)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210522
|
15
|
+
|
16
|
+
### v0.7.0 (2021-05-19)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.6.0 (2021-05-13)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210510
|
23
|
+
|
3
24
|
### v0.5.0 (2021-03-24)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210319
|
@@ -61,6 +61,11 @@ module Google
|
|
61
61
|
# @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1CostProjection]
|
62
62
|
attr_accessor :cost_projection
|
63
63
|
|
64
|
+
# Contains various ways of describing the impact on Security.
|
65
|
+
# Corresponds to the JSON property `securityProjection`
|
66
|
+
# @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SecurityProjection]
|
67
|
+
attr_accessor :security_projection
|
68
|
+
|
64
69
|
def initialize(**args)
|
65
70
|
update!(**args)
|
66
71
|
end
|
@@ -69,6 +74,7 @@ module Google
|
|
69
74
|
def update!(**args)
|
70
75
|
@category = args[:category] if args.key?(:category)
|
71
76
|
@cost_projection = args[:cost_projection] if args.key?(:cost_projection)
|
77
|
+
@security_projection = args[:security_projection] if args.key?(:security_projection)
|
72
78
|
end
|
73
79
|
end
|
74
80
|
|
@@ -126,6 +132,11 @@ module Google
|
|
126
132
|
# @return [String]
|
127
133
|
attr_accessor :observation_period
|
128
134
|
|
135
|
+
# Insight's severity.
|
136
|
+
# Corresponds to the JSON property `severity`
|
137
|
+
# @return [String]
|
138
|
+
attr_accessor :severity
|
139
|
+
|
129
140
|
# Information related to insight state.
|
130
141
|
# Corresponds to the JSON property `stateInfo`
|
131
142
|
# @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightStateInfo]
|
@@ -151,6 +162,7 @@ module Google
|
|
151
162
|
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
|
152
163
|
@name = args[:name] if args.key?(:name)
|
153
164
|
@observation_period = args[:observation_period] if args.key?(:observation_period)
|
165
|
+
@severity = args[:severity] if args.key?(:severity)
|
154
166
|
@state_info = args[:state_info] if args.key?(:state_info)
|
155
167
|
@target_resources = args[:target_resources] if args.key?(:target_resources)
|
156
168
|
end
|
@@ -369,7 +381,7 @@ module Google
|
|
369
381
|
class GoogleCloudRecommenderV1Operation
|
370
382
|
include Google::Apis::Core::Hashable
|
371
383
|
|
372
|
-
# Type of this operation. Contains one of '
|
384
|
+
# Type of this operation. Contains one of 'add', 'remove', 'replace', 'move', '
|
373
385
|
# copy', 'test' and custom operations. This field is case-insensitive and always
|
374
386
|
# populated.
|
375
387
|
# Corresponds to the JSON property `action`
|
@@ -530,6 +542,11 @@ module Google
|
|
530
542
|
# @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Impact]
|
531
543
|
attr_accessor :primary_impact
|
532
544
|
|
545
|
+
# Recommendation's priority.
|
546
|
+
# Corresponds to the JSON property `priority`
|
547
|
+
# @return [String]
|
548
|
+
attr_accessor :priority
|
549
|
+
|
533
550
|
# Contains an identifier for a subtype of recommendations produced for the same
|
534
551
|
# recommender. Subtype is a function of content and impact, meaning a new
|
535
552
|
# subtype might be added when significant changes to `content` or `
|
@@ -560,6 +577,7 @@ module Google
|
|
560
577
|
@last_refresh_time = args[:last_refresh_time] if args.key?(:last_refresh_time)
|
561
578
|
@name = args[:name] if args.key?(:name)
|
562
579
|
@primary_impact = args[:primary_impact] if args.key?(:primary_impact)
|
580
|
+
@priority = args[:priority] if args.key?(:priority)
|
563
581
|
@recommender_subtype = args[:recommender_subtype] if args.key?(:recommender_subtype)
|
564
582
|
@state_info = args[:state_info] if args.key?(:state_info)
|
565
583
|
end
|
@@ -631,6 +649,25 @@ module Google
|
|
631
649
|
end
|
632
650
|
end
|
633
651
|
|
652
|
+
# Contains various ways of describing the impact on Security.
|
653
|
+
class GoogleCloudRecommenderV1SecurityProjection
|
654
|
+
include Google::Apis::Core::Hashable
|
655
|
+
|
656
|
+
# Additional security impact details that is provided by the recommender.
|
657
|
+
# Corresponds to the JSON property `details`
|
658
|
+
# @return [Hash<String,Object>]
|
659
|
+
attr_accessor :details
|
660
|
+
|
661
|
+
def initialize(**args)
|
662
|
+
update!(**args)
|
663
|
+
end
|
664
|
+
|
665
|
+
# Update properties of this object
|
666
|
+
def update!(**args)
|
667
|
+
@details = args[:details] if args.key?(:details)
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
634
671
|
# Contains various matching options for values for a GCP resource field.
|
635
672
|
class GoogleCloudRecommenderV1ValueMatcher
|
636
673
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210613"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,12 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class GoogleCloudRecommenderV1SecurityProjection
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
127
133
|
class GoogleCloudRecommenderV1ValueMatcher
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
135
|
|
@@ -151,6 +157,8 @@ module Google
|
|
151
157
|
property :category, as: 'category'
|
152
158
|
property :cost_projection, as: 'costProjection', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1CostProjection, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1CostProjection::Representation
|
153
159
|
|
160
|
+
property :security_projection, as: 'securityProjection', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SecurityProjection, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SecurityProjection::Representation
|
161
|
+
|
154
162
|
end
|
155
163
|
end
|
156
164
|
|
@@ -167,6 +175,7 @@ module Google
|
|
167
175
|
property :last_refresh_time, as: 'lastRefreshTime'
|
168
176
|
property :name, as: 'name'
|
169
177
|
property :observation_period, as: 'observationPeriod'
|
178
|
+
property :severity, as: 'severity'
|
170
179
|
property :state_info, as: 'stateInfo', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightStateInfo, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1InsightStateInfo::Representation
|
171
180
|
|
172
181
|
collection :target_resources, as: 'targetResources'
|
@@ -279,6 +288,7 @@ module Google
|
|
279
288
|
property :name, as: 'name'
|
280
289
|
property :primary_impact, as: 'primaryImpact', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Impact, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Impact::Representation
|
281
290
|
|
291
|
+
property :priority, as: 'priority'
|
282
292
|
property :recommender_subtype, as: 'recommenderSubtype'
|
283
293
|
property :state_info, as: 'stateInfo', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationStateInfo, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationStateInfo::Representation
|
284
294
|
|
@@ -308,6 +318,13 @@ module Google
|
|
308
318
|
end
|
309
319
|
end
|
310
320
|
|
321
|
+
class GoogleCloudRecommenderV1SecurityProjection
|
322
|
+
# @private
|
323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
324
|
+
hash :details, as: 'details'
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
311
328
|
class GoogleCloudRecommenderV1ValueMatcher
|
312
329
|
# @private
|
313
330
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -80,21 +80,27 @@ module Google
|
|
80
80
|
execute_or_queue_command(command, &block)
|
81
81
|
end
|
82
82
|
|
83
|
-
# Lists insights for
|
84
|
-
# permission for the specified insight type.
|
83
|
+
# Lists insights for the specified Cloud Resource. Requires the recommender.*.
|
84
|
+
# list IAM permission for the specified insight type.
|
85
85
|
# @param [String] parent
|
86
86
|
# Required. The container resource on which to execute the request. Acceptable
|
87
|
-
# formats:
|
88
|
-
# INSIGHT_TYPE_ID]`
|
89
|
-
#
|
90
|
-
# insightTypes/[INSIGHT_TYPE_ID]`
|
87
|
+
# formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[
|
88
|
+
# INSIGHT_TYPE_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[
|
89
|
+
# INSIGHT_TYPE_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/
|
90
|
+
# insightTypes/[INSIGHT_TYPE_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/
|
91
|
+
# insightTypes/[INSIGHT_TYPE_ID]` * `organizations/[ORGANIZATION_ID]/locations/[
|
91
92
|
# LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP
|
92
93
|
# Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
|
93
94
|
# supported insight types: https://cloud.google.com/recommender/docs/insights/
|
94
|
-
# insight-types.
|
95
|
+
# insight-types.
|
95
96
|
# @param [String] filter
|
96
97
|
# Optional. Filter expression to restrict the insights returned. Supported
|
97
|
-
# filter fields: state
|
98
|
+
# filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: *
|
99
|
+
# `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype =
|
100
|
+
# PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.
|
101
|
+
# state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These
|
102
|
+
# expressions are based on the filter language described at https://google.aip.
|
103
|
+
# dev/160)
|
98
104
|
# @param [Fixnum] page_size
|
99
105
|
# Optional. The maximum number of results to return from this request. Non-
|
100
106
|
# positive values are ignored. If not specified, the server will determine the
|
@@ -202,21 +208,26 @@ module Google
|
|
202
208
|
execute_or_queue_command(command, &block)
|
203
209
|
end
|
204
210
|
|
205
|
-
# Lists recommendations for
|
206
|
-
# permission for the specified recommender.
|
211
|
+
# Lists recommendations for the specified Cloud Resource. Requires the
|
212
|
+
# recommender.*.list IAM permission for the specified recommender.
|
207
213
|
# @param [String] parent
|
208
214
|
# Required. The container resource on which to execute the request. Acceptable
|
209
|
-
# formats:
|
210
|
-
# RECOMMENDER_ID]`
|
211
|
-
#
|
212
|
-
# recommenders/[RECOMMENDER_ID]`
|
215
|
+
# formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[
|
216
|
+
# RECOMMENDER_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[
|
217
|
+
# RECOMMENDER_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/
|
218
|
+
# recommenders/[RECOMMENDER_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/
|
219
|
+
# recommenders/[RECOMMENDER_ID]` * `organizations/[ORGANIZATION_ID]/locations/[
|
213
220
|
# LOCATION]/recommenders/[RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
|
214
221
|
# https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported
|
215
222
|
# recommenders: https://cloud.google.com/recommender/docs/recommenders.
|
216
223
|
# @param [String] filter
|
217
224
|
# Filter expression to restrict the recommendations returned. Supported filter
|
218
|
-
# fields: state_info.state
|
219
|
-
#
|
225
|
+
# fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `
|
226
|
+
# stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype
|
227
|
+
# = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR
|
228
|
+
# priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)
|
229
|
+
# ` (These expressions are based on the filter language described at https://
|
230
|
+
# google.aip.dev/160)
|
220
231
|
# @param [Fixnum] page_size
|
221
232
|
# Optional. The maximum number of results to return from this request. Non-
|
222
233
|
# positive values are ignored. If not specified, the server will determine the
|
@@ -404,21 +415,27 @@ module Google
|
|
404
415
|
execute_or_queue_command(command, &block)
|
405
416
|
end
|
406
417
|
|
407
|
-
# Lists insights for
|
408
|
-
# permission for the specified insight type.
|
418
|
+
# Lists insights for the specified Cloud Resource. Requires the recommender.*.
|
419
|
+
# list IAM permission for the specified insight type.
|
409
420
|
# @param [String] parent
|
410
421
|
# Required. The container resource on which to execute the request. Acceptable
|
411
|
-
# formats:
|
412
|
-
# INSIGHT_TYPE_ID]`
|
413
|
-
#
|
414
|
-
# insightTypes/[INSIGHT_TYPE_ID]`
|
422
|
+
# formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[
|
423
|
+
# INSIGHT_TYPE_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[
|
424
|
+
# INSIGHT_TYPE_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/
|
425
|
+
# insightTypes/[INSIGHT_TYPE_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/
|
426
|
+
# insightTypes/[INSIGHT_TYPE_ID]` * `organizations/[ORGANIZATION_ID]/locations/[
|
415
427
|
# LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP
|
416
428
|
# Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
|
417
429
|
# supported insight types: https://cloud.google.com/recommender/docs/insights/
|
418
|
-
# insight-types.
|
430
|
+
# insight-types.
|
419
431
|
# @param [String] filter
|
420
432
|
# Optional. Filter expression to restrict the insights returned. Supported
|
421
|
-
# filter fields: state
|
433
|
+
# filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: *
|
434
|
+
# `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype =
|
435
|
+
# PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.
|
436
|
+
# state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These
|
437
|
+
# expressions are based on the filter language described at https://google.aip.
|
438
|
+
# dev/160)
|
422
439
|
# @param [Fixnum] page_size
|
423
440
|
# Optional. The maximum number of results to return from this request. Non-
|
424
441
|
# positive values are ignored. If not specified, the server will determine the
|
@@ -526,21 +543,26 @@ module Google
|
|
526
543
|
execute_or_queue_command(command, &block)
|
527
544
|
end
|
528
545
|
|
529
|
-
# Lists recommendations for
|
530
|
-
# permission for the specified recommender.
|
546
|
+
# Lists recommendations for the specified Cloud Resource. Requires the
|
547
|
+
# recommender.*.list IAM permission for the specified recommender.
|
531
548
|
# @param [String] parent
|
532
549
|
# Required. The container resource on which to execute the request. Acceptable
|
533
|
-
# formats:
|
534
|
-
# RECOMMENDER_ID]`
|
535
|
-
#
|
536
|
-
# recommenders/[RECOMMENDER_ID]`
|
550
|
+
# formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[
|
551
|
+
# RECOMMENDER_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[
|
552
|
+
# RECOMMENDER_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/
|
553
|
+
# recommenders/[RECOMMENDER_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/
|
554
|
+
# recommenders/[RECOMMENDER_ID]` * `organizations/[ORGANIZATION_ID]/locations/[
|
537
555
|
# LOCATION]/recommenders/[RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
|
538
556
|
# https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported
|
539
557
|
# recommenders: https://cloud.google.com/recommender/docs/recommenders.
|
540
558
|
# @param [String] filter
|
541
559
|
# Filter expression to restrict the recommendations returned. Supported filter
|
542
|
-
# fields: state_info.state
|
543
|
-
#
|
560
|
+
# fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `
|
561
|
+
# stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype
|
562
|
+
# = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR
|
563
|
+
# priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)
|
564
|
+
# ` (These expressions are based on the filter language described at https://
|
565
|
+
# google.aip.dev/160)
|
544
566
|
# @param [Fixnum] page_size
|
545
567
|
# Optional. The maximum number of results to return from this request. Non-
|
546
568
|
# positive values are ignored. If not specified, the server will determine the
|
@@ -728,21 +750,27 @@ module Google
|
|
728
750
|
execute_or_queue_command(command, &block)
|
729
751
|
end
|
730
752
|
|
731
|
-
# Lists insights for
|
732
|
-
# permission for the specified insight type.
|
753
|
+
# Lists insights for the specified Cloud Resource. Requires the recommender.*.
|
754
|
+
# list IAM permission for the specified insight type.
|
733
755
|
# @param [String] parent
|
734
756
|
# Required. The container resource on which to execute the request. Acceptable
|
735
|
-
# formats:
|
736
|
-
# INSIGHT_TYPE_ID]`
|
737
|
-
#
|
738
|
-
# insightTypes/[INSIGHT_TYPE_ID]`
|
757
|
+
# formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[
|
758
|
+
# INSIGHT_TYPE_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[
|
759
|
+
# INSIGHT_TYPE_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/
|
760
|
+
# insightTypes/[INSIGHT_TYPE_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/
|
761
|
+
# insightTypes/[INSIGHT_TYPE_ID]` * `organizations/[ORGANIZATION_ID]/locations/[
|
739
762
|
# LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP
|
740
763
|
# Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
|
741
764
|
# supported insight types: https://cloud.google.com/recommender/docs/insights/
|
742
|
-
# insight-types.
|
765
|
+
# insight-types.
|
743
766
|
# @param [String] filter
|
744
767
|
# Optional. Filter expression to restrict the insights returned. Supported
|
745
|
-
# filter fields: state
|
768
|
+
# filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: *
|
769
|
+
# `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype =
|
770
|
+
# PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.
|
771
|
+
# state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These
|
772
|
+
# expressions are based on the filter language described at https://google.aip.
|
773
|
+
# dev/160)
|
746
774
|
# @param [Fixnum] page_size
|
747
775
|
# Optional. The maximum number of results to return from this request. Non-
|
748
776
|
# positive values are ignored. If not specified, the server will determine the
|
@@ -850,21 +878,26 @@ module Google
|
|
850
878
|
execute_or_queue_command(command, &block)
|
851
879
|
end
|
852
880
|
|
853
|
-
# Lists recommendations for
|
854
|
-
# permission for the specified recommender.
|
881
|
+
# Lists recommendations for the specified Cloud Resource. Requires the
|
882
|
+
# recommender.*.list IAM permission for the specified recommender.
|
855
883
|
# @param [String] parent
|
856
884
|
# Required. The container resource on which to execute the request. Acceptable
|
857
|
-
# formats:
|
858
|
-
# RECOMMENDER_ID]`
|
859
|
-
#
|
860
|
-
# recommenders/[RECOMMENDER_ID]`
|
885
|
+
# formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[
|
886
|
+
# RECOMMENDER_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[
|
887
|
+
# RECOMMENDER_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/
|
888
|
+
# recommenders/[RECOMMENDER_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/
|
889
|
+
# recommenders/[RECOMMENDER_ID]` * `organizations/[ORGANIZATION_ID]/locations/[
|
861
890
|
# LOCATION]/recommenders/[RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
|
862
891
|
# https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported
|
863
892
|
# recommenders: https://cloud.google.com/recommender/docs/recommenders.
|
864
893
|
# @param [String] filter
|
865
894
|
# Filter expression to restrict the recommendations returned. Supported filter
|
866
|
-
# fields: state_info.state
|
867
|
-
#
|
895
|
+
# fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `
|
896
|
+
# stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype
|
897
|
+
# = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR
|
898
|
+
# priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)
|
899
|
+
# ` (These expressions are based on the filter language described at https://
|
900
|
+
# google.aip.dev/160)
|
868
901
|
# @param [Fixnum] page_size
|
869
902
|
# Optional. The maximum number of results to return from this request. Non-
|
870
903
|
# positive values are ignored. If not specified, the server will determine the
|
@@ -1052,21 +1085,27 @@ module Google
|
|
1052
1085
|
execute_or_queue_command(command, &block)
|
1053
1086
|
end
|
1054
1087
|
|
1055
|
-
# Lists insights for
|
1056
|
-
# permission for the specified insight type.
|
1088
|
+
# Lists insights for the specified Cloud Resource. Requires the recommender.*.
|
1089
|
+
# list IAM permission for the specified insight type.
|
1057
1090
|
# @param [String] parent
|
1058
1091
|
# Required. The container resource on which to execute the request. Acceptable
|
1059
|
-
# formats:
|
1060
|
-
# INSIGHT_TYPE_ID]`
|
1061
|
-
#
|
1062
|
-
# insightTypes/[INSIGHT_TYPE_ID]`
|
1092
|
+
# formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[
|
1093
|
+
# INSIGHT_TYPE_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[
|
1094
|
+
# INSIGHT_TYPE_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/
|
1095
|
+
# insightTypes/[INSIGHT_TYPE_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/
|
1096
|
+
# insightTypes/[INSIGHT_TYPE_ID]` * `organizations/[ORGANIZATION_ID]/locations/[
|
1063
1097
|
# LOCATION]/insightTypes/[INSIGHT_TYPE_ID]` LOCATION here refers to GCP
|
1064
1098
|
# Locations: https://cloud.google.com/about/locations/ INSIGHT_TYPE_ID refers to
|
1065
1099
|
# supported insight types: https://cloud.google.com/recommender/docs/insights/
|
1066
|
-
# insight-types.
|
1100
|
+
# insight-types.
|
1067
1101
|
# @param [String] filter
|
1068
1102
|
# Optional. Filter expression to restrict the insights returned. Supported
|
1069
|
-
# filter fields: state
|
1103
|
+
# filter fields: * `stateInfo.state` * `insightSubtype` * `severity` Examples: *
|
1104
|
+
# `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `insightSubtype =
|
1105
|
+
# PERMISSIONS_USAGE` * `severity = CRITICAL OR severity = HIGH` * `stateInfo.
|
1106
|
+
# state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` (These
|
1107
|
+
# expressions are based on the filter language described at https://google.aip.
|
1108
|
+
# dev/160)
|
1070
1109
|
# @param [Fixnum] page_size
|
1071
1110
|
# Optional. The maximum number of results to return from this request. Non-
|
1072
1111
|
# positive values are ignored. If not specified, the server will determine the
|
@@ -1174,21 +1213,26 @@ module Google
|
|
1174
1213
|
execute_or_queue_command(command, &block)
|
1175
1214
|
end
|
1176
1215
|
|
1177
|
-
# Lists recommendations for
|
1178
|
-
# permission for the specified recommender.
|
1216
|
+
# Lists recommendations for the specified Cloud Resource. Requires the
|
1217
|
+
# recommender.*.list IAM permission for the specified recommender.
|
1179
1218
|
# @param [String] parent
|
1180
1219
|
# Required. The container resource on which to execute the request. Acceptable
|
1181
|
-
# formats:
|
1182
|
-
# RECOMMENDER_ID]`
|
1183
|
-
#
|
1184
|
-
# recommenders/[RECOMMENDER_ID]`
|
1220
|
+
# formats: * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[
|
1221
|
+
# RECOMMENDER_ID]` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[
|
1222
|
+
# RECOMMENDER_ID]` * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/
|
1223
|
+
# recommenders/[RECOMMENDER_ID]` * `folders/[FOLDER_ID]/locations/[LOCATION]/
|
1224
|
+
# recommenders/[RECOMMENDER_ID]` * `organizations/[ORGANIZATION_ID]/locations/[
|
1185
1225
|
# LOCATION]/recommenders/[RECOMMENDER_ID]` LOCATION here refers to GCP Locations:
|
1186
1226
|
# https://cloud.google.com/about/locations/ RECOMMENDER_ID refers to supported
|
1187
1227
|
# recommenders: https://cloud.google.com/recommender/docs/recommenders.
|
1188
1228
|
# @param [String] filter
|
1189
1229
|
# Filter expression to restrict the recommendations returned. Supported filter
|
1190
|
-
# fields: state_info.state
|
1191
|
-
#
|
1230
|
+
# fields: * `state_info.state` * `recommenderSubtype` * `priority` Examples: * `
|
1231
|
+
# stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` * `recommenderSubtype
|
1232
|
+
# = REMOVE_ROLE OR recommenderSubtype = REPLACE_ROLE` * `priority = P1 OR
|
1233
|
+
# priority = P2` * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)
|
1234
|
+
# ` (These expressions are based on the filter language described at https://
|
1235
|
+
# google.aip.dev/160)
|
1192
1236
|
# @param [Fixnum] page_size
|
1193
1237
|
# Optional. The maximum number of results to return from this request. Non-
|
1194
1238
|
# positive values are ignored. If not specified, the server will determine the
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-recommender_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.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-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Recommender API V1. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-recommender_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1/v0.10.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-recommender_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Recommender API V1
|