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.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/financial_services/v1/aml/client.rb +4687 -0
  6. data/lib/google/cloud/financial_services/v1/aml/credentials.rb +47 -0
  7. data/lib/google/cloud/financial_services/v1/aml/operations.rb +813 -0
  8. data/lib/google/cloud/financial_services/v1/aml/paths.rb +195 -0
  9. data/lib/google/cloud/financial_services/v1/aml/rest/client.rb +4403 -0
  10. data/lib/google/cloud/financial_services/v1/aml/rest/operations.rb +914 -0
  11. data/lib/google/cloud/financial_services/v1/aml/rest/service_stub.rb +2417 -0
  12. data/lib/google/cloud/financial_services/v1/aml/rest.rb +55 -0
  13. data/lib/google/cloud/financial_services/v1/aml.rb +57 -0
  14. data/lib/google/cloud/financial_services/v1/bindings_override.rb +102 -0
  15. data/lib/google/cloud/financial_services/v1/rest.rb +38 -0
  16. data/lib/google/cloud/financial_services/v1/version.rb +7 -2
  17. data/lib/google/cloud/financial_services/v1.rb +45 -0
  18. data/lib/google/cloud/financialservices/v1/backtest_result_pb.rb +62 -0
  19. data/lib/google/cloud/financialservices/v1/bigquery_destination_pb.rb +45 -0
  20. data/lib/google/cloud/financialservices/v1/dataset_pb.rb +60 -0
  21. data/lib/google/cloud/financialservices/v1/engine_config_pb.rb +65 -0
  22. data/lib/google/cloud/financialservices/v1/engine_version_pb.rb +52 -0
  23. data/lib/google/cloud/financialservices/v1/instance_pb.rb +64 -0
  24. data/lib/google/cloud/financialservices/v1/line_of_business_pb.rb +42 -0
  25. data/lib/google/cloud/financialservices/v1/model_pb.rb +61 -0
  26. data/lib/google/cloud/financialservices/v1/prediction_result_pb.rb +62 -0
  27. data/lib/google/cloud/financialservices/v1/service_pb.rb +57 -0
  28. data/lib/google/cloud/financialservices/v1/service_services_pb.rb +138 -0
  29. data/lib/google-cloud-financial_services-v1.rb +21 -0
  30. data/proto_docs/README.md +4 -0
  31. data/proto_docs/google/api/client.rb +473 -0
  32. data/proto_docs/google/api/field_behavior.rb +85 -0
  33. data/proto_docs/google/api/launch_stage.rb +71 -0
  34. data/proto_docs/google/api/resource.rb +227 -0
  35. data/proto_docs/google/cloud/financialservices/v1/backtest_result.rb +277 -0
  36. data/proto_docs/google/cloud/financialservices/v1/bigquery_destination.rb +56 -0
  37. data/proto_docs/google/cloud/financialservices/v1/dataset.rb +242 -0
  38. data/proto_docs/google/cloud/financialservices/v1/engine_config.rb +324 -0
  39. data/proto_docs/google/cloud/financialservices/v1/engine_version.rb +126 -0
  40. data/proto_docs/google/cloud/financialservices/v1/instance.rb +318 -0
  41. data/proto_docs/google/cloud/financialservices/v1/line_of_business.rb +38 -0
  42. data/proto_docs/google/cloud/financialservices/v1/model.rb +256 -0
  43. data/proto_docs/google/cloud/financialservices/v1/prediction_result.rb +277 -0
  44. data/proto_docs/google/cloud/financialservices/v1/service.rb +60 -0
  45. data/proto_docs/google/longrunning/operations.rb +173 -0
  46. data/proto_docs/google/protobuf/any.rb +145 -0
  47. data/proto_docs/google/protobuf/duration.rb +98 -0
  48. data/proto_docs/google/protobuf/empty.rb +34 -0
  49. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  50. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  51. data/proto_docs/google/rpc/status.rb +48 -0
  52. data/proto_docs/google/type/datetime.rb +103 -0
  53. data/proto_docs/google/type/interval.rb +45 -0
  54. metadata +113 -9
