Package | Description |
---|---|
com.google.api.services.drive | |
com.google.api.services.drive.model |
Modifier and Type | Method and Description |
---|---|
Drive.Channels.Stop |
Drive.Channels.stop(Channel content)
Stops watching resources through this channel.
|
Drive.Changes.Watch |
Drive.Changes.watch(String pageToken,
Channel content)
Subscribes to changes for a user.
|
Drive.Files.Watch |
Drive.Files.watch(String fileId,
Channel content)
Subscribes to changes to a file.
|
Constructor and Description |
---|
Stop(Channel content)
Stops watching resources through this channel.
|
Watch(String pageToken,
Channel content)
Subscribes to changes for a user.
|
Watch(String fileId,
Channel content)
Subscribes to changes to a file.
|
Modifier and Type | Method and Description |
---|---|
Channel |
Channel.clone() |
Channel |
Channel.set(String fieldName,
Object value) |
Channel |
Channel.setAddress(String address)
The address where notifications are delivered for this channel.
|
Channel |
Channel.setExpiration(Long expiration)
Date and time of notification channel expiration, expressed as a Unix timestamp, in
milliseconds.
|
Channel |
Channel.setId(String id)
A UUID or similar unique string that identifies this channel.
|
Channel |
Channel.setKind(String kind)
Identifies this as a notification channel used to watch for changes to a resource, which is
`api#channel`.
|
Channel |
Channel.setParams(Map<String,String> params)
Additional parameters controlling delivery channel behavior.
|
Channel |
Channel.setPayload(Boolean payload)
A Boolean value to indicate whether payload is wanted.
|
Channel |
Channel.setResourceId(String resourceId)
An opaque ID that identifies the resource being watched on this channel.
|
Channel |
Channel.setResourceUri(String resourceUri)
A version-specific identifier for the watched resource.
|
Channel |
Channel.setToken(String token)
An arbitrary string delivered to the target address with each notification delivered over this
channel.
|
Channel |
Channel.setType(String type)
The type of delivery mechanism used for this channel.
|
Copyright © 2011–2024 Google. All rights reserved.