Service Client: Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::DataTransferServiceClient

Client stub representing the remote DataTransferService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to bigquery.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer - Compiled Protocol Buffers messages for google/cloud/bigquery/datatransfer/v1/datatransfer.proto

SYNOPSIS

use Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer;

my $msg = Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::DataSourceParameter->new({
    param_id => $param_id,
    display_name => $display_name,
    description => $description,
    type => $type,
});

# Read or update a field
my $val = $msg->param_id();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::DataSourceParameter->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/bigquery/datatransfer/v1/datatransfer.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::Datatransfer::DataSourceParameter

A parameter used to define custom fields in a data source definition.

Inherits from Protobuf::Message.

Accessors

  • $msg->param_id() / $msg->param_id($value)

    Type: String

    Parameter identifier.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Parameter display name in the user interface.

  • $msg->description() / $msg->description($value)

    Type: String

    Parameter description.

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Bigquery::Datatransfer::V1::DataSourceParameter::Type)

    Parameter type.

  • $msg->required() / $msg->required($value)

    Type: Bool

    Is parameter required.

  • $msg->repeated() / $msg->repeated($value)

    Type: Bool

    Deprecated. This field has no effect.

  • $msg->validation_regex() / $msg->validation_regex($value)

    Type: String

    Regular expression which can be used for parameter validation.

  • $msg->allowed_values() / $msg->allowed_values($value)

    Type: String

    All possible values for the parameter.

  • $msg->min_value() / $msg->min_value($value)

    Type: Message (Google::Protobuf::Wrappers::DoubleValue)

    For integer and double values specifies minimum allowed value.

  • $msg->max_value() / $msg->max_value($value)

    Type: Message (Google::Protobuf::Wrappers::DoubleValue)

    For integer and double values specifies maximum allowed value.

  • $msg->fields() / $msg->fields($value)

    Type: Message (Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::DataSourceParameter)

    Deprecated. This field has no effect.

  • $msg->validation_description() / $msg->validation_description($value)

    Type: String

    Description of the requirements for this field, in case the user input does not fulfill the regex pattern or min/max values.

  • $msg->validation_help_url() / $msg->validation_help_url($value)

    Type: String

    URL to a help document to further explain the naming requirements.

  • $msg->immutable() / $msg->immutable($value)

    Type: Bool

    Cannot be changed after initial creation.

  • $msg->recurse() / $msg->recurse($value)

    Type: Bool

    Deprecated. This field has no effect.

  • $msg->deprecated() / $msg->deprecated($value)

    Type: Bool

    If true, it should not be used in new transfers, and it should not be visible to users.

Enum: DataSourceParameter::Type

  • TYPE_UNSPECIFIED => 0

  • STRING => 1

  • INTEGER => 2

  • DOUBLE => 3

  • BOOLEAN => 4

  • RECORD => 5

  • PLUS_PAGE => 6

  • LIST => 7

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::DataSource

Defines the properties and custom parameters for a data source.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. Data source resource name.

  • $msg->data_source_id() / $msg->data_source_id($value)

    Type: String

    Data source id.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    User friendly data source name.

  • $msg->description() / $msg->description($value)

    Type: String

    User friendly data source description string.

  • $msg->client_id() / $msg->client_id($value)

    Type: String

    Data source client id which should be used to receive refresh token.

  • $msg->scopes() / $msg->scopes($value)

    Type: String

    Api auth scopes for which refresh token needs to be obtained. These are scopes needed by a data source to prepare data and ingest them into BigQuery, e.g., https://www.googleapis.com/auth/bigquery

  • $msg->transfer_type() / $msg->transfer_type($value)

    Type: Enum (Google::Cloud::Bigquery::Datatransfer::V1::TransferType)

    Deprecated. This field has no effect.

  • $msg->supports_multiple_transfers() / $msg->supports_multiple_transfers($value)

    Type: Bool

    Deprecated. This field has no effect.

  • $msg->update_deadline_seconds() / $msg->update_deadline_seconds($value)

    Type: Int32

    The number of seconds to wait for an update from the data source before the Data Transfer Service marks the transfer as FAILED.

  • $msg->default_schedule() / $msg->default_schedule($value)

    Type: String

    Default data transfer schedule. Examples of valid schedules include: `1st,3rd monday of month 15:30`, `every wed,fri of jan,jun 13:15`, and `first sunday of quarter 00:00`.

  • $msg->supports_custom_schedule() / $msg->supports_custom_schedule($value)

    Type: Bool

    Specifies whether the data source supports a user defined schedule, or operates on the default schedule. When set to `true`, user can override default schedule.

  • $msg->parameters() / $msg->parameters($value)

    Type: Message (Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::DataSourceParameter)

    Data source parameters.

  • $msg->help_url() / $msg->help_url($value)

    Type: String

    Url for the help document for this data source.

  • $msg->authorization_type() / $msg->authorization_type($value)

    Type: Enum (Google::Cloud::Bigquery::Datatransfer::V1::DataSource::AuthorizationType)

    Indicates the type of authorization.

  • $msg->data_refresh_type() / $msg->data_refresh_type($value)

    Type: Enum (Google::Cloud::Bigquery::Datatransfer::V1::DataSource::DataRefreshType)

    Specifies whether the data source supports automatic data refresh for the past few days, and how it's supported. For some data sources, data might not be complete until a few days later, so it's useful to refresh data automatically.

  • $msg->default_data_refresh_window_days() / $msg->default_data_refresh_window_days($value)

    Type: Int32

    Default data refresh window on days. Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`.

  • $msg->manual_runs_disabled() / $msg->manual_runs_disabled($value)

    Type: Bool

    Disables backfilling and manual run scheduling for the data source.

  • $msg->minimum_schedule_interval() / $msg->minimum_schedule_interval($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    The minimum interval for scheduler to schedule runs.

Enum: DataSource::AuthorizationType

  • AUTHORIZATION_TYPE_UNSPECIFIED => 0

  • AUTHORIZATION_CODE => 1

  • GOOGLE_PLUS_AUTHORIZATION_CODE => 2

  • FIRST_PARTY_OAUTH => 3

Enum: DataSource::DataRefreshType

  • DATA_REFRESH_TYPE_UNSPECIFIED => 0

  • SLIDING_WINDOW => 1

  • CUSTOM_SLIDING_WINDOW => 2

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::GetDataSourceRequest

A request to get data source info.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The field will contain name of the resource requested, for example: `projects/{project_id}/dataSources/{data_source_id}` or `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::ListDataSourcesRequest

