Class BetaManagedAgentsGitHubRepositoryResourceConfig
-
- All Implemented Interfaces:
public final class BetaManagedAgentsGitHubRepositoryResourceConfigA GitHub repository mounted into each session's container. The authorization token is write-only and never returned.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsGitHubRepositoryResourceConfig.BuilderA builder for BetaManagedAgentsGitHubRepositoryResourceConfig.
public final classBetaManagedAgentsGitHubRepositoryResourceConfig.Typepublic final classBetaManagedAgentsGitHubRepositoryResourceConfig.CheckoutBranch or commit to check out. Defaults to the repository's default branch.
-
Method Summary
-
-
Method Detail
-
type
final BetaManagedAgentsGitHubRepositoryResourceConfig.Type type()
-
checkout
final Optional<BetaManagedAgentsGitHubRepositoryResourceConfig.Checkout> checkout()
Branch or commit to check out. Defaults to the repository's default branch.
-
mountPath
final Optional<String> mountPath()
Mount path in the container. Defaults to
/workspace/<repo-name>.
-
_type
final JsonField<BetaManagedAgentsGitHubRepositoryResourceConfig.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_checkout
final JsonField<BetaManagedAgentsGitHubRepositoryResourceConfig.Checkout> _checkout()
Returns the raw JSON value of checkout.
Unlike checkout, this method doesn't throw if the JSON field has an unexpected type.
-
_mountPath
final JsonField<String> _mountPath()
Returns the raw JSON value of mountPath.
Unlike mountPath, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsGitHubRepositoryResourceConfig.Builder toBuilder()
-
validate
final BetaManagedAgentsGitHubRepositoryResourceConfig validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsGitHubRepositoryResourceConfig.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsGitHubRepositoryResourceConfig.
The following fields are required:
.type() .url()
-
-
-
-