BigQuery Data Transfer Service V1 API - Class Google::Cloud::Bigquery::DataTransfer::V1::TransferRun (v1.2.0)

Reference documentation and code samples for the BigQuery Data Transfer Service V1 API class Google::Cloud::Bigquery::DataTransfer::V1::TransferRun.

Represents a data transfer run.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data_source_id

def data_source_id() -> ::String
Returns
  • (::String) — Output only. Data source id.

#destination_dataset_id

def destination_dataset_id() -> ::String
Returns
  • (::String) — Output only. The BigQuery target dataset id.

#email_preferences

def email_preferences() -> ::Google::Cloud::Bigquery::DataTransfer::V1::EmailPreferences
Returns

#end_time

def end_time() -> ::Google::Protobuf::Timestamp
Returns

#error_status

def error_status() -> ::Google::Rpc::Status
Returns

#error_status=

def error_status=(value) -> ::Google::Rpc::Status
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Identifier. 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.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. 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.
Returns
  • (::String) — Identifier. 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.

#notification_pubsub_topic

def notification_pubsub_topic() -> ::String
Returns
  • (::String) — Output 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}

#params

def params() -> ::Google::Protobuf::Struct
Returns
  • (::Google::Protobuf::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

#run_time

def run_time() -> ::Google::Protobuf::Timestamp
Returns

#run_time=

def run_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#schedule

def schedule() -> ::String
Returns
  • (::String) — Output 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.

#schedule_time

def schedule_time() -> ::Google::Protobuf::Timestamp
Returns

#schedule_time=

def schedule_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#start_time

def start_time() -> ::Google::Protobuf::Timestamp
Returns

#state

def state() -> ::Google::Cloud::Bigquery::DataTransfer::V1::TransferState
Returns

#state=

def state=(value) -> ::Google::Cloud::Bigquery::DataTransfer::V1::TransferState
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#user_id

def user_id() -> ::Integer
Returns
  • (::Integer) — Deprecated. Unique ID of the user on whose behalf transfer is done.

#user_id=

def user_id=(value) -> ::Integer
Parameter
  • value (::Integer) — Deprecated. Unique ID of the user on whose behalf transfer is done.
Returns
  • (::Integer) — Deprecated. Unique ID of the user on whose behalf transfer is done.