Class: Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResult

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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(data:, metadata:) ⇒ Object

Some parameter documentations has been truncated, see Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResult for more details.

One row of the per-resource result list for a BulkWorkspaceApply. Each row is itself an operation that can be paginated, sorted by created_at, and addressed individually.

Parameters:



# File 'lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rb', line 25

Instance Attribute Details

#dataCadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultData

Outcome for a single resource within a bulk apply. The ‘type` field is the discriminator string naming the populated `outcome` oneof variant (e.g., “toolSet”, “memoryEntry”). Every outcome shell carries an `action` enum and either a resulting resource snapshot (for ACTION_CREATED, ACTION_UPDATED, ACTION_UNCHANGED, ACTION_DELETED) or a google.rpc.Status (for ACTION_FAILED).



16
# File 'lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rb', line 16

required :data, -> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultData }

#metadataCadenya::Models::OperationMetadata

Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)



23
# File 'lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rb', line 23

required :metadata, -> { Cadenya::OperationMetadata }