@@ -0,0 +1,55 @@
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
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/financial_services/v1/version"
24
+ require "google/cloud/financial_services/v1/bindings_override"
25
+
26
+ require "google/cloud/financial_services/v1/aml/credentials"
27
+ require "google/cloud/financial_services/v1/aml/paths"
28
+ require "google/cloud/financial_services/v1/aml/rest/operations"
29
+ require "google/cloud/financial_services/v1/aml/rest/client"
30
+
31
+ module Google
32
+ module Cloud
33
+ module FinancialServices
34
+ module V1
35
+ ##
36
+ # The AML (Anti Money Laundering) service allows users to perform REST
37
+ # operations on aml.
38
+ #
39
+ # To load this service and instantiate a REST client:
40
+ #
41
+ # require "google/cloud/financial_services/v1/aml/rest"
42
+ # client = ::Google::Cloud::FinancialServices::V1::AML::Rest::Client.new
43
+ #
44
+ module AML
45
+ # Client for the REST transport
46
+ module Rest
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
55
+ require "google/cloud/financial_services/v1/aml/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,57 @@
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
+ require "gapic/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/financial_services/v1/version"
24
+
25
+ require "google/cloud/financial_services/v1/aml/credentials"
26
+ require "google/cloud/financial_services/v1/aml/paths"
27
+ require "google/cloud/financial_services/v1/aml/operations"
28
+ require "google/cloud/financial_services/v1/aml/client"
29
+ require "google/cloud/financial_services/v1/aml/rest"
30
+
31
+ module Google
32
+ module Cloud
33
+ module FinancialServices
34
+ module V1
35
+ ##
36
+ # The AML (Anti Money Laundering) service allows users to perform REST
37
+ # operations on aml.
38
+ #
39
+ # @example Load this service and instantiate a gRPC client
40
+ #
41
+ # require "google/cloud/financial_services/v1/aml"
42
+ # client = ::Google::Cloud::FinancialServices::V1::AML::Client.new
43
+ #
44
+ # @example Load this service and instantiate a REST client
45
+ #
46
+ # require "google/cloud/financial_services/v1/aml/rest"
47
+ # client = ::Google::Cloud::FinancialServices::V1::AML::Rest::Client.new
48
+ #
49
+ module AML
50
+ end
51
+ end
52
+ end
53
+ end
54
+ end
55
+
56
+ helper_path = ::File.join __dir__, "aml", "helpers.rb"
57
+ require "google/cloud/financial_services/v1/aml/helpers" if ::File.file? helper_path
@@ -0,0 +1,102 @@
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
+ require "gapic/config"
20
+
21
+ module Google
22
+ module Cloud
23
+ module FinancialServices
24
+ ##
25
+ # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
26
+ #
27
+ # require "google/cloud/financial_services/v1/rest"
28
+ # client = ::Google::Cloud::FinancialServices::V1::AML::Rest::Client.new
29
+ #
30
+ module V1
31
+ ##
32
+ # @private
33
+ # Initialize the mixin bindings configuration
34
+ #
35
+ def self.configure
36
+ @configure ||= begin
37
+ namespace = ["Google", "Cloud", "FinancialServices"]
38
+ parent_config = while namespace.any?
39
+ parent_name = namespace.join "::"
40
+ parent_const = const_get parent_name
41
+ break parent_const.configure if parent_const.respond_to? :configure
42
+ namespace.pop
43
+ end
44
+
45
+ default_config = Configuration.new parent_config
46
+ default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
+ uri_method: :get,
49
+ uri_template: "/v1/{name}",
50
+ matches: [
51
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
52
+ ],
53
+ body: nil
54
+ )
55
+ ]
56
+ default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
57
+
58
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
59
+ uri_method: :get,
60
+ uri_template: "/v1/{name}/locations",
61
+ matches: [
62
+ ["name", %r{^projects/[^/]+/?$}, false]
63
+ ],
64
+ body: nil
65
+ )
66
+ ]
67
+ default_config
68
+ end
69
+ yield @configure if block_given?
70
+ @configure
71
+ end
72
+
73
+ ##
74
+ # @private
75
+ # Configuration class for the google.cloud.financialservices.v1 package.
76
+ #
77
+ # This class contains common configuration for all services
78
+ # of the google.cloud.financialservices.v1 package.
79
+ #
80
+ # This configuration is for internal use of the client library classes,
81
+ # and it is not intended that the end-users will read or change it.
82
+ #
83
+ class Configuration
84
+ extend ::Gapic::Config
85
+
86
+ # @private
87
+ # Overrides for http bindings for the RPC of the mixins for this package.
88
+ # Services in this package should use these when creating clients for the mixin services.
89
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
90
+ config_attr :bindings_override, {}, ::Hash, nil
91
+
92
+ # @private
93
+ def initialize parent_config = nil
94
+ @parent_config = parent_config unless parent_config.nil?
95
+
96
+ yield self if block_given?
97
+ end
98
+ end
99
+ end
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,38 @@
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
+ require "google/cloud/financial_services/v1/aml/rest"
20
+ require "google/cloud/financial_services/v1/bindings_override"
21
+ require "google/cloud/financial_services/v1/version"
22
+
23
+ module Google
24
+ module Cloud
25
+ module FinancialServices
26
+ ##
27
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
28
+ #
29
+ # @example
30
+ #
31
+ # require "google/cloud/financial_services/v1/rest"
32
+ # client = ::Google::Cloud::FinancialServices::V1::AML::Rest::Client.new
33
+ #
34
+ module V1
35
+ end
36
+ end
37
+ end
38
+ end
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2025 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
5
7
  # You may obtain a copy of the License at
