NAME
Google::Cloud::Bigquery::Datatransfer::V1::Transfer - Compiled Protocol Buffers messages for google/cloud/bigquery/datatransfer/v1/transfer.proto
SYNOPSIS
use Google::Cloud::Bigquery::Datatransfer::V1::Transfer;
my $msg = Google::Cloud::Bigquery::Datatransfer::V1::Transfer::EmailPreferences->new({
enable_failure_email => $enable_failure_email,
});
# Read or update a field
my $val = $msg->enable_failure_email();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Bigquery::Datatransfer::V1::Transfer::EmailPreferences->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/bigquery/datatransfer/v1/transfer.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Bigquery::Datatransfer::V1::Transfer::EmailPreferences
Represents preferences for sending email notifications for transfer run events.
Inherits from Protobuf::Message.
Accessors
$msg->enable_failure_email()/$msg->enable_failure_email($value)Type:
BoolIf true, email notifications will be sent on transfer run failures.
Google::Cloud::Bigquery::Datatransfer::V1::Transfer::ScheduleOptions
Options customizing the data transfer schedule.
Inherits from Protobuf::Message.
Accessors
$msg->disable_auto_scheduling()/$msg->disable_auto_scheduling($value)Type:
BoolIf true, automatic scheduling of data transfer runs for this configuration will be disabled. The runs can be started on ad-hoc basis using StartManualTransferRuns API. When automatic scheduling is disabled, the TransferConfig.schedule field will be ignored.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Specifies time to start scheduling transfer runs. The first run will be scheduled at or after the start time according to a recurrence pattern defined in the schedule string. The start time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Defines time to stop scheduling transfer runs. A transfer run cannot be scheduled at or after the end time. The end time can be changed at any moment. The time when a data transfer can be triggered manually is not limited by this option.
Google::Cloud::Bigquery::Datatransfer::V1::Transfer::ScheduleOptionsV2
V2 options customizing different types of data transfer schedule. This field supports existing time-based and manual transfer schedule. Also supports Event-Driven transfer schedule. ScheduleOptionsV2 cannot be used together with ScheduleOptions/Schedule.
Inherits from Protobuf::Message.
Accessors
$msg->time_based_schedule()/$msg->time_based_schedule($value)Type:
Message(Google::Cloud::Bigquery::Datatransfer::V1::Transfer::TimeBasedSchedule)Time based transfer schedule options. This is the default schedule option.
$msg->manual_schedule()/$msg->manual_schedule($value)Type:
Message(Google::Cloud::Bigquery::Datatransfer::V1::Transfer::ManualSchedule)Manual transfer schedule. If set, the transfer run will not be auto-scheduled by the system, unless the client invokes StartManualTransferRuns. This is equivalent to disable_auto_scheduling = true.
$msg->event_driven_schedule()/$msg->event_driven_schedule($value)Type:
Message(Google::Cloud::Bigquery::Datatransfer::V1::Transfer::EventDrivenSchedule)Event driven transfer schedule options. If set, the transfer will be scheduled upon events arrial.
Google::Cloud::Bigquery::Datatransfer::V1::Transfer::TimeBasedSchedule
Options customizing the time based transfer schedule. Options are migrated from the original ScheduleOptions message.
Inherits from Protobuf::Message.
Accessors
$msg->schedule()/$msg->schedule($value)Type:
StringData transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format
NOTE: The minimum interval time between recurring transfers depends on the data source; refer to the documentation for your data source.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Specifies time to start scheduling transfer runs. The first run will be scheduled at or after the start time according to a recurrence pattern defined in the schedule string. The start time can be changed at any moment.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Defines time to stop scheduling transfer runs. A transfer run cannot be scheduled at or after the end time. The end time can be changed at any moment.
Google::Cloud::Bigquery::Datatransfer::V1::Transfer::ManualSchedule
Options customizing manual transfers schedule.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Datatransfer::V1::Transfer::EventDrivenSchedule
Options customizing EventDriven transfers schedule.
Inherits from Protobuf::Message.
Accessors
$msg->pubsub_subscription()/$msg->pubsub_subscription($value)Type:
StringPub/Sub subscription name used to receive events. Only Google Cloud Storage data source support this option. Format: projects/{project}/subscriptions/{subscription}
Google::Cloud::Bigquery::Datatransfer::V1::Transfer::UserInfo
Information about a user.
Inherits from Protobuf::Message.
Accessors
$msg->email()/$msg->email($value)Type:
StringE-mail address of the user.
Google::Cloud::Bigquery::Datatransfer::V1::Transfer::TransferConfig
Represents a data transfer configuration. A transfer configuration contains all metadata needed to perform a data transfer. For example, `destination_dataset_id` specifies where data should be stored. When a new transfer configuration is created, the specified `destination_dataset_id` is created when needed and shared with the appropriate data source service account.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The resource name of the transfer config. Transfer config names have the form either `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or `projects/{project_id}/transferConfigs/{config_id}`, where `config_id` is usually a UUID, even though it is not guaranteed or required. The name is ignored when creating a transfer config.
$msg->destination_dataset_id()/$msg->destination_dataset_id($value)Type:
StringThe BigQuery target dataset id.
$msg->display_name()/$msg->display_name($value)Type:
StringUser specified display name for the data transfer.
$msg->data_source_id()/$msg->data_source_id($value)Type:
StringData source ID. This cannot be changed once data transfer is created. The full list of available data source IDs can be returned through an API call: https://cloud.google.com/bigquery-transfer/docs/reference/datatransfer/rest/v1/projects.locations.dataSources/list
$msg->params()/$msg->params($value)Type:
Message(Google::Protobuf::Struct::Struct)Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
$msg->schedule()/$msg->schedule($value)Type:
StringData transfer schedule. If the data source does not support a custom schedule, this should be empty. If it is empty, the default value for the data source will be used. The specified times are in UTC. Examples of valid format: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`. See more explanation about the format here: https://cloud.google.com/appengine/docs/flexible/python/scheduling-jobs-with-cron-yaml#the_schedule_format
NOTE: The minimum interval time between recurring transfers depends on the data source; refer to the documentation for your data source.
$msg->schedule_options()/$msg->schedule_options($value)Type:
Message(Google::Cloud::Bigquery::Datatransfer::V1::Transfer::ScheduleOptions)Options customizing the data transfer schedule.
$msg->schedule_options_v2()/$msg->schedule_options_v2($value)Type:
Message(Google::Cloud::Bigquery::Datatransfer::V1::Transfer::ScheduleOptionsV2)Options customizing different types of data transfer schedule. This field replaces "schedule" and "schedule_options" fields. ScheduleOptionsV2 cannot be used together with ScheduleOptions/Schedule.
$msg->data_refresh_window_days()/$msg->data_refresh_window_days($value)Type:
Int32The number of days to look back to automatically refresh the data. For example, if `data_refresh_window_days = 10`, then every day BigQuery reingests data for [today-10, today-1], rather than ingesting data for just [today-1]. Only valid if the data source supports the feature. Set the value to 0 to use the default value.
$msg->disabled()/$msg->disabled($value)Type:
BoolIs this config disabled. When set to true, no runs will be scheduled for this transfer config.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Data transfer modification time. Ignored by server on input.
$msg->next_run_time()/$msg->next_run_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Next time when data transfer will run.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Bigquery::Datatransfer::V1::TransferState)Output only. State of the most recently updated transfer run.
$msg->user_id()/$msg->user_id($value)Type:
Int64Deprecated. Unique ID of the user on whose behalf transfer is done.
$msg->dataset_region()/$msg->dataset_region($value)Type:
StringOutput only. Region in which BigQuery dataset is located.
$msg->notification_pubsub_topic()/$msg->notification_pubsub_topic($value)Type:
StringPub/Sub topic where notifications will be sent after transfer runs associated with this transfer config finish.
The format for specifying a pubsub topic is: `projects/{project_id}/topics/{topic_id}`
$msg->email_preferences()/$msg->email_preferences($value)Type:
Message(Google::Cloud::Bigquery::Datatransfer::V1::Transfer::EmailPreferences)Email notifications will be sent according to these preferences to the email address of the user who owns this transfer config.
$msg->owner_info()/$msg->owner_info($value)Type:
Message(Google::Cloud::Bigquery::Datatransfer::V1::Transfer::UserInfo)Output only. Information about the user whose credentials are used to transfer data. Populated only for `transferConfigs.get` requests. In case the user information is not available, this field will not be populated.
$msg->encryption_configuration()/$msg->encryption_configuration($value)Type:
Message(Google::Cloud::Bigquery::Datatransfer::V1::Transfer::EncryptionConfiguration)The encryption configuration part. Currently, it is only used for the optional KMS key name. The BigQuery service account of your project must be granted permissions to use the key. Read methods will return the key name applied in effect. Write methods will apply the key if it is present, or otherwise try to apply project default keys if it is absent.
$msg->error()/$msg->error($value)Type:
Message(Google::Rpc::Status::Status)Output only. Error code with detailed information about reason of the latest config failure.
Google::Cloud::Bigquery::Datatransfer::V1::Transfer::EncryptionConfiguration
Represents the encryption configuration for a transfer.
Inherits from Protobuf::Message.
Accessors
$msg->kms_key_name()/$msg->kms_key_name($value)Type:
Message(Google::Protobuf::Wrappers::StringValue)The name of the KMS key used for encrypting BigQuery data.
Google::Cloud::Bigquery::Datatransfer::V1::Transfer::TransferRun
Represents a data transfer run.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The resource name of the transfer run. Transfer run names have the form `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`. The name is ignored when creating a transfer run.
$msg->schedule_time()/$msg->schedule_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Minimum time after which a transfer run can be started.
$msg->run_time()/$msg->run_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)For batch transfer runs, specifies the date and time of the data should be ingested.
$msg->error_status()/$msg->error_status($value)Type:
Message(Google::Rpc::Status::Status)Status of the transfer run.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when transfer run was started. Parameter ignored by server for input requests.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Time when transfer run ended. Parameter ignored by server for input requests.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Last time the data transfer run state was updated.
$msg->params()/$msg->params($value)Type:
Message(Google::Protobuf::Struct::Struct)Output only. Parameters specific to each data source. For more information see the bq tab in the 'Setting up a data transfer' section for each data source. For example the parameters for Cloud Storage transfers are listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
$msg->destination_dataset_id()/$msg->destination_dataset_id($value)Type:
StringOutput only. The BigQuery target dataset id.
$msg->data_source_id()/$msg->data_source_id($value)Type:
StringOutput only. Data source id.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Bigquery::Datatransfer::V1::TransferState)Data transfer run state. Ignored for input requests.
$msg->user_id()/$msg->user_id($value)Type:
Int64Deprecated. Unique ID of the user on whose behalf transfer is done.
$msg->schedule()/$msg->schedule($value)Type:
StringOutput only. Describes the schedule of this transfer run if it was created as part of a regular schedule. For batch transfer runs that are scheduled manually, this is empty. NOTE: the system might choose to delay the schedule depending on the current load, so `schedule_time` doesn't always match this.
$msg->notification_pubsub_topic()/$msg->notification_pubsub_topic($value)Type:
StringOutput only. Pub/Sub topic where a notification will be sent after this transfer run finishes.
The format for specifying a pubsub topic is: `projects/{project_id}/topics/{topic_id}`
$msg->email_preferences()/$msg->email_preferences($value)Type:
Message(Google::Cloud::Bigquery::Datatransfer::V1::Transfer::EmailPreferences)Output only. Email notifications will be sent according to these preferences to the email address of the user who owns the transfer config this run was derived from.
Google::Cloud::Bigquery::Datatransfer::V1::Transfer::TransferMessage
Represents a user facing message for a particular data transfer run.
Inherits from Protobuf::Message.
Accessors
$msg->message_time()/$msg->message_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time when message was logged.
$msg->severity()/$msg->severity($value)Type:
Enum(Google::Cloud::Bigquery::Datatransfer::V1::TransferMessage::MessageSeverity)Message severity.
$msg->message_text()/$msg->message_text($value)Type:
StringMessage text.
Enum: TransferMessage::MessageSeverity
MESSAGE_SEVERITY_UNSPECIFIED=>0INFO=>1WARNING=>2ERROR=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Datatransfer::V1::Transfer::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.