@@ -8587,24 +8587,24 @@ public Watch set(String parameterName, Object value) {
85878587 }
85888588
85898589 /**
8590- * An accessor for creating requests from the Operation collection.
8590+ * An accessor for creating requests from the Operations collection.
85918591 *
85928592 * <p>The typical use is:</p>
85938593 * <pre>
85948594 * {@code Drive drive = new Drive(...);}
8595- * {@code Drive.Operation .List request = drive.operation ().list(parameters ...)}
8595+ * {@code Drive.Operations .List request = drive.operations ().list(parameters ...)}
85968596 * </pre>
85978597 *
85988598 * @return the resource collection
85998599 */
8600- public Operation operation () {
8601- return new Operation ();
8600+ public Operations operations () {
8601+ return new Operations ();
86028602 }
86038603
86048604 /**
8605- * The "operation " collection of methods.
8605+ * The "operations " collection of methods.
86068606 */
8607- public class Operation {
8607+ public class Operations {
86088608
86098609 /**
86108610 * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
@@ -8615,7 +8615,7 @@ public class Operation {
86158615 * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
86168616 * `Code.CANCELLED`.
86178617 *
8618- * Create a request for the method "operation .cancel".
8618+ * Create a request for the method "operations .cancel".
86198619 *
86208620 * This request holds the parameters needed by the drive server. After setting any optional
86218621 * parameters, call the {@link Cancel#execute()} method to invoke the remote operation.
@@ -8631,7 +8631,7 @@ public Cancel cancel(java.lang.String name) throws java.io.IOException {
86318631
86328632 public class Cancel extends DriveRequest <Void > {
86338633
8634- private static final String REST_PATH = "operation /{name}:cancel" ;
8634+ private static final String REST_PATH = "operations /{name}:cancel" ;
86358635
86368636 /**
86378637 * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
@@ -8642,7 +8642,7 @@ public class Cancel extends DriveRequest<Void> {
86428642 * operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
86438643 * `Code.CANCELLED`.
86448644 *
8645- * Create a request for the method "operation .cancel".
8645+ * Create a request for the method "operations .cancel".
86468646 *
86478647 * This request holds the parameters needed by the the drive server. After setting any optional
86488648 * parameters, call the {@link Cancel#execute()} method to invoke the remote operation. <p> {@link
@@ -8738,7 +8738,7 @@ public Cancel set(String parameterName, Object value) {
87388738 * in the operation result. It does not cancel the operation. If the server doesn't support this
87398739 * method, it returns `google.rpc.Code.UNIMPLEMENTED`.
87408740 *
8741- * Create a request for the method "operation .delete".
8741+ * Create a request for the method "operations .delete".
87428742 *
87438743 * This request holds the parameters needed by the drive server. After setting any optional
87448744 * parameters, call the {@link Delete#execute()} method to invoke the remote operation.
@@ -8754,14 +8754,14 @@ public Delete delete(java.lang.String name) throws java.io.IOException {
87548754
87558755 public class Delete extends DriveRequest <Void > {
87568756
8757- private static final String REST_PATH = "operation /{name}" ;
8757+ private static final String REST_PATH = "operations /{name}" ;
87588758
87598759 /**
87608760 * Deletes a long-running operation. This method indicates that the client is no longer interested
87618761 * in the operation result. It does not cancel the operation. If the server doesn't support this
87628762 * method, it returns `google.rpc.Code.UNIMPLEMENTED`.
87638763 *
8764- * Create a request for the method "operation .delete".
8764+ * Create a request for the method "operations .delete".
87658765 *
87668766 * This request holds the parameters needed by the the drive server. After setting any optional
87678767 * parameters, call the {@link Delete#execute()} method to invoke the remote operation. <p> {@link
@@ -8852,29 +8852,6 @@ public Delete set(String parameterName, Object value) {
88528852 return (Delete ) super .set (parameterName , value );
88538853 }
88548854 }
8855-
8856- }
8857-
8858- /**
8859- * An accessor for creating requests from the Operations collection.
8860- *
8861- * <p>The typical use is:</p>
8862- * <pre>
8863- * {@code Drive drive = new Drive(...);}
8864- * {@code Drive.Operations.List request = drive.operations().list(parameters ...)}
8865- * </pre>
8866- *
8867- * @return the resource collection
8868- */
8869- public Operations operations () {
8870- return new Operations ();
8871- }
8872-
8873- /**
8874- * The "operations" collection of methods.
8875- */
8876- public class Operations {
8877-
88788855 /**
88798856 * Gets the latest state of a long-running operation. Clients can use this method to poll the
88808857 * operation result at intervals as recommended by the API service.
0 commit comments