com.google.android.gms.drive.DriveResource |
![]()
|
A Resource represents a file or folder in Drive.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DriveResource.MetadataResult | Result that is returned in response to metadata requests. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the DriveId that uniquely identifies this resource.
| |||||||||||
Retrieves the Metadata that is associated with this resource.
| |||||||||||
Updates the Metadata that is associated with this resource with the changes described
in the
MetadataChangeSet . |
Retrieves the Metadata that is associated with this resource.
apiClient | The GoogleApiClient to service the call. |
---|
Updates the Metadata that is associated with this resource with the changes described
in the MetadataChangeSet
.
Note: to update the metadata, the user must have edit access. See
isEditable()
.
apiClient | The GoogleApiClient to service the call. The client must be
connected when this method is invoked. |
---|---|
changeSet | The set of changes that will be applied to the Metadata. Only include the specific fields that wish to be updated. |