NAME

Google::Cloud::Bigquery::V2::ModelServiceClient - Client library for Google Cloud Services

SYNOPSIS

use Google::Cloud::Bigquery::V2::ModelServiceClient;
use Google::Auth;

my $auth = Google::Auth->default();

# 1. High-performance gRPC Transport (Default)
my $grpc_client = Google::Cloud::Bigquery::V2::ModelServiceClient->new(
    credentials => $auth,
    transport   => 'grpc', # Optional: 'grpc' is default
);

# 2. HTTP/REST Transport
my $rest_client = Google::Cloud::Bigquery::V2::ModelServiceClient->new(
    credentials => $auth,
    transport   => 'rest',
);

# Execute service methods
my $res = $grpc_client->some_method( %params );

DESCRIPTION

Google::Cloud::Bigquery::V2::ModelServiceClient is an auto-generated client library for Google Cloud Services.

It provides a unified client interface supporting both high-performance HTTP/2 gRPC and HTTP/REST transports, with automatic Google Cloud Application Default Credentials (ADC) resolution and typed Protocol Buffers message handling.

SOURCE

Generated from the following Protocol Buffers schemas:

  • google/cloud/bigquery/v2/session_info.proto

  • google/cloud/bigquery/v2/job_reference.proto

  • google/cloud/bigquery/v2/query_parameter.proto

  • google/cloud/bigquery/v2/row_access_policy.proto

  • google/cloud/bigquery/v2/row_access_policy_reference.proto

  • google/cloud/bigquery/v2/project.proto

  • google/cloud/bigquery/v2/udf_resource.proto

  • google/cloud/bigquery/v2/time_partitioning.proto

  • google/cloud/bigquery/v2/table.proto

  • google/cloud/bigquery/v2/external_data_config.proto

  • google/cloud/bigquery/v2/data_format_options.proto

  • google/cloud/bigquery/v2/privacy_policy.proto

  • google/cloud/bigquery/v2/partitioning_definition.proto

  • google/cloud/bigquery/v2/restriction_config.proto

  • google/cloud/bigquery/v2/managed_table_type.proto

  • google/cloud/bigquery/v2/range_partitioning.proto

  • google/cloud/bigquery/v2/external_catalog_table_options.proto

  • google/cloud/bigquery/v2/model_reference.proto

  • google/cloud/bigquery/v2/biglake_config.proto

  • google/cloud/bigquery/v2/decimal_target_types.proto

  • google/cloud/bigquery/v2/routine_reference.proto

  • google/cloud/bigquery/v2/job_config.proto

  • google/cloud/bigquery/v2/job_status.proto

  • google/cloud/bigquery/v2/table_constraints.proto

  • google/cloud/bigquery/v2/json_extension.proto

  • google/cloud/bigquery/v2/file_set_specification_type.proto

  • google/cloud/bigquery/v2/location_metadata.proto

  • google/cloud/bigquery/v2/external_dataset_reference.proto

  • google/cloud/bigquery/v2/dataset_reference.proto

  • google/cloud/bigquery/v2/system_variable.proto

  • google/cloud/bigquery/v2/encryption_config.proto

  • google/cloud/bigquery/v2/table_reference.proto

  • google/cloud/bigquery/v2/hive_partitioning.proto

  • google/cloud/bigquery/v2/job.proto

  • google/cloud/bigquery/v2/gen_ai_stats.proto

  • google/cloud/bigquery/v2/standard_sql.proto

  • google/cloud/bigquery/v2/property_graph_reference.proto

  • google/cloud/bigquery/v2/external_catalog_dataset_options.proto

  • google/cloud/bigquery/v2/model.proto

  • google/cloud/bigquery/v2/clustering.proto

  • google/cloud/bigquery/v2/table_schema.proto

  • google/cloud/bigquery/v2/dataset.proto

  • google/cloud/bigquery/v2/error.proto

  • google/cloud/bigquery/v2/job_creation_reason.proto

  • google/cloud/bigquery/v2/job_stats.proto

  • google/cloud/bigquery/v2/map_target_type.proto

  • google/cloud/bigquery/v2/routine.proto

CONSTRUCTOR

new

my $client = Google::Cloud::Bigquery::V2::ModelServiceClient->new(
    credentials => $auth,   # Optional: Google::Auth object (defaults to ADC)
    transport   => 'grpc', # Optional: 'grpc' (default) or 'rest'
);

ATTRIBUTES

credentials

Returns or accepts the Google::Auth credentials object.

transport

Returns or accepts the active transport object (Google::gRPC::Client or Google::Cloud::REST::Client).

METHODS

METHODS

The following RPC methods are available in this client:

  • get_model

    Calls the RPC method GetModel on the service. Takes a hash of parameters representing the request.

  • list_models

    Calls the RPC method ListModels on the service. Takes a hash of parameters representing the request.

  • patch_model

    Calls the RPC method PatchModel on the service. Takes a hash of parameters representing the request.

  • delete_model

    Calls the RPC method DeleteModel on the service. Takes a hash of parameters representing the request.

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.