6
8
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
9
+ # https://www.apache.org/licenses/LICENSE-2.0
8
10
  #
9
11
  # Unless required by applicable law or agreed to in writing, software
10
12
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,11 +14,14 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
15
20
  module Google
16
21
  module Cloud
17
22
  module FinancialServices
18
23
  module V1
19
- VERSION = "0.a"
24
+ VERSION = "0.1.0"
20
25
  end
21
26
  end
22
27
  end
@@ -0,0 +1,45 @@
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
+ require "google/cloud/financial_services/v1/aml"
20
+ require "google/cloud/financial_services/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module FinancialServices
25
+ ##
26
+ # API client module.
27
+ #
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
+ #
30
+ # require "google/cloud/financial_services/v1"
31
+ # client = ::Google::Cloud::FinancialServices::V1::AML::Client.new
32
+ #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/cloud/financial_services/v1"
36
+ # client = ::Google::Cloud::FinancialServices::V1::AML::Rest::Client.new
37
+ #
38
+ module V1
39
+ end
40
+ end
41
+ end
42
+ end
43
+
44
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
45
+ require "google/cloud/financial_services/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,62 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/financialservices/v1/backtest_result.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/financialservices/v1/bigquery_destination_pb'
10
+ require 'google/cloud/financialservices/v1/line_of_business_pb'
11
+ require 'google/protobuf/field_mask_pb'
12
+ require 'google/protobuf/timestamp_pb'
13
+
14
+
15
+ descriptor_data = "\n7google/cloud/financialservices/v1/backtest_result.proto\x12!google.cloud.financialservices.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a<google/cloud/financialservices/v1/bigquery_destination.proto\x1a\x38google/cloud/financialservices/v1/line_of_business.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9b\x08\n\x0e\x42\x61\x63ktestResult\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12M\n\x06labels\x18\x04 \x03(\x0b\x32=.google.cloud.financialservices.v1.BacktestResult.LabelsEntry\x12K\n\x05state\x18\x05 \x01(\x0e\x32\x37.google.cloud.financialservices.v1.BacktestResult.StateB\x03\xe0\x41\x03\x12\x41\n\x07\x64\x61taset\x18\x06 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(financialservices.googleapis.com/Dataset\x12=\n\x05model\x18\x07 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&financialservices.googleapis.com/Model\x12\x31\n\x08\x65nd_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x18\n\x10\x62\x61\x63ktest_periods\x18\n \x01(\x05\x12\x64\n\x12performance_target\x18\x0b \x01(\x0b\x32\x43.google.cloud.financialservices.v1.BacktestResult.PerformanceTargetB\x03\xe0\x41\x02\x12P\n\x10line_of_business\x18\x0c \x01(\x0e\x32\x31.google.cloud.financialservices.v1.LineOfBusinessB\x03\xe0\x41\x03\x1a\x46\n\x11PerformanceTarget\x12\x31\n$party_investigations_per_period_hint\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04:\x99\x01\xea\x41\x95\x01\n/financialservices.googleapis.com/BacktestResult\x12\x62projects/{project_num}/locations/{location}/instances/{instance}/backtestResults/{backtest_result}\"\xa8\x01\n\x1aListBacktestResultsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)financialservices.googleapis.com/Instance\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x98\x01\n\x1bListBacktestResultsResponse\x12K\n\x10\x62\x61\x63ktest_results\x18\x01 \x03(\x0b\x32\x31.google.cloud.financialservices.v1.BacktestResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"a\n\x18GetBacktestResultRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/financialservices.googleapis.com/BacktestResult\"\xeb\x01\n\x1b\x43reateBacktestResultRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)financialservices.googleapis.com/Instance\x12\x1f\n\x12\x62\x61\x63ktest_result_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12O\n\x0f\x62\x61\x63ktest_result\x18\x03 \x01(\x0b\x32\x31.google.cloud.financialservices.v1.BacktestResultB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xbd\x01\n\x1bUpdateBacktestResultRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12O\n\x0f\x62\x61\x63ktest_result\x18\x02 \x01(\x0b\x32\x31.google.cloud.financialservices.v1.BacktestResultB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"}\n\x1b\x44\x65leteBacktestResultRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/financialservices.googleapis.com/BacktestResult\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xdd\x01\n#ExportBacktestResultMetadataRequest\x12P\n\x0f\x62\x61\x63ktest_result\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/financialservices.googleapis.com/BacktestResult\x12\x64\n\x1fstructured_metadata_destination\x18\x02 \x01(\x0b\x32\x36.google.cloud.financialservices.v1.BigQueryDestinationB\x03\xe0\x41\x02\"&\n$ExportBacktestResultMetadataResponseB\x82\x02\n%com.google.cloud.financialservices.v1B\x13\x42\x61\x63ktestResultProtoP\x01ZScloud.google.com/go/financialservices/apiv1/financialservicespb;financialservicespb\xaa\x02!Google.Cloud.FinancialServices.V1\xca\x02!Google\\Cloud\\FinancialServices\\V1\xea\x02$Google::Cloud::FinancialServices::V1b\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
32
+ ["google.cloud.financialservices.v1.BigQueryDestination", "google/cloud/financialservices/v1/bigquery_destination.proto"],
33
+ ]
34
+ imports.each do |type_name, expected_filename|
35
+ import_file = pool.lookup(type_name).file_descriptor
36
+ if import_file.name != expected_filename
37
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
38
+ end
39
+ end
40
+ warn "Each proto file must use a consistent fully-qualified name."
41
+ warn "This will become an error in the next major version."
42
+ end
43
+
44
+ module Google
45
+ module Cloud
46
+ module FinancialServices
47
+ module V1
48
+ BacktestResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.BacktestResult").msgclass
49
+ BacktestResult::PerformanceTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.BacktestResult.PerformanceTarget").msgclass
50
+ BacktestResult::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.BacktestResult.State").enummodule
51
+ ListBacktestResultsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.ListBacktestResultsRequest").msgclass
52
+ ListBacktestResultsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.ListBacktestResultsResponse").msgclass
53
+ GetBacktestResultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.GetBacktestResultRequest").msgclass
54
+ CreateBacktestResultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.CreateBacktestResultRequest").msgclass
55
+ UpdateBacktestResultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.UpdateBacktestResultRequest").msgclass
56
+ DeleteBacktestResultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.DeleteBacktestResultRequest").msgclass
57
+ ExportBacktestResultMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.ExportBacktestResultMetadataRequest").msgclass
58
+ ExportBacktestResultMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.ExportBacktestResultMetadataResponse").msgclass
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/financialservices/v1/bigquery_destination.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+
9
+
10
+ descriptor_data = "\n<google/cloud/financialservices/v1/bigquery_destination.proto\x12!google.cloud.financialservices.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xf2\x01\n\x13\x42igQueryDestination\x12\x16\n\ttable_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12g\n\x11write_disposition\x18\x02 \x01(\x0e\x32G.google.cloud.financialservices.v1.BigQueryDestination.WriteDispositionB\x03\xe0\x41\x02\"Z\n\x10WriteDisposition\x12!\n\x1dWRITE_DISPOSITION_UNSPECIFIED\x10\x00\x12\x0f\n\x0bWRITE_EMPTY\x10\x01\x12\x12\n\x0eWRITE_TRUNCATE\x10\x02\x42\x87\x02\n%com.google.cloud.financialservices.v1B\x18\x42igQueryDestinationProtoP\x01ZScloud.google.com/go/financialservices/apiv1/financialservicespb;financialservicespb\xaa\x02!Google.Cloud.FinancialServices.V1\xca\x02!Google\\Cloud\\FinancialServices\\V1\xea\x02$Google::Cloud::FinancialServices::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
+ end
31
+ end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
34
+ end
35
+
36
+ module Google
37
+ module Cloud
38
+ module FinancialServices
39
+ module V1
40
+ BigQueryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.BigQueryDestination").msgclass
41
+ BigQueryDestination::WriteDisposition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.BigQueryDestination.WriteDisposition").enummodule
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,60 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/financialservices/v1/dataset.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/field_mask_pb'
10
+ require 'google/protobuf/timestamp_pb'
11
+ require 'google/type/datetime_pb'
12
+ require 'google/type/interval_pb'
13
+
14
+
15
+ descriptor_data = "\n/google/cloud/financialservices/v1/dataset.proto\x12!google.cloud.financialservices.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/datetime.proto\x1a\x1agoogle/type/interval.proto\"\x83\x06\n\x07\x44\x61taset\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x46\n\x06labels\x18\x04 \x03(\x0b\x32\x36.google.cloud.financialservices.v1.Dataset.LabelsEntry\x12T\n\x0btable_specs\x18\x05 \x03(\x0b\x32:.google.cloud.financialservices.v1.Dataset.TableSpecsEntryB\x03\xe0\x41\x02\x12\x44\n\x05state\x18\x07 \x01(\x0e\x32\x30.google.cloud.financialservices.v1.Dataset.StateB\x03\xe0\x41\x03\x12.\n\ndate_range\x18\x08 \x01(\x0b\x32\x15.google.type.IntervalB\x03\xe0\x41\x02\x12(\n\ttime_zone\x18\t \x01(\x0b\x32\x15.google.type.TimeZone\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x31\n\x0fTableSpecsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04:\x82\x01\xea\x41\x7f\n(financialservices.googleapis.com/Dataset\x12Sprojects/{project_num}/locations/{location}/instances/{instance}/datasets/{dataset}\"\xa1\x01\n\x13ListDatasetsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)financialservices.googleapis.com/Instance\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x82\x01\n\x14ListDatasetsResponse\x12<\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32*.google.cloud.financialservices.v1.Dataset\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"S\n\x11GetDatasetRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(financialservices.googleapis.com/Dataset\"\xcd\x01\n\x14\x43reateDatasetRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)financialservices.googleapis.com/Instance\x12\x17\n\ndataset_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\x07\x64\x61taset\x18\x03 \x01(\x0b\x32*.google.cloud.financialservices.v1.DatasetB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa7\x01\n\x14UpdateDatasetRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12@\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32*.google.cloud.financialservices.v1.DatasetB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"o\n\x14\x44\x65leteDatasetRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(financialservices.googleapis.com/Dataset\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\xfb\x01\n%com.google.cloud.financialservices.v1B\x0c\x44\x61tasetProtoP\x01ZScloud.google.com/go/financialservices/apiv1/financialservicespb;financialservicespb\xaa\x02!Google.Cloud.FinancialServices.V1\xca\x02!Google\\Cloud\\FinancialServices\\V1\xea\x02$Google::Cloud::FinancialServices::V1b\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
+ ["google.type.Interval", "google/type/interval.proto"],
32
+ ["google.type.TimeZone", "google/type/datetime.proto"],
33
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
34
+ ]
35
+ imports.each do |type_name, expected_filename|
36
+ import_file = pool.lookup(type_name).file_descriptor
37
+ if import_file.name != expected_filename
38
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
39
+ end
40
+ end
41
+ warn "Each proto file must use a consistent fully-qualified name."
42
+ warn "This will become an error in the next major version."
43
+ end
44
+
45
+ module Google
46
+ module Cloud
47
+ module FinancialServices
48
+ module V1
49
+ Dataset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.Dataset").msgclass
50
+ Dataset::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.Dataset.State").enummodule
51
+ ListDatasetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.ListDatasetsRequest").msgclass
52
+ ListDatasetsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.ListDatasetsResponse").msgclass
53
+ GetDatasetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.GetDatasetRequest").msgclass
54
+ CreateDatasetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.CreateDatasetRequest").msgclass
55
+ UpdateDatasetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.UpdateDatasetRequest").msgclass
56
+ DeleteDatasetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.DeleteDatasetRequest").msgclass
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,65 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/financialservices/v1/engine_config.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/financialservices/v1/bigquery_destination_pb'
10
+ require 'google/cloud/financialservices/v1/line_of_business_pb'
11
+ require 'google/protobuf/field_mask_pb'
12
+ require 'google/protobuf/timestamp_pb'
13
+
14
+
15
+ descriptor_data = "\n5google/cloud/financialservices/v1/engine_config.proto\x12!google.cloud.financialservices.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a<google/cloud/financialservices/v1/bigquery_destination.proto\x1a\x38google/cloud/financialservices/v1/line_of_business.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x83\x0c\n\x0c\x45ngineConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\x06labels\x18\x04 \x03(\x0b\x32;.google.cloud.financialservices.v1.EngineConfig.LabelsEntry\x12I\n\x05state\x18\x05 \x01(\x0e\x32\x35.google.cloud.financialservices.v1.EngineConfig.StateB\x03\xe0\x41\x03\x12N\n\x0e\x65ngine_version\x18\x06 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.financialservices.googleapis.com/EngineVersion\x12K\n\x06tuning\x18\x07 \x01(\x0b\x32\x36.google.cloud.financialservices.v1.EngineConfig.TuningB\x03\xe0\x41\x01\x12\x62\n\x12performance_target\x18\x0b \x01(\x0b\x32\x41.google.cloud.financialservices.v1.EngineConfig.PerformanceTargetB\x03\xe0\x41\x01\x12P\n\x10line_of_business\x18\x0c \x01(\x0e\x32\x31.google.cloud.financialservices.v1.LineOfBusinessB\x03\xe0\x41\x03\x12q\n\x1ahyperparameter_source_type\x18\x0f \x01(\x0e\x32H.google.cloud.financialservices.v1.EngineConfig.HyperparameterSourceTypeB\x03\xe0\x41\x01\x12h\n\x15hyperparameter_source\x18\x10 \x01(\x0b\x32\x44.google.cloud.financialservices.v1.EngineConfig.HyperparameterSourceB\x03\xe0\x41\x01\x1a\x86\x01\n\x06Tuning\x12I\n\x0fprimary_dataset\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(financialservices.googleapis.com/Dataset\x12\x31\n\x08\x65nd_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x1a\x46\n\x11PerformanceTarget\x12\x31\n$party_investigations_per_period_hint\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x1a]\n\x14HyperparameterSource\x12!\n\x14source_engine_config\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\"\n\x15source_engine_version\x18\x02 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\"a\n\x18HyperparameterSourceType\x12*\n&HYPERPARAMETER_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06TUNING\x10\x01\x12\r\n\tINHERITED\x10\x02:\x93\x01\xea\x41\x8f\x01\n-financialservices.googleapis.com/EngineConfig\x12^projects/{project_num}/locations/{location}/instances/{instance}/engineConfigs/{engine_config}\"\xa6\x01\n\x18ListEngineConfigsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)financialservices.googleapis.com/Instance\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x92\x01\n\x19ListEngineConfigsResponse\x12G\n\x0e\x65ngine_configs\x18\x01 \x03(\x0b\x32/.google.cloud.financialservices.v1.EngineConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"]\n\x16GetEngineConfigRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-financialservices.googleapis.com/EngineConfig\"\xe3\x01\n\x19\x43reateEngineConfigRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)financialservices.googleapis.com/Instance\x12\x1d\n\x10\x65ngine_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\rengine_config\x18\x03 \x01(\x0b\x32/.google.cloud.financialservices.v1.EngineConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb7\x01\n\x19UpdateEngineConfigRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12K\n\rengine_config\x18\x02 \x01(\x0b\x32/.google.cloud.financialservices.v1.EngineConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"y\n\x19\x44\x65leteEngineConfigRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-financialservices.googleapis.com/EngineConfig\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xd7\x01\n!ExportEngineConfigMetadataRequest\x12L\n\rengine_config\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-financialservices.googleapis.com/EngineConfig\x12\x64\n\x1fstructured_metadata_destination\x18\x02 \x01(\x0b\x32\x36.google.cloud.financialservices.v1.BigQueryDestinationB\x03\xe0\x41\x02\"$\n\"ExportEngineConfigMetadataResponseB\x80\x02\n%com.google.cloud.financialservices.v1B\x11\x45ngineConfigProtoP\x01ZScloud.google.com/go/financialservices/apiv1/financialservicespb;financialservicespb\xaa\x02!Google.Cloud.FinancialServices.V1\xca\x02!Google\\Cloud\\FinancialServices\\V1\xea\x02$Google::Cloud::FinancialServices::V1b\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
32
+ ["google.cloud.financialservices.v1.BigQueryDestination", "google/cloud/financialservices/v1/bigquery_destination.proto"],
33
+ ]
34
+ imports.each do |type_name, expected_filename|
35
+ import_file = pool.lookup(type_name).file_descriptor
36
+ if import_file.name != expected_filename
37
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
38
+ end
39
+ end
40
+ warn "Each proto file must use a consistent fully-qualified name."
41
+ warn "This will become an error in the next major version."
42
+ end
43
+
44
+ module Google
45
+ module Cloud
46
+ module FinancialServices
47
+ module V1
48
+ EngineConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.EngineConfig").msgclass
49
+ EngineConfig::Tuning = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.EngineConfig.Tuning").msgclass
50
+ EngineConfig::PerformanceTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.EngineConfig.PerformanceTarget").msgclass
51
+ EngineConfig::HyperparameterSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.EngineConfig.HyperparameterSource").msgclass
52
+ EngineConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.EngineConfig.State").enummodule
53
+ EngineConfig::HyperparameterSourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.EngineConfig.HyperparameterSourceType").enummodule
54
+ ListEngineConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.ListEngineConfigsRequest").msgclass
55
+ ListEngineConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.ListEngineConfigsResponse").msgclass
56
+ GetEngineConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.GetEngineConfigRequest").msgclass
57
+ CreateEngineConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.CreateEngineConfigRequest").msgclass
58
+ UpdateEngineConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.UpdateEngineConfigRequest").msgclass
59
+ DeleteEngineConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.DeleteEngineConfigRequest").msgclass
60
+ ExportEngineConfigMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.ExportEngineConfigMetadataRequest").msgclass
61
+ ExportEngineConfigMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.ExportEngineConfigMetadataResponse").msgclass
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/financialservices/v1/engine_version.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/financialservices/v1/line_of_business_pb'
10
+ require 'google/protobuf/timestamp_pb'
11
+
12
+
13
+ descriptor_data = "\n6google/cloud/financialservices/v1/engine_version.proto\x12!google.cloud.financialservices.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/financialservices/v1/line_of_business.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb7\x04\n\rEngineVersion\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x08\x12J\n\x05state\x18\x02 \x01(\x0e\x32\x36.google.cloud.financialservices.v1.EngineVersion.StateB\x03\xe0\x41\x03\x12G\n\x1e\x65xpected_limitation_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x1a\x65xpected_decommission_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12P\n\x10line_of_business\x18\x05 \x01(\x0e\x32\x31.google.cloud.financialservices.v1.LineOfBusinessB\x03\xe0\x41\x03\"K\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07LIMITED\x10\x02\x12\x12\n\x0e\x44\x45\x43OMMISSIONED\x10\x03:\x96\x01\xea\x41\x92\x01\n.financialservices.googleapis.com/EngineVersion\x12`projects/{project_num}/locations/{location}/instances/{instance}/engineVersions/{engine_version}\"\xbb\x01\n\x19ListEngineVersionsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)financialservices.googleapis.com/Instance\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x95\x01\n\x1aListEngineVersionsResponse\x12I\n\x0f\x65ngine_versions\x18\x01 \x03(\x0b\x32\x30.google.cloud.financialservices.v1.EngineVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"_\n\x17GetEngineVersionRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.financialservices.googleapis.com/EngineVersionB\x81\x02\n%com.google.cloud.financialservices.v1B\x12\x45ngineVersionProtoP\x01ZScloud.google.com/go/financialservices/apiv1/financialservicespb;financialservicespb\xaa\x02!Google.Cloud.FinancialServices.V1\xca\x02!Google\\Cloud\\FinancialServices\\V1\xea\x02$Google::Cloud::FinancialServices::V1b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
34
+ end
35
+ end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
38
+ end
39
+
40
+ module Google
41
+ module Cloud
42
+ module FinancialServices
43
+ module V1
44
+ EngineVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.EngineVersion").msgclass
45
+ EngineVersion::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.EngineVersion.State").enummodule
46
+ ListEngineVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.ListEngineVersionsRequest").msgclass
47
+ ListEngineVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.ListEngineVersionsResponse").msgclass
48
+ GetEngineVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.financialservices.v1.GetEngineVersionRequest").msgclass
49
+ end
50
+ end
51
+ end
52
+ end