protected Compute.RegionOperations.Get createRegionOperations( Compute compute, GcpCredential gcpCredential, Operation operation, CloudRegion region) throws IOException { return compute .regionOperations() .get(gcpCredential.getProjectId(), region.region(), operation.getName()); }
protected Compute.GlobalOperations.Get createGlobalOperations( Compute compute, GcpCredential gcpCredential, Operation operation) throws IOException { return compute.globalOperations().get(gcpCredential.getProjectId(), operation.getName()); }