Show / Hide Table of Contents

Class TeamdrivesResource.UpdateRequest

Deprecated use drives.update instead.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<TeamDrive>
DriveBaseServiceRequest<TeamDrive>
TeamdrivesResource.UpdateRequest
Implements
IClientServiceRequest<TeamDrive>
IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<TeamDrive>.Alt
DriveBaseServiceRequest<TeamDrive>.Fields
DriveBaseServiceRequest<TeamDrive>.Key
DriveBaseServiceRequest<TeamDrive>.OauthToken
DriveBaseServiceRequest<TeamDrive>.PrettyPrint
DriveBaseServiceRequest<TeamDrive>.QuotaUser
DriveBaseServiceRequest<TeamDrive>.UserIp
ClientServiceRequest<TeamDrive>.Execute()
ClientServiceRequest<TeamDrive>.ExecuteAsStream()
ClientServiceRequest<TeamDrive>.ExecuteAsync()
ClientServiceRequest<TeamDrive>.ExecuteAsync(CancellationToken)
ClientServiceRequest<TeamDrive>.ExecuteAsStreamAsync()
ClientServiceRequest<TeamDrive>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<TeamDrive>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<TeamDrive>.GenerateRequestUri()
ClientServiceRequest<TeamDrive>.GetDefaultETagAction(String)
ClientServiceRequest<TeamDrive>.ETagAction
ClientServiceRequest<TeamDrive>.ModifyRequest
ClientServiceRequest<TeamDrive>.ValidateParameters
ClientServiceRequest<TeamDrive>.RequestParameters
ClientServiceRequest<TeamDrive>.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.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
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

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX