google-cloud-recommendation_engine-v1beta1 0.6.0 → 0.6.1
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 +4 -4
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/client.rb +4 -2
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/operations.rb +3 -1
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest/client.rb +4 -2
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest/operations.rb +7 -5
- data/lib/google/cloud/recommendation_engine/v1beta1/catalog_service/rest/service_stub.rb +6 -6
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/client.rb +4 -2
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest/client.rb +4 -2
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest/service_stub.rb +3 -3
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/client.rb +4 -2
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/rest/client.rb +4 -2
- data/lib/google/cloud/recommendation_engine/v1beta1/prediction_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/client.rb +4 -2
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/operations.rb +3 -1
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest/client.rb +4 -2
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest/operations.rb +7 -5
- data/lib/google/cloud/recommendation_engine/v1beta1/user_event_service/rest/service_stub.rb +5 -5
- data/lib/google/cloud/recommendation_engine/v1beta1/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d9850be9543c1d29ebf2e142a0855f6779765fc739084cd79f5d78ae236b795
|
|
4
|
+
data.tar.gz: 556368b6d05a066b7e9db3ef83ab69e1edac0a62e2607a036b619e8fcca9944b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3bd9a4fc8fd0707bbecd5772135a7d933f34ce693356011957e0d1708b7b316edbfef81c78c60042074884d2e97c7c0a689d7f1ef9d5291c521b51be9e087e2d
|
|
7
|
+
data.tar.gz: bed49cb0ed786dc3847ead70322d8462d63055b712121823a7f59517fef52ea4de900302b9d6b7fe0d52e9304ee7adc9ed3d1cfec03d4f53d4183ebb3cdd5aa5
|
|
@@ -153,7 +153,7 @@ module Google
|
|
|
153
153
|
credentials = @config.credentials
|
|
154
154
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
155
155
|
# but only if the default endpoint does not have a region prefix.
|
|
156
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
156
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
157
157
|
!@config.endpoint.split(".").first.include?("-")
|
|
158
158
|
credentials ||= Credentials.default scope: @config.scope,
|
|
159
159
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -827,7 +827,9 @@ module Google
|
|
|
827
827
|
class Configuration
|
|
828
828
|
extend ::Gapic::Config
|
|
829
829
|
|
|
830
|
-
|
|
830
|
+
DEFAULT_ENDPOINT = "recommendationengine.googleapis.com"
|
|
831
|
+
|
|
832
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
831
833
|
config_attr :credentials, nil do |value|
|
|
832
834
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
833
835
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
@@ -664,7 +664,9 @@ module Google
|
|
|
664
664
|
class Configuration
|
|
665
665
|
extend ::Gapic::Config
|
|
666
666
|
|
|
667
|
-
|
|
667
|
+
DEFAULT_ENDPOINT = "recommendationengine.googleapis.com"
|
|
668
|
+
|
|
669
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
668
670
|
config_attr :credentials, nil do |value|
|
|
669
671
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
670
672
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
@@ -149,7 +149,7 @@ module Google
|
|
|
149
149
|
credentials = @config.credentials
|
|
150
150
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
151
151
|
# but only if the default endpoint does not have a region prefix.
|
|
152
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
152
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
153
153
|
!@config.endpoint.split(".").first.include?("-")
|
|
154
154
|
credentials ||= Credentials.default scope: @config.scope,
|
|
155
155
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -660,7 +660,9 @@ module Google
|
|
|
660
660
|
class Configuration
|
|
661
661
|
extend ::Gapic::Config
|
|
662
662
|
|
|
663
|
-
|
|
663
|
+
DEFAULT_ENDPOINT = "recommendationengine.googleapis.com"
|
|
664
|
+
|
|
665
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
664
666
|
config_attr :credentials, nil do |value|
|
|
665
667
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
666
668
|
allowed.any? { |klass| klass === value }
|
|
@@ -446,7 +446,9 @@ module Google
|
|
|
446
446
|
class Configuration
|
|
447
447
|
extend ::Gapic::Config
|
|
448
448
|
|
|
449
|
-
|
|
449
|
+
DEFAULT_ENDPOINT = "recommendationengine.googleapis.com"
|
|
450
|
+
|
|
451
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
450
452
|
config_attr :credentials, nil do |value|
|
|
451
453
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
452
454
|
allowed.any? { |klass| klass === value }
|
|
@@ -567,7 +569,7 @@ module Google
|
|
|
567
569
|
|
|
568
570
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
|
|
569
571
|
query_string_params = if query_string_params.any?
|
|
570
|
-
query_string_params.to_h { |p| p.split
|
|
572
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
571
573
|
else
|
|
572
574
|
{}
|
|
573
575
|
end
|
|
@@ -605,7 +607,7 @@ module Google
|
|
|
605
607
|
|
|
606
608
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
|
|
607
609
|
query_string_params = if query_string_params.any?
|
|
608
|
-
query_string_params.to_h { |p| p.split
|
|
610
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
609
611
|
else
|
|
610
612
|
{}
|
|
611
613
|
end
|
|
@@ -643,7 +645,7 @@ module Google
|
|
|
643
645
|
|
|
644
646
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
|
|
645
647
|
query_string_params = if query_string_params.any?
|
|
646
|
-
query_string_params.to_h { |p| p.split
|
|
648
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
647
649
|
else
|
|
648
650
|
{}
|
|
649
651
|
end
|
|
@@ -681,7 +683,7 @@ module Google
|
|
|
681
683
|
|
|
682
684
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
|
|
683
685
|
query_string_params = if query_string_params.any?
|
|
684
|
-
query_string_params.to_h { |p| p.split
|
|
686
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
685
687
|
else
|
|
686
688
|
{}
|
|
687
689
|
end
|
|
@@ -59,7 +59,7 @@ module Google
|
|
|
59
59
|
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_catalog_item_request request_pb
|
|
61
61
|
query_string_params = if query_string_params.any?
|
|
62
|
-
query_string_params.to_h { |p| p.split
|
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
63
63
|
else
|
|
64
64
|
{}
|
|
65
65
|
end
|
|
@@ -97,7 +97,7 @@ module Google
|
|
|
97
97
|
|
|
98
98
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_catalog_item_request request_pb
|
|
99
99
|
query_string_params = if query_string_params.any?
|
|
100
|
-
query_string_params.to_h { |p| p.split
|
|
100
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
101
101
|
else
|
|
102
102
|
{}
|
|
103
103
|
end
|
|
@@ -135,7 +135,7 @@ module Google
|
|
|
135
135
|
|
|
136
136
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_catalog_items_request request_pb
|
|
137
137
|
query_string_params = if query_string_params.any?
|
|
138
|
-
query_string_params.to_h { |p| p.split
|
|
138
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
139
139
|
else
|
|
140
140
|
{}
|
|
141
141
|
end
|
|
@@ -173,7 +173,7 @@ module Google
|
|
|
173
173
|
|
|
174
174
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_catalog_item_request request_pb
|
|
175
175
|
query_string_params = if query_string_params.any?
|
|
176
|
-
query_string_params.to_h { |p| p.split
|
|
176
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
177
177
|
else
|
|
178
178
|
{}
|
|
179
179
|
end
|
|
@@ -211,7 +211,7 @@ module Google
|
|
|
211
211
|
|
|
212
212
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_catalog_item_request request_pb
|
|
213
213
|
query_string_params = if query_string_params.any?
|
|
214
|
-
query_string_params.to_h { |p| p.split
|
|
214
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
215
215
|
else
|
|
216
216
|
{}
|
|
217
217
|
end
|
|
@@ -249,7 +249,7 @@ module Google
|
|
|
249
249
|
|
|
250
250
|
verb, uri, query_string_params, body = ServiceStub.transcode_import_catalog_items_request request_pb
|
|
251
251
|
query_string_params = if query_string_params.any?
|
|
252
|
-
query_string_params.to_h { |p| p.split
|
|
252
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
253
253
|
else
|
|
254
254
|
{}
|
|
255
255
|
end
|
|
@@ -142,7 +142,7 @@ module Google
|
|
|
142
142
|
credentials = @config.credentials
|
|
143
143
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
144
144
|
# but only if the default endpoint does not have a region prefix.
|
|
145
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
145
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
146
146
|
!@config.endpoint.split(".").first.include?("-")
|
|
147
147
|
credentials ||= Credentials.default scope: @config.scope,
|
|
148
148
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -515,7 +515,9 @@ module Google
|
|
|
515
515
|
class Configuration
|
|
516
516
|
extend ::Gapic::Config
|
|
517
517
|
|
|
518
|
-
|
|
518
|
+
DEFAULT_ENDPOINT = "recommendationengine.googleapis.com"
|
|
519
|
+
|
|
520
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
519
521
|
config_attr :credentials, nil do |value|
|
|
520
522
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
521
523
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest/client.rb
CHANGED
|
@@ -138,7 +138,7 @@ module Google
|
|
|
138
138
|
credentials = @config.credentials
|
|
139
139
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
140
140
|
# but only if the default endpoint does not have a region prefix.
|
|
141
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
141
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
142
142
|
!@config.endpoint.split(".").first.include?("-")
|
|
143
143
|
credentials ||= Credentials.default scope: @config.scope,
|
|
144
144
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -424,7 +424,9 @@ module Google
|
|
|
424
424
|
class Configuration
|
|
425
425
|
extend ::Gapic::Config
|
|
426
426
|
|
|
427
|
-
|
|
427
|
+
DEFAULT_ENDPOINT = "recommendationengine.googleapis.com"
|
|
428
|
+
|
|
429
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
428
430
|
config_attr :credentials, nil do |value|
|
|
429
431
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
430
432
|
allowed.any? { |klass| klass === value }
|
data/lib/google/cloud/recommendation_engine/v1beta1/prediction_api_key_registry/rest/service_stub.rb
CHANGED
|
@@ -59,7 +59,7 @@ module Google
|
|
|
59
59
|
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_prediction_api_key_registration_request request_pb
|
|
61
61
|
query_string_params = if query_string_params.any?
|
|
62
|
-
query_string_params.to_h { |p| p.split
|
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
63
63
|
else
|
|
64
64
|
{}
|
|
65
65
|
end
|
|
@@ -97,7 +97,7 @@ module Google
|
|
|
97
97
|
|
|
98
98
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_prediction_api_key_registrations_request request_pb
|
|
99
99
|
query_string_params = if query_string_params.any?
|
|
100
|
-
query_string_params.to_h { |p| p.split
|
|
100
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
101
101
|
else
|
|
102
102
|
{}
|
|
103
103
|
end
|
|
@@ -135,7 +135,7 @@ module Google
|
|
|
135
135
|
|
|
136
136
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_prediction_api_key_registration_request request_pb
|
|
137
137
|
query_string_params = if query_string_params.any?
|
|
138
|
-
query_string_params.to_h { |p| p.split
|
|
138
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
139
139
|
else
|
|
140
140
|
{}
|
|
141
141
|
end
|
|
@@ -128,7 +128,7 @@ module Google
|
|
|
128
128
|
credentials = @config.credentials
|
|
129
129
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
130
130
|
# but only if the default endpoint does not have a region prefix.
|
|
131
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
131
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
132
132
|
!@config.endpoint.split(".").first.include?("-")
|
|
133
133
|
credentials ||= Credentials.default scope: @config.scope,
|
|
134
134
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -411,7 +411,9 @@ module Google
|
|
|
411
411
|
class Configuration
|
|
412
412
|
extend ::Gapic::Config
|
|
413
413
|
|
|
414
|
-
|
|
414
|
+
DEFAULT_ENDPOINT = "recommendationengine.googleapis.com"
|
|
415
|
+
|
|
416
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
415
417
|
config_attr :credentials, nil do |value|
|
|
416
418
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
417
419
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
@@ -124,7 +124,7 @@ module Google
|
|
|
124
124
|
credentials = @config.credentials
|
|
125
125
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
126
126
|
# but only if the default endpoint does not have a region prefix.
|
|
127
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
127
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
128
128
|
!@config.endpoint.split(".").first.include?("-")
|
|
129
129
|
credentials ||= Credentials.default scope: @config.scope,
|
|
130
130
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -366,7 +366,9 @@ module Google
|
|
|
366
366
|
class Configuration
|
|
367
367
|
extend ::Gapic::Config
|
|
368
368
|
|
|
369
|
-
|
|
369
|
+
DEFAULT_ENDPOINT = "recommendationengine.googleapis.com"
|
|
370
|
+
|
|
371
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
370
372
|
config_attr :credentials, nil do |value|
|
|
371
373
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
372
374
|
allowed.any? { |klass| klass === value }
|
|
@@ -59,7 +59,7 @@ module Google
|
|
|
59
59
|
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_predict_request request_pb
|
|
61
61
|
query_string_params = if query_string_params.any?
|
|
62
|
-
query_string_params.to_h { |p| p.split
|
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
63
63
|
else
|
|
64
64
|
{}
|
|
65
65
|
end
|
|
@@ -148,7 +148,7 @@ module Google
|
|
|
148
148
|
credentials = @config.credentials
|
|
149
149
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
150
150
|
# but only if the default endpoint does not have a region prefix.
|
|
151
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
151
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
152
152
|
!@config.endpoint.split(".").first.include?("-")
|
|
153
153
|
credentials ||= Credentials.default scope: @config.scope,
|
|
154
154
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -814,7 +814,9 @@ module Google
|
|
|
814
814
|
class Configuration
|
|
815
815
|
extend ::Gapic::Config
|
|
816
816
|
|
|
817
|
-
|
|
817
|
+
DEFAULT_ENDPOINT = "recommendationengine.googleapis.com"
|
|
818
|
+
|
|
819
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
818
820
|
config_attr :credentials, nil do |value|
|
|
819
821
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
820
822
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
@@ -664,7 +664,9 @@ module Google
|
|
|
664
664
|
class Configuration
|
|
665
665
|
extend ::Gapic::Config
|
|
666
666
|
|
|
667
|
-
|
|
667
|
+
DEFAULT_ENDPOINT = "recommendationengine.googleapis.com"
|
|
668
|
+
|
|
669
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
668
670
|
config_attr :credentials, nil do |value|
|
|
669
671
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
670
672
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
@@ -144,7 +144,7 @@ module Google
|
|
|
144
144
|
credentials = @config.credentials
|
|
145
145
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
146
146
|
# but only if the default endpoint does not have a region prefix.
|
|
147
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
147
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
148
148
|
!@config.endpoint.split(".").first.include?("-")
|
|
149
149
|
credentials ||= Credentials.default scope: @config.scope,
|
|
150
150
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -663,7 +663,9 @@ module Google
|
|
|
663
663
|
class Configuration
|
|
664
664
|
extend ::Gapic::Config
|
|
665
665
|
|
|
666
|
-
|
|
666
|
+
DEFAULT_ENDPOINT = "recommendationengine.googleapis.com"
|
|
667
|
+
|
|
668
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
667
669
|
config_attr :credentials, nil do |value|
|
|
668
670
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
669
671
|
allowed.any? { |klass| klass === value }
|
|
@@ -446,7 +446,9 @@ module Google
|
|
|
446
446
|
class Configuration
|
|
447
447
|
extend ::Gapic::Config
|
|
448
448
|
|
|
449
|
-
|
|
449
|
+
DEFAULT_ENDPOINT = "recommendationengine.googleapis.com"
|
|
450
|
+
|
|
451
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
450
452
|
config_attr :credentials, nil do |value|
|
|
451
453
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
452
454
|
allowed.any? { |klass| klass === value }
|
|
@@ -567,7 +569,7 @@ module Google
|
|
|
567
569
|
|
|
568
570
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
|
|
569
571
|
query_string_params = if query_string_params.any?
|
|
570
|
-
query_string_params.to_h { |p| p.split
|
|
572
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
571
573
|
else
|
|
572
574
|
{}
|
|
573
575
|
end
|
|
@@ -605,7 +607,7 @@ module Google
|
|
|
605
607
|
|
|
606
608
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
|
|
607
609
|
query_string_params = if query_string_params.any?
|
|
608
|
-
query_string_params.to_h { |p| p.split
|
|
610
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
609
611
|
else
|
|
610
612
|
{}
|
|
611
613
|
end
|
|
@@ -643,7 +645,7 @@ module Google
|
|
|
643
645
|
|
|
644
646
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
|
|
645
647
|
query_string_params = if query_string_params.any?
|
|
646
|
-
query_string_params.to_h { |p| p.split
|
|
648
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
647
649
|
else
|
|
648
650
|
{}
|
|
649
651
|
end
|
|
@@ -681,7 +683,7 @@ module Google
|
|
|
681
683
|
|
|
682
684
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
|
|
683
685
|
query_string_params = if query_string_params.any?
|
|
684
|
-
query_string_params.to_h { |p| p.split
|
|
686
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
685
687
|
else
|
|
686
688
|
{}
|
|
687
689
|
end
|
|
@@ -59,7 +59,7 @@ module Google
|
|
|
59
59
|
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_write_user_event_request request_pb
|
|
61
61
|
query_string_params = if query_string_params.any?
|
|
62
|
-
query_string_params.to_h { |p| p.split
|
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
63
63
|
else
|
|
64
64
|
{}
|
|
65
65
|
end
|
|
@@ -97,7 +97,7 @@ module Google
|
|
|
97
97
|
|
|
98
98
|
verb, uri, query_string_params, body = ServiceStub.transcode_collect_user_event_request request_pb
|
|
99
99
|
query_string_params = if query_string_params.any?
|
|
100
|
-
query_string_params.to_h { |p| p.split
|
|
100
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
101
101
|
else
|
|
102
102
|
{}
|
|
103
103
|
end
|
|
@@ -135,7 +135,7 @@ module Google
|
|
|
135
135
|
|
|
136
136
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_user_events_request request_pb
|
|
137
137
|
query_string_params = if query_string_params.any?
|
|
138
|
-
query_string_params.to_h { |p| p.split
|
|
138
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
139
139
|
else
|
|
140
140
|
{}
|
|
141
141
|
end
|
|
@@ -173,7 +173,7 @@ module Google
|
|
|
173
173
|
|
|
174
174
|
verb, uri, query_string_params, body = ServiceStub.transcode_purge_user_events_request request_pb
|
|
175
175
|
query_string_params = if query_string_params.any?
|
|
176
|
-
query_string_params.to_h { |p| p.split
|
|
176
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
177
177
|
else
|
|
178
178
|
{}
|
|
179
179
|
end
|
|
@@ -211,7 +211,7 @@ module Google
|
|
|
211
211
|
|
|
212
212
|
verb, uri, query_string_params, body = ServiceStub.transcode_import_user_events_request request_pb
|
|
213
213
|
query_string_params = if query_string_params.any?
|
|
214
|
-
query_string_params.to_h { |p| p.split
|
|
214
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
|
215
215
|
else
|
|
216
216
|
{}
|
|
217
217
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-recommendation_engine-v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-06-
|
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.19.
|
|
19
|
+
version: 0.19.1
|
|
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.19.
|
|
29
|
+
version: 0.19.1
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 2.a
|