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,195 @@
|
|
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
|
+
module AML
|
25
|
+
# Path helper methods for the AML API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified BacktestResult resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project_num}/locations/{location}/instances/{instance}/backtestResults/{backtest_result}`
|
33
|
+
#
|
34
|
+
# @param project_num [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param instance [String]
|
37
|
+
# @param backtest_result [String]
|
38
|
+
#
|
39
|
+
# @return [::String]
|
40
|
+
def backtest_result_path project_num:, location:, instance:, backtest_result:
|
41
|
+
raise ::ArgumentError, "project_num cannot contain /" if project_num.to_s.include? "/"
|
42
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
43
|
+
raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
|
44
|
+
|
45
|
+
"projects/#{project_num}/locations/#{location}/instances/#{instance}/backtestResults/#{backtest_result}"
|
46
|
+
end
|
47
|
+
|
48
|
+
##
|
49
|
+
# Create a fully-qualified Dataset resource string.
|
50
|
+
#
|
51
|
+
# The resource will be in the following format:
|
52
|
+
#
|
53
|
+
# `projects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}`
|
54
|
+
#
|
55
|
+
# @param project_num [String]
|
56
|
+
# @param location [String]
|
57
|
+
# @param instance [String]
|
58
|
+
# @param dataset [String]
|
59
|
+
#
|
60
|
+
# @return [::String]
|
61
|
+
def dataset_path project_num:, location:, instance:, dataset:
|
62
|
+
raise ::ArgumentError, "project_num cannot contain /" if project_num.to_s.include? "/"
|
63
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
64
|
+
raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
|
65
|
+
|
66
|
+
"projects/#{project_num}/locations/#{location}/instances/#{instance}/datasets/#{dataset}"
|
67
|
+
end
|
68
|
+
|
69
|
+
##
|
70
|
+
# Create a fully-qualified EngineConfig resource string.
|
71
|
+
#
|
72
|
+
# The resource will be in the following format:
|
73
|
+
#
|
74
|
+
# `projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}`
|
75
|
+
#
|
76
|
+
# @param project_num [String]
|
77
|
+
# @param location [String]
|
78
|
+
# @param instance [String]
|
79
|
+
# @param engine_config [String]
|
80
|
+
#
|
81
|
+
# @return [::String]
|
82
|
+
def engine_config_path project_num:, location:, instance:, engine_config:
|
83
|
+
raise ::ArgumentError, "project_num cannot contain /" if project_num.to_s.include? "/"
|
84
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
85
|
+
raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
|
86
|
+
|
87
|
+
"projects/#{project_num}/locations/#{location}/instances/#{instance}/engineConfigs/#{engine_config}"
|
88
|
+
end
|
89
|
+
|
90
|
+
##
|
91
|
+
# Create a fully-qualified EngineVersion resource string.
|
92
|
+
#
|
93
|
+
# The resource will be in the following format:
|
94
|
+
#
|
95
|
+
# `projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}`
|
96
|
+
#
|
97
|
+
# @param project_num [String]
|
98
|
+
# @param location [String]
|
99
|
+
# @param instance [String]
|
100
|
+
# @param engine_version [String]
|
101
|
+
#
|
102
|
+
# @return [::String]
|
103
|
+
def engine_version_path project_num:, location:, instance:, engine_version:
|
104
|
+
raise ::ArgumentError, "project_num cannot contain /" if project_num.to_s.include? "/"
|
105
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
106
|
+
raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
|
107
|
+
|
108
|
+
"projects/#{project_num}/locations/#{location}/instances/#{instance}/engineVersions/#{engine_version}"
|
109
|
+
end
|
110
|
+
|
111
|
+
##
|
112
|
+
# Create a fully-qualified Instance resource string.
|
113
|
+
#
|
114
|
+
# The resource will be in the following format:
|
115
|
+
#
|
116
|
+
# `projects/{project}/locations/{location}/instances/{instance}`
|
117
|
+
#
|
118
|
+
# @param project [String]
|
119
|
+
# @param location [String]
|
120
|
+
# @param instance [String]
|
121
|
+
#
|
122
|
+
# @return [::String]
|
123
|
+
def instance_path project:, location:, instance:
|
124
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
125
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
126
|
+
|
127
|
+
"projects/#{project}/locations/#{location}/instances/#{instance}"
|
128
|
+
end
|
129
|
+
|
130
|
+
##
|
131
|
+
# Create a fully-qualified Location resource string.
|
132
|
+
#
|
133
|
+
# The resource will be in the following format:
|
134
|
+
#
|
135
|
+
# `projects/{project}/locations/{location}`
|
136
|
+
#
|
137
|
+
# @param project [String]
|
138
|
+
# @param location [String]
|
139
|
+
#
|
140
|
+
# @return [::String]
|
141
|
+
def location_path project:, location:
|
142
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
143
|
+
|
144
|
+
"projects/#{project}/locations/#{location}"
|
145
|
+
end
|
146
|
+
|
147
|
+
##
|
148
|
+
# Create a fully-qualified Model resource string.
|
149
|
+
#
|
150
|
+
# The resource will be in the following format:
|
151
|
+
#
|
152
|
+
# `projects/{project_num}/locations/{location}/instances/{instance}/models/{model}`
|
153
|
+
#
|
154
|
+
# @param project_num [String]
|
155
|
+
# @param location [String]
|
156
|
+
# @param instance [String]
|
157
|
+
# @param model [String]
|
158
|
+
#
|
159
|
+
# @return [::String]
|
160
|
+
def model_path project_num:, location:, instance:, model:
|
161
|
+
raise ::ArgumentError, "project_num cannot contain /" if project_num.to_s.include? "/"
|
162
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
163
|
+
raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
|
164
|
+
|
165
|
+
"projects/#{project_num}/locations/#{location}/instances/#{instance}/models/#{model}"
|
166
|
+
end
|
167
|
+
|
168
|
+
##
|
169
|
+
# Create a fully-qualified PredictionResult resource string.
|
170
|
+
#
|
171
|
+
# The resource will be in the following format:
|
172
|
+
#
|
173
|
+
# `projects/{project_num}/locations/{location}/instances/{instance}/predictionResults/{prediction_result}`
|
174
|
+
#
|
175
|
+
# @param project_num [String]
|
176
|
+
# @param location [String]
|
177
|
+
# @param instance [String]
|
178
|
+
# @param prediction_result [String]
|
179
|
+
#
|
180
|
+
# @return [::String]
|
181
|
+
def prediction_result_path project_num:, location:, instance:, prediction_result:
|
182
|
+
raise ::ArgumentError, "project_num cannot contain /" if project_num.to_s.include? "/"
|
183
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
184
|
+
raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
|
185
|
+
|
186
|
+
"projects/#{project_num}/locations/#{location}/instances/#{instance}/predictionResults/#{prediction_result}"
|
187
|
+
end
|
188
|
+
|
189
|
+
extend self
|
190
|
+
end
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
194
|
+
end
|
195
|
+
end
|