Class AgentsGetDiscoveryPathsRequest
java.lang.Object
com.github.copilot.generated.rpc.AgentsGetDiscoveryPathsRequest
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public final class AgentsGetDiscoveryPathsRequest
extends Object
Optional project paths to include when enumerating agent discovery directories.
Required inputs are constructor arguments. Optional inputs have fluent setters.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a request with its required inputs. -
Method Summary
Modifier and TypeMethodDescriptionReturns theagentDirectoriesproperty.Returns theexcludeHostAgentsproperty.Returns theprojectPathsproperty.setAgentDirectories(List<String> value) Sets theagentDirectoriesproperty.setExcludeHostAgents(Boolean value) Sets theexcludeHostAgentsproperty.setProjectPaths(List<String> value) Sets theprojectPathsproperty.
-
Constructor Details
-
AgentsGetDiscoveryPathsRequest
public AgentsGetDiscoveryPathsRequest()Creates a request with its required inputs.
-
-
Method Details
-
getProjectPaths
-
getExcludeHostAgents
Returns theexcludeHostAgentsproperty.- Returns:
- When true, omit the host's user-level agent directory, leaving only project directories. For multitenant deployments (mirrors `discover`'s `excludeHostAgents`).
-
getAgentDirectories
Returns theagentDirectoriesproperty.- Returns:
- Explicit discovery-only agent roots to enumerate, including configured missing directories. Relative paths resolve against the request's effective working directory when supplied. These are not filesystem grants or preferred creation targets. Null and omission are equivalent.
-
setProjectPaths
Sets theprojectPathsproperty.- Parameters:
value- Optional list of project directory paths. When omitted or empty, only the user-level directory is returned.- Returns:
- this request
-
setExcludeHostAgents
Sets theexcludeHostAgentsproperty.- Parameters:
value- When true, omit the host's user-level agent directory, leaving only project directories. For multitenant deployments (mirrors `discover`'s `excludeHostAgents`).- Returns:
- this request
-
setAgentDirectories
Sets theagentDirectoriesproperty.- Parameters:
value- Explicit discovery-only agent roots to enumerate, including configured missing directories. Relative paths resolve against the request's effective working directory when supplied. These are not filesystem grants or preferred creation targets. Null and omission are equivalent.- Returns:
- this request
-