[][src]Struct gcp_client::google::cloud::bigquery::datatransfer::v1::UpdateTransferConfigRequest

pub struct UpdateTransferConfigRequest {
    pub transfer_config: Option<TransferConfig>,
    pub authorization_code: String,
    pub update_mask: Option<FieldMask>,
    pub version_info: String,
    pub service_account_name: String,
}

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

Fields

transfer_config: Option<TransferConfig>

Required. Data transfer configuration to create.

authorization_code: String

Optional OAuth2 authorization code to use with this transfer configuration. If it is provided, the transfer configuration will be associated with the authorizing user. In order to obtain authorization_code, please make a request to https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=&scope=<data_source_scopes>&redirect_uri=<redirect_uri>

  • client_id should be OAuth client_id of BigQuery DTS API for the given data source returned by ListDataSources method.
  • data_source_scopes are the scopes returned by ListDataSources method.
  • redirect_uri is an optional parameter. If not specified, then authorization code is posted to the opener of authorization flow window. Otherwise it will be sent to the redirect uri. A special value of urn:ietf:wg:oauth:2.0:oob means that authorization code should be returned in the title bar of the browser, with the page text prompting the user to copy the code and paste it in the application.
update_mask: Option<FieldMask>

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

version_info: String

Optional version info. If users want to find a very recent access token, that is, immediately after approving access, users have to set the version_info claim in the token request. To obtain the version_info, users must use the "none+gsession" response type. which be return a version_info back in the authorization response which be be put in a JWT claim in the token request.

service_account_name: String

Optional service account name. If this field is set and "service_account_name" is set in update_mask, transfer config will be updated to use this service account credentials. It requires that requesting user calling this API has permissions to act as this service account.

Trait Implementations

impl Clone for UpdateTransferConfigRequest[src]

impl Debug for UpdateTransferConfigRequest[src]

impl Default for UpdateTransferConfigRequest[src]

impl Message for UpdateTransferConfigRequest[src]

impl PartialEq<UpdateTransferConfigRequest> for UpdateTransferConfigRequest[src]

impl StructuralPartialEq for UpdateTransferConfigRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]