@@ -8587,24 +8587,24 @@ public Watch set(String parameterName, Object value) {
8587
8587
}
8588
8588
8589
8589
/**
8590
- * An accessor for creating requests from the Operation collection.
8590
+ * An accessor for creating requests from the Operations collection.
8591
8591
*
8592
8592
* <p>The typical use is:</p>
8593
8593
* <pre>
8594
8594
* {@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 ...)}
8596
8596
* </pre>
8597
8597
*
8598
8598
* @return the resource collection
8599
8599
*/
8600
- public Operation operation () {
8601
- return new Operation ();
8600
+ public Operations operations () {
8601
+ return new Operations ();
8602
8602
}
8603
8603
8604
8604
/**
8605
- * The "operation " collection of methods.
8605
+ * The "operations " collection of methods.
8606
8606
*/
8607
- public class Operation {
8607
+ public class Operations {
8608
8608
8609
8609
/**
8610
8610
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to
@@ -8615,7 +8615,7 @@ public class Operation {
8615
8615
* operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
8616
8616
* `Code.CANCELLED`.
8617
8617
*
8618
- * Create a request for the method "operation .cancel".
8618
+ * Create a request for the method "operations .cancel".
8619
8619
*
8620
8620
* This request holds the parameters needed by the drive server. After setting any optional
8621
8621
* 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 {
8631
8631
8632
8632
public class Cancel extends DriveRequest <Void > {
8633
8633
8634
- private static final String REST_PATH = "operation /{name}:cancel" ;
8634
+ private static final String REST_PATH = "operations /{name}:cancel" ;
8635
8635
8636
8636
/**
8637
8637
* 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> {
8642
8642
* operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to
8643
8643
* `Code.CANCELLED`.
8644
8644
*
8645
- * Create a request for the method "operation .cancel".
8645
+ * Create a request for the method "operations .cancel".
8646
8646
*
8647
8647
* This request holds the parameters needed by the the drive server. After setting any optional
8648
8648
* 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) {
8738
8738
* in the operation result. It does not cancel the operation. If the server doesn't support this
8739
8739
* method, it returns `google.rpc.Code.UNIMPLEMENTED`.
8740
8740
*
8741
- * Create a request for the method "operation .delete".
8741
+ * Create a request for the method "operations .delete".
8742
8742
*
8743
8743
* This request holds the parameters needed by the drive server. After setting any optional
8744
8744
* 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 {
8754
8754
8755
8755
public class Delete extends DriveRequest <Void > {
8756
8756
8757
- private static final String REST_PATH = "operation /{name}" ;
8757
+ private static final String REST_PATH = "operations /{name}" ;
8758
8758
8759
8759
/**
8760
8760
* Deletes a long-running operation. This method indicates that the client is no longer interested
8761
8761
* in the operation result. It does not cancel the operation. If the server doesn't support this
8762
8762
* method, it returns `google.rpc.Code.UNIMPLEMENTED`.
8763
8763
*
8764
- * Create a request for the method "operation .delete".
8764
+ * Create a request for the method "operations .delete".
8765
8765
*
8766
8766
* This request holds the parameters needed by the the drive server. After setting any optional
8767
8767
* 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) {
8852
8852
return (Delete ) super .set (parameterName , value );
8853
8853
}
8854
8854
}
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
-
8878
8855
/**
8879
8856
* Gets the latest state of a long-running operation. Clients can use this method to poll the
8880
8857
* operation result at intervals as recommended by the API service.
0 commit comments