Class TeamdrivesResource.InsertRequest
Deprecated use drives.insert instead.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<TeamDrive>
TeamdrivesResource.InsertRequest
Implements
Google.Apis.Requests.IClientServiceRequest<TeamDrive>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.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.Drive.v2
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class InsertRequest : DriveBaseServiceRequest<TeamDrive>, IClientServiceRequest<TeamDrive>, IClientServiceRequest
Constructors
InsertRequest(IClientService, TeamDrive, String)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, TeamDrive body, string requestId)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
TeamDrive | body | |
System.String | requestId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.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.Drive.v2.Data.TeamDrive>.MethodName
RequestId
An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated request by the same user and with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team Drive already exists a 409 error will be returned.
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { 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.Drive.v2.Data.TeamDrive>.RestPath
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.Drive.v2.Data.TeamDrive>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Drive.v2.DriveBaseServiceRequest<Google.Apis.Drive.v2.Data.TeamDrive>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest