Show / Hide Table of Contents

Class TeamdrivesResource.UpdateRequest

Deprecated use drives.update instead.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<TeamDrive>
DriveBaseServiceRequest<TeamDrive>
TeamdrivesResource.UpdateRequest
Implements
Google.Apis.Requests.IClientServiceRequest<TeamDrive>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<TeamDrive>.Alt
DriveBaseServiceRequest<TeamDrive>.Fields
DriveBaseServiceRequest<TeamDrive>.Key
DriveBaseServiceRequest<TeamDrive>.OauthToken
DriveBaseServiceRequest<TeamDrive>.PrettyPrint
DriveBaseServiceRequest<TeamDrive>.QuotaUser
DriveBaseServiceRequest<TeamDrive>.UserIp
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 UpdateRequest : DriveBaseServiceRequest<TeamDrive>, IClientServiceRequest<TeamDrive>, IClientServiceRequest

Constructors

UpdateRequest(IClientService, TeamDrive, String)

Constructs a new Update request.

Declaration
public UpdateRequest(IClientService service, TeamDrive body, string teamDriveId)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
TeamDrive body
System.String teamDriveId

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

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

TeamDriveId

The ID of the Team Drive

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

UseDomainAdminAccess

Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the Team Drive belongs.

Declaration
[RequestParameter("useDomainAdminAccess", RequestParameterType.Query)]
public virtual bool? UseDomainAdminAccess { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

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 Update 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
In This Article
Back to top