示例#1
0
 public static Compute.GlobalOperations.Get globalOperations(
     Compute compute, String projectId, String operationName) throws IOException {
   return compute.globalOperations().get(projectId, operationName);
 }
 protected Compute.GlobalOperations.Get createGlobalOperations(
     Compute compute, GcpCredential gcpCredential, Operation operation) throws IOException {
   return compute.globalOperations().get(gcpCredential.getProjectId(), operation.getName());
 }