Reference documentation and code samples for the Vertex AI API module Google::Cloud::AIPlatform.
Methods
.configure
def self.configure() -> ::Google::Cloud::Config
Configure the google-cloud-ai_platform library.
The following configuration parameters are supported:
credentials
(type:String, Hash, Google::Auth::Credentials
) - The path to the keyfile as a String, the contents of the keyfile as a Hash, or a Google::Auth::Credentials object.lib_name
(type:String
) - The library name as recorded in instrumentation and logging.lib_version
(type:String
) - The library version as recorded in instrumentation and logging.interceptors
(type:Array<GRPC::ClientInterceptor>
) - An array of interceptors that are run before calls are executed.timeout
(type:Numeric
) - Default timeout in seconds.metadata
(type:Hash{Symbol=>String}
) - Additional gRPC headers to be sent with the call.retry_policy
(type:Hash
) - The retry policy. The value is a hash with the following keys::initial_delay
(type:Numeric
) - The initial delay in seconds.:max_delay
(type:Numeric
) - The max delay in seconds.:multiplier
(type:Numeric
) - The incremental backoff multiplier.:retry_codes
(type:Array<String>
) - The error codes that should trigger a retry.
- (::Google::Cloud.configure.ai_platform)
- (::Google::Cloud::Config) — The default configuration used by this library
.dataset_service
def self.dataset_service(version: :v1, &block) -> DatasetService::Client
Create a new client object for DatasetService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::DatasetService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the DatasetService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About DatasetService
The service that handles the CRUD of Vertex AI Dataset and its child resources.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (DatasetService::Client) — A client object for the specified version.
.endpoint_service
def self.endpoint_service(version: :v1, &block) -> EndpointService::Client
Create a new client object for EndpointService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::EndpointService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the EndpointService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About EndpointService
A service for managing Vertex AI's Endpoints.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (EndpointService::Client) — A client object for the specified version.
.featurestore_online_serving_service
def self.featurestore_online_serving_service(version: :v1, &block) -> FeaturestoreOnlineServingService::Client
Create a new client object for FeaturestoreOnlineServingService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the FeaturestoreOnlineServingService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About FeaturestoreOnlineServingService
A service for serving online feature values.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (FeaturestoreOnlineServingService::Client) — A client object for the specified version.
.featurestore_service
def self.featurestore_service(version: :v1, &block) -> FeaturestoreService::Client
Create a new client object for FeaturestoreService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::FeaturestoreService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the FeaturestoreService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About FeaturestoreService
The service that handles CRUD and List for resources for Featurestore.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (FeaturestoreService::Client) — A client object for the specified version.
.index_endpoint_service
def self.index_endpoint_service(version: :v1, &block) -> IndexEndpointService::Client
Create a new client object for IndexEndpointService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::IndexEndpointService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the IndexEndpointService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About IndexEndpointService
A service for managing Vertex AI's IndexEndpoints.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (IndexEndpointService::Client) — A client object for the specified version.
.index_service
def self.index_service(version: :v1, &block) -> IndexService::Client
Create a new client object for IndexService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::IndexService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the IndexService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About IndexService
A service for creating and managing Vertex AI's Index resources.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (IndexService::Client) — A client object for the specified version.
.job_service
def self.job_service(version: :v1, &block) -> JobService::Client
Create a new client object for JobService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::JobService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the JobService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About JobService
A service for creating and managing Vertex AI's jobs.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (JobService::Client) — A client object for the specified version.
.metadata_service
def self.metadata_service(version: :v1, &block) -> MetadataService::Client
Create a new client object for MetadataService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::MetadataService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the MetadataService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About MetadataService
Service for reading and writing metadata entries.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (MetadataService::Client) — A client object for the specified version.
.migration_service
def self.migration_service(version: :v1, &block) -> MigrationService::Client
Create a new client object for MigrationService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::MigrationService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the MigrationService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About MigrationService
A service that migrates resources from automl.googleapis.com, datalabeling.googleapis.com and ml.googleapis.com to Vertex AI.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (MigrationService::Client) — A client object for the specified version.
.model_service
def self.model_service(version: :v1, &block) -> ModelService::Client
Create a new client object for ModelService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::ModelService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the ModelService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About ModelService
A service for managing Vertex AI's machine learning Models.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (ModelService::Client) — A client object for the specified version.
.pipeline_service
def self.pipeline_service(version: :v1, &block) -> PipelineService::Client
Create a new client object for PipelineService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::PipelineService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the PipelineService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About PipelineService
A service for creating and managing Vertex AI's pipelines. This includes both
TrainingPipeline
resources (used for AutoML and custom training) and
PipelineJob
resources (used for Vertex AI Pipelines).
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (PipelineService::Client) — A client object for the specified version.
.prediction_service
def self.prediction_service(version: :v1, &block) -> PredictionService::Client
Create a new client object for PredictionService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::PredictionService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the PredictionService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About PredictionService
A service for online predictions and explanations.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (PredictionService::Client) — A client object for the specified version.
.specialist_pool_service
def self.specialist_pool_service(version: :v1, &block) -> SpecialistPoolService::Client
Create a new client object for SpecialistPoolService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::SpecialistPoolService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the SpecialistPoolService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About SpecialistPoolService
A service for creating and managing Customer SpecialistPools. When customers start Data Labeling jobs, they can reuse/create Specialist Pools to bring their own Specialists to label the data. Customers can add/remove Managers for the Specialist Pool on Cloud console, then Managers will get email notifications to manage Specialists and tasks on CrowdCompute console.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (SpecialistPoolService::Client) — A client object for the specified version.
.tensorboard_service
def self.tensorboard_service(version: :v1, &block) -> TensorboardService::Client
Create a new client object for TensorboardService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::TensorboardService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the TensorboardService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About TensorboardService
TensorboardService
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (TensorboardService::Client) — A client object for the specified version.
.vizier_service
def self.vizier_service(version: :v1, &block) -> VizierService::Client
Create a new client object for VizierService.
By default, this returns an instance of
Google::Cloud::AIPlatform::V1::VizierService::Client
for version V1 of the API.
However, you can specify specify a different API version by passing it in the
version
parameter. If the VizierService service is
supported by that API version, and the corresponding gem is available, the
appropriate versioned client will be returned.
About VizierService
Vertex AI Vizier API.
Vertex AI Vizier is a service to solve blackbox optimization problems, such as tuning machine learning hyperparameters and searching over deep learning architectures.
-
version (::String, ::Symbol) (defaults to: :v1) — The API version to connect to. Optional.
Defaults to
:v1
.
- (VizierService::Client) — A client object for the specified version.
Constants
VERSION
value: "0.2.0"