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,227 @@
|
|
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 Api
|
22
|
+
# A simple descriptor of a resource type.
|
23
|
+
#
|
24
|
+
# ResourceDescriptor annotates a resource message (either by means of a
|
25
|
+
# protobuf annotation or use in the service config), and associates the
|
26
|
+
# resource's schema, the resource type, and the pattern of the resource name.
|
27
|
+
#
|
28
|
+
# Example:
|
29
|
+
#
|
30
|
+
# message Topic {
|
31
|
+
# // Indicates this message defines a resource schema.
|
32
|
+
# // Declares the resource type in the format of {service}/{kind}.
|
33
|
+
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
|
+
# option (google.api.resource) = {
|
35
|
+
# type: "pubsub.googleapis.com/Topic"
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
37
|
+
# };
|
38
|
+
# }
|
39
|
+
#
|
40
|
+
# The ResourceDescriptor Yaml config will look like:
|
41
|
+
#
|
42
|
+
# resources:
|
43
|
+
# - type: "pubsub.googleapis.com/Topic"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
45
|
+
#
|
46
|
+
# Sometimes, resources have multiple patterns, typically because they can
|
47
|
+
# live under multiple parents.
|
48
|
+
#
|
49
|
+
# Example:
|
50
|
+
#
|
51
|
+
# message LogEntry {
|
52
|
+
# option (google.api.resource) = {
|
53
|
+
# type: "logging.googleapis.com/LogEntry"
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
58
|
+
# };
|
59
|
+
# }
|
60
|
+
#
|
61
|
+
# The ResourceDescriptor Yaml config will look like:
|
62
|
+
#
|
63
|
+
# resources:
|
64
|
+
# - type: 'logging.googleapis.com/LogEntry'
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
69
|
+
# @!attribute [rw] type
|
70
|
+
# @return [::String]
|
71
|
+
# The resource type. It must be in the format of
|
72
|
+
# \\{service_name}/\\{resource_type_kind}. The `resource_type_kind` must be
|
73
|
+
# singular and must not include version numbers.
|
74
|
+
#
|
75
|
+
# Example: `storage.googleapis.com/Bucket`
|
76
|
+
#
|
77
|
+
# The value of the resource_type_kind must follow the regular expression
|
78
|
+
# /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and
|
79
|
+
# should use PascalCase (UpperCamelCase). The maximum number of
|
80
|
+
# characters allowed for the `resource_type_kind` is 100.
|
81
|
+
# @!attribute [rw] pattern
|
82
|
+
# @return [::Array<::String>]
|
83
|
+
# Optional. The relative resource name pattern associated with this resource
|
84
|
+
# type. The DNS prefix of the full resource name shouldn't be specified here.
|
85
|
+
#
|
86
|
+
# The path pattern must follow the syntax, which aligns with HTTP binding
|
87
|
+
# syntax:
|
88
|
+
#
|
89
|
+
# Template = Segment { "/" Segment } ;
|
90
|
+
# Segment = LITERAL | Variable ;
|
91
|
+
# Variable = "{" LITERAL "}" ;
|
92
|
+
#
|
93
|
+
# Examples:
|
94
|
+
#
|
95
|
+
# - "projects/\\{project}/topics/\\{topic}"
|
96
|
+
# - "projects/\\{project}/knowledgeBases/\\{knowledge_base}"
|
97
|
+
#
|
98
|
+
# The components in braces correspond to the IDs for each resource in the
|
99
|
+
# hierarchy. It is expected that, if multiple patterns are provided,
|
100
|
+
# the same component name (e.g. "project") refers to IDs of the same
|
101
|
+
# type of resource.
|
102
|
+
# @!attribute [rw] name_field
|
103
|
+
# @return [::String]
|
104
|
+
# Optional. The field on the resource that designates the resource name
|
105
|
+
# field. If omitted, this is assumed to be "name".
|
106
|
+
# @!attribute [rw] history
|
107
|
+
# @return [::Google::Api::ResourceDescriptor::History]
|
108
|
+
# Optional. The historical or future-looking state of the resource pattern.
|
109
|
+
#
|
110
|
+
# Example:
|
111
|
+
#
|
112
|
+
# // The InspectTemplate message originally only supported resource
|
113
|
+
# // names with organization, and project was added later.
|
114
|
+
# message InspectTemplate {
|
115
|
+
# option (google.api.resource) = {
|
116
|
+
# type: "dlp.googleapis.com/InspectTemplate"
|
117
|
+
# pattern:
|
118
|
+
# "organizations/{organization}/inspectTemplates/{inspect_template}"
|
119
|
+
# pattern: "projects/{project}/inspectTemplates/{inspect_template}"
|
120
|
+
# history: ORIGINALLY_SINGLE_PATTERN
|
121
|
+
# };
|
122
|
+
# }
|
123
|
+
# @!attribute [rw] plural
|
124
|
+
# @return [::String]
|
125
|
+
# The plural name used in the resource name and permission names, such as
|
126
|
+
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
134
|
+
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
135
|
+
#
|
136
|
+
# Note: The plural form is required even for singleton resources. See
|
137
|
+
# https://aip.dev/156
|
138
|
+
# @!attribute [rw] singular
|
139
|
+
# @return [::String]
|
140
|
+
# The same concept of the `singular` field in k8s CRD spec
|
141
|
+
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
142
|
+
# Such as "project" for the `resourcemanager.googleapis.com/Project` type.
|
143
|
+
# @!attribute [rw] style
|
144
|
+
# @return [::Array<::Google::Api::ResourceDescriptor::Style>]
|
145
|
+
# Style flag(s) for this resource.
|
146
|
+
# These indicate that a resource is expected to conform to a given
|
147
|
+
# style. See the specific style flags for additional information.
|
148
|
+
class ResourceDescriptor
|
149
|
+
include ::Google::Protobuf::MessageExts
|
150
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
151
|
+
|
152
|
+
# A description of the historical or future-looking state of the
|
153
|
+
# resource pattern.
|
154
|
+
module History
|
155
|
+
# The "unset" value.
|
156
|
+
HISTORY_UNSPECIFIED = 0
|
157
|
+
|
158
|
+
# The resource originally had one pattern and launched as such, and
|
159
|
+
# additional patterns were added later.
|
160
|
+
ORIGINALLY_SINGLE_PATTERN = 1
|
161
|
+
|
162
|
+
# The resource has one pattern, but the API owner expects to add more
|
163
|
+
# later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents
|
164
|
+
# that from being necessary once there are multiple patterns.)
|
165
|
+
FUTURE_MULTI_PATTERN = 2
|
166
|
+
end
|
167
|
+
|
168
|
+
# A flag representing a specific style that a resource claims to conform to.
|
169
|
+
module Style
|
170
|
+
# The unspecified value. Do not use.
|
171
|
+
STYLE_UNSPECIFIED = 0
|
172
|
+
|
173
|
+
# This resource is intended to be "declarative-friendly".
|
174
|
+
#
|
175
|
+
# Declarative-friendly resources must be more strictly consistent, and
|
176
|
+
# setting this to true communicates to tools that this resource should
|
177
|
+
# adhere to declarative-friendly expectations.
|
178
|
+
#
|
179
|
+
# Note: This is used by the API linter (linter.aip.dev) to enable
|
180
|
+
# additional checks.
|
181
|
+
DECLARATIVE_FRIENDLY = 1
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
# Defines a proto annotation that describes a string field that refers to
|
186
|
+
# an API resource.
|
187
|
+
# @!attribute [rw] type
|
188
|
+
# @return [::String]
|
189
|
+
# The resource type that the annotated field references.
|
190
|
+
#
|
191
|
+
# Example:
|
192
|
+
#
|
193
|
+
# message Subscription {
|
194
|
+
# string topic = 2 [(google.api.resource_reference) = {
|
195
|
+
# type: "pubsub.googleapis.com/Topic"
|
196
|
+
# }];
|
197
|
+
# }
|
198
|
+
#
|
199
|
+
# Occasionally, a field may reference an arbitrary resource. In this case,
|
200
|
+
# APIs use the special value * in their resource reference.
|
201
|
+
#
|
202
|
+
# Example:
|
203
|
+
#
|
204
|
+
# message GetIamPolicyRequest {
|
205
|
+
# string resource = 2 [(google.api.resource_reference) = {
|
206
|
+
# type: "*"
|
207
|
+
# }];
|
208
|
+
# }
|
209
|
+
# @!attribute [rw] child_type
|
210
|
+
# @return [::String]
|
211
|
+
# The resource type of a child collection that the annotated field
|
212
|
+
# references. This is useful for annotating the `parent` field that
|
213
|
+
# doesn't have a fixed resource type.
|
214
|
+
#
|
215
|
+
# Example:
|
216
|
+
#
|
217
|
+
# message ListLogEntriesRequest {
|
218
|
+
# string parent = 1 [(google.api.resource_reference) = {
|
219
|
+
# child_type: "logging.googleapis.com/LogEntry"
|
220
|
+
# };
|
221
|
+
# }
|
222
|
+
class ResourceReference
|
223
|
+
include ::Google::Protobuf::MessageExts
|
224
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
225
|
+
end
|
226
|
+
end
|
227
|
+
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
|
+
# BacktestResult is created to test the performance of a model on a dataset.
|
25
|
+
# @!attribute [r] name
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. The resource name of the BacktestResult.
|
28
|
+
# format:
|
29
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/backtestResults/{backtest_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::BacktestResult::State]
|
41
|
+
# Output only. State of the BacktestResult (creating, active, deleting, etc.)
|
42
|
+
# @!attribute [rw] dataset
|
43
|
+
# @return [::String]
|
44
|
+
# Required. The resource name of the Dataset to backtest on
|
45
|
+
# Format:
|
46
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
|
47
|
+
# @!attribute [rw] model
|
48
|
+
# @return [::String]
|
49
|
+
# Required. The resource name of the Model to use or to backtest.
|
50
|
+
# Format:
|
51
|
+
# `/projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
|
52
|
+
# @!attribute [rw] end_time
|
53
|
+
# @return [::Google::Protobuf::Timestamp]
|
54
|
+
# Required. End_time specifies the latest time from which labels are used and
|
55
|
+
# from which data is used to generate features for backtesting. End_time
|
56
|
+
# should be no later than the end of the date_range of the primary dataset.
|
57
|
+
# @!attribute [rw] backtest_periods
|
58
|
+
# @return [::Integer]
|
59
|
+
# The number of consecutive months to conduct backtesting for, ending with
|
60
|
+
# the last full month prior to the end_time according to the dataset's
|
61
|
+
# timezone.
|
62
|
+
# @!attribute [rw] performance_target
|
63
|
+
# @return [::Google::Cloud::FinancialServices::V1::BacktestResult::PerformanceTarget]
|
64
|
+
# Required. PerformanceTarget gives information on how the test will be
|
65
|
+
# evaluated.
|
66
|
+
# @!attribute [r] line_of_business
|
67
|
+
# @return [::Google::Cloud::FinancialServices::V1::LineOfBusiness]
|
68
|
+
# Output only. The line of business (Retail/Commercial) this backtest is for.
|
69
|
+
# Determined by Model, cannot be set by user.
|
70
|
+
class BacktestResult
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
|
74
|
+
# PerformanceTarget gives hints on how to evaluate the performance of a
|
75
|
+
# model.
|
76
|
+
# @!attribute [rw] party_investigations_per_period_hint
|
77
|
+
# @return [::Integer]
|
78
|
+
# Required. A number that gives the tuner a hint on the number of parties
|
79
|
+
# from this data that will be investigated per period (monthly). This is
|
80
|
+
# used to control how the model is evaluated. For example, when trying AML
|
81
|
+
# AI for the first time, we recommend setting this to the number of parties
|
82
|
+
# investigated in an average month, based on alerts from your existing
|
83
|
+
# automated alerting system.
|
84
|
+
class PerformanceTarget
|
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 BacktestResult resources that
|
118
|
+
# meet the specified criteria.
|
119
|
+
# @!attribute [rw] parent
|
120
|
+
# @return [::String]
|
121
|
+
# Required. The parent of the BacktestResult 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 ListBacktestResultsResponse. It should be copied here to
|
131
|
+
# retrieve the next page of resources. Empty will give the first page of
|
132
|
+
# ListBacktestResultsRequest, 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 ListBacktestResultsRequest
|
141
|
+
include ::Google::Protobuf::MessageExts
|
142
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
143
|
+
end
|
144
|
+
|
145
|
+
# Response for retrieving a list of BacktestResults
|
146
|
+
# @!attribute [rw] backtest_results
|
147
|
+
# @return [::Array<::Google::Cloud::FinancialServices::V1::BacktestResult>]
|
148
|
+
# List of BacktestResult resources
|
149
|
+
# @!attribute [rw] next_page_token
|
150
|
+
# @return [::String]
|
151
|
+
# This token should be passed to the next ListBacktestResultsRequest to
|
152
|
+
# retrieve the next page of BacktestResults (empty indicates we are
|
153
|
+
# done).
|
154
|
+
# @!attribute [rw] unreachable
|
155
|
+
# @return [::Array<::String>]
|
156
|
+
# Locations that could not be reached.
|
157
|
+
class ListBacktestResultsResponse
|
158
|
+
include ::Google::Protobuf::MessageExts
|
159
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
160
|
+
end
|
161
|
+
|
162
|
+
# Request for retrieving a specific BacktestResult resource.
|
163
|
+
# @!attribute [rw] name
|
164
|
+
# @return [::String]
|
165
|
+
# Required. The resource name of the BacktestResult
|
166
|
+
class GetBacktestResultRequest
|
167
|
+
include ::Google::Protobuf::MessageExts
|
168
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
169
|
+
end
|
170
|
+
|
171
|
+
# Request for creating a BacktestResult resource.
|
172
|
+
# @!attribute [rw] parent
|
173
|
+
# @return [::String]
|
174
|
+
# Required. The parent of the BacktestResult is the Instance.
|
175
|
+
# @!attribute [rw] backtest_result_id
|
176
|
+
# @return [::String]
|
177
|
+
# Required. The resource id of the BacktestResult
|
178
|
+
# @!attribute [rw] backtest_result
|
179
|
+
# @return [::Google::Cloud::FinancialServices::V1::BacktestResult]
|
180
|
+
# Required. The BacktestResult 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 CreateBacktestResultRequest
|
197
|
+
include ::Google::Protobuf::MessageExts
|
198
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
199
|
+
end
|
200
|
+
|
201
|
+
# Request for updating a BacktestResult
|
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
|
+
# BacktestResult 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] backtest_result
|
210
|
+
# @return [::Google::Cloud::FinancialServices::V1::BacktestResult]
|
211
|
+
# Required. The new value of the BacktestResult 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 UpdateBacktestResultRequest
|
229
|
+
include ::Google::Protobuf::MessageExts
|
230
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
231
|
+
end
|
232
|
+
|
233
|
+
# Request for deleting a BacktestResult.
|
234
|
+
# @!attribute [rw] name
|
235
|
+
# @return [::String]
|
236
|
+
# Required. The resource name of the BacktestResult.
|
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 DeleteBacktestResultRequest
|
253
|
+
include ::Google::Protobuf::MessageExts
|
254
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
255
|
+
end
|
256
|
+
|
257
|
+
# Request for exporting BacktestResult metadata.
|
258
|
+
# @!attribute [rw] backtest_result
|
259
|
+
# @return [::String]
|
260
|
+
# Required. The resource name of the BacktestResult.
|
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 ExportBacktestResultMetadataRequest
|
265
|
+
include ::Google::Protobuf::MessageExts
|
266
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
267
|
+
end
|
268
|
+
|
269
|
+
# Response for exporting BacktestResult metadata.
|
270
|
+
class ExportBacktestResultMetadataResponse
|
271
|
+
include ::Google::Protobuf::MessageExts
|
272
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
273
|
+
end
|
274
|
+
end
|
275
|
+
end
|
276
|
+
end
|
277
|
+
end
|
@@ -0,0 +1,56 @@
|
|
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
|
+
# BigQueryDestination is a wrapper for BigQuery output information.
|
25
|
+
# @!attribute [rw] table_uri
|
26
|
+
# @return [::String]
|
27
|
+
# Optional. BigQuery URI to a table, must be of the form
|
28
|
+
# bq://projectId.bqDatasetId.tableId.
|
29
|
+
# Note that the BigQuery dataset must already exist.
|
30
|
+
# VPC-SC restrictions apply.
|
31
|
+
# @!attribute [rw] write_disposition
|
32
|
+
# @return [::Google::Cloud::FinancialServices::V1::BigQueryDestination::WriteDisposition]
|
33
|
+
# Required. Whether or not to overwrite the destination table. By default the
|
34
|
+
# table won't be overwritten and an error will be returned if the table
|
35
|
+
# exists and contains data.
|
36
|
+
class BigQueryDestination
|
37
|
+
include ::Google::Protobuf::MessageExts
|
38
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
39
|
+
|
40
|
+
# WriteDisposition controls the behavior when the destination table already
|
41
|
+
# exists.
|
42
|
+
module WriteDisposition
|
43
|
+
# Default behavior is the same as WRITE_EMPTY.
|
44
|
+
WRITE_DISPOSITION_UNSPECIFIED = 0
|
45
|
+
|
46
|
+
# If the table already exists and contains data, an error is returned.
|
47
|
+
WRITE_EMPTY = 1
|
48
|
+
|
49
|
+
# If the table already exists, the data will be overwritten.
|
50
|
+
WRITE_TRUNCATE = 2
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|