|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.client.googleapis.services.AbstractGoogleClient
com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
com.google.api.services.drive.Drive
public class Drive
Service definition for Drive (v2).
The API to interact with Drive.
For more information about this service, see the API Documentation
This service uses DriveRequestInitializer
to initialize global parameters via its
Drive.Builder
.
Upgrade warning: this class now extends AbstractGoogleJsonClient
, whereas in prior
version 1.8 it extended GoogleClient
.
Nested Class Summary | |
---|---|
class |
Drive.About
The "about" collection of methods. |
class |
Drive.Apps
The "apps" collection of methods. |
static class |
Drive.Builder
Builder for Drive . |
class |
Drive.Changes
The "changes" collection of methods. |
class |
Drive.Children
The "children" collection of methods. |
class |
Drive.Comments
The "comments" collection of methods. |
class |
Drive.Files
The "files" collection of methods. |
class |
Drive.Parents
The "parents" collection of methods. |
class |
Drive.Permissions
The "permissions" collection of methods. |
class |
Drive.Replies
The "replies" collection of methods. |
class |
Drive.Revisions
The "revisions" collection of methods. |
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_BASE_URL
Deprecated. (scheduled to be removed in 1.13) |
static java.lang.String |
DEFAULT_ROOT_URL
The default encoded root URL of the service. |
static java.lang.String |
DEFAULT_SERVICE_PATH
The default encoded service path of the service. |
Constructor Summary | |
---|---|
Drive(HttpTransport transport,
JsonFactory jsonFactory,
HttpRequestInitializer httpRequestInitializer)
Constructor. |
Method Summary | |
---|---|
Drive.About |
about()
An accessor for creating requests from the About collection. |
Drive.Apps |
apps()
An accessor for creating requests from the Apps collection. |
Drive.Changes |
changes()
An accessor for creating requests from the Changes collection. |
Drive.Children |
children()
An accessor for creating requests from the Children collection. |
Drive.Comments |
comments()
An accessor for creating requests from the Comments collection. |
Drive.Files |
files()
An accessor for creating requests from the Files collection. |
protected void |
initialize(AbstractGoogleClientRequest<?> httpClientRequest)
|
Drive.Parents |
parents()
An accessor for creating requests from the Parents collection. |
Drive.Permissions |
permissions()
An accessor for creating requests from the Permissions collection. |
Drive.Replies |
replies()
An accessor for creating requests from the Replies collection. |
Drive.Revisions |
revisions()
An accessor for creating requests from the Revisions collection. |
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient |
---|
getJsonFactory, getObjectParser |
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClient |
---|
batch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_ROOT_URL
public static final java.lang.String DEFAULT_SERVICE_PATH
@Deprecated public static final java.lang.String DEFAULT_BASE_URL
Constructor Detail |
---|
public Drive(HttpTransport transport, JsonFactory jsonFactory, HttpRequestInitializer httpRequestInitializer)
Use Drive.Builder
if you need to specify any of the optional parameters.
transport
- HTTP transportjsonFactory
- JSON factoryhttpRequestInitializer
- HTTP request initializer or null
for noneMethod Detail |
---|
protected void initialize(AbstractGoogleClientRequest<?> httpClientRequest) throws java.io.IOException
initialize
in class AbstractGoogleClient
java.io.IOException
public Drive.About about()
The typical use is:
Drive drive = new Drive(...);
Drive.About.List request = drive.about().list(parameters ...)
public Drive.Apps apps()
The typical use is:
Drive drive = new Drive(...);
Drive.Apps.List request = drive.apps().list(parameters ...)
public Drive.Changes changes()
The typical use is:
Drive drive = new Drive(...);
Drive.Changes.List request = drive.changes().list(parameters ...)
public Drive.Children children()
The typical use is:
Drive drive = new Drive(...);
Drive.Children.List request = drive.children().list(parameters ...)
public Drive.Comments comments()
The typical use is:
Drive drive = new Drive(...);
Drive.Comments.List request = drive.comments().list(parameters ...)
public Drive.Files files()
The typical use is:
Drive drive = new Drive(...);
Drive.Files.List request = drive.files().list(parameters ...)
public Drive.Parents parents()
The typical use is:
Drive drive = new Drive(...);
Drive.Parents.List request = drive.parents().list(parameters ...)
public Drive.Permissions permissions()
The typical use is:
Drive drive = new Drive(...);
Drive.Permissions.List request = drive.permissions().list(parameters ...)
public Drive.Replies replies()
The typical use is:
Drive drive = new Drive(...);
Drive.Replies.List request = drive.replies().list(parameters ...)
public Drive.Revisions revisions()
The typical use is:
Drive drive = new Drive(...);
Drive.Revisions.List request = drive.revisions().list(parameters ...)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |