Show / Hide Table of Contents

Enum FilesResource.UpdateMediaUpload.ModifiedDateBehaviorEnum

Determines the behavior in which modifiedDate is updated. This overrides setModifiedDate.

Namespace: Google.Apis.Drive.v2
Assembly: Google.Apis.Drive.v2.dll
Syntax
public enum FilesResource.UpdateMediaUpload.ModifiedDateBehaviorEnum

Fields

Name Description
FromBody

Set modifiedDate to the value provided in the body of the request. No change if no value was provided.

FromBodyIfNeeded

Set modifiedDate to the value provided in the body of the request depending on other contents of the update.

FromBodyOrNow

Set modifiedDate to the value provided in the body of the request, or to the current time if no value was provided.

NoChange

Maintain the previous value of modifiedDate.

Now

Set modifiedDate to the current time.

NowIfNeeded

Set modifiedDate to the current time depending on contents of the update.

In this article
Back to top Generated by DocFX