Class: Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceConfig
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#checkout ⇒ Anthropic::Models::Beta::BetaManagedAgentsBranchCheckout, ...
Branch or commit to check out.
-
#mount_path ⇒ String?
Mount path in the container.
- #type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceConfig::Type
-
#url ⇒ String
Github URL of the repository.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, url:, checkout: nil, mount_path: nil) ⇒ Object
constructor
A GitHub repository mounted into each session’s container.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(type:, url:, checkout: nil, mount_path: nil) ⇒ Object
A GitHub repository mounted into each session’s container. The authorization token is write-only and never returned.
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb', line 32
|
Instance Attribute Details
#checkout ⇒ Anthropic::Models::Beta::BetaManagedAgentsBranchCheckout, ...
Branch or commit to check out. Defaults to the repository’s default branch.
22 23 24 |
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb', line 22 optional :checkout, union: -> { Anthropic::Beta::BetaManagedAgentsGitHubRepositoryResourceConfig::Checkout }, nil?: true |
#mount_path ⇒ String?
Mount path in the container. Defaults to ‘/workspace/<repo-name>`.
30 |
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb', line 30 optional :mount_path, String, nil?: true |
#type ⇒ Symbol, Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceConfig::Type
10 |
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb', line 10 required :type, enum: -> { Anthropic::Beta::BetaManagedAgentsGitHubRepositoryResourceConfig::Type } |
#url ⇒ String
Github URL of the repository
16 |
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb', line 16 required :url, String |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb', line 50
|