@@ -492,6 +492,11 @@ class CreateTransferConfigRequest(proto.Message):
492492 Required. Data transfer configuration to
493493 create.
494494 authorization_code (str):
495+ Deprecated: Authorization code was required when
496+ ``transferConfig.dataSourceId`` is 'youtube_channel' but it
497+ is no longer used in any data sources. Use ``version_info``
498+ instead.
499+
495500 Optional OAuth2 authorization code to use with this transfer
496501 configuration. This is required only if
497502 ``transferConfig.dataSourceId`` is 'youtube_channel' and new
@@ -505,7 +510,7 @@ class CreateTransferConfigRequest(proto.Message):
505510 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>
506511 </pre>
507512
508- - The client_id is the OAuth client_id of the a data source
513+ - The client_id is the OAuth client_id of the data source
509514 as returned by ListDataSources method.
510515 - data_source_scopes are the scopes returned by
511516 ListDataSources method.
@@ -514,8 +519,10 @@ class CreateTransferConfigRequest(proto.Message):
514519 ``service_account_name`` is used to create the transfer
515520 config.
516521 version_info (str):
517- Optional version info. This is required only if
518- ``transferConfig.dataSourceId`` is not 'youtube_channel' and
522+ Optional version info. This parameter replaces
523+ ``authorization_code`` which is no longer used in any data
524+ sources. This is required only if
525+ ``transferConfig.dataSourceId`` is 'youtube_channel' *or*
519526 new credentials are needed, as indicated by
520527 ``CheckValidCreds``. In order to obtain version info, make a
521528 request to the following URL:
@@ -526,7 +533,7 @@ class CreateTransferConfigRequest(proto.Message):
526533 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>
527534 </pre>
528535
529- - The client_id is the OAuth client_id of the a data source
536+ - The client_id is the OAuth client_id of the data source
530537 as returned by ListDataSources method.
531538 - data_source_scopes are the scopes returned by
532539 ListDataSources method.
@@ -579,6 +586,11 @@ class UpdateTransferConfigRequest(proto.Message):
579586 Required. Data transfer configuration to
580587 create.
581588 authorization_code (str):
589+ Deprecated: Authorization code was required when
590+ ``transferConfig.dataSourceId`` is 'youtube_channel' but it
591+ is no longer used in any data sources. Use ``version_info``
592+ instead.
593+
582594 Optional OAuth2 authorization code to use with this transfer
583595 configuration. This is required only if
584596 ``transferConfig.dataSourceId`` is 'youtube_channel' and new
@@ -592,7 +604,7 @@ class UpdateTransferConfigRequest(proto.Message):
592604 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>
593605 </pre>
594606
595- - The client_id is the OAuth client_id of the a data source
607+ - The client_id is the OAuth client_id of the data source
596608 as returned by ListDataSources method.
597609 - data_source_scopes are the scopes returned by
598610 ListDataSources method.
@@ -604,8 +616,10 @@ class UpdateTransferConfigRequest(proto.Message):
604616 Required. Required list of fields to be
605617 updated in this request.
606618 version_info (str):
607- Optional version info. This is required only if
608- ``transferConfig.dataSourceId`` is not 'youtube_channel' and
619+ Optional version info. This parameter replaces
620+ ``authorization_code`` which is no longer used in any data
621+ sources. This is required only if
622+ ``transferConfig.dataSourceId`` is 'youtube_channel' *or*
609623 new credentials are needed, as indicated by
610624 ``CheckValidCreds``. In order to obtain version info, make a
611625 request to the following URL:
@@ -616,7 +630,7 @@ class UpdateTransferConfigRequest(proto.Message):
616630 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>
617631 </pre>
618632
619- - The client_id is the OAuth client_id of the a data source
633+ - The client_id is the OAuth client_id of the data source
620634 as returned by ListDataSources method.
621635 - data_source_scopes are the scopes returned by
622636 ListDataSources method.
0 commit comments