google-cloud-financial_services-v1 0.a → 0.1.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 +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/financial_services/v1/aml/client.rb +4687 -0
- data/lib/google/cloud/financial_services/v1/aml/credentials.rb +47 -0
- data/lib/google/cloud/financial_services/v1/aml/operations.rb +813 -0
- data/lib/google/cloud/financial_services/v1/aml/paths.rb +195 -0
- data/lib/google/cloud/financial_services/v1/aml/rest/client.rb +4403 -0
- data/lib/google/cloud/financial_services/v1/aml/rest/operations.rb +914 -0
- data/lib/google/cloud/financial_services/v1/aml/rest/service_stub.rb +2417 -0
- data/lib/google/cloud/financial_services/v1/aml/rest.rb +55 -0
- data/lib/google/cloud/financial_services/v1/aml.rb +57 -0
- data/lib/google/cloud/financial_services/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/financial_services/v1/rest.rb +38 -0
- data/lib/google/cloud/financial_services/v1/version.rb +7 -2
- data/lib/google/cloud/financial_services/v1.rb +45 -0
- data/lib/google/cloud/financialservices/v1/backtest_result_pb.rb +62 -0
- data/lib/google/cloud/financialservices/v1/bigquery_destination_pb.rb +45 -0
- data/lib/google/cloud/financialservices/v1/dataset_pb.rb +60 -0
- data/lib/google/cloud/financialservices/v1/engine_config_pb.rb +65 -0
- data/lib/google/cloud/financialservices/v1/engine_version_pb.rb +52 -0
- data/lib/google/cloud/financialservices/v1/instance_pb.rb +64 -0
- data/lib/google/cloud/financialservices/v1/line_of_business_pb.rb +42 -0
- data/lib/google/cloud/financialservices/v1/model_pb.rb +61 -0
- data/lib/google/cloud/financialservices/v1/prediction_result_pb.rb +62 -0
- data/lib/google/cloud/financialservices/v1/service_pb.rb +57 -0
- data/lib/google/cloud/financialservices/v1/service_services_pb.rb +138 -0
- data/lib/google-cloud-financial_services-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +473 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/financialservices/v1/backtest_result.rb +277 -0
- data/proto_docs/google/cloud/financialservices/v1/bigquery_destination.rb +56 -0
- data/proto_docs/google/cloud/financialservices/v1/dataset.rb +242 -0
- data/proto_docs/google/cloud/financialservices/v1/engine_config.rb +324 -0
- data/proto_docs/google/cloud/financialservices/v1/engine_version.rb +126 -0
- data/proto_docs/google/cloud/financialservices/v1/instance.rb +318 -0
- data/proto_docs/google/cloud/financialservices/v1/line_of_business.rb +38 -0
- data/proto_docs/google/cloud/financialservices/v1/model.rb +256 -0
- data/proto_docs/google/cloud/financialservices/v1/prediction_result.rb +277 -0
- data/proto_docs/google/cloud/financialservices/v1/service.rb +60 -0
- data/proto_docs/google/longrunning/operations.rb +173 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/datetime.rb +103 -0
- data/proto_docs/google/type/interval.rb +45 -0
- metadata +113 -9
@@ -0,0 +1,256 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module FinancialServices
|
23
|
+
module V1
|
24
|
+
# Model represents a trained model.
|
25
|
+
# @!attribute [r] name
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. The resource name of the Model.
|
28
|
+
# format:
|
29
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
|
30
|
+
# @!attribute [r] create_time
|
31
|
+
# @return [::Google::Protobuf::Timestamp]
|
32
|
+
# Output only. The timestamp of creation of this resource.
|
33
|
+
# @!attribute [r] update_time
|
34
|
+
# @return [::Google::Protobuf::Timestamp]
|
35
|
+
# Output only. The timestamp of the most recent update of this resource.
|
36
|
+
# @!attribute [rw] labels
|
37
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
38
|
+
# Labels
|
39
|
+
# @!attribute [r] state
|
40
|
+
# @return [::Google::Cloud::FinancialServices::V1::Model::State]
|
41
|
+
# Output only. State of the model (creating, active, deleting, etc.)
|
42
|
+
# @!attribute [r] engine_version
|
43
|
+
# @return [::String]
|
44
|
+
# Output only. The EngineVersion used in training this model. This is output
|
45
|
+
# only, and is determined from the EngineConfig used.
|
46
|
+
# @!attribute [rw] engine_config
|
47
|
+
# @return [::String]
|
48
|
+
# Required. The resource name of the EngineConfig the model training will be
|
49
|
+
# based on. Format:
|
50
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engineConfig}`
|
51
|
+
# @!attribute [rw] primary_dataset
|
52
|
+
# @return [::String]
|
53
|
+
# Required. The resource name of the Primary Dataset used in this model
|
54
|
+
# training. For information about how primary and auxiliary datasets are
|
55
|
+
# used, refer to the engine version's documentation. Format:
|
56
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
|
57
|
+
# @!attribute [rw] end_time
|
58
|
+
# @return [::Google::Protobuf::Timestamp]
|
59
|
+
# Required. End_time specifies the latest time from which labels are used and
|
60
|
+
# from which data is used to generate features for training. End_time should
|
61
|
+
# be no later than the end of the date_range of the dataset.
|
62
|
+
# @!attribute [r] line_of_business
|
63
|
+
# @return [::Google::Cloud::FinancialServices::V1::LineOfBusiness]
|
64
|
+
# Output only. The line of business (Retail/Commercial) this model is used
|
65
|
+
# for. Determined by EngineConfig, cannot be set by user.
|
66
|
+
class Model
|
67
|
+
include ::Google::Protobuf::MessageExts
|
68
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
69
|
+
|
70
|
+
# @!attribute [rw] key
|
71
|
+
# @return [::String]
|
72
|
+
# @!attribute [rw] value
|
73
|
+
# @return [::String]
|
74
|
+
class LabelsEntry
|
75
|
+
include ::Google::Protobuf::MessageExts
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
77
|
+
end
|
78
|
+
|
79
|
+
# The possible states of a resource.
|
80
|
+
module State
|
81
|
+
# State is unspecified, should not occur.
|
82
|
+
STATE_UNSPECIFIED = 0
|
83
|
+
|
84
|
+
# The resource has not finished being created.
|
85
|
+
CREATING = 1
|
86
|
+
|
87
|
+
# The resource is active/ready to be used.
|
88
|
+
ACTIVE = 2
|
89
|
+
|
90
|
+
# The resource is in the process of being updated.
|
91
|
+
UPDATING = 3
|
92
|
+
|
93
|
+
# The resource is in the process of being deleted.
|
94
|
+
DELETING = 4
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
# Request for retrieving a paginated list of Model resources that meet the
|
99
|
+
# specified criteria.
|
100
|
+
# @!attribute [rw] parent
|
101
|
+
# @return [::String]
|
102
|
+
# Required. The parent of the Model is the Instance.
|
103
|
+
# @!attribute [rw] page_size
|
104
|
+
# @return [::Integer]
|
105
|
+
# The number of resources to be included in the response. The response
|
106
|
+
# contains a next_page_token, which can be used to retrieve the next page of
|
107
|
+
# resources.
|
108
|
+
# @!attribute [rw] page_token
|
109
|
+
# @return [::String]
|
110
|
+
# In case of paginated results, this is the token that was returned in the
|
111
|
+
# previous ListModelsResponse. It should be copied here to retrieve the next
|
112
|
+
# page of resources. Empty will give the first page of ListModelsRequest, and
|
113
|
+
# the last page will return an empty page_token.
|
114
|
+
# @!attribute [rw] filter
|
115
|
+
# @return [::String]
|
116
|
+
# Specify a filter to narrow search results.
|
117
|
+
# @!attribute [rw] order_by
|
118
|
+
# @return [::String]
|
119
|
+
# Specify a field to use for ordering.
|
120
|
+
class ListModelsRequest
|
121
|
+
include ::Google::Protobuf::MessageExts
|
122
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
123
|
+
end
|
124
|
+
|
125
|
+
# Response for retrieving a list of Models
|
126
|
+
# @!attribute [rw] models
|
127
|
+
# @return [::Array<::Google::Cloud::FinancialServices::V1::Model>]
|
128
|
+
# List of Model resources
|
129
|
+
# @!attribute [rw] next_page_token
|
130
|
+
# @return [::String]
|
131
|
+
# This token should be passed to the next ListModelsRequest to
|
132
|
+
# retrieve the next page of Models (empty indicicates we are done).
|
133
|
+
# @!attribute [rw] unreachable
|
134
|
+
# @return [::Array<::String>]
|
135
|
+
# Locations that could not be reached.
|
136
|
+
class ListModelsResponse
|
137
|
+
include ::Google::Protobuf::MessageExts
|
138
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
139
|
+
end
|
140
|
+
|
141
|
+
# Request for retrieving a specific Model resource.
|
142
|
+
# @!attribute [rw] name
|
143
|
+
# @return [::String]
|
144
|
+
# Required. The resource name of the Model
|
145
|
+
class GetModelRequest
|
146
|
+
include ::Google::Protobuf::MessageExts
|
147
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
148
|
+
end
|
149
|
+
|
150
|
+
# Request for creating a Model resource.
|
151
|
+
# @!attribute [rw] parent
|
152
|
+
# @return [::String]
|
153
|
+
# Required. The parent of the Model is the Instance.
|
154
|
+
# @!attribute [rw] model_id
|
155
|
+
# @return [::String]
|
156
|
+
# Required. The resource id of the Model
|
157
|
+
# @!attribute [rw] model
|
158
|
+
# @return [::Google::Cloud::FinancialServices::V1::Model]
|
159
|
+
# Required. The Model that will be created.
|
160
|
+
# @!attribute [rw] request_id
|
161
|
+
# @return [::String]
|
162
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
163
|
+
# request ID so that if you must retry your request, the server will know to
|
164
|
+
# ignore the request if it has already been completed. The server will
|
165
|
+
# guarantee that for at least 60 minutes since the first request.
|
166
|
+
#
|
167
|
+
# For example, consider a situation where you make an initial request and the
|
168
|
+
# request times out. If you make the request again with the same request
|
169
|
+
# ID, the server can check if original operation with the same request ID
|
170
|
+
# was received, and if so, will ignore the second request. This prevents
|
171
|
+
# clients from accidentally creating duplicate commitments.
|
172
|
+
#
|
173
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
174
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
175
|
+
class CreateModelRequest
|
176
|
+
include ::Google::Protobuf::MessageExts
|
177
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
178
|
+
end
|
179
|
+
|
180
|
+
# Request for updating a Model
|
181
|
+
# @!attribute [rw] update_mask
|
182
|
+
# @return [::Google::Protobuf::FieldMask]
|
183
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
184
|
+
# Model resource by the update.
|
185
|
+
# The fields specified in the update_mask are relative to the resource, not
|
186
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
187
|
+
# user does not provide a mask then all fields will be overwritten.
|
188
|
+
# @!attribute [rw] model
|
189
|
+
# @return [::Google::Cloud::FinancialServices::V1::Model]
|
190
|
+
# Required. The new value of the Model fields that will be updated according
|
191
|
+
# to the update_mask.
|
192
|
+
# @!attribute [rw] request_id
|
193
|
+
# @return [::String]
|
194
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
195
|
+
# request ID so that if you must retry your request, the server will know to
|
196
|
+
# ignore the request if it has already been completed. The server will
|
197
|
+
# guarantee that for at least 60 minutes since the first request.
|
198
|
+
#
|
199
|
+
# For example, consider a situation where you make an initial request and the
|
200
|
+
# request times out. If you make the request again with the same request
|
201
|
+
# ID, the server can check if original operation with the same request ID
|
202
|
+
# was received, and if so, will ignore the second request. This prevents
|
203
|
+
# clients from accidentally creating duplicate commitments.
|
204
|
+
#
|
205
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
206
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
207
|
+
class UpdateModelRequest
|
208
|
+
include ::Google::Protobuf::MessageExts
|
209
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
210
|
+
end
|
211
|
+
|
212
|
+
# Request for deleting a Model.
|
213
|
+
# @!attribute [rw] name
|
214
|
+
# @return [::String]
|
215
|
+
# Required. The resource name of the Model.
|
216
|
+
# @!attribute [rw] request_id
|
217
|
+
# @return [::String]
|
218
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
219
|
+
# request ID so that if you must retry your request, the server will know to
|
220
|
+
# ignore the request if it has already been completed. The server will
|
221
|
+
# guarantee that for at least 60 minutes after the first request.
|
222
|
+
#
|
223
|
+
# For example, consider a situation where you make an initial request and the
|
224
|
+
# request times out. If you make the request again with the same request
|
225
|
+
# ID, the server can check if original operation with the same request ID
|
226
|
+
# was received, and if so, will ignore the second request. This prevents
|
227
|
+
# clients from accidentally creating duplicate commitments.
|
228
|
+
#
|
229
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
230
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
231
|
+
class DeleteModelRequest
|
232
|
+
include ::Google::Protobuf::MessageExts
|
233
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
234
|
+
end
|
235
|
+
|
236
|
+
# Request for exporting Model metadata.
|
237
|
+
# @!attribute [rw] model
|
238
|
+
# @return [::String]
|
239
|
+
# Required. The resource name of the Model.
|
240
|
+
# @!attribute [rw] structured_metadata_destination
|
241
|
+
# @return [::Google::Cloud::FinancialServices::V1::BigQueryDestination]
|
242
|
+
# Required. BigQuery output where the metadata will be written.
|
243
|
+
class ExportModelMetadataRequest
|
244
|
+
include ::Google::Protobuf::MessageExts
|
245
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
246
|
+
end
|
247
|
+
|
248
|
+
# Response for exporting Model metadata.
|
249
|
+
class ExportModelMetadataResponse
|
250
|
+
include ::Google::Protobuf::MessageExts
|
251
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
252
|
+
end
|
253
|
+
end
|
254
|
+
end
|
255
|
+
end
|
256
|
+
end
|
@@ -0,0 +1,277 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module FinancialServices
|
23
|
+
module V1
|
24
|
+
# PredictionResult is the result of using a model to create predictions.
|
25
|
+
# @!attribute [r] name
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. The resource name of the PredictionResult.
|
28
|
+
# format:
|
29
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}`
|
30
|
+
# @!attribute [r] create_time
|
31
|
+
# @return [::Google::Protobuf::Timestamp]
|
32
|
+
# Output only. The timestamp of creation of this resource.
|
33
|
+
# @!attribute [r] update_time
|
34
|
+
# @return [::Google::Protobuf::Timestamp]
|
35
|
+
# Output only. The timestamp of the most recent update of this resource.
|
36
|
+
# @!attribute [rw] labels
|
37
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
38
|
+
# Labels
|
39
|
+
# @!attribute [r] state
|
40
|
+
# @return [::Google::Cloud::FinancialServices::V1::PredictionResult::State]
|
41
|
+
# Output only. State of the PredictionResult (creating, active, deleting,
|
42
|
+
# etc.)
|
43
|
+
# @!attribute [rw] dataset
|
44
|
+
# @return [::String]
|
45
|
+
# Required. The resource name of the Dataset to do predictions on
|
46
|
+
# Format:
|
47
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/dataset/{dataset_id}`
|
48
|
+
# @!attribute [rw] model
|
49
|
+
# @return [::String]
|
50
|
+
# Required. The resource name of the Model to use to use to make predictions
|
51
|
+
# Format:
|
52
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
|
53
|
+
# @!attribute [rw] end_time
|
54
|
+
# @return [::Google::Protobuf::Timestamp]
|
55
|
+
# Required. Specifies the latest time from which data is used to generate
|
56
|
+
# features for predictions. This time should be no later than the end of the
|
57
|
+
# {::Google::Cloud::FinancialServices::V1::Dataset#date_range date_range} of the
|
58
|
+
# dataset.
|
59
|
+
# @!attribute [rw] prediction_periods
|
60
|
+
# @return [::Integer]
|
61
|
+
# The number of consecutive months to produce predictions for, ending with
|
62
|
+
# the last full month prior to
|
63
|
+
# {::Google::Cloud::FinancialServices::V1::PredictionResult#end_time end_time}
|
64
|
+
# according to the dataset's timezone.
|
65
|
+
# @!attribute [rw] outputs
|
66
|
+
# @return [::Google::Cloud::FinancialServices::V1::PredictionResult::Outputs]
|
67
|
+
# Required. Where to write the output of the predictions.
|
68
|
+
# @!attribute [r] line_of_business
|
69
|
+
# @return [::Google::Cloud::FinancialServices::V1::LineOfBusiness]
|
70
|
+
# Output only. The line of business (Retail/Commercial) this prediction is
|
71
|
+
# for. Determined by Model, cannot be set by user.
|
72
|
+
class PredictionResult
|
73
|
+
include ::Google::Protobuf::MessageExts
|
74
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
75
|
+
|
76
|
+
# Outputs is a list of places where the operation will write results.
|
77
|
+
# @!attribute [rw] prediction_destination
|
78
|
+
# @return [::Google::Cloud::FinancialServices::V1::BigQueryDestination]
|
79
|
+
# Required. The location to output the predictions.
|
80
|
+
# @!attribute [rw] explainability_destination
|
81
|
+
# @return [::Google::Cloud::FinancialServices::V1::BigQueryDestination]
|
82
|
+
# The location to output explainability information. If not specified
|
83
|
+
# no explainability data will be output.
|
84
|
+
class Outputs
|
85
|
+
include ::Google::Protobuf::MessageExts
|
86
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
87
|
+
end
|
88
|
+
|
89
|
+
# @!attribute [rw] key
|
90
|
+
# @return [::String]
|
91
|
+
# @!attribute [rw] value
|
92
|
+
# @return [::String]
|
93
|
+
class LabelsEntry
|
94
|
+
include ::Google::Protobuf::MessageExts
|
95
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
96
|
+
end
|
97
|
+
|
98
|
+
# The possible states of a resource.
|
99
|
+
module State
|
100
|
+
# State is unspecified, should not occur.
|
101
|
+
STATE_UNSPECIFIED = 0
|
102
|
+
|
103
|
+
# The resource has not finished being created.
|
104
|
+
CREATING = 1
|
105
|
+
|
106
|
+
# The resource is active/ready to be used.
|
107
|
+
ACTIVE = 2
|
108
|
+
|
109
|
+
# The resource is in the process of being updated.
|
110
|
+
UPDATING = 3
|
111
|
+
|
112
|
+
# The resource is in the process of being deleted.
|
113
|
+
DELETING = 4
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
# Request for retrieving a paginated list of PredictionResult resources that
|
118
|
+
# meet the specified criteria.
|
119
|
+
# @!attribute [rw] parent
|
120
|
+
# @return [::String]
|
121
|
+
# Required. The parent of the PredictionResult is the Instance.
|
122
|
+
# @!attribute [rw] page_size
|
123
|
+
# @return [::Integer]
|
124
|
+
# The number of resources to be included in the response. The response
|
125
|
+
# contains a next_page_token, which can be used to retrieve the next page of
|
126
|
+
# resources.
|
127
|
+
# @!attribute [rw] page_token
|
128
|
+
# @return [::String]
|
129
|
+
# In case of paginated results, this is the token that was returned in the
|
130
|
+
# previous ListPredictionResultsResponse. It should be copied here to
|
131
|
+
# retrieve the next page of resources. Empty will give the first page of
|
132
|
+
# ListPredictionResultsRequest, and the last page will return an empty
|
133
|
+
# page_token.
|
134
|
+
# @!attribute [rw] filter
|
135
|
+
# @return [::String]
|
136
|
+
# Specify a filter to narrow search results.
|
137
|
+
# @!attribute [rw] order_by
|
138
|
+
# @return [::String]
|
139
|
+
# Specify a field to use for ordering.
|
140
|
+
class ListPredictionResultsRequest
|
141
|
+
include ::Google::Protobuf::MessageExts
|
142
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
143
|
+
end
|
144
|
+
|
145
|
+
# Response for retrieving a list of PredictionResults
|
146
|
+
# @!attribute [rw] prediction_results
|
147
|
+
# @return [::Array<::Google::Cloud::FinancialServices::V1::PredictionResult>]
|
148
|
+
# List of PredictionResult resources
|
149
|
+
# @!attribute [rw] next_page_token
|
150
|
+
# @return [::String]
|
151
|
+
# This token should be passed to the next ListPredictionResultsRequest to
|
152
|
+
# retrieve the next page of PredictionResults (empty indicicates we are
|
153
|
+
# done).
|
154
|
+
# @!attribute [rw] unreachable
|
155
|
+
# @return [::Array<::String>]
|
156
|
+
# Locations that could not be reached.
|
157
|
+
class ListPredictionResultsResponse
|
158
|
+
include ::Google::Protobuf::MessageExts
|
159
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
160
|
+
end
|
161
|
+
|
162
|
+
# Request for retrieving a specific PredictionResult resource.
|
163
|
+
# @!attribute [rw] name
|
164
|
+
# @return [::String]
|
165
|
+
# Required. The resource name of the PredictionResult
|
166
|
+
class GetPredictionResultRequest
|
167
|
+
include ::Google::Protobuf::MessageExts
|
168
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
169
|
+
end
|
170
|
+
|
171
|
+
# Request for creating a PredictionResult resource.
|
172
|
+
# @!attribute [rw] parent
|
173
|
+
# @return [::String]
|
174
|
+
# Required. The parent of the PredictionResult is the Instance.
|
175
|
+
# @!attribute [rw] prediction_result_id
|
176
|
+
# @return [::String]
|
177
|
+
# Required. The resource id of the PredictionResult
|
178
|
+
# @!attribute [rw] prediction_result
|
179
|
+
# @return [::Google::Cloud::FinancialServices::V1::PredictionResult]
|
180
|
+
# Required. The PredictionResult that will be created.
|
181
|
+
# @!attribute [rw] request_id
|
182
|
+
# @return [::String]
|
183
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
184
|
+
# request ID so that if you must retry your request, the server will know to
|
185
|
+
# ignore the request if it has already been completed. The server will
|
186
|
+
# guarantee that for at least 60 minutes since the first request.
|
187
|
+
#
|
188
|
+
# For example, consider a situation where you make an initial request and the
|
189
|
+
# request times out. If you make the request again with the same request
|
190
|
+
# ID, the server can check if original operation with the same request ID
|
191
|
+
# was received, and if so, will ignore the second request. This prevents
|
192
|
+
# clients from accidentally creating duplicate commitments.
|
193
|
+
#
|
194
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
195
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
196
|
+
class CreatePredictionResultRequest
|
197
|
+
include ::Google::Protobuf::MessageExts
|
198
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
199
|
+
end
|
200
|
+
|
201
|
+
# Request for updating a PredictionResult
|
202
|
+
# @!attribute [rw] update_mask
|
203
|
+
# @return [::Google::Protobuf::FieldMask]
|
204
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
205
|
+
# PredictionResult resource by the update.
|
206
|
+
# The fields specified in the update_mask are relative to the resource, not
|
207
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
208
|
+
# user does not provide a mask then all fields will be overwritten.
|
209
|
+
# @!attribute [rw] prediction_result
|
210
|
+
# @return [::Google::Cloud::FinancialServices::V1::PredictionResult]
|
211
|
+
# Required. The new value of the PredictionResult fields that will be updated
|
212
|
+
# according to the update_mask.
|
213
|
+
# @!attribute [rw] request_id
|
214
|
+
# @return [::String]
|
215
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
216
|
+
# request ID so that if you must retry your request, the server will know to
|
217
|
+
# ignore the request if it has already been completed. The server will
|
218
|
+
# guarantee that for at least 60 minutes since the first request.
|
219
|
+
#
|
220
|
+
# For example, consider a situation where you make an initial request and the
|
221
|
+
# request times out. If you make the request again with the same request
|
222
|
+
# ID, the server can check if original operation with the same request ID
|
223
|
+
# was received, and if so, will ignore the second request. This prevents
|
224
|
+
# clients from accidentally creating duplicate commitments.
|
225
|
+
#
|
226
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
227
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
228
|
+
class UpdatePredictionResultRequest
|
229
|
+
include ::Google::Protobuf::MessageExts
|
230
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
231
|
+
end
|
232
|
+
|
233
|
+
# Request for deleting a PredictionResult.
|
234
|
+
# @!attribute [rw] name
|
235
|
+
# @return [::String]
|
236
|
+
# Required. The resource name of the PredictionResult.
|
237
|
+
# @!attribute [rw] request_id
|
238
|
+
# @return [::String]
|
239
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
240
|
+
# request ID so that if you must retry your request, the server will know to
|
241
|
+
# ignore the request if it has already been completed. The server will
|
242
|
+
# guarantee that for at least 60 minutes after the first request.
|
243
|
+
#
|
244
|
+
# For example, consider a situation where you make an initial request and the
|
245
|
+
# request times out. If you make the request again with the same request
|
246
|
+
# ID, the server can check if original operation with the same request ID
|
247
|
+
# was received, and if so, will ignore the second request. This prevents
|
248
|
+
# clients from accidentally creating duplicate commitments.
|
249
|
+
#
|
250
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
251
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
252
|
+
class DeletePredictionResultRequest
|
253
|
+
include ::Google::Protobuf::MessageExts
|
254
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
255
|
+
end
|
256
|
+
|
257
|
+
# Request for exporting PredictionResult metadata.
|
258
|
+
# @!attribute [rw] prediction_result
|
259
|
+
# @return [::String]
|
260
|
+
# Required. The resource name of the PredictionResult.
|
261
|
+
# @!attribute [rw] structured_metadata_destination
|
262
|
+
# @return [::Google::Cloud::FinancialServices::V1::BigQueryDestination]
|
263
|
+
# Required. BigQuery output where the metadata will be written.
|
264
|
+
class ExportPredictionResultMetadataRequest
|
265
|
+
include ::Google::Protobuf::MessageExts
|
266
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
267
|
+
end
|
268
|
+
|
269
|
+
# Response for exporting PredictionResult metadata.
|
270
|
+
class ExportPredictionResultMetadataResponse
|
271
|
+
include ::Google::Protobuf::MessageExts
|
272
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
273
|
+
end
|
274
|
+
end
|
275
|
+
end
|
276
|
+
end
|
277
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module FinancialServices
|
23
|
+
module V1
|
24
|
+
# Represents the metadata of the long-running operation.
|
25
|
+
# @!attribute [r] create_time
|
26
|
+
# @return [::Google::Protobuf::Timestamp]
|
27
|
+
# Output only. The time the operation was created.
|
28
|
+
# @!attribute [r] end_time
|
29
|
+
# @return [::Google::Protobuf::Timestamp]
|
30
|
+
# Output only. The time the operation finished running.
|
31
|
+
# @!attribute [r] target
|
32
|
+
# @return [::String]
|
33
|
+
# Output only. Server-defined resource path for the target of the operation.
|
34
|
+
# format: "/projects/\\{project}/..."
|
35
|
+
# VPC-SC restrictions apply.
|
36
|
+
# @!attribute [r] verb
|
37
|
+
# @return [::String]
|
38
|
+
# Output only. Name of the verb executed by the operation.
|
39
|
+
# @!attribute [r] status_message
|
40
|
+
# @return [::String]
|
41
|
+
# Output only. Human-readable status of the operation, if any.
|
42
|
+
# @!attribute [r] requested_cancellation
|
43
|
+
# @return [::Boolean]
|
44
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
45
|
+
# operation.
|
46
|
+
#
|
47
|
+
# Successfully cancelled operations have a [Operation.error][] value
|
48
|
+
# with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding
|
49
|
+
# to `Code.CANCELLED`.
|
50
|
+
# @!attribute [r] api_version
|
51
|
+
# @return [::String]
|
52
|
+
# Output only. API version used to start the operation.
|
53
|
+
class OperationMetadata
|
54
|
+
include ::Google::Protobuf::MessageExts
|
55
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|