Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
🦉 Updates from OwlBot
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Aug 18, 2021
1 parent b3cb381 commit ec2cca9
Show file tree
Hide file tree
Showing 40 changed files with 40 additions and 13,147 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -724,8 +724,8 @@ async def list_transfer_configs(
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> pagers.ListTransferConfigsAsyncPager:
r"""Returns information about all data transfers in the
project.
r"""Returns information about all transfer configs owned
by a project in the specified location.
Args:
request (:class:`google.cloud.bigquery_datatransfer_v1.types.ListTransferConfigsRequest`):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -897,8 +897,8 @@ def list_transfer_configs(
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> pagers.ListTransferConfigsPager:
r"""Returns information about all data transfers in the
project.
r"""Returns information about all transfer configs owned
by a project in the specified location.
Args:
request (google.cloud.bigquery_datatransfer_v1.types.ListTransferConfigsRequest):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ def list_transfer_configs(
]:
r"""Return a callable for the list transfer configs method over gRPC.
Returns information about all data transfers in the
project.
Returns information about all transfer configs owned
by a project in the specified location.
Returns:
Callable[[~.ListTransferConfigsRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ def list_transfer_configs(
]:
r"""Return a callable for the list transfer configs method over gRPC.
Returns information about all data transfers in the
project.
Returns information about all transfer configs owned
by a project in the specified location.
Returns:
Callable[[~.ListTransferConfigsRequest],
Expand Down
7 changes: 4 additions & 3 deletions google/cloud/bigquery_datatransfer_v1/types/datatransfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,13 +731,14 @@ class TimeRange(proto.Message):
Start time of the range of transfer runs. For example,
``"2017-05-25T00:00:00+00:00"``. The start_time must be
strictly less than the end_time. Creates transfer runs where
run_time is in the range betwen start_time (inclusive) and
end_time (exlusive).
run_time is in the range between start_time (inclusive) and
end_time (exclusive).
end_time (google.protobuf.timestamp_pb2.Timestamp):
End time of the range of transfer runs. For example,
``"2017-05-30T00:00:00+00:00"``. The end_time must not be in
the future. Creates transfer runs where run_time is in the
range betwen start_time (inclusive) and end_time (exlusive).
range between start_time (inclusive) and end_time
(exclusive).
"""

start_time = proto.Field(
Expand Down
43 changes: 28 additions & 15 deletions google/cloud/bigquery_datatransfer_v1/types/transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,11 @@ class TransferConfig(proto.Message):
Attributes:
name (str):
The resource name of the transfer config. Transfer config
names have the form of
names have the form
``projects/{project_id}/locations/{region}/transferConfigs/{config_id}``.
The name is automatically generated based on the config_id
specified in CreateTransferConfigRequest along with
project_id and region. If config_id is not provided, usually
a uuid, even though it is not guaranteed or required, will
be generated for 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.
destination_dataset_id (str):
The BigQuery target dataset id.
display_name (str):
Expand All @@ -124,7 +122,13 @@ class TransferConfig(proto.Message):
Data source id. Cannot be changed once data
transfer is created.
params (google.protobuf.struct_pb2.Struct):
Data transfer specific parameters.
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
schedule (str):
Data transfer schedule. If the data source does not support
a custom schedule, this should be empty. If it is empty, the
Expand Down Expand Up @@ -166,9 +170,11 @@ class TransferConfig(proto.Message):
Output only. Region in which BigQuery dataset
is located.
notification_pubsub_topic (str):
Pub/Sub topic where notifications will be
sent after transfer runs associated with this
transfer config finish.
Pub/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}/topics/{topic}``
email_preferences (google.cloud.bigquery_datatransfer_v1.types.EmailPreferences):
Email notifications will be sent according to
these preferences to the email address of the
Expand Down Expand Up @@ -224,8 +230,13 @@ class TransferRun(proto.Message):
Output only. Last time the data transfer run
state was updated.
params (google.protobuf.struct_pb2.Struct):
Output only. Data transfer specific
parameters.
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
destination_dataset_id (str):
Output only. The BigQuery target dataset id.
data_source_id (str):
Expand All @@ -244,9 +255,11 @@ class TransferRun(proto.Message):
depending on the current load, so ``schedule_time`` doesn't
always match this.
notification_pubsub_topic (str):
Output only. Pub/Sub topic where a
notification will be sent after this transfer
run finishes
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}/topics/{topic}``
email_preferences (google.cloud.bigquery_datatransfer_v1.types.EmailPreferences):
Output only. Email notifications will be sent
according to these preferences to the email
Expand Down
17 changes: 0 additions & 17 deletions owl-bot-staging/v1/.coveragerc

This file was deleted.

2 changes: 0 additions & 2 deletions owl-bot-staging/v1/MANIFEST.in

This file was deleted.

49 changes: 0 additions & 49 deletions owl-bot-staging/v1/README.rst

This file was deleted.

This file was deleted.

6 changes: 0 additions & 6 deletions owl-bot-staging/v1/docs/bigquery_datatransfer_v1/services.rst

This file was deleted.

7 changes: 0 additions & 7 deletions owl-bot-staging/v1/docs/bigquery_datatransfer_v1/types.rst

This file was deleted.

Loading

0 comments on commit ec2cca9

Please sign in to comment.