Show / Hide Table of Contents

Class ProjectsResource.TransferConfigsResource.PatchRequest

Updates a data transfer configuration. All fields must be set, even if they are not updated.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<TransferConfig>
BigQueryDataTransferBaseServiceRequest<TransferConfig>
ProjectsResource.TransferConfigsResource.PatchRequest
Implements
IClientServiceRequest<TransferConfig>
IClientServiceRequest
Inherited Members
BigQueryDataTransferBaseServiceRequest<TransferConfig>.Xgafv
BigQueryDataTransferBaseServiceRequest<TransferConfig>.AccessToken
BigQueryDataTransferBaseServiceRequest<TransferConfig>.Alt
BigQueryDataTransferBaseServiceRequest<TransferConfig>.Callback
BigQueryDataTransferBaseServiceRequest<TransferConfig>.Fields
BigQueryDataTransferBaseServiceRequest<TransferConfig>.Key
BigQueryDataTransferBaseServiceRequest<TransferConfig>.OauthToken
BigQueryDataTransferBaseServiceRequest<TransferConfig>.PrettyPrint
BigQueryDataTransferBaseServiceRequest<TransferConfig>.QuotaUser
BigQueryDataTransferBaseServiceRequest<TransferConfig>.UploadType
BigQueryDataTransferBaseServiceRequest<TransferConfig>.UploadProtocol
ClientServiceRequest<TransferConfig>.Execute()
ClientServiceRequest<TransferConfig>.ExecuteAsStream()
ClientServiceRequest<TransferConfig>.ExecuteAsync()
ClientServiceRequest<TransferConfig>.ExecuteAsync(CancellationToken)
ClientServiceRequest<TransferConfig>.ExecuteAsStreamAsync()
ClientServiceRequest<TransferConfig>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<TransferConfig>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<TransferConfig>.GenerateRequestUri()
ClientServiceRequest<TransferConfig>.GetDefaultETagAction(String)
ClientServiceRequest<TransferConfig>.ETagAction
ClientServiceRequest<TransferConfig>.ModifyRequest
ClientServiceRequest<TransferConfig>.ValidateParameters
ClientServiceRequest<TransferConfig>.RequestParameters
ClientServiceRequest<TransferConfig>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.BigQueryDataTransfer.v1
Assembly: Google.Apis.BigQueryDataTransfer.v1.dll
Syntax
public class PatchRequest : BigQueryDataTransferBaseServiceRequest<TransferConfig>, IClientServiceRequest<TransferConfig>, IClientServiceRequest

Constructors

PatchRequest(IClientService, TransferConfig, String)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, TransferConfig body, string name)
Parameters
Type Name Description
IClientService service
TransferConfig body
System.String name

Properties

AuthorizationCode

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=&amp;scope=&amp;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.
Declaration
[RequestParameter("authorizationCode", RequestParameterType.Query)]
public virtual string AuthorizationCode { get; set; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryDataTransfer.v1.Data.TransferConfig>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryDataTransfer.v1.Data.TransferConfig>.MethodName

Name

The resource name of the transfer config. Transfer config names have the form projects/{project_id}/locations/{region}/transferConfigs/{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.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryDataTransfer.v1.Data.TransferConfig>.RestPath

ServiceAccountName

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.

Declaration
[RequestParameter("serviceAccountName", RequestParameterType.Query)]
public virtual string ServiceAccountName { get; set; }
Property Value
Type Description
System.String

UpdateMask

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

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
System.Object

VersionInfo

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.

Declaration
[RequestParameter("versionInfo", RequestParameterType.Query)]
public virtual string VersionInfo { get; set; }
Property Value
Type Description
System.String

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryDataTransfer.v1.Data.TransferConfig>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.BigQueryDataTransfer.v1.BigQueryDataTransferBaseServiceRequest<Google.Apis.BigQueryDataTransfer.v1.Data.TransferConfig>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top