NAME
Google::Cloud::Bigquery::V2::DatasetServiceClient - Client library for Google Cloud Services
SYNOPSIS
use Google::Cloud::Bigquery::V2::DatasetServiceClient;
use Google::Auth;
my $auth = Google::Auth->default();
# 1. High-performance gRPC Transport (Default)
my $grpc_client = Google::Cloud::Bigquery::V2::DatasetServiceClient->new(
credentials => $auth,
transport => 'grpc', # Optional: 'grpc' is default
);
# 2. HTTP/REST Transport
my $rest_client = Google::Cloud::Bigquery::V2::DatasetServiceClient->new(
credentials => $auth,
transport => 'rest',
);
# Execute service methods
my $res = $grpc_client->some_method( %params );
DESCRIPTION
Google::Cloud::Bigquery::V2::DatasetServiceClient 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.protogoogle/cloud/bigquery/v2/job_reference.protogoogle/cloud/bigquery/v2/query_parameter.protogoogle/cloud/bigquery/v2/row_access_policy.protogoogle/cloud/bigquery/v2/row_access_policy_reference.protogoogle/cloud/bigquery/v2/project.protogoogle/cloud/bigquery/v2/udf_resource.protogoogle/cloud/bigquery/v2/time_partitioning.protogoogle/cloud/bigquery/v2/table.protogoogle/cloud/bigquery/v2/external_data_config.protogoogle/cloud/bigquery/v2/data_format_options.protogoogle/cloud/bigquery/v2/privacy_policy.protogoogle/cloud/bigquery/v2/partitioning_definition.protogoogle/cloud/bigquery/v2/restriction_config.protogoogle/cloud/bigquery/v2/managed_table_type.protogoogle/cloud/bigquery/v2/range_partitioning.protogoogle/cloud/bigquery/v2/external_catalog_table_options.protogoogle/cloud/bigquery/v2/model_reference.protogoogle/cloud/bigquery/v2/biglake_config.protogoogle/cloud/bigquery/v2/decimal_target_types.protogoogle/cloud/bigquery/v2/routine_reference.protogoogle/cloud/bigquery/v2/job_config.protogoogle/cloud/bigquery/v2/job_status.protogoogle/cloud/bigquery/v2/table_constraints.protogoogle/cloud/bigquery/v2/json_extension.protogoogle/cloud/bigquery/v2/file_set_specification_type.protogoogle/cloud/bigquery/v2/location_metadata.protogoogle/cloud/bigquery/v2/external_dataset_reference.protogoogle/cloud/bigquery/v2/dataset_reference.protogoogle/cloud/bigquery/v2/system_variable.protogoogle/cloud/bigquery/v2/encryption_config.protogoogle/cloud/bigquery/v2/table_reference.protogoogle/cloud/bigquery/v2/hive_partitioning.protogoogle/cloud/bigquery/v2/job.protogoogle/cloud/bigquery/v2/gen_ai_stats.protogoogle/cloud/bigquery/v2/standard_sql.protogoogle/cloud/bigquery/v2/property_graph_reference.protogoogle/cloud/bigquery/v2/external_catalog_dataset_options.protogoogle/cloud/bigquery/v2/model.protogoogle/cloud/bigquery/v2/clustering.protogoogle/cloud/bigquery/v2/table_schema.protogoogle/cloud/bigquery/v2/dataset.protogoogle/cloud/bigquery/v2/error.protogoogle/cloud/bigquery/v2/job_creation_reason.protogoogle/cloud/bigquery/v2/job_stats.protogoogle/cloud/bigquery/v2/map_target_type.protogoogle/cloud/bigquery/v2/routine.proto
CONSTRUCTOR
new
my $client = Google::Cloud::Bigquery::V2::DatasetServiceClient->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_dataset
Calls the RPC method
GetDataseton the service. Takes a hash of parameters representing the request.insert_dataset
Calls the RPC method
InsertDataseton the service. Takes a hash of parameters representing the request.patch_dataset
Calls the RPC method
PatchDataseton the service. Takes a hash of parameters representing the request.update_dataset
Calls the RPC method
UpdateDataseton the service. Takes a hash of parameters representing the request.delete_dataset
Calls the RPC method
DeleteDataseton the service. Takes a hash of parameters representing the request.list_datasets
Calls the RPC method
ListDatasetson the service. Takes a hash of parameters representing the request.undelete_dataset
Calls the RPC method
UndeleteDataseton 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.