google-cloud-recommender-v1 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/recommender/v1/insight_pb.rb +2 -2
- data/lib/google/cloud/recommender/v1/recommendation_pb.rb +2 -2
- data/lib/google/cloud/recommender/v1/recommender/client.rb +46 -30
- data/lib/google/cloud/recommender/v1/recommender_service_pb.rb +2 -2
- data/lib/google/cloud/recommender/v1/recommender_service_services_pb.rb +1 -1
- data/lib/google/cloud/recommender/v1/version.rb +1 -1
- data/proto_docs/google/cloud/recommender/v1/recommendation.rb +15 -6
- data/proto_docs/google/cloud/recommender/v1/recommender_service.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccbc6eb90c4dbaceb1a34310e189ad968213ba4399dab10d2b3a04483b74ae21
|
4
|
+
data.tar.gz: cc456df40e2987509f3b94134f425c8249864e7508bd23448cdae0d13357ee80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e308c4383e767085449ae835fdd62faf15761e4221f1f82a7fd2327333f00727cb6b14275e01c0a95d0a4f4264c029added016fdbedd436d58f2dd5a1b2a573d
|
7
|
+
data.tar.gz: 3873a0a480ff1d304ba0be2bd537b188b0ea0ff04769294c4da98cad9e847bb3efc79fd314975176833b603fa5e79b9851296d1b2337c0ca8bff764a9117826d
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/recommender/v1/insight.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/resource_pb'
|
7
5
|
require 'google/protobuf/duration_pb'
|
8
6
|
require 'google/protobuf/struct_pb'
|
9
7
|
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'google/protobuf'
|
9
|
+
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/cloud/recommender/v1/insight.proto", :syntax => :proto3) do
|
12
12
|
add_message "google.cloud.recommender.v1.Insight" do
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/recommender/v1/recommendation.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/resource_pb'
|
7
5
|
require 'google/protobuf/duration_pb'
|
8
6
|
require 'google/protobuf/struct_pb'
|
9
7
|
require 'google/protobuf/timestamp_pb'
|
10
8
|
require 'google/type/money_pb'
|
9
|
+
require 'google/protobuf'
|
10
|
+
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_file("google/cloud/recommender/v1/recommendation.proto", :syntax => :proto3) do
|
13
13
|
add_message "google.cloud.recommender.v1.Recommendation" do
|
@@ -244,9 +244,11 @@ module Google
|
|
244
244
|
gapic_version: ::Google::Cloud::Recommender::V1::VERSION
|
245
245
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
246
246
|
|
247
|
-
header_params = {
|
248
|
-
|
249
|
-
|
247
|
+
header_params = {}
|
248
|
+
if request.parent
|
249
|
+
header_params["parent"] = request.parent
|
250
|
+
end
|
251
|
+
|
250
252
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
251
253
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
252
254
|
|
@@ -314,9 +316,11 @@ module Google
|
|
314
316
|
gapic_version: ::Google::Cloud::Recommender::V1::VERSION
|
315
317
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
316
318
|
|
317
|
-
header_params = {
|
318
|
-
|
319
|
-
|
319
|
+
header_params = {}
|
320
|
+
if request.name
|
321
|
+
header_params["name"] = request.name
|
322
|
+
end
|
323
|
+
|
320
324
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
321
325
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
322
326
|
|
@@ -392,9 +396,11 @@ module Google
|
|
392
396
|
gapic_version: ::Google::Cloud::Recommender::V1::VERSION
|
393
397
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
394
398
|
|
395
|
-
header_params = {
|
396
|
-
|
397
|
-
|
399
|
+
header_params = {}
|
400
|
+
if request.name
|
401
|
+
header_params["name"] = request.name
|
402
|
+
end
|
403
|
+
|
398
404
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
399
405
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
400
406
|
|
@@ -483,9 +489,11 @@ module Google
|
|
483
489
|
gapic_version: ::Google::Cloud::Recommender::V1::VERSION
|
484
490
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
485
491
|
|
486
|
-
header_params = {
|
487
|
-
|
488
|
-
|
492
|
+
header_params = {}
|
493
|
+
if request.parent
|
494
|
+
header_params["parent"] = request.parent
|
495
|
+
end
|
496
|
+
|
489
497
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
490
498
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
491
499
|
|
@@ -553,9 +561,11 @@ module Google
|
|
553
561
|
gapic_version: ::Google::Cloud::Recommender::V1::VERSION
|
554
562
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
555
563
|
|
556
|
-
header_params = {
|
557
|
-
|
558
|
-
|
564
|
+
header_params = {}
|
565
|
+
if request.name
|
566
|
+
header_params["name"] = request.name
|
567
|
+
end
|
568
|
+
|
559
569
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
560
570
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
561
571
|
|
@@ -607,8 +617,8 @@ module Google
|
|
607
617
|
# @param state_metadata [::Hash{::String => ::String}]
|
608
618
|
# State properties to include with this state. Overwrites any existing
|
609
619
|
# `state_metadata`.
|
610
|
-
# Keys must match the regex
|
611
|
-
# Values must match the regex
|
620
|
+
# Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
|
621
|
+
# Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
|
612
622
|
# @param etag [::String]
|
613
623
|
# Required. Fingerprint of the Recommendation. Provides optimistic locking.
|
614
624
|
#
|
@@ -637,9 +647,11 @@ module Google
|
|
637
647
|
gapic_version: ::Google::Cloud::Recommender::V1::VERSION
|
638
648
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
639
649
|
|
640
|
-
header_params = {
|
641
|
-
|
642
|
-
|
650
|
+
header_params = {}
|
651
|
+
if request.name
|
652
|
+
header_params["name"] = request.name
|
653
|
+
end
|
654
|
+
|
643
655
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
644
656
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
645
657
|
|
@@ -692,8 +704,8 @@ module Google
|
|
692
704
|
# @param state_metadata [::Hash{::String => ::String}]
|
693
705
|
# State properties to include with this state. Overwrites any existing
|
694
706
|
# `state_metadata`.
|
695
|
-
# Keys must match the regex
|
696
|
-
# Values must match the regex
|
707
|
+
# Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
|
708
|
+
# Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
|
697
709
|
# @param etag [::String]
|
698
710
|
# Required. Fingerprint of the Recommendation. Provides optimistic locking.
|
699
711
|
#
|
@@ -722,9 +734,11 @@ module Google
|
|
722
734
|
gapic_version: ::Google::Cloud::Recommender::V1::VERSION
|
723
735
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
724
736
|
|
725
|
-
header_params = {
|
726
|
-
|
727
|
-
|
737
|
+
header_params = {}
|
738
|
+
if request.name
|
739
|
+
header_params["name"] = request.name
|
740
|
+
end
|
741
|
+
|
728
742
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
729
743
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
730
744
|
|
@@ -777,8 +791,8 @@ module Google
|
|
777
791
|
# @param state_metadata [::Hash{::String => ::String}]
|
778
792
|
# State properties to include with this state. Overwrites any existing
|
779
793
|
# `state_metadata`.
|
780
|
-
# Keys must match the regex
|
781
|
-
# Values must match the regex
|
794
|
+
# Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
|
795
|
+
# Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
|
782
796
|
# @param etag [::String]
|
783
797
|
# Required. Fingerprint of the Recommendation. Provides optimistic locking.
|
784
798
|
#
|
@@ -807,9 +821,11 @@ module Google
|
|
807
821
|
gapic_version: ::Google::Cloud::Recommender::V1::VERSION
|
808
822
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
809
823
|
|
810
|
-
header_params = {
|
811
|
-
|
812
|
-
|
824
|
+
header_params = {}
|
825
|
+
if request.name
|
826
|
+
header_params["name"] = request.name
|
827
|
+
end
|
828
|
+
|
813
829
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
814
830
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
815
831
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/recommender/v1/recommender_service.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
9
7
|
require 'google/api/resource_pb'
|
10
8
|
require 'google/cloud/recommender/v1/insight_pb'
|
11
9
|
require 'google/cloud/recommender/v1/recommendation_pb'
|
10
|
+
require 'google/protobuf'
|
11
|
+
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
13
|
add_file("google/cloud/recommender/v1/recommender_service.proto", :syntax => :proto3) do
|
14
14
|
add_message "google.cloud.recommender.v1.ListInsightsRequest" do
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# based on analysis of user resources, configuration and monitoring metrics.
|
31
31
|
class Service
|
32
32
|
|
33
|
-
include GRPC::GenericService
|
33
|
+
include ::GRPC::GenericService
|
34
34
|
|
35
35
|
self.marshal_class_method = :encode
|
36
36
|
self.unmarshal_class_method = :decode
|
@@ -158,18 +158,27 @@ module Google
|
|
158
158
|
# This is intended to be an exact match per filter. To perform advanced
|
159
159
|
# matching, use path_value_matchers.
|
160
160
|
#
|
161
|
-
# * Example:
|
161
|
+
# * Example:
|
162
|
+
# ```
|
163
|
+
# {
|
162
164
|
# "/versions/*/name" : "it-123"
|
163
165
|
# "/versions/*/targetSize/percent": 20
|
164
|
-
#
|
165
|
-
#
|
166
|
+
# }
|
167
|
+
# ```
|
168
|
+
# * Example:
|
169
|
+
# ```
|
170
|
+
# {
|
166
171
|
# "/bindings/*/role": "roles/owner"
|
167
172
|
# "/bindings/*/condition" : null
|
168
|
-
#
|
169
|
-
#
|
173
|
+
# }
|
174
|
+
# ```
|
175
|
+
# * Example:
|
176
|
+
# ```
|
177
|
+
# {
|
170
178
|
# "/bindings/*/role": "roles/owner"
|
171
179
|
# "/bindings/*/members/*" : ["x@example.com", "y@example.com"]
|
172
|
-
#
|
180
|
+
# }
|
181
|
+
# ```
|
173
182
|
# When both path_filters and path_value_matchers are set, an implicit AND
|
174
183
|
# must be performed.
|
175
184
|
# @!attribute [rw] path_value_matchers
|
@@ -166,8 +166,8 @@ module Google
|
|
166
166
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
167
167
|
# State properties to include with this state. Overwrites any existing
|
168
168
|
# `state_metadata`.
|
169
|
-
# Keys must match the regex
|
170
|
-
# Values must match the regex
|
169
|
+
# Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
|
170
|
+
# Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
|
171
171
|
# @!attribute [rw] etag
|
172
172
|
# @return [::String]
|
173
173
|
# Required. Fingerprint of the Recommendation. Provides optimistic locking.
|
@@ -193,8 +193,8 @@ module Google
|
|
193
193
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
194
194
|
# State properties to include with this state. Overwrites any existing
|
195
195
|
# `state_metadata`.
|
196
|
-
# Keys must match the regex
|
197
|
-
# Values must match the regex
|
196
|
+
# Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
|
197
|
+
# Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
|
198
198
|
# @!attribute [rw] etag
|
199
199
|
# @return [::String]
|
200
200
|
# Required. Fingerprint of the Recommendation. Provides optimistic locking.
|
@@ -220,8 +220,8 @@ module Google
|
|
220
220
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
221
|
# State properties to include with this state. Overwrites any existing
|
222
222
|
# `state_metadata`.
|
223
|
-
# Keys must match the regex
|
224
|
-
# Values must match the regex
|
223
|
+
# Keys must match the regex `/^[a-z0-9][a-z0-9_.-]{0,62}$/`.
|
224
|
+
# Values must match the regex `/^[a-zA-Z0-9_./-]{0,255}$/`.
|
225
225
|
# @!attribute [rw] etag
|
226
226
|
# @return [::String]
|
227
227
|
# Required. Fingerprint of the Recommendation. Provides optimistic locking.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-recommender-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.4
|
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-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|