Class: Cadenya::Models::BulkWorkspaceApplyData
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::BulkWorkspaceApplyData
- Defined in:
- lib/cadenya/models/bulk_workspace_apply_data.rb
Instance Attribute Summary collapse
-
#agents ⇒ Hash{Symbol=>Cadenya::Models::AgentEntry}?
Agents to upsert, keyed by external_id.
-
#automatically_publish_agents ⇒ Boolean?
When true, every agent created or updated by this Apply has its status forced to AGENT_STATUS_PUBLISHED, regardless of the status declared in the agent’s AgentSpec.
-
#bundle_key ⇒ String
Required.
-
#memory_layers ⇒ Hash{Symbol=>Cadenya::Models::MemoryLayerEntry}?
Memory layers to upsert, keyed by external_id.
-
#source_url ⇒ String?
Optional URL pointing to the source of this apply (GitHub PR, Jenkins build, GitLab pipeline, etc.).
-
#tool_sets ⇒ Hash{Symbol=>Cadenya::Models::ToolSetEntry}?
Tool sets to upsert, keyed by external_id.
Instance Method Summary collapse
-
#initialize(bundle_key:, agents: nil, automatically_publish_agents: nil, memory_layers: nil, source_url: nil, tool_sets: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BulkWorkspaceApplyData for more details.
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(bundle_key:, agents: nil, automatically_publish_agents: nil, memory_layers: nil, source_url: nil, tool_sets: nil) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::BulkWorkspaceApplyData for more details.
|
|
# File 'lib/cadenya/models/bulk_workspace_apply_data.rb', line 59
|
Instance Attribute Details
#agents ⇒ Hash{Symbol=>Cadenya::Models::AgentEntry}?
Agents to upsert, keyed by external_id.
19 |
# File 'lib/cadenya/models/bulk_workspace_apply_data.rb', line 19 optional :agents, -> { Cadenya::Internal::Type::HashOf[Cadenya::AgentEntry] } |
#automatically_publish_agents ⇒ Boolean?
When true, every agent created or updated by this Apply has its status forced to AGENT_STATUS_PUBLISHED, regardless of the status declared in the agent’s AgentSpec. Useful when the bundle represents a production configuration and you want all of its agents live without setting status: AGENT_STATUS_PUBLISHED on each entry.
Default false: each agent’s AgentSpec.status controls (which is AGENT_STATUS_DRAFT on create when unspecified).
32 33 34 |
# File 'lib/cadenya/models/bulk_workspace_apply_data.rb', line 32 optional :automatically_publish_agents, Cadenya::Internal::Type::Boolean, api_name: :automaticallyPublishAgents |
#bundle_key ⇒ String
Required. Bundle ownership key. Resources created or updated by an Apply have their ‘metadata.bundle_key` set to this value. On subsequent applies with the same bundle_key, resources currently bearing this bundle_key but absent from the spec are soft-deleted.
13 |
# File 'lib/cadenya/models/bulk_workspace_apply_data.rb', line 13 required :bundle_key, String, api_name: :bundleKey |
#memory_layers ⇒ Hash{Symbol=>Cadenya::Models::MemoryLayerEntry}?
Memory layers to upsert, keyed by external_id.
40 41 42 |
# File 'lib/cadenya/models/bulk_workspace_apply_data.rb', line 40 optional :memory_layers, -> { Cadenya::Internal::Type::HashOf[Cadenya::MemoryLayerEntry] }, api_name: :memoryLayers |
#source_url ⇒ String?
Optional URL pointing to the source of this apply (GitHub PR, Jenkins build, GitLab pipeline, etc.). Surfaced in the dashboard so users can jump from an apply back to the change that produced it. Free-form HTTPS URI; not interpreted by the server.
51 |
# File 'lib/cadenya/models/bulk_workspace_apply_data.rb', line 51 optional :source_url, String, api_name: :sourceUrl |
#tool_sets ⇒ Hash{Symbol=>Cadenya::Models::ToolSetEntry}?
Tool sets to upsert, keyed by external_id.
57 |
# File 'lib/cadenya/models/bulk_workspace_apply_data.rb', line 57 optional :tool_sets, -> { Cadenya::Internal::Type::HashOf[Cadenya::ToolSetEntry] }, api_name: :toolSets |