Module com.github.copilot.java
Package com.github.copilot.generated.rpc
Class SessionPermissionsLocationsApi
java.lang.Object
com.github.copilot.generated.rpc.SessionPermissionsLocationsApi
API methods for the
permissions.locations namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionLocation-scoped tool approval to persist.Working directory to load persisted location permissions for.Working directory to resolve into a location-permissions key.
-
Method Details
-
resolve
public CompletableFuture<SessionPermissionsLocationsResolveResult> resolve(SessionPermissionsLocationsResolveParams params) Working directory to resolve into a location-permissions key.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
apply
public CompletableFuture<SessionPermissionsLocationsApplyResult> apply(SessionPermissionsLocationsApplyParams params) Working directory to load persisted location permissions for.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
addToolApproval
public CompletableFuture<SessionPermissionsLocationsAddToolApprovalResult> addToolApproval(SessionPermissionsLocationsAddToolApprovalParams params) Location-scoped tool approval to persist.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-