Class TeamdrivesResource.UpdateRequest
Deprecated use drives.update instead.
Inheritance
System.Object
TeamdrivesResource.UpdateRequest
Inherited Members
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()