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,242 @@
|
|
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
|
+
# The Dataset resource contains summary information about a dataset.
|
25
|
+
# @!attribute [r] name
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. The resource name of the Dataset.
|
28
|
+
# format:
|
29
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
|
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 [rw] table_specs
|
40
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
41
|
+
# Required. The set of BigQuery tables in the dataset. The key should be the
|
42
|
+
# table type and the value should be the BigQuery tables in the format
|
43
|
+
# `bq://{project}.{dataset}.{table}`.
|
44
|
+
# Current table types are:
|
45
|
+
#
|
46
|
+
# * `party`
|
47
|
+
# * `account_party_link`
|
48
|
+
# * `transaction`
|
49
|
+
# * `risk_case_event`
|
50
|
+
# * `party_supplementary_data`
|
51
|
+
# @!attribute [r] state
|
52
|
+
# @return [::Google::Cloud::FinancialServices::V1::Dataset::State]
|
53
|
+
# Output only. State of the dataset (creating, active, deleting, etc.)
|
54
|
+
# @!attribute [rw] date_range
|
55
|
+
# @return [::Google::Type::Interval]
|
56
|
+
# Required. Core time window of the dataset. All tables should have complete
|
57
|
+
# data covering this period.
|
58
|
+
# @!attribute [rw] time_zone
|
59
|
+
# @return [::Google::Type::TimeZone]
|
60
|
+
# The timezone of the data, default will act as UTC.
|
61
|
+
class Dataset
|
62
|
+
include ::Google::Protobuf::MessageExts
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
|
65
|
+
# @!attribute [rw] key
|
66
|
+
# @return [::String]
|
67
|
+
# @!attribute [rw] value
|
68
|
+
# @return [::String]
|
69
|
+
class LabelsEntry
|
70
|
+
include ::Google::Protobuf::MessageExts
|
71
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
72
|
+
end
|
73
|
+
|
74
|
+
# @!attribute [rw] key
|
75
|
+
# @return [::String]
|
76
|
+
# @!attribute [rw] value
|
77
|
+
# @return [::String]
|
78
|
+
class TableSpecsEntry
|
79
|
+
include ::Google::Protobuf::MessageExts
|
80
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
81
|
+
end
|
82
|
+
|
83
|
+
# The possible states of a resource.
|
84
|
+
module State
|
85
|
+
# State is unspecified, should not occur.
|
86
|
+
STATE_UNSPECIFIED = 0
|
87
|
+
|
88
|
+
# The resource has not finished being created.
|
89
|
+
CREATING = 1
|
90
|
+
|
91
|
+
# The resource is active/ready to be used.
|
92
|
+
ACTIVE = 2
|
93
|
+
|
94
|
+
# The resource is in the process of being updated.
|
95
|
+
UPDATING = 3
|
96
|
+
|
97
|
+
# The resource is in the process of being deleted.
|
98
|
+
DELETING = 4
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# Request for retrieving a paginated list of Dataset resources that meet the
|
103
|
+
# specified criteria.
|
104
|
+
# @!attribute [rw] parent
|
105
|
+
# @return [::String]
|
106
|
+
# Required. The parent of the Dataset is the Instance.
|
107
|
+
# @!attribute [rw] page_size
|
108
|
+
# @return [::Integer]
|
109
|
+
# The number of resources to be included in the response. The response
|
110
|
+
# contains a next_page_token, which can be used to retrieve the next page of
|
111
|
+
# resources.
|
112
|
+
# @!attribute [rw] page_token
|
113
|
+
# @return [::String]
|
114
|
+
# In case of paginated results, this is the token that was returned in the
|
115
|
+
# previous ListDatasetResponse. It should be copied here to retrieve the
|
116
|
+
# next page of resources. Empty will give the first page of
|
117
|
+
# ListDatasetRequest, and the last page will return an empty page_token.
|
118
|
+
# @!attribute [rw] filter
|
119
|
+
# @return [::String]
|
120
|
+
# Specify a filter to narrow search results.
|
121
|
+
# @!attribute [rw] order_by
|
122
|
+
# @return [::String]
|
123
|
+
# Specify a field to use for ordering.
|
124
|
+
class ListDatasetsRequest
|
125
|
+
include ::Google::Protobuf::MessageExts
|
126
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
127
|
+
end
|
128
|
+
|
129
|
+
# Response for retrieving a list of Datasets
|
130
|
+
# @!attribute [rw] datasets
|
131
|
+
# @return [::Array<::Google::Cloud::FinancialServices::V1::Dataset>]
|
132
|
+
# List of Dataset resources
|
133
|
+
# @!attribute [rw] next_page_token
|
134
|
+
# @return [::String]
|
135
|
+
# This token should be passed to the next ListDatasetsRequest to retrieve
|
136
|
+
# the next page of Datasets (empty indicates we are done).
|
137
|
+
# @!attribute [rw] unreachable
|
138
|
+
# @return [::Array<::String>]
|
139
|
+
# Locations that could not be reached.
|
140
|
+
class ListDatasetsResponse
|
141
|
+
include ::Google::Protobuf::MessageExts
|
142
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
143
|
+
end
|
144
|
+
|
145
|
+
# Request for retrieving a specific Dataset resource.
|
146
|
+
# @!attribute [rw] name
|
147
|
+
# @return [::String]
|
148
|
+
# Required. The resource name of the Dataset
|
149
|
+
class GetDatasetRequest
|
150
|
+
include ::Google::Protobuf::MessageExts
|
151
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
152
|
+
end
|
153
|
+
|
154
|
+
# Request for creating a Dataset resource.
|
155
|
+
# @!attribute [rw] parent
|
156
|
+
# @return [::String]
|
157
|
+
# Required. The parent of the Dataset is the Instance.
|
158
|
+
# @!attribute [rw] dataset_id
|
159
|
+
# @return [::String]
|
160
|
+
# Required. The resource id of the dataset
|
161
|
+
# @!attribute [rw] dataset
|
162
|
+
# @return [::Google::Cloud::FinancialServices::V1::Dataset]
|
163
|
+
# Required. The dataset that will be created.
|
164
|
+
# @!attribute [rw] request_id
|
165
|
+
# @return [::String]
|
166
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
167
|
+
# request ID so that if you must retry your request, the server will know to
|
168
|
+
# ignore the request if it has already been completed. The server will
|
169
|
+
# guarantee that for at least 60 minutes since the first request.
|
170
|
+
#
|
171
|
+
# For example, consider a situation where you make an initial request and the
|
172
|
+
# request times out. If you make the request again with the same request
|
173
|
+
# ID, the server can check if original operation with the same request ID
|
174
|
+
# was received, and if so, will ignore the second request. This prevents
|
175
|
+
# clients from accidentally creating duplicate commitments.
|
176
|
+
#
|
177
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
178
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
179
|
+
class CreateDatasetRequest
|
180
|
+
include ::Google::Protobuf::MessageExts
|
181
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
182
|
+
end
|
183
|
+
|
184
|
+
# Request for updating a Dataset
|
185
|
+
# @!attribute [rw] update_mask
|
186
|
+
# @return [::Google::Protobuf::FieldMask]
|
187
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
188
|
+
# Dataset resource by the update.
|
189
|
+
# The fields specified in the update_mask are relative to the resource, not
|
190
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
191
|
+
# user does not provide a mask then all fields will be overwritten.
|
192
|
+
# @!attribute [rw] dataset
|
193
|
+
# @return [::Google::Cloud::FinancialServices::V1::Dataset]
|
194
|
+
# Required. The new value of the dataset fields that will be updated
|
195
|
+
# according to the update_mask.
|
196
|
+
# @!attribute [rw] request_id
|
197
|
+
# @return [::String]
|
198
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
199
|
+
# request ID so that if you must retry your request, the server will know to
|
200
|
+
# ignore the request if it has already been completed. The server will
|
201
|
+
# guarantee that for at least 60 minutes since the first request.
|
202
|
+
#
|
203
|
+
# For example, consider a situation where you make an initial request and the
|
204
|
+
# request times out. If you make the request again with the same request
|
205
|
+
# ID, the server can check if original operation with the same request ID
|
206
|
+
# was received, and if so, will ignore the second request. This prevents
|
207
|
+
# clients from accidentally creating duplicate commitments.
|
208
|
+
#
|
209
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
210
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
211
|
+
class UpdateDatasetRequest
|
212
|
+
include ::Google::Protobuf::MessageExts
|
213
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
214
|
+
end
|
215
|
+
|
216
|
+
# Request for deleting a Dataset.
|
217
|
+
# @!attribute [rw] name
|
218
|
+
# @return [::String]
|
219
|
+
# Required. The resource name of the Dataset.
|
220
|
+
# @!attribute [rw] request_id
|
221
|
+
# @return [::String]
|
222
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
223
|
+
# request ID so that if you must retry your request, the server will know to
|
224
|
+
# ignore the request if it has already been completed. The server will
|
225
|
+
# guarantee that for at least 60 minutes after the first request.
|
226
|
+
#
|
227
|
+
# For example, consider a situation where you make an initial request and the
|
228
|
+
# request times out. If you make the request again with the same request
|
229
|
+
# ID, the server can check if original operation with the same request ID
|
230
|
+
# was received, and if so, will ignore the second request. This prevents
|
231
|
+
# clients from accidentally creating duplicate commitments.
|
232
|
+
#
|
233
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
234
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
235
|
+
class DeleteDatasetRequest
|
236
|
+
include ::Google::Protobuf::MessageExts
|
237
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
238
|
+
end
|
239
|
+
end
|
240
|
+
end
|
241
|
+
end
|
242
|
+
end
|
@@ -0,0 +1,324 @@
|
|
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
|
+
# The EngineConfig resource creates the configuration for training a model.
|
25
|
+
# @!attribute [r] name
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. The resource name of the EngineConfig.
|
28
|
+
# format:
|
29
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}`
|
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::EngineConfig::State]
|
41
|
+
# Output only. State of the EngineConfig (creating, active, deleting, etc.)
|
42
|
+
# @!attribute [rw] engine_version
|
43
|
+
# @return [::String]
|
44
|
+
# Required. The resource name of the EngineVersion used in this model tuning.
|
45
|
+
# format:
|
46
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}`
|
47
|
+
# @!attribute [rw] tuning
|
48
|
+
# @return [::Google::Cloud::FinancialServices::V1::EngineConfig::Tuning]
|
49
|
+
# Optional. Configuration for tuning in creation of the EngineConfig.
|
50
|
+
# This field is required if `hyperparameter_source.type` is not `INHERITED`,
|
51
|
+
# and output-only otherwise.
|
52
|
+
# @!attribute [rw] performance_target
|
53
|
+
# @return [::Google::Cloud::FinancialServices::V1::EngineConfig::PerformanceTarget]
|
54
|
+
# Optional. PerformanceTarget gives information on how the tuning and
|
55
|
+
# training will be evaluated. This field is required if
|
56
|
+
# `hyperparameter_source.type` is not `INHERITED`, and output-only otherwise.
|
57
|
+
# @!attribute [r] line_of_business
|
58
|
+
# @return [::Google::Cloud::FinancialServices::V1::LineOfBusiness]
|
59
|
+
# Output only. The line of business (Retail/Commercial) this engine config is
|
60
|
+
# used for. Determined by EngineVersion, cannot be set by user.
|
61
|
+
# @!attribute [rw] hyperparameter_source_type
|
62
|
+
# @return [::Google::Cloud::FinancialServices::V1::EngineConfig::HyperparameterSourceType]
|
63
|
+
# Optional. The origin of hyperparameters for the created EngineConfig. The
|
64
|
+
# default is `TUNING`. In this case, the hyperparameters are selected as a
|
65
|
+
# result of a
|
66
|
+
# tuning run.
|
67
|
+
# @!attribute [rw] hyperparameter_source
|
68
|
+
# @return [::Google::Cloud::FinancialServices::V1::EngineConfig::HyperparameterSource]
|
69
|
+
# Optional. Configuration of hyperparameters source EngineConfig.
|
70
|
+
class EngineConfig
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
|
74
|
+
# The parameters needed for the tuning operation, these are used only in
|
75
|
+
# tuning and not passed on to training.
|
76
|
+
# @!attribute [rw] primary_dataset
|
77
|
+
# @return [::String]
|
78
|
+
# Required. The resource name of the Primary Dataset used in this model
|
79
|
+
# tuning. For information about how primary and auxiliary datasets are
|
80
|
+
# used, refer to the engine version's documentation. Format:
|
81
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
|
82
|
+
# @!attribute [rw] end_time
|
83
|
+
# @return [::Google::Protobuf::Timestamp]
|
84
|
+
# Required. End_time specifies the latest time from which labels are used
|
85
|
+
# and from which data is used to generate features for tuning. End_time
|
86
|
+
# should be no later than the end of the date_range of the dataset.
|
87
|
+
class Tuning
|
88
|
+
include ::Google::Protobuf::MessageExts
|
89
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
90
|
+
end
|
91
|
+
|
92
|
+
# PerformanceTarget gives hints on how to evaluate the performance of a
|
93
|
+
# model.
|
94
|
+
# @!attribute [rw] party_investigations_per_period_hint
|
95
|
+
# @return [::Integer]
|
96
|
+
# Required. A number that gives the tuner a hint on the number of parties
|
97
|
+
# from this data that will be investigated per period (monthly). This is
|
98
|
+
# used to control how the model is evaluated. For example, when trying AML
|
99
|
+
# AI for the first time, we recommend setting this to the number of parties
|
100
|
+
# investigated in an average month, based on alerts from your existing
|
101
|
+
# automated alerting system.
|
102
|
+
class PerformanceTarget
|
103
|
+
include ::Google::Protobuf::MessageExts
|
104
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
105
|
+
end
|
106
|
+
|
107
|
+
# Parameters for bootstrapping an Engine Config with the results of another
|
108
|
+
# one.
|
109
|
+
# @!attribute [rw] source_engine_config
|
110
|
+
# @return [::String]
|
111
|
+
# Required. The resource name of the source EngineConfig whose outputs are
|
112
|
+
# used. Format:
|
113
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}`
|
114
|
+
# @!attribute [r] source_engine_version
|
115
|
+
# @return [::String]
|
116
|
+
# Output only. The resource name of the EngineVersion that was used in the
|
117
|
+
# tuning run. Format:
|
118
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}`
|
119
|
+
class HyperparameterSource
|
120
|
+
include ::Google::Protobuf::MessageExts
|
121
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
122
|
+
end
|
123
|
+
|
124
|
+
# @!attribute [rw] key
|
125
|
+
# @return [::String]
|
126
|
+
# @!attribute [rw] value
|
127
|
+
# @return [::String]
|
128
|
+
class LabelsEntry
|
129
|
+
include ::Google::Protobuf::MessageExts
|
130
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
131
|
+
end
|
132
|
+
|
133
|
+
# The possible states of a resource.
|
134
|
+
module State
|
135
|
+
# State is unspecified, should not occur.
|
136
|
+
STATE_UNSPECIFIED = 0
|
137
|
+
|
138
|
+
# The resource has not finished being created.
|
139
|
+
CREATING = 1
|
140
|
+
|
141
|
+
# The resource is active/ready to be used.
|
142
|
+
ACTIVE = 2
|
143
|
+
|
144
|
+
# The resource is in the process of being updated.
|
145
|
+
UPDATING = 3
|
146
|
+
|
147
|
+
# The resource is in the process of being deleted.
|
148
|
+
DELETING = 4
|
149
|
+
end
|
150
|
+
|
151
|
+
# The type of the hyperparameter source.
|
152
|
+
module HyperparameterSourceType
|
153
|
+
# Hyperparameter source type is unspecified, defaults to TUNING.
|
154
|
+
HYPERPARAMETER_SOURCE_TYPE_UNSPECIFIED = 0
|
155
|
+
|
156
|
+
# The EngineConfig creation starts a tuning job which selects the best
|
157
|
+
# hyperparameters.
|
158
|
+
TUNING = 1
|
159
|
+
|
160
|
+
# The hyperparameters are inherited from another EngineConfig.
|
161
|
+
INHERITED = 2
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
# Request for retrieving a paginated list of EngineConfig resources that
|
166
|
+
# meet the specified criteria.
|
167
|
+
# @!attribute [rw] parent
|
168
|
+
# @return [::String]
|
169
|
+
# Required. The parent of the EngineConfig is the Instance.
|
170
|
+
# @!attribute [rw] page_size
|
171
|
+
# @return [::Integer]
|
172
|
+
# The number of resources to be included in the response. The response
|
173
|
+
# contains a next_page_token, which can be used to retrieve the next page of
|
174
|
+
# resources.
|
175
|
+
# @!attribute [rw] page_token
|
176
|
+
# @return [::String]
|
177
|
+
# In case of paginated results, this is the token that was returned in the
|
178
|
+
# previous ListEngineConfigsResponse. It should be copied here to retrieve
|
179
|
+
# the next page of resources. Empty will give the first page of
|
180
|
+
# ListEngineConfigsRequest, and the last page will return an empty
|
181
|
+
# page_token.
|
182
|
+
# @!attribute [rw] filter
|
183
|
+
# @return [::String]
|
184
|
+
# Specify a filter to narrow search results.
|
185
|
+
# @!attribute [rw] order_by
|
186
|
+
# @return [::String]
|
187
|
+
# Specify a field to use for ordering.
|
188
|
+
class ListEngineConfigsRequest
|
189
|
+
include ::Google::Protobuf::MessageExts
|
190
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
191
|
+
end
|
192
|
+
|
193
|
+
# Response for retrieving a list of EngineConfigs
|
194
|
+
# @!attribute [rw] engine_configs
|
195
|
+
# @return [::Array<::Google::Cloud::FinancialServices::V1::EngineConfig>]
|
196
|
+
# List of EngineConfig resources
|
197
|
+
# @!attribute [rw] next_page_token
|
198
|
+
# @return [::String]
|
199
|
+
# This token should be passed to the next ListEngineConfigsRequest to
|
200
|
+
# retrieve the next page of EngineConfigs (empty indicates we are done).
|
201
|
+
# @!attribute [rw] unreachable
|
202
|
+
# @return [::Array<::String>]
|
203
|
+
# Locations that could not be reached.
|
204
|
+
class ListEngineConfigsResponse
|
205
|
+
include ::Google::Protobuf::MessageExts
|
206
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
207
|
+
end
|
208
|
+
|
209
|
+
# Request for retrieving a specific EngineConfig resource.
|
210
|
+
# @!attribute [rw] name
|
211
|
+
# @return [::String]
|
212
|
+
# Required. The resource name of the EngineConfig
|
213
|
+
class GetEngineConfigRequest
|
214
|
+
include ::Google::Protobuf::MessageExts
|
215
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
216
|
+
end
|
217
|
+
|
218
|
+
# Request for creating an EngineConfig resource.
|
219
|
+
# @!attribute [rw] parent
|
220
|
+
# @return [::String]
|
221
|
+
# Required. The parent of the EngineConfig is the Instance.
|
222
|
+
# @!attribute [rw] engine_config_id
|
223
|
+
# @return [::String]
|
224
|
+
# Required. The resource id of the EngineConfig
|
225
|
+
# @!attribute [rw] engine_config
|
226
|
+
# @return [::Google::Cloud::FinancialServices::V1::EngineConfig]
|
227
|
+
# Required. The EngineConfig that will be created.
|
228
|
+
# @!attribute [rw] request_id
|
229
|
+
# @return [::String]
|
230
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
231
|
+
# request ID so that if you must retry your request, the server will know to
|
232
|
+
# ignore the request if it has already been completed. The server will
|
233
|
+
# guarantee that for at least 60 minutes since the first request.
|
234
|
+
#
|
235
|
+
# For example, consider a situation where you make an initial request and the
|
236
|
+
# request times out. If you make the request again with the same request
|
237
|
+
# ID, the server can check if original operation with the same request ID
|
238
|
+
# was received, and if so, will ignore the second request. This prevents
|
239
|
+
# clients from accidentally creating duplicate commitments.
|
240
|
+
#
|
241
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
242
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
243
|
+
class CreateEngineConfigRequest
|
244
|
+
include ::Google::Protobuf::MessageExts
|
245
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
246
|
+
end
|
247
|
+
|
248
|
+
# Request for updating an EngineConfig
|
249
|
+
# @!attribute [rw] update_mask
|
250
|
+
# @return [::Google::Protobuf::FieldMask]
|
251
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
252
|
+
# EngineConfig resource by the update.
|
253
|
+
# The fields specified in the update_mask are relative to the resource, not
|
254
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
255
|
+
# user does not provide a mask then all fields will be overwritten.
|
256
|
+
# @!attribute [rw] engine_config
|
257
|
+
# @return [::Google::Cloud::FinancialServices::V1::EngineConfig]
|
258
|
+
# Required. The new value of the EngineConfig fields that will be updated
|
259
|
+
# according to the update_mask.
|
260
|
+
# @!attribute [rw] request_id
|
261
|
+
# @return [::String]
|
262
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
263
|
+
# request ID so that if you must retry your request, the server will know to
|
264
|
+
# ignore the request if it has already been completed. The server will
|
265
|
+
# guarantee that for at least 60 minutes since the first request.
|
266
|
+
#
|
267
|
+
# For example, consider a situation where you make an initial request and the
|
268
|
+
# request times out. If you make the request again with the same request
|
269
|
+
# ID, the server can check if original operation with the same request ID
|
270
|
+
# was received, and if so, will ignore the second request. This prevents
|
271
|
+
# clients from accidentally creating duplicate commitments.
|
272
|
+
#
|
273
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
274
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
275
|
+
class UpdateEngineConfigRequest
|
276
|
+
include ::Google::Protobuf::MessageExts
|
277
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
278
|
+
end
|
279
|
+
|
280
|
+
# Request for deleting an EngineConfig.
|
281
|
+
# @!attribute [rw] name
|
282
|
+
# @return [::String]
|
283
|
+
# Required. The resource name of the EngineConfig.
|
284
|
+
# @!attribute [rw] request_id
|
285
|
+
# @return [::String]
|
286
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
287
|
+
# request ID so that if you must retry your request, the server will know to
|
288
|
+
# ignore the request if it has already been completed. The server will
|
289
|
+
# guarantee that for at least 60 minutes after the first request.
|
290
|
+
#
|
291
|
+
# For example, consider a situation where you make an initial request and the
|
292
|
+
# request times out. If you make the request again with the same request
|
293
|
+
# ID, the server can check if original operation with the same request ID
|
294
|
+
# was received, and if so, will ignore the second request. This prevents
|
295
|
+
# clients from accidentally creating duplicate commitments.
|
296
|
+
#
|
297
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
298
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
299
|
+
class DeleteEngineConfigRequest
|
300
|
+
include ::Google::Protobuf::MessageExts
|
301
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
302
|
+
end
|
303
|
+
|
304
|
+
# Request for exporting EngineConfig metadata.
|
305
|
+
# @!attribute [rw] engine_config
|
306
|
+
# @return [::String]
|
307
|
+
# Required. The resource name of the EngineConfig.
|
308
|
+
# @!attribute [rw] structured_metadata_destination
|
309
|
+
# @return [::Google::Cloud::FinancialServices::V1::BigQueryDestination]
|
310
|
+
# Required. BigQuery output where the metadata will be written.
|
311
|
+
class ExportEngineConfigMetadataRequest
|
312
|
+
include ::Google::Protobuf::MessageExts
|
313
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
314
|
+
end
|
315
|
+
|
316
|
+
# Response for exporting EngineConfig metadata.
|
317
|
+
class ExportEngineConfigMetadataResponse
|
318
|
+
include ::Google::Protobuf::MessageExts
|
319
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
320
|
+
end
|
321
|
+
end
|
322
|
+
end
|
323
|
+
end
|
324
|
+
end
|