Reference documentation and code samples for the Financial Services V1 API class Google::Cloud::FinancialServices::V1::AML::Client.
Client for the AML service.
The AML (Anti Money Laundering) service allows users to perform REST operations on aml.
Inherits
- Object
Methods
.configure
def self.configure() { |config| ... } -> Client::Configuration
- (config) — Configure the Client client.
- config (Client::Configuration)
# Modify the configuration for all AML clients ::Google::Cloud::FinancialServices::V1::AML::Client.configure do |config| config.timeout = 10.0 end
#configure
def configure() { |config| ... } -> Client::Configuration
Configure the AML Client instance.
The configuration is set to the derived mode, meaning that values can be changed, but structural changes (adding new fields, etc.) are not allowed. Structural changes should be made on Client.configure.
See Configuration for a description of the configuration fields.
- (config) — Configure the Client client.
- config (Client::Configuration)
#create_backtest_result
def create_backtest_result(request, options = nil) -> ::Gapic::Operation
def create_backtest_result(parent: nil, backtest_result_id: nil, backtest_result: nil, request_id: nil) -> ::Gapic::Operation
Create a BacktestResult.
def create_backtest_result(request, options = nil) -> ::Gapic::Operation
create_backtest_result
via a request object, either of type
CreateBacktestResultRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::CreateBacktestResultRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def create_backtest_result(parent: nil, backtest_result_id: nil, backtest_result: nil, request_id: nil) -> ::Gapic::Operation
create_backtest_result
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the BacktestResult is the Instance.
- backtest_result_id (::String) — Required. The resource id of the BacktestResult
- backtest_result (::Google::Cloud::FinancialServices::V1::BacktestResult, ::Hash) — Required. The BacktestResult that will be created.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::CreateBacktestResultRequest.new # Call the create_backtest_result method. result = client.create_backtest_result request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#create_dataset
def create_dataset(request, options = nil) -> ::Gapic::Operation
def create_dataset(parent: nil, dataset_id: nil, dataset: nil, request_id: nil) -> ::Gapic::Operation
Creates a dataset.
def create_dataset(request, options = nil) -> ::Gapic::Operation
create_dataset
via a request object, either of type
CreateDatasetRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::CreateDatasetRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def create_dataset(parent: nil, dataset_id: nil, dataset: nil, request_id: nil) -> ::Gapic::Operation
create_dataset
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the Dataset is the Instance.
- dataset_id (::String) — Required. The resource id of the dataset
- dataset (::Google::Cloud::FinancialServices::V1::Dataset, ::Hash) — Required. The dataset that will be created.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::CreateDatasetRequest.new # Call the create_dataset method. result = client.create_dataset request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#create_engine_config
def create_engine_config(request, options = nil) -> ::Gapic::Operation
def create_engine_config(parent: nil, engine_config_id: nil, engine_config: nil, request_id: nil) -> ::Gapic::Operation
Creates an engine config.
def create_engine_config(request, options = nil) -> ::Gapic::Operation
create_engine_config
via a request object, either of type
CreateEngineConfigRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::CreateEngineConfigRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def create_engine_config(parent: nil, engine_config_id: nil, engine_config: nil, request_id: nil) -> ::Gapic::Operation
create_engine_config
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the EngineConfig is the Instance.
- engine_config_id (::String) — Required. The resource id of the EngineConfig
- engine_config (::Google::Cloud::FinancialServices::V1::EngineConfig, ::Hash) — Required. The EngineConfig that will be created.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::CreateEngineConfigRequest.new # Call the create_engine_config method. result = client.create_engine_config request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#create_instance
def create_instance(request, options = nil) -> ::Gapic::Operation
def create_instance(parent: nil, instance_id: nil, instance: nil, request_id: nil) -> ::Gapic::Operation
Creates an instance.
def create_instance(request, options = nil) -> ::Gapic::Operation
create_instance
via a request object, either of type
CreateInstanceRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::CreateInstanceRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def create_instance(parent: nil, instance_id: nil, instance: nil, request_id: nil) -> ::Gapic::Operation
create_instance
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the Instance is the location for that Instance. Every location has exactly one instance.
- instance_id (::String) — Required. The resource id of the instance.
- instance (::Google::Cloud::FinancialServices::V1::Instance, ::Hash) — Required. The instance that will be created.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::CreateInstanceRequest.new # Call the create_instance method. result = client.create_instance request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#create_model
def create_model(request, options = nil) -> ::Gapic::Operation
def create_model(parent: nil, model_id: nil, model: nil, request_id: nil) -> ::Gapic::Operation
Creates a model.
def create_model(request, options = nil) -> ::Gapic::Operation
create_model
via a request object, either of type
CreateModelRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::CreateModelRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def create_model(parent: nil, model_id: nil, model: nil, request_id: nil) -> ::Gapic::Operation
create_model
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the Model is the Instance.
- model_id (::String) — Required. The resource id of the Model
- model (::Google::Cloud::FinancialServices::V1::Model, ::Hash) — Required. The Model that will be created.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::CreateModelRequest.new # Call the create_model method. result = client.create_model request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#create_prediction_result
def create_prediction_result(request, options = nil) -> ::Gapic::Operation
def create_prediction_result(parent: nil, prediction_result_id: nil, prediction_result: nil, request_id: nil) -> ::Gapic::Operation
Create a PredictionResult.
def create_prediction_result(request, options = nil) -> ::Gapic::Operation
create_prediction_result
via a request object, either of type
CreatePredictionResultRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::CreatePredictionResultRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def create_prediction_result(parent: nil, prediction_result_id: nil, prediction_result: nil, request_id: nil) -> ::Gapic::Operation
create_prediction_result
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the PredictionResult is the Instance.
- prediction_result_id (::String) — Required. The resource id of the PredictionResult
- prediction_result (::Google::Cloud::FinancialServices::V1::PredictionResult, ::Hash) — Required. The PredictionResult that will be created.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::CreatePredictionResultRequest.new # Call the create_prediction_result method. result = client.create_prediction_result request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#delete_backtest_result
def delete_backtest_result(request, options = nil) -> ::Gapic::Operation
def delete_backtest_result(name: nil, request_id: nil) -> ::Gapic::Operation
Deletes a BacktestResult.
def delete_backtest_result(request, options = nil) -> ::Gapic::Operation
delete_backtest_result
via a request object, either of type
DeleteBacktestResultRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::DeleteBacktestResultRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def delete_backtest_result(name: nil, request_id: nil) -> ::Gapic::Operation
delete_backtest_result
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the BacktestResult.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::DeleteBacktestResultRequest.new # Call the delete_backtest_result method. result = client.delete_backtest_result request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#delete_dataset
def delete_dataset(request, options = nil) -> ::Gapic::Operation
def delete_dataset(name: nil, request_id: nil) -> ::Gapic::Operation
Deletes a dataset.
def delete_dataset(request, options = nil) -> ::Gapic::Operation
delete_dataset
via a request object, either of type
DeleteDatasetRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::DeleteDatasetRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def delete_dataset(name: nil, request_id: nil) -> ::Gapic::Operation
delete_dataset
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the Dataset.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::DeleteDatasetRequest.new # Call the delete_dataset method. result = client.delete_dataset request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#delete_engine_config
def delete_engine_config(request, options = nil) -> ::Gapic::Operation
def delete_engine_config(name: nil, request_id: nil) -> ::Gapic::Operation
Deletes an engine config.
def delete_engine_config(request, options = nil) -> ::Gapic::Operation
delete_engine_config
via a request object, either of type
DeleteEngineConfigRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::DeleteEngineConfigRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def delete_engine_config(name: nil, request_id: nil) -> ::Gapic::Operation
delete_engine_config
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the EngineConfig.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::DeleteEngineConfigRequest.new # Call the delete_engine_config method. result = client.delete_engine_config request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#delete_instance
def delete_instance(request, options = nil) -> ::Gapic::Operation
def delete_instance(name: nil, request_id: nil) -> ::Gapic::Operation
Deletes an instance.
def delete_instance(request, options = nil) -> ::Gapic::Operation
delete_instance
via a request object, either of type
DeleteInstanceRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::DeleteInstanceRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def delete_instance(name: nil, request_id: nil) -> ::Gapic::Operation
delete_instance
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the Instance.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::DeleteInstanceRequest.new # Call the delete_instance method. result = client.delete_instance request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#delete_model
def delete_model(request, options = nil) -> ::Gapic::Operation
def delete_model(name: nil, request_id: nil) -> ::Gapic::Operation
Deletes a model.
def delete_model(request, options = nil) -> ::Gapic::Operation
delete_model
via a request object, either of type
DeleteModelRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::DeleteModelRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def delete_model(name: nil, request_id: nil) -> ::Gapic::Operation
delete_model
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the Model.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::DeleteModelRequest.new # Call the delete_model method. result = client.delete_model request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#delete_prediction_result
def delete_prediction_result(request, options = nil) -> ::Gapic::Operation
def delete_prediction_result(name: nil, request_id: nil) -> ::Gapic::Operation
Deletes a PredictionResult.
def delete_prediction_result(request, options = nil) -> ::Gapic::Operation
delete_prediction_result
via a request object, either of type
DeletePredictionResultRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::DeletePredictionResultRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def delete_prediction_result(name: nil, request_id: nil) -> ::Gapic::Operation
delete_prediction_result
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the PredictionResult.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes after the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::DeletePredictionResultRequest.new # Call the delete_prediction_result method. result = client.delete_prediction_result request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#export_backtest_result_metadata
def export_backtest_result_metadata(request, options = nil) -> ::Gapic::Operation
def export_backtest_result_metadata(backtest_result: nil, structured_metadata_destination: nil) -> ::Gapic::Operation
Export governance information for a BacktestResult resource. For information on the exported fields, see AML output data model.
def export_backtest_result_metadata(request, options = nil) -> ::Gapic::Operation
export_backtest_result_metadata
via a request object, either of type
ExportBacktestResultMetadataRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ExportBacktestResultMetadataRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def export_backtest_result_metadata(backtest_result: nil, structured_metadata_destination: nil) -> ::Gapic::Operation
export_backtest_result_metadata
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- backtest_result (::String) — Required. The resource name of the BacktestResult.
- structured_metadata_destination (::Google::Cloud::FinancialServices::V1::BigQueryDestination, ::Hash) — Required. BigQuery output where the metadata will be written.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ExportBacktestResultMetadataRequest.new # Call the export_backtest_result_metadata method. result = client.export_backtest_result_metadata request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#export_engine_config_metadata
def export_engine_config_metadata(request, options = nil) -> ::Gapic::Operation
def export_engine_config_metadata(engine_config: nil, structured_metadata_destination: nil) -> ::Gapic::Operation
Export governance information for an EngineConfig resource. For information on the exported fields, see AML output data model.
def export_engine_config_metadata(request, options = nil) -> ::Gapic::Operation
export_engine_config_metadata
via a request object, either of type
ExportEngineConfigMetadataRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ExportEngineConfigMetadataRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def export_engine_config_metadata(engine_config: nil, structured_metadata_destination: nil) -> ::Gapic::Operation
export_engine_config_metadata
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- engine_config (::String) — Required. The resource name of the EngineConfig.
- structured_metadata_destination (::Google::Cloud::FinancialServices::V1::BigQueryDestination, ::Hash) — Required. BigQuery output where the metadata will be written.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ExportEngineConfigMetadataRequest.new # Call the export_engine_config_metadata method. result = client.export_engine_config_metadata request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#export_model_metadata
def export_model_metadata(request, options = nil) -> ::Gapic::Operation
def export_model_metadata(model: nil, structured_metadata_destination: nil) -> ::Gapic::Operation
Export governance information for a Model resource. For information on the exported fields, see AML output data model.
def export_model_metadata(request, options = nil) -> ::Gapic::Operation
export_model_metadata
via a request object, either of type
ExportModelMetadataRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ExportModelMetadataRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def export_model_metadata(model: nil, structured_metadata_destination: nil) -> ::Gapic::Operation
export_model_metadata
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- model (::String) — Required. The resource name of the Model.
- structured_metadata_destination (::Google::Cloud::FinancialServices::V1::BigQueryDestination, ::Hash) — Required. BigQuery output where the metadata will be written.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ExportModelMetadataRequest.new # Call the export_model_metadata method. result = client.export_model_metadata request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#export_prediction_result_metadata
def export_prediction_result_metadata(request, options = nil) -> ::Gapic::Operation
def export_prediction_result_metadata(prediction_result: nil, structured_metadata_destination: nil) -> ::Gapic::Operation
Export governance information for a PredictionResult resource. For information on the exported fields, see AML output data model.
def export_prediction_result_metadata(request, options = nil) -> ::Gapic::Operation
export_prediction_result_metadata
via a request object, either of type
ExportPredictionResultMetadataRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ExportPredictionResultMetadataRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def export_prediction_result_metadata(prediction_result: nil, structured_metadata_destination: nil) -> ::Gapic::Operation
export_prediction_result_metadata
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- prediction_result (::String) — Required. The resource name of the PredictionResult.
- structured_metadata_destination (::Google::Cloud::FinancialServices::V1::BigQueryDestination, ::Hash) — Required. BigQuery output where the metadata will be written.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ExportPredictionResultMetadataRequest.new # Call the export_prediction_result_metadata method. result = client.export_prediction_result_metadata request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#export_registered_parties
def export_registered_parties(request, options = nil) -> ::Gapic::Operation
def export_registered_parties(name: nil, dataset: nil, line_of_business: nil) -> ::Gapic::Operation
Exports the list of registered parties. See Create and manage instances for information on the output schema for this method.
def export_registered_parties(request, options = nil) -> ::Gapic::Operation
export_registered_parties
via a request object, either of type
ExportRegisteredPartiesRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ExportRegisteredPartiesRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def export_registered_parties(name: nil, dataset: nil, line_of_business: nil) -> ::Gapic::Operation
export_registered_parties
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The full path to the Instance resource in this API.
format:
projects/{project}/locations/{location}/instances/{instance}
- dataset (::Google::Cloud::FinancialServices::V1::BigQueryDestination, ::Hash) — Required. The location to output the RegisteredParties.
- line_of_business (::Google::Cloud::FinancialServices::V1::LineOfBusiness) — Required. LineOfBusiness to get RegisteredParties from.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ExportRegisteredPartiesRequest.new # Call the export_registered_parties method. result = client.export_registered_parties request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#get_backtest_result
def get_backtest_result(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::BacktestResult
def get_backtest_result(name: nil) -> ::Google::Cloud::FinancialServices::V1::BacktestResult
Gets a BacktestResult.
def get_backtest_result(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::BacktestResult
get_backtest_result
via a request object, either of type
GetBacktestResultRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::GetBacktestResultRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def get_backtest_result(name: nil) -> ::Google::Cloud::FinancialServices::V1::BacktestResult
get_backtest_result
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the BacktestResult
- (response, operation) — Access the result along with the RPC operation
- response (::Google::Cloud::FinancialServices::V1::BacktestResult)
- operation (::GRPC::ActiveCall::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::GetBacktestResultRequest.new # Call the get_backtest_result method. result = client.get_backtest_result request # The returned object is of type Google::Cloud::FinancialServices::V1::BacktestResult. p result
#get_dataset
def get_dataset(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::Dataset
def get_dataset(name: nil) -> ::Google::Cloud::FinancialServices::V1::Dataset
Gets a dataset.
def get_dataset(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::Dataset
get_dataset
via a request object, either of type
GetDatasetRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::GetDatasetRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def get_dataset(name: nil) -> ::Google::Cloud::FinancialServices::V1::Dataset
get_dataset
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the Dataset
- (response, operation) — Access the result along with the RPC operation
- response (::Google::Cloud::FinancialServices::V1::Dataset)
- operation (::GRPC::ActiveCall::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::GetDatasetRequest.new # Call the get_dataset method. result = client.get_dataset request # The returned object is of type Google::Cloud::FinancialServices::V1::Dataset. p result
#get_engine_config
def get_engine_config(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::EngineConfig
def get_engine_config(name: nil) -> ::Google::Cloud::FinancialServices::V1::EngineConfig
Gets an engine config.
def get_engine_config(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::EngineConfig
get_engine_config
via a request object, either of type
GetEngineConfigRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::GetEngineConfigRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def get_engine_config(name: nil) -> ::Google::Cloud::FinancialServices::V1::EngineConfig
get_engine_config
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the EngineConfig
- (response, operation) — Access the result along with the RPC operation
- response (::Google::Cloud::FinancialServices::V1::EngineConfig)
- operation (::GRPC::ActiveCall::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::GetEngineConfigRequest.new # Call the get_engine_config method. result = client.get_engine_config request # The returned object is of type Google::Cloud::FinancialServices::V1::EngineConfig. p result
#get_engine_version
def get_engine_version(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::EngineVersion
def get_engine_version(name: nil) -> ::Google::Cloud::FinancialServices::V1::EngineVersion
Gets a single EngineVersion.
def get_engine_version(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::EngineVersion
get_engine_version
via a request object, either of type
GetEngineVersionRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::GetEngineVersionRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def get_engine_version(name: nil) -> ::Google::Cloud::FinancialServices::V1::EngineVersion
get_engine_version
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the EngineVersion
- (response, operation) — Access the result along with the RPC operation
- response (::Google::Cloud::FinancialServices::V1::EngineVersion)
- operation (::GRPC::ActiveCall::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::GetEngineVersionRequest.new # Call the get_engine_version method. result = client.get_engine_version request # The returned object is of type Google::Cloud::FinancialServices::V1::EngineVersion. p result
#get_instance
def get_instance(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::Instance
def get_instance(name: nil) -> ::Google::Cloud::FinancialServices::V1::Instance
Gets an instance.
def get_instance(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::Instance
get_instance
via a request object, either of type
GetInstanceRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::GetInstanceRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def get_instance(name: nil) -> ::Google::Cloud::FinancialServices::V1::Instance
get_instance
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the Instance.
- (response, operation) — Access the result along with the RPC operation
- response (::Google::Cloud::FinancialServices::V1::Instance)
- operation (::GRPC::ActiveCall::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::GetInstanceRequest.new # Call the get_instance method. result = client.get_instance request # The returned object is of type Google::Cloud::FinancialServices::V1::Instance. p result
#get_model
def get_model(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::Model
def get_model(name: nil) -> ::Google::Cloud::FinancialServices::V1::Model
Gets a model.
def get_model(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::Model
get_model
via a request object, either of type
GetModelRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::GetModelRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def get_model(name: nil) -> ::Google::Cloud::FinancialServices::V1::Model
get_model
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the Model
- (response, operation) — Access the result along with the RPC operation
- response (::Google::Cloud::FinancialServices::V1::Model)
- operation (::GRPC::ActiveCall::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::GetModelRequest.new # Call the get_model method. result = client.get_model request # The returned object is of type Google::Cloud::FinancialServices::V1::Model. p result
#get_prediction_result
def get_prediction_result(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::PredictionResult
def get_prediction_result(name: nil) -> ::Google::Cloud::FinancialServices::V1::PredictionResult
Gets a PredictionResult.
def get_prediction_result(request, options = nil) -> ::Google::Cloud::FinancialServices::V1::PredictionResult
get_prediction_result
via a request object, either of type
GetPredictionResultRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::GetPredictionResultRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def get_prediction_result(name: nil) -> ::Google::Cloud::FinancialServices::V1::PredictionResult
get_prediction_result
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- name (::String) — Required. The resource name of the PredictionResult
- (response, operation) — Access the result along with the RPC operation
- response (::Google::Cloud::FinancialServices::V1::PredictionResult)
- operation (::GRPC::ActiveCall::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::GetPredictionResultRequest.new # Call the get_prediction_result method. result = client.get_prediction_result request # The returned object is of type Google::Cloud::FinancialServices::V1::PredictionResult. p result
#import_registered_parties
def import_registered_parties(request, options = nil) -> ::Gapic::Operation
def import_registered_parties(name: nil, party_tables: nil, mode: nil, validate_only: nil, line_of_business: nil) -> ::Gapic::Operation
Imports the list of registered parties. See Create and manage instances for information on the input schema and response for this method.
def import_registered_parties(request, options = nil) -> ::Gapic::Operation
import_registered_parties
via a request object, either of type
ImportRegisteredPartiesRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ImportRegisteredPartiesRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def import_registered_parties(name: nil, party_tables: nil, mode: nil, validate_only: nil, line_of_business: nil) -> ::Gapic::Operation
import_registered_parties
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
-
name (::String) — Required. The full path to the Instance resource in this API.
format:
projects/{project}/locations/{location}/instances/{instance}
-
party_tables (::Array<::String>) — Optional. List of BigQuery tables. Union of tables will be taken if there
is more than one table. VPC-SC restrictions apply. format:
bq://{project}.{bqDatasetID}.{bqTableID}
Use ofdatasets
is preferred over the latter due to its simplicity and the reduced risk of errorsparty_tables
anddatasets
must not be provided at the same time - mode (::Google::Cloud::FinancialServices::V1::ImportRegisteredPartiesRequest::UpdateMode) — Required. Mode of the request.
- validate_only (::Boolean) — Optional. If the request will not register the parties, just determine what would happen.
- line_of_business (::Google::Cloud::FinancialServices::V1::LineOfBusiness) — Required. LineOfBusiness for the specified registered parties.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ImportRegisteredPartiesRequest.new # Call the import_registered_parties method. result = client.import_registered_parties request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#initialize
def initialize() { |config| ... } -> Client
Create a new AML client object.
- (config) — Configure the AML client.
- config (Client::Configuration)
- (Client) — a new instance of Client
# Create a client using the default configuration client = ::Google::Cloud::FinancialServices::V1::AML::Client.new # Create a client using a custom configuration client = ::Google::Cloud::FinancialServices::V1::AML::Client.new do |config| config.timeout = 10.0 end
#list_backtest_results
def list_backtest_results(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::BacktestResult>
def list_backtest_results(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::BacktestResult>
List BacktestResults.
def list_backtest_results(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::BacktestResult>
list_backtest_results
via a request object, either of type
ListBacktestResultsRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ListBacktestResultsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def list_backtest_results(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::BacktestResult>
list_backtest_results
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the BacktestResult is the Instance.
- page_size (::Integer) — The number of resources to be included in the response. The response contains a next_page_token, which can be used to retrieve the next page of resources.
- page_token (::String) — In case of paginated results, this is the token that was returned in the previous ListBacktestResultsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListBacktestResultsRequest, and the last page will return an empty page_token.
- filter (::String) — Specify a filter to narrow search results.
- order_by (::String) — Specify a field to use for ordering.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::BacktestResult>)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::BacktestResult>)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ListBacktestResultsRequest.new # Call the list_backtest_results method. result = client.list_backtest_results request # The returned object is of type Gapic::PagedEnumerable. You can iterate # over elements, and API calls will be issued to fetch pages as needed. result.each do |item| # Each element is of type ::Google::Cloud::FinancialServices::V1::BacktestResult. p item end
#list_datasets
def list_datasets(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Dataset>
def list_datasets(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Dataset>
Lists datasets.
def list_datasets(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Dataset>
list_datasets
via a request object, either of type
ListDatasetsRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ListDatasetsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def list_datasets(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Dataset>
list_datasets
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the Dataset is the Instance.
- page_size (::Integer) — The number of resources to be included in the response. The response contains a next_page_token, which can be used to retrieve the next page of resources.
- page_token (::String) — In case of paginated results, this is the token that was returned in the previous ListDatasetResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListDatasetRequest, and the last page will return an empty page_token.
- filter (::String) — Specify a filter to narrow search results.
- order_by (::String) — Specify a field to use for ordering.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Dataset>)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Dataset>)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ListDatasetsRequest.new # Call the list_datasets method. result = client.list_datasets request # The returned object is of type Gapic::PagedEnumerable. You can iterate # over elements, and API calls will be issued to fetch pages as needed. result.each do |item| # Each element is of type ::Google::Cloud::FinancialServices::V1::Dataset. p item end
#list_engine_configs
def list_engine_configs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::EngineConfig>
def list_engine_configs(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::EngineConfig>
Lists engine configs.
def list_engine_configs(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::EngineConfig>
list_engine_configs
via a request object, either of type
ListEngineConfigsRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ListEngineConfigsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def list_engine_configs(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::EngineConfig>
list_engine_configs
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the EngineConfig is the Instance.
- page_size (::Integer) — The number of resources to be included in the response. The response contains a next_page_token, which can be used to retrieve the next page of resources.
- page_token (::String) — In case of paginated results, this is the token that was returned in the previous ListEngineConfigsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListEngineConfigsRequest, and the last page will return an empty page_token.
- filter (::String) — Specify a filter to narrow search results.
- order_by (::String) — Specify a field to use for ordering.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::EngineConfig>)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::EngineConfig>)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ListEngineConfigsRequest.new # Call the list_engine_configs method. result = client.list_engine_configs request # The returned object is of type Gapic::PagedEnumerable. You can iterate # over elements, and API calls will be issued to fetch pages as needed. result.each do |item| # Each element is of type ::Google::Cloud::FinancialServices::V1::EngineConfig. p item end
#list_engine_versions
def list_engine_versions(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::EngineVersion>
def list_engine_versions(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::EngineVersion>
Lists EngineVersions for given location.
def list_engine_versions(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::EngineVersion>
list_engine_versions
via a request object, either of type
ListEngineVersionsRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ListEngineVersionsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def list_engine_versions(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::EngineVersion>
list_engine_versions
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the EngineVersion is the Instance.
- page_size (::Integer) — Optional. The number of resources to be included in the response. The response contains a next_page_token, which can be used to retrieve the next page of resources.
- page_token (::String) — Optional. In case of paginated results, this is the token that was returned in the previous ListEngineVersionsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListEngineVersionsRequest, and the last page will return an empty page_token.
- filter (::String) — Optional. Specify a filter to narrow search results. If empty or unset will default to "state!=DEPRECATED", to view deprecated versions use "state:*" or any other filter.
- order_by (::String) — Optional. Specify a field to use for ordering.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::EngineVersion>)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::EngineVersion>)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ListEngineVersionsRequest.new # Call the list_engine_versions method. result = client.list_engine_versions request # The returned object is of type Gapic::PagedEnumerable. You can iterate # over elements, and API calls will be issued to fetch pages as needed. result.each do |item| # Each element is of type ::Google::Cloud::FinancialServices::V1::EngineVersion. p item end
#list_instances
def list_instances(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Instance>
def list_instances(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Instance>
Lists instances.
def list_instances(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Instance>
list_instances
via a request object, either of type
ListInstancesRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ListInstancesRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def list_instances(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Instance>
list_instances
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the Instance is the location for that Instance. Every location has exactly one instance.
- page_size (::Integer) — The number of resources to be included in the response. The response contains a next_page_token, which can be used to retrieve the next page of resources.
- page_token (::String) — In case of paginated results, this is the token that was returned in the previous ListInstancesResponse. It should be copied here to retrieve the next page of resources. This will be empty for the first instance of ListInstancesRequest.
- filter (::String) — Specify a filter to narrow search results.
- order_by (::String) — Specify a field to use for ordering.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Instance>)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Instance>)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ListInstancesRequest.new # Call the list_instances method. result = client.list_instances request # The returned object is of type Gapic::PagedEnumerable. You can iterate # over elements, and API calls will be issued to fetch pages as needed. result.each do |item| # Each element is of type ::Google::Cloud::FinancialServices::V1::Instance. p item end
#list_models
def list_models(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Model>
def list_models(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Model>
Lists models.
def list_models(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Model>
list_models
via a request object, either of type
ListModelsRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ListModelsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def list_models(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Model>
list_models
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the Model is the Instance.
- page_size (::Integer) — The number of resources to be included in the response. The response contains a next_page_token, which can be used to retrieve the next page of resources.
- page_token (::String) — In case of paginated results, this is the token that was returned in the previous ListModelsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListModelsRequest, and the last page will return an empty page_token.
- filter (::String) — Specify a filter to narrow search results.
- order_by (::String) — Specify a field to use for ordering.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Model>)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::Model>)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ListModelsRequest.new # Call the list_models method. result = client.list_models request # The returned object is of type Gapic::PagedEnumerable. You can iterate # over elements, and API calls will be issued to fetch pages as needed. result.each do |item| # Each element is of type ::Google::Cloud::FinancialServices::V1::Model. p item end
#list_prediction_results
def list_prediction_results(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::PredictionResult>
def list_prediction_results(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::PredictionResult>
List PredictionResults.
def list_prediction_results(request, options = nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::PredictionResult>
list_prediction_results
via a request object, either of type
ListPredictionResultsRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::ListPredictionResultsRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def list_prediction_results(parent: nil, page_size: nil, page_token: nil, filter: nil, order_by: nil) -> ::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::PredictionResult>
list_prediction_results
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- parent (::String) — Required. The parent of the PredictionResult is the Instance.
- page_size (::Integer) — The number of resources to be included in the response. The response contains a next_page_token, which can be used to retrieve the next page of resources.
- page_token (::String) — In case of paginated results, this is the token that was returned in the previous ListPredictionResultsResponse. It should be copied here to retrieve the next page of resources. Empty will give the first page of ListPredictionResultsRequest, and the last page will return an empty page_token.
- filter (::String) — Specify a filter to narrow search results.
- order_by (::String) — Specify a field to use for ordering.
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::PredictionResult>)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::PagedEnumerable<::Google::Cloud::FinancialServices::V1::PredictionResult>)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::ListPredictionResultsRequest.new # Call the list_prediction_results method. result = client.list_prediction_results request # The returned object is of type Gapic::PagedEnumerable. You can iterate # over elements, and API calls will be issued to fetch pages as needed. result.each do |item| # Each element is of type ::Google::Cloud::FinancialServices::V1::PredictionResult. p item end
#location_client
def location_client() -> Google::Cloud::Location::Locations::Client
Get the associated client for mix-in of the Locations.
- (Google::Cloud::Location::Locations::Client)
#logger
def logger() -> Logger
The logger used for request/response debug logging.
- (Logger)
#operations_client
def operations_client() -> ::Google::Cloud::FinancialServices::V1::AML::Operations
Get the associated client for long-running operations.
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_backtest_result
def update_backtest_result(request, options = nil) -> ::Gapic::Operation
def update_backtest_result(update_mask: nil, backtest_result: nil, request_id: nil) -> ::Gapic::Operation
Updates the parameters of a single BacktestResult.
def update_backtest_result(request, options = nil) -> ::Gapic::Operation
update_backtest_result
via a request object, either of type
UpdateBacktestResultRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::UpdateBacktestResultRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def update_backtest_result(update_mask: nil, backtest_result: nil, request_id: nil) -> ::Gapic::Operation
update_backtest_result
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — Optional. Field mask is used to specify the fields to be overwritten in the BacktestResult resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
- backtest_result (::Google::Cloud::FinancialServices::V1::BacktestResult, ::Hash) — Required. The new value of the BacktestResult fields that will be updated according to the update_mask.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::UpdateBacktestResultRequest.new # Call the update_backtest_result method. result = client.update_backtest_result request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#update_dataset
def update_dataset(request, options = nil) -> ::Gapic::Operation
def update_dataset(update_mask: nil, dataset: nil, request_id: nil) -> ::Gapic::Operation
Updates the parameters of a single Dataset.
def update_dataset(request, options = nil) -> ::Gapic::Operation
update_dataset
via a request object, either of type
UpdateDatasetRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::UpdateDatasetRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def update_dataset(update_mask: nil, dataset: nil, request_id: nil) -> ::Gapic::Operation
update_dataset
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — Optional. Field mask is used to specify the fields to be overwritten in the Dataset resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
- dataset (::Google::Cloud::FinancialServices::V1::Dataset, ::Hash) — Required. The new value of the dataset fields that will be updated according to the update_mask.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::UpdateDatasetRequest.new # Call the update_dataset method. result = client.update_dataset request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#update_engine_config
def update_engine_config(request, options = nil) -> ::Gapic::Operation
def update_engine_config(update_mask: nil, engine_config: nil, request_id: nil) -> ::Gapic::Operation
Updates the parameters of a single EngineConfig.
def update_engine_config(request, options = nil) -> ::Gapic::Operation
update_engine_config
via a request object, either of type
UpdateEngineConfigRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::UpdateEngineConfigRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def update_engine_config(update_mask: nil, engine_config: nil, request_id: nil) -> ::Gapic::Operation
update_engine_config
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — Optional. Field mask is used to specify the fields to be overwritten in the EngineConfig resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
- engine_config (::Google::Cloud::FinancialServices::V1::EngineConfig, ::Hash) — Required. The new value of the EngineConfig fields that will be updated according to the update_mask.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::UpdateEngineConfigRequest.new # Call the update_engine_config method. result = client.update_engine_config request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#update_instance
def update_instance(request, options = nil) -> ::Gapic::Operation
def update_instance(update_mask: nil, instance: nil, request_id: nil) -> ::Gapic::Operation
Updates the parameters of a single Instance.
def update_instance(request, options = nil) -> ::Gapic::Operation
update_instance
via a request object, either of type
UpdateInstanceRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::UpdateInstanceRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def update_instance(update_mask: nil, instance: nil, request_id: nil) -> ::Gapic::Operation
update_instance
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — Optional. Field mask is used to specify the fields to be overwritten in the Instance resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
- instance (::Google::Cloud::FinancialServices::V1::Instance, ::Hash) — Required. The new value of the instance fields that will be updated according to the update_mask
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::UpdateInstanceRequest.new # Call the update_instance method. result = client.update_instance request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#update_model
def update_model(request, options = nil) -> ::Gapic::Operation
def update_model(update_mask: nil, model: nil, request_id: nil) -> ::Gapic::Operation
Updates the parameters of a single Model.
def update_model(request, options = nil) -> ::Gapic::Operation
update_model
via a request object, either of type
UpdateModelRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::UpdateModelRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def update_model(update_mask: nil, model: nil, request_id: nil) -> ::Gapic::Operation
update_model
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — Optional. Field mask is used to specify the fields to be overwritten in the Model resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
- model (::Google::Cloud::FinancialServices::V1::Model, ::Hash) — Required. The new value of the Model fields that will be updated according to the update_mask.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::UpdateModelRequest.new # Call the update_model method. result = client.update_model request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end
#update_prediction_result
def update_prediction_result(request, options = nil) -> ::Gapic::Operation
def update_prediction_result(update_mask: nil, prediction_result: nil, request_id: nil) -> ::Gapic::Operation
Updates the parameters of a single PredictionResult.
def update_prediction_result(request, options = nil) -> ::Gapic::Operation
update_prediction_result
via a request object, either of type
UpdatePredictionResultRequest or an equivalent Hash.
- request (::Google::Cloud::FinancialServices::V1::UpdatePredictionResultRequest, ::Hash) — A request object representing the call parameters. Required. To specify no parameters, or to keep all the default parameter values, pass an empty Hash.
- options (::Gapic::CallOptions, ::Hash) — Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
def update_prediction_result(update_mask: nil, prediction_result: nil, request_id: nil) -> ::Gapic::Operation
update_prediction_result
via keyword arguments. Note that at
least one keyword argument is required. To specify no parameters, or to keep all
the default parameter values, pass an empty Hash as a request object (see above).
- update_mask (::Google::Protobuf::FieldMask, ::Hash) — Optional. Field mask is used to specify the fields to be overwritten in the PredictionResult resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
- prediction_result (::Google::Cloud::FinancialServices::V1::PredictionResult, ::Hash) — Required. The new value of the PredictionResult fields that will be updated according to the update_mask.
-
request_id (::String) — Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- (response, operation) — Access the result along with the RPC operation
- response (::Gapic::Operation)
- operation (::GRPC::ActiveCall::Operation)
- (::Gapic::Operation)
- (::Google::Cloud::Error) — if the RPC is aborted.
Basic example
require "google/cloud/financial_services/v1" # Create a client object. The client can be reused for multiple calls. client = Google::Cloud::FinancialServices::V1::AML::Client.new # Create a request. To set request fields, pass in keyword arguments. request = Google::Cloud::FinancialServices::V1::UpdatePredictionResultRequest.new # Call the update_prediction_result method. result = client.update_prediction_result request # The returned object is of type Gapic::Operation. You can use it to # check the status of an operation, cancel it, or wait for results. # Here is how to wait for a response. result.wait_until_done! timeout: 60 if result.response? p result.response else puts "No response received." end