google-api-dotnet-client / Src /Generated /Google.Apis.Admin.DataTransfer.datatransfer_v1 /Google.Apis.Admin.DataTransfer.datatransfer_v1.cs
| // Copyright 2025 Google LLC | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // https://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software | |
| // distributed under the License is distributed on an "AS IS" BASIS, | |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| // See the License for the specific language governing permissions and | |
| // limitations under the License. | |
| // Generated code. DO NOT EDIT! | |
| namespace Google.Apis.Admin.DataTransfer.datatransfer_v1 | |
| { | |
| /// <summary>The DataTransfer Service.</summary> | |
| public class DataTransferService : Google.Apis.Services.BaseClientService | |
| { | |
| /// <summary>The API version.</summary> | |
| public const string Version = "datatransfer_v1"; | |
| /// <summary>The discovery version used to generate this service.</summary> | |
| public static Google.Apis.Discovery.DiscoveryVersion DiscoveryVersionUsed = Google.Apis.Discovery.DiscoveryVersion.Version_1_0; | |
| /// <summary>Constructs a new service.</summary> | |
| public DataTransferService() : this(new Google.Apis.Services.BaseClientService.Initializer()) | |
| { | |
| } | |
| /// <summary>Constructs a new service.</summary> | |
| /// <param name="initializer">The service initializer.</param> | |
| public DataTransferService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) | |
| { | |
| Applications = new ApplicationsResource(this); | |
| Transfers = new TransfersResource(this); | |
| BaseUri = GetEffectiveUri(BaseUriOverride, "https://admin.googleapis.com/"); | |
| BatchUri = GetEffectiveUri(null, "https://admin.googleapis.com/batch"); | |
| } | |
| /// <summary>Gets the service supported features.</summary> | |
| public override System.Collections.Generic.IList<string> Features => new string[0]; | |
| /// <summary>Gets the service name.</summary> | |
| public override string Name => "admin"; | |
| /// <summary>Gets the service base URI.</summary> | |
| public override string BaseUri { get; } | |
| /// <summary>Gets the service base path.</summary> | |
| public override string BasePath => ""; | |
| /// <summary>Gets the batch base URI; <c>null</c> if unspecified.</summary> | |
| public override string BatchUri { get; } | |
| /// <summary>Gets the batch base path; <c>null</c> if unspecified.</summary> | |
| public override string BatchPath => "batch"; | |
| /// <summary>Available OAuth 2.0 scopes for use with the Admin SDK API.</summary> | |
| public class Scope | |
| { | |
| /// <summary>View and manage data transfers between users in your organization</summary> | |
| public static string AdminDatatransfer = "https://www.googleapis.com/auth/admin.datatransfer"; | |
| /// <summary>View data transfers between users in your organization</summary> | |
| public static string AdminDatatransferReadonly = "https://www.googleapis.com/auth/admin.datatransfer.readonly"; | |
| } | |
| /// <summary>Available OAuth 2.0 scope constants for use with the Admin SDK API.</summary> | |
| public static class ScopeConstants | |
| { | |
| /// <summary>View and manage data transfers between users in your organization</summary> | |
| public const string AdminDatatransfer = "https://www.googleapis.com/auth/admin.datatransfer"; | |
| /// <summary>View data transfers between users in your organization</summary> | |
| public const string AdminDatatransferReadonly = "https://www.googleapis.com/auth/admin.datatransfer.readonly"; | |
| } | |
| /// <summary>Gets the Applications resource.</summary> | |
| public virtual ApplicationsResource Applications { get; } | |
| /// <summary>Gets the Transfers resource.</summary> | |
| public virtual TransfersResource Transfers { get; } | |
| } | |
| /// <summary>A base abstract class for DataTransfer requests.</summary> | |
| public abstract class DataTransferBaseServiceRequest<TResponse> : Google.Apis.Requests.ClientServiceRequest<TResponse> | |
| { | |
| /// <summary>Constructs a new DataTransferBaseServiceRequest instance.</summary> | |
| protected DataTransferBaseServiceRequest(Google.Apis.Services.IClientService service) : base(service) | |
| { | |
| } | |
| /// <summary>V1 error format.</summary> | |
| [] | |
| public virtual System.Nullable<XgafvEnum> Xgafv { get; set; } | |
| /// <summary>V1 error format.</summary> | |
| public enum XgafvEnum | |
| { | |
| /// <summary>v1 error format</summary> | |
| [] | |
| Value1 = 0, | |
| /// <summary>v2 error format</summary> | |
| [] | |
| Value2 = 1, | |
| } | |
| /// <summary>OAuth access token.</summary> | |
| [] | |
| public virtual string AccessToken { get; set; } | |
| /// <summary>Data format for response.</summary> | |
| [] | |
| public virtual System.Nullable<AltEnum> Alt { get; set; } | |
| /// <summary>Data format for response.</summary> | |
| public enum AltEnum | |
| { | |
| /// <summary>Responses with Content-Type of application/json</summary> | |
| [] | |
| Json = 0, | |
| /// <summary>Media download with context-dependent Content-Type</summary> | |
| [] | |
| Media = 1, | |
| /// <summary>Responses with Content-Type of application/x-protobuf</summary> | |
| [] | |
| Proto = 2, | |
| } | |
| /// <summary>JSONP</summary> | |
| [] | |
| public virtual string Callback { get; set; } | |
| /// <summary>Selector specifying which fields to include in a partial response.</summary> | |
| [] | |
| public virtual string Fields { get; set; } | |
| /// <summary> | |
| /// API key. Your API key identifies your project and provides you with API access, quota, and reports. Required | |
| /// unless you provide an OAuth 2.0 token. | |
| /// </summary> | |
| [] | |
| public virtual string Key { get; set; } | |
| /// <summary>OAuth 2.0 token for the current user.</summary> | |
| [] | |
| public virtual string OauthToken { get; set; } | |
| /// <summary>Returns response with indentations and line breaks.</summary> | |
| [] | |
| public virtual System.Nullable<bool> PrettyPrint { get; set; } | |
| /// <summary> | |
| /// Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a | |
| /// user, but should not exceed 40 characters. | |
| /// </summary> | |
| [] | |
| public virtual string QuotaUser { get; set; } | |
| /// <summary>Legacy upload protocol for media (e.g. "media", "multipart").</summary> | |
| [] | |
| public virtual string UploadType { get; set; } | |
| /// <summary>Upload protocol for media (e.g. "raw", "multipart").</summary> | |
| [] | |
| public virtual string UploadProtocol { get; set; } | |
| /// <summary>Initializes DataTransfer parameter list.</summary> | |
| protected override void InitParameters() | |
| { | |
| base.InitParameters(); | |
| RequestParameters.Add("$.xgafv", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "$.xgafv", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("access_token", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "access_token", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("alt", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "alt", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = "json", | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("callback", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "callback", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("fields", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "fields", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("key", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "key", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("oauth_token", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "oauth_token", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("prettyPrint", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "prettyPrint", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = "true", | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("quotaUser", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "quotaUser", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("uploadType", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "uploadType", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("upload_protocol", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "upload_protocol", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| } | |
| } | |
| /// <summary>The "applications" collection of methods.</summary> | |
| public class ApplicationsResource | |
| { | |
| private const string Resource = "applications"; | |
| /// <summary>The service which this resource belongs to.</summary> | |
| private readonly Google.Apis.Services.IClientService service; | |
| /// <summary>Constructs a new resource.</summary> | |
| public ApplicationsResource(Google.Apis.Services.IClientService service) | |
| { | |
| this.service = service; | |
| } | |
| /// <summary>Retrieves information about an application for the given application ID.</summary> | |
| /// <param name="applicationId">ID of the application resource to be retrieved.</param> | |
| public virtual GetRequest Get(long applicationId) | |
| { | |
| return new GetRequest(this.service, applicationId); | |
| } | |
| /// <summary>Retrieves information about an application for the given application ID.</summary> | |
| public class GetRequest : DataTransferBaseServiceRequest<Google.Apis.Admin.DataTransfer.datatransfer_v1.Data.Application> | |
| { | |
| /// <summary>Constructs a new Get request.</summary> | |
| public GetRequest(Google.Apis.Services.IClientService service, long applicationId) : base(service) | |
| { | |
| ApplicationId = applicationId; | |
| InitParameters(); | |
| } | |
| /// <summary>ID of the application resource to be retrieved.</summary> | |
| [] | |
| public virtual long ApplicationId { get; private set; } | |
| /// <summary>Gets the method name.</summary> | |
| public override string MethodName => "get"; | |
| /// <summary>Gets the HTTP method.</summary> | |
| public override string HttpMethod => "GET"; | |
| /// <summary>Gets the REST path.</summary> | |
| public override string RestPath => "admin/datatransfer/v1/applications/{applicationId}"; | |
| /// <summary>Initializes Get parameter list.</summary> | |
| protected override void InitParameters() | |
| { | |
| base.InitParameters(); | |
| RequestParameters.Add("applicationId", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "applicationId", | |
| IsRequired = true, | |
| ParameterType = "path", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| } | |
| } | |
| /// <summary>Lists the applications available for data transfer for a customer.</summary> | |
| public virtual ListRequest List() | |
| { | |
| return new ListRequest(this.service); | |
| } | |
| /// <summary>Lists the applications available for data transfer for a customer.</summary> | |
| public class ListRequest : DataTransferBaseServiceRequest<Google.Apis.Admin.DataTransfer.datatransfer_v1.Data.ApplicationsListResponse> | |
| { | |
| /// <summary>Constructs a new List request.</summary> | |
| public ListRequest(Google.Apis.Services.IClientService service) : base(service) | |
| { | |
| InitParameters(); | |
| } | |
| /// <summary>Immutable ID of the Google Workspace account.</summary> | |
| [] | |
| public virtual string CustomerId { get; set; } | |
| /// <summary>Maximum number of results to return. Default is 100.</summary> | |
| [] | |
| public virtual System.Nullable<int> MaxResults { get; set; } | |
| /// <summary>Token to specify next page in the list.</summary> | |
| [] | |
| public virtual string PageToken { get; set; } | |
| /// <summary>Gets the method name.</summary> | |
| public override string MethodName => "list"; | |
| /// <summary>Gets the HTTP method.</summary> | |
| public override string HttpMethod => "GET"; | |
| /// <summary>Gets the REST path.</summary> | |
| public override string RestPath => "admin/datatransfer/v1/applications"; | |
| /// <summary>Initializes List parameter list.</summary> | |
| protected override void InitParameters() | |
| { | |
| base.InitParameters(); | |
| RequestParameters.Add("customerId", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "customerId", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "maxResults", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "pageToken", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| } | |
| } | |
| } | |
| /// <summary>The "transfers" collection of methods.</summary> | |
| public class TransfersResource | |
| { | |
| private const string Resource = "transfers"; | |
| /// <summary>The service which this resource belongs to.</summary> | |
| private readonly Google.Apis.Services.IClientService service; | |
| /// <summary>Constructs a new resource.</summary> | |
| public TransfersResource(Google.Apis.Services.IClientService service) | |
| { | |
| this.service = service; | |
| } | |
| /// <summary>Retrieves a data transfer request by its resource ID.</summary> | |
| /// <param name="dataTransferId"> | |
| /// ID of the resource to be retrieved. This is returned in the response from the insert method. | |
| /// </param> | |
| public virtual GetRequest Get(string dataTransferId) | |
| { | |
| return new GetRequest(this.service, dataTransferId); | |
| } | |
| /// <summary>Retrieves a data transfer request by its resource ID.</summary> | |
| public class GetRequest : DataTransferBaseServiceRequest<Google.Apis.Admin.DataTransfer.datatransfer_v1.Data.DataTransfer> | |
| { | |
| /// <summary>Constructs a new Get request.</summary> | |
| public GetRequest(Google.Apis.Services.IClientService service, string dataTransferId) : base(service) | |
| { | |
| DataTransferId = dataTransferId; | |
| InitParameters(); | |
| } | |
| /// <summary> | |
| /// ID of the resource to be retrieved. This is returned in the response from the insert method. | |
| /// </summary> | |
| [] | |
| public virtual string DataTransferId { get; private set; } | |
| /// <summary>Gets the method name.</summary> | |
| public override string MethodName => "get"; | |
| /// <summary>Gets the HTTP method.</summary> | |
| public override string HttpMethod => "GET"; | |
| /// <summary>Gets the REST path.</summary> | |
| public override string RestPath => "admin/datatransfer/v1/transfers/{dataTransferId}"; | |
| /// <summary>Initializes Get parameter list.</summary> | |
| protected override void InitParameters() | |
| { | |
| base.InitParameters(); | |
| RequestParameters.Add("dataTransferId", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "dataTransferId", | |
| IsRequired = true, | |
| ParameterType = "path", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| } | |
| } | |
| /// <summary> | |
| /// Inserts a data transfer request. See the [Transfer | |
| /// parameters](https://developers.google.com/workspace/admin/data-transfer/v1/parameters) reference for | |
| /// specific application requirements. | |
| /// </summary> | |
| /// <param name="body">The body of the request.</param> | |
| public virtual InsertRequest Insert(Google.Apis.Admin.DataTransfer.datatransfer_v1.Data.DataTransfer body) | |
| { | |
| return new InsertRequest(this.service, body); | |
| } | |
| /// <summary> | |
| /// Inserts a data transfer request. See the [Transfer | |
| /// parameters](https://developers.google.com/workspace/admin/data-transfer/v1/parameters) reference for | |
| /// specific application requirements. | |
| /// </summary> | |
| public class InsertRequest : DataTransferBaseServiceRequest<Google.Apis.Admin.DataTransfer.datatransfer_v1.Data.DataTransfer> | |
| { | |
| /// <summary>Constructs a new Insert request.</summary> | |
| public InsertRequest(Google.Apis.Services.IClientService service, Google.Apis.Admin.DataTransfer.datatransfer_v1.Data.DataTransfer body) : base(service) | |
| { | |
| Body = body; | |
| InitParameters(); | |
| } | |
| /// <summary>Gets or sets the body of this request.</summary> | |
| Google.Apis.Admin.DataTransfer.datatransfer_v1.Data.DataTransfer Body { get; set; } | |
| /// <summary>Returns the body of the request.</summary> | |
| protected override object GetBody() => Body; | |
| /// <summary>Gets the method name.</summary> | |
| public override string MethodName => "insert"; | |
| /// <summary>Gets the HTTP method.</summary> | |
| public override string HttpMethod => "POST"; | |
| /// <summary>Gets the REST path.</summary> | |
| public override string RestPath => "admin/datatransfer/v1/transfers"; | |
| /// <summary>Initializes Insert parameter list.</summary> | |
| protected override void InitParameters() | |
| { | |
| base.InitParameters(); | |
| } | |
| } | |
| /// <summary>Lists the transfers for a customer by source user, destination user, or status.</summary> | |
| public virtual ListRequest List() | |
| { | |
| return new ListRequest(this.service); | |
| } | |
| /// <summary>Lists the transfers for a customer by source user, destination user, or status.</summary> | |
| public class ListRequest : DataTransferBaseServiceRequest<Google.Apis.Admin.DataTransfer.datatransfer_v1.Data.DataTransfersListResponse> | |
| { | |
| /// <summary>Constructs a new List request.</summary> | |
| public ListRequest(Google.Apis.Services.IClientService service) : base(service) | |
| { | |
| InitParameters(); | |
| } | |
| /// <summary>Immutable ID of the Google Workspace account.</summary> | |
| [] | |
| public virtual string CustomerId { get; set; } | |
| /// <summary>Maximum number of results to return. Default is 100.</summary> | |
| [] | |
| public virtual System.Nullable<int> MaxResults { get; set; } | |
| /// <summary>Destination user's profile ID.</summary> | |
| [] | |
| public virtual string NewOwnerUserId { get; set; } | |
| /// <summary>Source user's profile ID.</summary> | |
| [] | |
| public virtual string OldOwnerUserId { get; set; } | |
| /// <summary>Token to specify the next page in the list.</summary> | |
| [] | |
| public virtual string PageToken { get; set; } | |
| /// <summary>Status of the transfer.</summary> | |
| [] | |
| public virtual string Status { get; set; } | |
| /// <summary>Gets the method name.</summary> | |
| public override string MethodName => "list"; | |
| /// <summary>Gets the HTTP method.</summary> | |
| public override string HttpMethod => "GET"; | |
| /// <summary>Gets the REST path.</summary> | |
| public override string RestPath => "admin/datatransfer/v1/transfers"; | |
| /// <summary>Initializes List parameter list.</summary> | |
| protected override void InitParameters() | |
| { | |
| base.InitParameters(); | |
| RequestParameters.Add("customerId", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "customerId", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "maxResults", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("newOwnerUserId", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "newOwnerUserId", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("oldOwnerUserId", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "oldOwnerUserId", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "pageToken", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| RequestParameters.Add("status", new Google.Apis.Discovery.Parameter | |
| { | |
| Name = "status", | |
| IsRequired = false, | |
| ParameterType = "query", | |
| DefaultValue = null, | |
| Pattern = null, | |
| }); | |
| } | |
| } | |
| } | |
| } | |
| namespace Google.Apis.Admin.DataTransfer.datatransfer_v1.Data | |
| { | |
| /// <summary> | |
| /// Application resources represent applications installed on the domain that support transferring ownership of user | |
| /// data. | |
| /// </summary> | |
| public class Application : Google.Apis.Requests.IDirectResponseSchema | |
| { | |
| /// <summary>Etag of the resource.</summary> | |
| [] | |
| public virtual string ETag { get; set; } | |
| /// <summary> | |
| /// The application's ID. Retrievable by using the | |
| /// [`applications.list()`](https://developers.google.com/workspace/admin/data-transfer/reference/rest/v1/applications/list) | |
| /// method. | |
| /// </summary> | |
| [] | |
| public virtual System.Nullable<long> Id { get; set; } | |
| /// <summary>Identifies the resource as a DataTransfer Application Resource.</summary> | |
| [] | |
| public virtual string Kind { get; set; } | |
| /// <summary>The application's name.</summary> | |
| [] | |
| public virtual string Name { get; set; } | |
| /// <summary> | |
| /// The list of all possible transfer parameters for this application. These parameters select which categories | |
| /// of the user's data to transfer. | |
| /// </summary> | |
| [] | |
| public virtual System.Collections.Generic.IList<ApplicationTransferParam> TransferParams { get; set; } | |
| } | |
| /// <summary>Template to map fields of ApplicationDataTransfer resource.</summary> | |
| public class ApplicationDataTransfer : Google.Apis.Requests.IDirectResponseSchema | |
| { | |
| /// <summary>The application's ID.</summary> | |
| [] | |
| public virtual System.Nullable<long> ApplicationId { get; set; } | |
| /// <summary> | |
| /// The transfer parameters for the application. These parameters are used to select the data which will get | |
| /// transferred in context of this application. For more information about the specific values available for | |
| /// each application, see the [Transfer | |
| /// parameters](https://developers.google.com/workspace/admin/data-transfer/v1/parameters) reference. | |
| /// </summary> | |
| [] | |
| public virtual System.Collections.Generic.IList<ApplicationTransferParam> ApplicationTransferParams { get; set; } | |
| /// <summary>Read-only. Current status of transfer for this application.</summary> | |
| [] | |
| public virtual string ApplicationTransferStatus { get; set; } | |
| /// <summary>The ETag of the item.</summary> | |
| public virtual string ETag { get; set; } | |
| } | |
| /// <summary>Template for application transfer parameters.</summary> | |
| public class ApplicationTransferParam : Google.Apis.Requests.IDirectResponseSchema | |
| { | |
| /// <summary>The type of the transfer parameter, such as `PRIVACY_LEVEL`.</summary> | |
| [] | |
| public virtual string Key { get; set; } | |
| /// <summary>The value of the transfer parameter, such as `PRIVATE` or `SHARED`.</summary> | |
| [] | |
| public virtual System.Collections.Generic.IList<string> Value { get; set; } | |
| /// <summary>The ETag of the item.</summary> | |
| public virtual string ETag { get; set; } | |
| } | |
| /// <summary>Template for a collection of Applications.</summary> | |
| public class ApplicationsListResponse : Google.Apis.Requests.IDirectResponseSchema | |
| { | |
| /// <summary> | |
| /// The list of applications that support data transfer and are also installed for the customer. | |
| /// </summary> | |
| [] | |
| public virtual System.Collections.Generic.IList<Application> Applications { get; set; } | |
| /// <summary>ETag of the resource.</summary> | |
| [] | |
| public virtual string ETag { get; set; } | |
| /// <summary>Identifies the resource as a collection of Applications.</summary> | |
| [] | |
| public virtual string Kind { get; set; } | |
| /// <summary>Token to specify the next page in the list.</summary> | |
| [] | |
| public virtual string NextPageToken { get; set; } | |
| } | |
| /// <summary>A Transfer resource represents the transfer of the ownership of user data between users.</summary> | |
| public class DataTransfer : Google.Apis.Requests.IDirectResponseSchema | |
| { | |
| /// <summary> | |
| /// The list of per-application data transfer resources. It contains details of the applications associated with | |
| /// this transfer resource, and also specifies the applications for which data transfer has to be done at the | |
| /// time of the transfer resource creation. | |
| /// </summary> | |
| [] | |
| public virtual System.Collections.Generic.IList<ApplicationDataTransfer> ApplicationDataTransfers { get; set; } | |
| /// <summary>ETag of the resource.</summary> | |
| [] | |
| public virtual string ETag { get; set; } | |
| /// <summary>Read-only. The transfer's ID.</summary> | |
| [] | |
| public virtual string Id { get; set; } | |
| /// <summary>Identifies the resource as a DataTransfer request.</summary> | |
| [] | |
| public virtual string Kind { get; set; } | |
| /// <summary>ID of the user to whom the data is being transferred.</summary> | |
| [] | |
| public virtual string NewOwnerUserId { get; set; } | |
| /// <summary>ID of the user whose data is being transferred.</summary> | |
| [] | |
| public virtual string OldOwnerUserId { get; set; } | |
| /// <summary>Read-only. Overall transfer status.</summary> | |
| [] | |
| public virtual string OverallTransferStatusCode { get; set; } | |
| /// <summary>Read-only. The time at which the data transfer was requested.</summary> | |
| [] | |
| public virtual string RequestTimeRaw { get; set; } | |
| /// <summary><seealso cref="System.DateTimeOffset"/> representation of <see cref="RequestTimeRaw"/>.</summary> | |
| [] | |
| public virtual System.DateTimeOffset? RequestTimeDateTimeOffset | |
| { | |
| get => Google.Apis.Util.DiscoveryFormat.ParseDateTimeToDateTimeOffset(RequestTimeRaw); | |
| set => RequestTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToDateTime(value); | |
| } | |
| /// <summary><seealso cref="System.DateTime"/> representation of <see cref="RequestTimeRaw"/>.</summary> | |
| [] | |
| [] | |
| public virtual System.DateTime? RequestTime | |
| { | |
| get => Google.Apis.Util.Utilities.GetDateTimeFromString(RequestTimeRaw); | |
| set => RequestTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTime(value); | |
| } | |
| } | |
| /// <summary>Template for a collection of DataTransfer resources.</summary> | |
| public class DataTransfersListResponse : Google.Apis.Requests.IDirectResponseSchema | |
| { | |
| /// <summary>List of data transfer requests.</summary> | |
| [] | |
| public virtual System.Collections.Generic.IList<DataTransfer> DataTransfers { get; set; } | |
| /// <summary>ETag of the resource.</summary> | |
| [] | |
| public virtual string ETag { get; set; } | |
| /// <summary>Identifies the resource as a collection of data transfer requests.</summary> | |
| [] | |
| public virtual string Kind { get; set; } | |
| /// <summary>Token to specify the next page in the list.</summary> | |
| [] | |
| public virtual string NextPageToken { get; set; } | |
| } | |
| } | |