Request to list supported data sources and their data transfer settings.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The BigQuery project id for which data sources should be returned. Must be in the form: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Pagination token, which can be used to request a specific page of `ListDataSourcesRequest` list results. For multiple-page results, `ListDataSourcesResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Page size. The default page size is the maximum value of 1000 results.

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::ListDataSourcesResponse

Returns list of supported data sources and their metadata.

Inherits from Protobuf::Message.

Accessors

  • $msg->data_sources() / $msg->data_sources($value)

    Type: Message (Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::DataSource)

    List of supported data sources and their transfer settings.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Output only. The next-pagination token. For multiple-page list results, this token can be used as the `ListDataSourcesRequest.page_token` to request the next page of list results.

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::CreateTransferConfigRequest

A request to create a data transfer configuration. If new credentials are needed for this transfer configuration, authorization info must be provided. If authorization info is provided, the transfer configuration will be associated with the user id corresponding to the authorization info. Otherwise, the transfer configuration will be associated with the calling user.

When using a cross project service account for creating a transfer config, you must enable cross project service account usage. For more information, see [Disable attachment of service accounts to resources in other projects](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-service-accounts#disable_cross_project_service_accounts).

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The BigQuery project id where the transfer configuration should be created. Must be in the format projects/{project_id}/locations/{location_id} or projects/{project_id}. If specified location and location of the destination bigquery dataset do not match - the request will fail.

  • $msg->transfer_config() / $msg->transfer_config($value)

    Type: Message (Google::Cloud::Bigquery::Datatransfer::V1::Transfer::TransferConfig)

    Required. Data transfer configuration to create.

  • $msg->authorization_code() / $msg->authorization_code($value)

    Type: String

    Deprecated: Authorization code was required when `transferConfig.dataSourceId` is 'youtube_channel' but it is no longer used in any data sources. Use `version_info` instead.

    Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: <pre class="prettyprint" suppresswarning="true"> https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=<var>client_id</var>&scope=<var>data_source_scopes</var> </pre> * The <var>client_id</var> is the OAuth client_id of the data source as returned by ListDataSources method. * <var>data_source_scopes</var> are the scopes returned by ListDataSources method.

    Note that this should not be set when `service_account_name` is used to create the transfer config.

  • $msg->version_info() / $msg->version_info($value)

    Type: String

    Optional version info. This parameter replaces `authorization_code` which is no longer used in any data sources. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' *or* new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: <pre class="prettyprint" suppresswarning="true"> https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=<var>client_id</var>&scope=<var>data_source_scopes</var> </pre> * The <var>client_id</var> is the OAuth client_id of the data source as returned by ListDataSources method. * <var>data_source_scopes</var> are the scopes returned by ListDataSources method.

    Note that this should not be set when `service_account_name` is used to create the transfer config.

  • $msg->service_account_name() / $msg->service_account_name($value)

    Type: String

    Optional service account email. If this field is set, the transfer config will be created with this service account's credentials. It requires that the requesting user calling this API has permissions to act as this service account.

    Note that not all data sources support service account credentials when creating a transfer config. For the latest list of data sources, read about [using service accounts](https://cloud.google.com/bigquery-transfer/docs/use-service-accounts).

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::UpdateTransferConfigRequest

A request to update a transfer configuration. To update the user id of the transfer configuration, authorization info needs to be provided.

When using a cross project service account for updating a transfer config, you must enable cross project service account usage. For more information, see [Disable attachment of service accounts to resources in other projects](https://cloud.google.com/resource-manager/docs/organization-policy/restricting-service-accounts#disable_cross_project_service_accounts).

Inherits from Protobuf::Message.

Accessors

  • $msg->transfer_config() / $msg->transfer_config($value)

    Type: Message (Google::Cloud::Bigquery::Datatransfer::V1::Transfer::TransferConfig)

    Required. Data transfer configuration to create.

  • $msg->authorization_code() / $msg->authorization_code($value)

    Type: String

    Deprecated: Authorization code was required when `transferConfig.dataSourceId` is 'youtube_channel' but it is no longer used in any data sources. Use `version_info` instead.

    Optional OAuth2 authorization code to use with this transfer configuration. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' and new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain authorization_code, make a request to the following URL: <pre class="prettyprint" suppresswarning="true"> https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=authorization_code&client_id=<var>client_id</var>&scope=<var>data_source_scopes</var> </pre> * The <var>client_id</var> is the OAuth client_id of the data source as returned by ListDataSources method. * <var>data_source_scopes</var> are the scopes returned by ListDataSources method.

    Note that this should not be set when `service_account_name` is used to update the transfer config.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Required list of fields to be updated in this request.

  • $msg->version_info() / $msg->version_info($value)

    Type: String

    Optional version info. This parameter replaces `authorization_code` which is no longer used in any data sources. This is required only if `transferConfig.dataSourceId` is 'youtube_channel' *or* new credentials are needed, as indicated by `CheckValidCreds`. In order to obtain version info, make a request to the following URL: <pre class="prettyprint" suppresswarning="true"> https://bigquery.cloud.google.com/datatransfer/oauthz/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=version_info&client_id=<var>client_id</var>&scope=<var>data_source_scopes</var> </pre> * The <var>client_id</var> is the OAuth client_id of the data source as returned by ListDataSources method. * <var>data_source_scopes</var> are the scopes returned by ListDataSources method.

    Note that this should not be set when `service_account_name` is used to update the transfer config.

  • $msg->service_account_name() / $msg->service_account_name($value)

    Type: String

    Optional service account email. If this field is set, the transfer config will be created with this service account's credentials. It requires that the requesting user calling this API has permissions to act as this service account.

    Note that not all data sources support service account credentials when creating a transfer config. For the latest list of data sources, read about [using service accounts](https://cloud.google.com/bigquery-transfer/docs/use-service-accounts).

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::GetTransferConfigRequest

A request to get data transfer information.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The field will contain name of the resource requested, for example: `projects/{project_id}/transferConfigs/{config_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::DeleteTransferConfigRequest

A request to delete data transfer information. All associated transfer runs and log messages will be deleted as well.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The field will contain name of the resource requested, for example: `projects/{project_id}/transferConfigs/{config_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::GetTransferRunRequest

A request to get data transfer run information.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The field will contain name of the resource requested, for example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::DeleteTransferRunRequest

A request to delete data transfer run information.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The field will contain name of the resource requested, for example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::ListTransferConfigsRequest

A request to list data transfers configured for a BigQuery project.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The BigQuery project id for which transfer configs should be returned: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`

  • $msg->data_source_ids() / $msg->data_source_ids($value)

    Type: String

    When specified, only configurations of requested data sources are returned.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Pagination token, which can be used to request a specific page of `ListTransfersRequest` list results. For multiple-page results, `ListTransfersResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Page size. The default page size is the maximum value of 1000 results.

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::ListTransferConfigsResponse

The returned list of pipelines in the project.

Inherits from Protobuf::Message.

Accessors

  • $msg->transfer_configs() / $msg->transfer_configs($value)

    Type: Message (Google::Cloud::Bigquery::Datatransfer::V1::Transfer::TransferConfig)

    Output only. The stored pipeline transfer configurations.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Output only. The next-pagination token. For multiple-page list results, this token can be used as the `ListTransferConfigsRequest.page_token` to request the next page of list results.

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::ListTransferRunsRequest

A request to list data transfer runs.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Name of transfer configuration for which transfer runs should be retrieved. Format of transfer configuration resource name is: `projects/{project_id}/transferConfigs/{config_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.

  • $msg->states() / $msg->states($value)

    Type: Enum (Google::Cloud::Bigquery::Datatransfer::V1::TransferState)

    When specified, only transfer runs with requested states are returned.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Pagination token, which can be used to request a specific page of `ListTransferRunsRequest` list results. For multiple-page results, `ListTransferRunsResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Page size. The default page size is the maximum value of 1000 results.

  • $msg->run_attempt() / $msg->run_attempt($value)

    Type: Enum (Google::Cloud::Bigquery::Datatransfer::V1::ListTransferRunsRequest::RunAttempt)

    Indicates how run attempts are to be pulled.

Enum: ListTransferRunsRequest::RunAttempt

  • RUN_ATTEMPT_UNSPECIFIED => 0

  • LATEST => 1

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::ListTransferRunsResponse

The returned list of pipelines in the project.

Inherits from Protobuf::Message.

Accessors

  • $msg->transfer_runs() / $msg->transfer_runs($value)

    Type: Message (Google::Cloud::Bigquery::Datatransfer::V1::Transfer::TransferRun)

    Output only. The stored pipeline transfer runs.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Output only. The next-pagination token. For multiple-page list results, this token can be used as the `ListTransferRunsRequest.page_token` to request the next page of list results.

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::ListTransferLogsRequest

A request to get user facing log messages associated with data transfer run.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Transfer run name in the form: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Pagination token, which can be used to request a specific page of `ListTransferLogsRequest` list results. For multiple-page results, `ListTransferLogsResponse` outputs a `next_page` token, which can be used as the `page_token` value to request the next page of list results.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Page size. The default page size is the maximum value of 1000 results.

  • $msg->message_types() / $msg->message_types($value)

    Type: Enum (Google::Cloud::Bigquery::Datatransfer::V1::TransferMessage::MessageSeverity)

    Message types to return. If not populated - INFO, WARNING and ERROR messages are returned.

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::ListTransferLogsResponse

The returned list transfer run messages.

Inherits from Protobuf::Message.

Accessors

  • $msg->transfer_messages() / $msg->transfer_messages($value)

    Type: Message (Google::Cloud::Bigquery::Datatransfer::V1::Transfer::TransferMessage)

    Output only. The stored pipeline transfer messages.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    Output only. The next-pagination token. For multiple-page list results, this token can be used as the `GetTransferRunLogRequest.page_token` to request the next page of list results.

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::CheckValidCredsRequest

A request to determine whether the user has valid credentials. This method is used to limit the number of OAuth popups in the user interface. The user id is inferred from the API call context. If the data source has the Google+ authorization type, this method returns false, as it cannot be determined whether the credentials are already valid merely based on the user id.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The data source in the form: `projects/{project_id}/dataSources/{data_source_id}` or `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::CheckValidCredsResponse

A response indicating whether the credentials exist and are valid.

Inherits from Protobuf::Message.

Accessors

  • $msg->has_valid_creds() / $msg->has_valid_creds($value)

    Type: Bool

    If set to `true`, the credentials exist and are valid.

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::ScheduleTransferRunsRequest

A request to schedule transfer runs for a time range.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Transfer configuration name in the form: `projects/{project_id}/transferConfigs/{config_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.

  • $msg->start_time() / $msg->start_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Required. Start time of the range of transfer runs. For example, `"2017-05-25T00:00:00+00:00"`.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Required. End time of the range of transfer runs. For example, `"2017-05-30T00:00:00+00:00"`.

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::ScheduleTransferRunsResponse

A response to schedule transfer runs for a time range.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::StartManualTransferRunsRequest

A request to start manual transfer runs.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Transfer configuration name in the form: `projects/{project_id}/transferConfigs/{config_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.

  • $msg->requested_time_range() / $msg->requested_time_range($value)

    Type: Message (Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::StartManualTransferRunsRequest::TimeRange)

    A time_range start and end timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_time_range must be a past time and cannot include future time values.

  • $msg->requested_run_time() / $msg->requested_run_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    A run_time timestamp for historical data files or reports that are scheduled to be transferred by the scheduled transfer run. requested_run_time must be a past time and cannot include future time values.

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::StartManualTransferRunsResponse

A response to start manual transfer runs.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::EnrollDataSourcesRequest

A request to enroll a set of data sources so they are visible in the BigQuery UI's `Transfer` tab.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the project resource in the form: `projects/{project_id}`

  • $msg->data_source_ids() / $msg->data_source_ids($value)

    Type: String

    Data sources that are enrolled. It is required to provide at least one data source id.

Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::UnenrollDataSourcesRequest

A request to unenroll a set of data sources so they are no longer visible in the BigQuery UI's `Transfer` tab.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the project resource in the form: `projects/{project_id}`

  • $msg->data_source_ids() / $msg->data_source_ids($value)

    Type: String

    Data sources that are unenrolled. It is required to provide at least one data source id.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Datatransfer::V1::Datatransfer::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.