cadenya 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/README.md +1 -1
- data/lib/cadenya/client.rb +0 -7
- data/lib/cadenya/models/agent_list_params.rb +1 -9
- data/lib/cadenya/models/agents/schedule_list_params.rb +1 -9
- data/lib/cadenya/models/agents/variation_list_params.rb +1 -9
- data/lib/cadenya/models/ai_provider_key_spec.rb +168 -14
- data/lib/cadenya/models/api_key_list_params.rb +1 -9
- data/lib/cadenya/models/create_resource_metadata.rb +1 -9
- data/lib/cadenya/models/memory_layer_list_params.rb +1 -9
- data/lib/cadenya/models/memory_layers/entry_list_params.rb +1 -9
- data/lib/cadenya/models/model_list_params.rb +1 -9
- data/lib/cadenya/models/resource_metadata.rb +1 -12
- data/lib/cadenya/models/tool_set_list_params.rb +1 -9
- data/lib/cadenya/models/tool_sets/secret_list_params.rb +1 -9
- data/lib/cadenya/models/tool_sets/tool_list_params.rb +1 -9
- data/lib/cadenya/models/update_resource_metadata.rb +1 -9
- data/lib/cadenya/models/workspace_secret_list_params.rb +1 -9
- data/lib/cadenya/models.rb +0 -34
- data/lib/cadenya/resources/agents/schedules.rb +2 -8
- data/lib/cadenya/resources/agents/variations.rb +2 -8
- data/lib/cadenya/resources/agents.rb +1 -4
- data/lib/cadenya/resources/api_keys.rb +2 -8
- data/lib/cadenya/resources/memory_layers/entries.rb +2 -8
- data/lib/cadenya/resources/memory_layers.rb +1 -4
- data/lib/cadenya/resources/models.rb +1 -4
- data/lib/cadenya/resources/tool_sets/secrets.rb +2 -8
- data/lib/cadenya/resources/tool_sets/tools.rb +1 -4
- data/lib/cadenya/resources/tool_sets.rb +2 -8
- data/lib/cadenya/resources/workspace_secrets.rb +2 -8
- data/lib/cadenya/version.rb +1 -1
- data/lib/cadenya.rb +0 -30
- data/rbi/cadenya/client.rbi +0 -6
- data/rbi/cadenya/models/agent_list_params.rbi +0 -11
- data/rbi/cadenya/models/agents/schedule_list_params.rbi +0 -11
- data/rbi/cadenya/models/agents/variation_list_params.rbi +0 -11
- data/rbi/cadenya/models/ai_provider_key_spec.rbi +363 -24
- data/rbi/cadenya/models/api_key_list_params.rbi +0 -11
- data/rbi/cadenya/models/create_resource_metadata.rbi +1 -16
- data/rbi/cadenya/models/memory_layer_list_params.rbi +0 -11
- data/rbi/cadenya/models/memory_layers/entry_list_params.rbi +0 -11
- data/rbi/cadenya/models/model_list_params.rbi +0 -11
- data/rbi/cadenya/models/resource_metadata.rbi +0 -17
- data/rbi/cadenya/models/tool_set_list_params.rbi +0 -11
- data/rbi/cadenya/models/tool_sets/secret_list_params.rbi +0 -11
- data/rbi/cadenya/models/tool_sets/tool_list_params.rbi +0 -11
- data/rbi/cadenya/models/update_resource_metadata.rbi +1 -16
- data/rbi/cadenya/models/workspace_secret_list_params.rbi +0 -11
- data/rbi/cadenya/models.rbi +0 -37
- data/rbi/cadenya/resources/agents/schedules.rbi +0 -3
- data/rbi/cadenya/resources/agents/variations.rbi +0 -3
- data/rbi/cadenya/resources/agents.rbi +0 -3
- data/rbi/cadenya/resources/api_keys.rbi +0 -3
- data/rbi/cadenya/resources/memory_layers/entries.rbi +0 -3
- data/rbi/cadenya/resources/memory_layers.rbi +0 -3
- data/rbi/cadenya/resources/models.rbi +0 -3
- data/rbi/cadenya/resources/tool_sets/secrets.rbi +0 -3
- data/rbi/cadenya/resources/tool_sets/tools.rbi +0 -3
- data/rbi/cadenya/resources/tool_sets.rbi +0 -3
- data/rbi/cadenya/resources/workspace_secrets.rbi +0 -3
- data/sig/cadenya/client.rbs +0 -2
- data/sig/cadenya/models/agent_list_params.rbs +0 -7
- data/sig/cadenya/models/agents/schedule_list_params.rbs +0 -7
- data/sig/cadenya/models/agents/variation_list_params.rbs +0 -7
- data/sig/cadenya/models/ai_provider_key_spec.rbs +161 -11
- data/sig/cadenya/models/api_key_list_params.rbs +0 -7
- data/sig/cadenya/models/create_resource_metadata.rbs +1 -12
- data/sig/cadenya/models/memory_layer_list_params.rbs +0 -7
- data/sig/cadenya/models/memory_layers/entry_list_params.rbs +0 -7
- data/sig/cadenya/models/model_list_params.rbs +0 -7
- data/sig/cadenya/models/resource_metadata.rbs +0 -7
- data/sig/cadenya/models/tool_set_list_params.rbs +0 -7
- data/sig/cadenya/models/tool_sets/secret_list_params.rbs +0 -7
- data/sig/cadenya/models/tool_sets/tool_list_params.rbs +0 -7
- data/sig/cadenya/models/update_resource_metadata.rbs +1 -12
- data/sig/cadenya/models/workspace_secret_list_params.rbs +0 -7
- data/sig/cadenya/models.rbs +0 -34
- data/sig/cadenya/resources/agents/schedules.rbs +0 -1
- data/sig/cadenya/resources/agents/variations.rbs +0 -1
- data/sig/cadenya/resources/agents.rbs +0 -1
- data/sig/cadenya/resources/api_keys.rbs +0 -1
- data/sig/cadenya/resources/memory_layers/entries.rbs +0 -1
- data/sig/cadenya/resources/memory_layers.rbs +0 -1
- data/sig/cadenya/resources/models.rbs +0 -1
- data/sig/cadenya/resources/tool_sets/secrets.rbs +0 -1
- data/sig/cadenya/resources/tool_sets/tools.rbs +0 -1
- data/sig/cadenya/resources/tool_sets.rbs +0 -1
- data/sig/cadenya/resources/workspace_secrets.rbs +0 -1
- metadata +2 -92
- data/lib/cadenya/models/agent_entry.rb +0 -76
- data/lib/cadenya/models/agent_schedule_entry.rb +0 -60
- data/lib/cadenya/models/agent_variation_entry.rb +0 -52
- data/lib/cadenya/models/bulk_workspace_apply.rb +0 -46
- data/lib/cadenya/models/bulk_workspace_apply_data.rb +0 -75
- data/lib/cadenya/models/bulk_workspace_apply_info.rb +0 -79
- data/lib/cadenya/models/bulk_workspace_apply_status.rb +0 -115
- data/lib/cadenya/models/bulk_workspace_resource_apply_params.rb +0 -26
- data/lib/cadenya/models/bulk_workspace_resource_list_params.rb +0 -78
- data/lib/cadenya/models/bulk_workspace_resource_retrieve_params.rb +0 -26
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rb +0 -40
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data.rb +0 -95
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_outcome.rb +0 -124
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_schedule_outcome.rb +0 -126
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_variation_outcome.rb +0 -125
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_entry_outcome.rb +0 -133
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_layer_outcome.rb +0 -130
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_outcome.rb +0 -123
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_set_outcome.rb +0 -123
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_assignment_outcome.rb +0 -125
- data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_memory_layer_outcome.rb +0 -123
- data/lib/cadenya/models/bulk_workspace_resources/result_list_params.rb +0 -85
- data/lib/cadenya/models/memory_entry_item.rb +0 -33
- data/lib/cadenya/models/memory_layer_entry.rb +0 -37
- data/lib/cadenya/models/tool_entry.rb +0 -57
- data/lib/cadenya/models/tool_set_entry.rb +0 -37
- data/lib/cadenya/models/variation_assignment_entry.rb +0 -27
- data/lib/cadenya/models/variation_memory_layer_entry.rb +0 -23
- data/lib/cadenya/resources/bulk_workspace_resources/results.rb +0 -66
- data/lib/cadenya/resources/bulk_workspace_resources.rb +0 -113
- data/rbi/cadenya/models/agent_entry.rbi +0 -124
- data/rbi/cadenya/models/agent_schedule_entry.rbi +0 -104
- data/rbi/cadenya/models/agent_variation_entry.rbi +0 -87
- data/rbi/cadenya/models/bulk_workspace_apply.rbi +0 -72
- data/rbi/cadenya/models/bulk_workspace_apply_data.rbi +0 -122
- data/rbi/cadenya/models/bulk_workspace_apply_info.rbi +0 -116
- data/rbi/cadenya/models/bulk_workspace_apply_status.rbi +0 -259
- data/rbi/cadenya/models/bulk_workspace_resource_apply_params.rbi +0 -49
- data/rbi/cadenya/models/bulk_workspace_resource_list_params.rbi +0 -169
- data/rbi/cadenya/models/bulk_workspace_resource_retrieve_params.rbi +0 -46
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rbi +0 -78
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data.rbi +0 -246
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_outcome.rbi +0 -291
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_schedule_outcome.rbi +0 -293
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_variation_outcome.rbi +0 -291
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_entry_outcome.rbi +0 -309
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_layer_outcome.rbi +0 -301
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_outcome.rbi +0 -289
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_set_outcome.rbi +0 -289
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_assignment_outcome.rbi +0 -298
- data/rbi/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_memory_layer_outcome.rbi +0 -298
- data/rbi/cadenya/models/bulk_workspace_resources/result_list_params.rbi +0 -175
- data/rbi/cadenya/models/memory_entry_item.rbi +0 -57
- data/rbi/cadenya/models/memory_layer_entry.rbi +0 -66
- data/rbi/cadenya/models/tool_entry.rbi +0 -88
- data/rbi/cadenya/models/tool_set_entry.rbi +0 -64
- data/rbi/cadenya/models/variation_assignment_entry.rbi +0 -48
- data/rbi/cadenya/models/variation_memory_layer_entry.rbi +0 -41
- data/rbi/cadenya/resources/bulk_workspace_resources/results.rbi +0 -54
- data/rbi/cadenya/resources/bulk_workspace_resources.rbi +0 -87
- data/sig/cadenya/models/agent_entry.rbs +0 -73
- data/sig/cadenya/models/agent_schedule_entry.rbs +0 -55
- data/sig/cadenya/models/agent_variation_entry.rbs +0 -50
- data/sig/cadenya/models/bulk_workspace_apply.rbs +0 -39
- data/sig/cadenya/models/bulk_workspace_apply_data.rbs +0 -61
- data/sig/cadenya/models/bulk_workspace_apply_info.rbs +0 -78
- data/sig/cadenya/models/bulk_workspace_apply_status.rbs +0 -108
- data/sig/cadenya/models/bulk_workspace_resource_apply_params.rbs +0 -28
- data/sig/cadenya/models/bulk_workspace_resource_list_params.rbs +0 -88
- data/sig/cadenya/models/bulk_workspace_resource_retrieve_params.rbs +0 -28
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result.rbs +0 -27
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data.rbs +0 -105
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_outcome.rbs +0 -117
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_schedule_outcome.rbs +0 -119
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_variation_outcome.rbs +0 -119
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_entry_outcome.rbs +0 -119
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_memory_layer_outcome.rbs +0 -117
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_outcome.rbs +0 -117
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_tool_set_outcome.rbs +0 -117
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_assignment_outcome.rbs +0 -112
- data/sig/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_variation_memory_layer_outcome.rbs +0 -112
- data/sig/cadenya/models/bulk_workspace_resources/result_list_params.rbs +0 -91
- data/sig/cadenya/models/memory_entry_item.rbs +0 -36
- data/sig/cadenya/models/memory_layer_entry.rbs +0 -41
- data/sig/cadenya/models/tool_entry.rbs +0 -55
- data/sig/cadenya/models/tool_set_entry.rbs +0 -41
- data/sig/cadenya/models/variation_assignment_entry.rbs +0 -32
- data/sig/cadenya/models/variation_memory_layer_entry.rbs +0 -20
- data/sig/cadenya/resources/bulk_workspace_resources/results.rbs +0 -20
- data/sig/cadenya/resources/bulk_workspace_resources.rbs +0 -31
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
module BulkWorkspaceResources
|
|
6
|
-
class BulkWorkspaceApplyResultDataToolSetOutcome < Cadenya::Internal::Type::BaseModel
|
|
7
|
-
# @!attribute action
|
|
8
|
-
#
|
|
9
|
-
# @return [Symbol, Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome::Action, nil]
|
|
10
|
-
optional :action,
|
|
11
|
-
enum: -> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome::Action }
|
|
12
|
-
|
|
13
|
-
# @!attribute error
|
|
14
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
15
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
16
|
-
# [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
17
|
-
# data: error code, error message, and error details. You can find out more about
|
|
18
|
-
# this error model and how to work with it in the
|
|
19
|
-
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
20
|
-
#
|
|
21
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome::Error, nil]
|
|
22
|
-
optional :error, -> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome::Error }
|
|
23
|
-
|
|
24
|
-
# @!attribute external_id
|
|
25
|
-
#
|
|
26
|
-
# @return [String, nil]
|
|
27
|
-
optional :external_id, String, api_name: :externalId
|
|
28
|
-
|
|
29
|
-
# @!attribute resource
|
|
30
|
-
#
|
|
31
|
-
# @return [Cadenya::Models::ToolSet, nil]
|
|
32
|
-
optional :resource, -> { Cadenya::ToolSet }
|
|
33
|
-
|
|
34
|
-
# @!method initialize(action: nil, error: nil, external_id: nil, resource: nil)
|
|
35
|
-
# Some parameter documentations has been truncated, see
|
|
36
|
-
# {Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome}
|
|
37
|
-
# for more details.
|
|
38
|
-
#
|
|
39
|
-
# @param action [Symbol, Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome::Action]
|
|
40
|
-
#
|
|
41
|
-
# @param error [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome::Error] The `Status` type defines a logical error model that is suitable for different p
|
|
42
|
-
#
|
|
43
|
-
# @param external_id [String]
|
|
44
|
-
#
|
|
45
|
-
# @param resource [Cadenya::Models::ToolSet]
|
|
46
|
-
|
|
47
|
-
# @see Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome#action
|
|
48
|
-
module Action
|
|
49
|
-
extend Cadenya::Internal::Type::Enum
|
|
50
|
-
|
|
51
|
-
ACTION_UNSPECIFIED = :ACTION_UNSPECIFIED
|
|
52
|
-
ACTION_CREATED = :ACTION_CREATED
|
|
53
|
-
ACTION_UPDATED = :ACTION_UPDATED
|
|
54
|
-
ACTION_UNCHANGED = :ACTION_UNCHANGED
|
|
55
|
-
ACTION_DELETED = :ACTION_DELETED
|
|
56
|
-
ACTION_FAILED = :ACTION_FAILED
|
|
57
|
-
|
|
58
|
-
# @!method self.values
|
|
59
|
-
# @return [Array<Symbol>]
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
# @see Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome#error
|
|
63
|
-
class Error < Cadenya::Internal::Type::BaseModel
|
|
64
|
-
# @!attribute code
|
|
65
|
-
# The status code, which should be an enum value of
|
|
66
|
-
# [google.rpc.Code][google.rpc.Code].
|
|
67
|
-
#
|
|
68
|
-
# @return [Integer, nil]
|
|
69
|
-
optional :code, Integer
|
|
70
|
-
|
|
71
|
-
# @!attribute details
|
|
72
|
-
# A list of messages that carry the error details. There is a common set of
|
|
73
|
-
# message types for APIs to use.
|
|
74
|
-
#
|
|
75
|
-
# @return [Array<Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome::Error::Detail>, nil]
|
|
76
|
-
optional :details,
|
|
77
|
-
-> { Cadenya::Internal::Type::ArrayOf[Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome::Error::Detail] }
|
|
78
|
-
|
|
79
|
-
# @!attribute message
|
|
80
|
-
# A developer-facing error message, which should be in English. Any user-facing
|
|
81
|
-
# error message should be localized and sent in the
|
|
82
|
-
# [google.rpc.Status.details][google.rpc.Status.details] field, or localized by
|
|
83
|
-
# the client.
|
|
84
|
-
#
|
|
85
|
-
# @return [String, nil]
|
|
86
|
-
optional :message, String
|
|
87
|
-
|
|
88
|
-
# @!method initialize(code: nil, details: nil, message: nil)
|
|
89
|
-
# Some parameter documentations has been truncated, see
|
|
90
|
-
# {Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome::Error}
|
|
91
|
-
# for more details.
|
|
92
|
-
#
|
|
93
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
94
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
95
|
-
# [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
96
|
-
# data: error code, error message, and error details. You can find out more about
|
|
97
|
-
# this error model and how to work with it in the
|
|
98
|
-
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
99
|
-
#
|
|
100
|
-
# @param code [Integer] The status code, which should be an enum value of [google.rpc.Code]google.rpc.C
|
|
101
|
-
#
|
|
102
|
-
# @param details [Array<Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome::Error::Detail>] A list of messages that carry the error details. There is a common set of messa
|
|
103
|
-
#
|
|
104
|
-
# @param message [String] A developer-facing error message, which should be in English. Any user-facing er
|
|
105
|
-
|
|
106
|
-
class Detail < Cadenya::Internal::Type::BaseModel
|
|
107
|
-
# @!attribute type
|
|
108
|
-
# The type of the serialized message.
|
|
109
|
-
#
|
|
110
|
-
# @return [String, nil]
|
|
111
|
-
optional :type, String, api_name: :@type
|
|
112
|
-
|
|
113
|
-
# @!method initialize(type: nil)
|
|
114
|
-
# Contains an arbitrary serialized message along with a @type that describes the
|
|
115
|
-
# type of the serialized message.
|
|
116
|
-
#
|
|
117
|
-
# @param type [String] The type of the serialized message.
|
|
118
|
-
end
|
|
119
|
-
end
|
|
120
|
-
end
|
|
121
|
-
end
|
|
122
|
-
end
|
|
123
|
-
end
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
module BulkWorkspaceResources
|
|
6
|
-
class BulkWorkspaceApplyResultDataVariationAssignmentOutcome < Cadenya::Internal::Type::BaseModel
|
|
7
|
-
# @!attribute action
|
|
8
|
-
#
|
|
9
|
-
# @return [Symbol, Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome::Action, nil]
|
|
10
|
-
optional :action,
|
|
11
|
-
enum: -> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome::Action }
|
|
12
|
-
|
|
13
|
-
# @!attribute error
|
|
14
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
15
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
16
|
-
# [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
17
|
-
# data: error code, error message, and error details. You can find out more about
|
|
18
|
-
# this error model and how to work with it in the
|
|
19
|
-
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
20
|
-
#
|
|
21
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome::Error, nil]
|
|
22
|
-
optional :error,
|
|
23
|
-
-> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome::Error }
|
|
24
|
-
|
|
25
|
-
# @!attribute resource
|
|
26
|
-
# A read-only reference to a single tool, tool set, or sub-agent attached to a
|
|
27
|
-
# variation. Read the full set of assignments via
|
|
28
|
-
# `AgentVariationInfo.assignments`; mutations go through the dedicated add/remove
|
|
29
|
-
# assignment endpoints.
|
|
30
|
-
#
|
|
31
|
-
# The `id` identifies the assignment itself (not the referenced resource) and is
|
|
32
|
-
# the handle used to remove the assignment. It is returned by the add endpoint and
|
|
33
|
-
# present on every entry in `AgentVariationInfo.assignments`.
|
|
34
|
-
#
|
|
35
|
-
# @return [Cadenya::Models::Agents::VariationAssignment, nil]
|
|
36
|
-
optional :resource, -> { Cadenya::Agents::VariationAssignment }
|
|
37
|
-
|
|
38
|
-
# @!method initialize(action: nil, error: nil, resource: nil)
|
|
39
|
-
# Some parameter documentations has been truncated, see
|
|
40
|
-
# {Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome}
|
|
41
|
-
# for more details.
|
|
42
|
-
#
|
|
43
|
-
# @param action [Symbol, Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome::Action]
|
|
44
|
-
#
|
|
45
|
-
# @param error [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome::Error] The `Status` type defines a logical error model that is suitable for different p
|
|
46
|
-
#
|
|
47
|
-
# @param resource [Cadenya::Models::Agents::VariationAssignment] A read-only reference to a single tool, tool set, or sub-agent attached to
|
|
48
|
-
|
|
49
|
-
# @see Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome#action
|
|
50
|
-
module Action
|
|
51
|
-
extend Cadenya::Internal::Type::Enum
|
|
52
|
-
|
|
53
|
-
ACTION_UNSPECIFIED = :ACTION_UNSPECIFIED
|
|
54
|
-
ACTION_CREATED = :ACTION_CREATED
|
|
55
|
-
ACTION_UPDATED = :ACTION_UPDATED
|
|
56
|
-
ACTION_UNCHANGED = :ACTION_UNCHANGED
|
|
57
|
-
ACTION_DELETED = :ACTION_DELETED
|
|
58
|
-
ACTION_FAILED = :ACTION_FAILED
|
|
59
|
-
|
|
60
|
-
# @!method self.values
|
|
61
|
-
# @return [Array<Symbol>]
|
|
62
|
-
end
|
|
63
|
-
|
|
64
|
-
# @see Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome#error
|
|
65
|
-
class Error < Cadenya::Internal::Type::BaseModel
|
|
66
|
-
# @!attribute code
|
|
67
|
-
# The status code, which should be an enum value of
|
|
68
|
-
# [google.rpc.Code][google.rpc.Code].
|
|
69
|
-
#
|
|
70
|
-
# @return [Integer, nil]
|
|
71
|
-
optional :code, Integer
|
|
72
|
-
|
|
73
|
-
# @!attribute details
|
|
74
|
-
# A list of messages that carry the error details. There is a common set of
|
|
75
|
-
# message types for APIs to use.
|
|
76
|
-
#
|
|
77
|
-
# @return [Array<Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome::Error::Detail>, nil]
|
|
78
|
-
optional :details,
|
|
79
|
-
-> { Cadenya::Internal::Type::ArrayOf[Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome::Error::Detail] }
|
|
80
|
-
|
|
81
|
-
# @!attribute message
|
|
82
|
-
# A developer-facing error message, which should be in English. Any user-facing
|
|
83
|
-
# error message should be localized and sent in the
|
|
84
|
-
# [google.rpc.Status.details][google.rpc.Status.details] field, or localized by
|
|
85
|
-
# the client.
|
|
86
|
-
#
|
|
87
|
-
# @return [String, nil]
|
|
88
|
-
optional :message, String
|
|
89
|
-
|
|
90
|
-
# @!method initialize(code: nil, details: nil, message: nil)
|
|
91
|
-
# Some parameter documentations has been truncated, see
|
|
92
|
-
# {Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome::Error}
|
|
93
|
-
# for more details.
|
|
94
|
-
#
|
|
95
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
96
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
97
|
-
# [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
98
|
-
# data: error code, error message, and error details. You can find out more about
|
|
99
|
-
# this error model and how to work with it in the
|
|
100
|
-
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
101
|
-
#
|
|
102
|
-
# @param code [Integer] The status code, which should be an enum value of [google.rpc.Code]google.rpc.C
|
|
103
|
-
#
|
|
104
|
-
# @param details [Array<Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome::Error::Detail>] A list of messages that carry the error details. There is a common set of messa
|
|
105
|
-
#
|
|
106
|
-
# @param message [String] A developer-facing error message, which should be in English. Any user-facing er
|
|
107
|
-
|
|
108
|
-
class Detail < Cadenya::Internal::Type::BaseModel
|
|
109
|
-
# @!attribute type
|
|
110
|
-
# The type of the serialized message.
|
|
111
|
-
#
|
|
112
|
-
# @return [String, nil]
|
|
113
|
-
optional :type, String, api_name: :@type
|
|
114
|
-
|
|
115
|
-
# @!method initialize(type: nil)
|
|
116
|
-
# Contains an arbitrary serialized message along with a @type that describes the
|
|
117
|
-
# type of the serialized message.
|
|
118
|
-
#
|
|
119
|
-
# @param type [String] The type of the serialized message.
|
|
120
|
-
end
|
|
121
|
-
end
|
|
122
|
-
end
|
|
123
|
-
end
|
|
124
|
-
end
|
|
125
|
-
end
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
module BulkWorkspaceResources
|
|
6
|
-
class BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome < Cadenya::Internal::Type::BaseModel
|
|
7
|
-
# @!attribute action
|
|
8
|
-
#
|
|
9
|
-
# @return [Symbol, Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome::Action, nil]
|
|
10
|
-
optional :action,
|
|
11
|
-
enum: -> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome::Action }
|
|
12
|
-
|
|
13
|
-
# @!attribute error
|
|
14
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
15
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
16
|
-
# [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
17
|
-
# data: error code, error message, and error details. You can find out more about
|
|
18
|
-
# this error model and how to work with it in the
|
|
19
|
-
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
20
|
-
#
|
|
21
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome::Error, nil]
|
|
22
|
-
optional :error,
|
|
23
|
-
-> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome::Error }
|
|
24
|
-
|
|
25
|
-
# @!attribute resource
|
|
26
|
-
# VariationMemoryLayerAssignment attaches a single MemoryLayer to a variation at a
|
|
27
|
-
# given position in the variation's baseline memory cascade. A variation has at
|
|
28
|
-
# most one assignment per memory_layer_id.
|
|
29
|
-
#
|
|
30
|
-
# Variations only support whole-layer attachments — entry pinning is an
|
|
31
|
-
# objective-level capability.
|
|
32
|
-
#
|
|
33
|
-
# @return [Cadenya::Models::Agents::VariationMemoryLayerAssignment, nil]
|
|
34
|
-
optional :resource, -> { Cadenya::Agents::VariationMemoryLayerAssignment }
|
|
35
|
-
|
|
36
|
-
# @!method initialize(action: nil, error: nil, resource: nil)
|
|
37
|
-
# Some parameter documentations has been truncated, see
|
|
38
|
-
# {Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome}
|
|
39
|
-
# for more details.
|
|
40
|
-
#
|
|
41
|
-
# @param action [Symbol, Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome::Action]
|
|
42
|
-
#
|
|
43
|
-
# @param error [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome::Error] The `Status` type defines a logical error model that is suitable for different p
|
|
44
|
-
#
|
|
45
|
-
# @param resource [Cadenya::Models::Agents::VariationMemoryLayerAssignment] VariationMemoryLayerAssignment attaches a single MemoryLayer to a
|
|
46
|
-
|
|
47
|
-
# @see Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome#action
|
|
48
|
-
module Action
|
|
49
|
-
extend Cadenya::Internal::Type::Enum
|
|
50
|
-
|
|
51
|
-
ACTION_UNSPECIFIED = :ACTION_UNSPECIFIED
|
|
52
|
-
ACTION_CREATED = :ACTION_CREATED
|
|
53
|
-
ACTION_UPDATED = :ACTION_UPDATED
|
|
54
|
-
ACTION_UNCHANGED = :ACTION_UNCHANGED
|
|
55
|
-
ACTION_DELETED = :ACTION_DELETED
|
|
56
|
-
ACTION_FAILED = :ACTION_FAILED
|
|
57
|
-
|
|
58
|
-
# @!method self.values
|
|
59
|
-
# @return [Array<Symbol>]
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
# @see Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome#error
|
|
63
|
-
class Error < Cadenya::Internal::Type::BaseModel
|
|
64
|
-
# @!attribute code
|
|
65
|
-
# The status code, which should be an enum value of
|
|
66
|
-
# [google.rpc.Code][google.rpc.Code].
|
|
67
|
-
#
|
|
68
|
-
# @return [Integer, nil]
|
|
69
|
-
optional :code, Integer
|
|
70
|
-
|
|
71
|
-
# @!attribute details
|
|
72
|
-
# A list of messages that carry the error details. There is a common set of
|
|
73
|
-
# message types for APIs to use.
|
|
74
|
-
#
|
|
75
|
-
# @return [Array<Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome::Error::Detail>, nil]
|
|
76
|
-
optional :details,
|
|
77
|
-
-> { Cadenya::Internal::Type::ArrayOf[Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome::Error::Detail] }
|
|
78
|
-
|
|
79
|
-
# @!attribute message
|
|
80
|
-
# A developer-facing error message, which should be in English. Any user-facing
|
|
81
|
-
# error message should be localized and sent in the
|
|
82
|
-
# [google.rpc.Status.details][google.rpc.Status.details] field, or localized by
|
|
83
|
-
# the client.
|
|
84
|
-
#
|
|
85
|
-
# @return [String, nil]
|
|
86
|
-
optional :message, String
|
|
87
|
-
|
|
88
|
-
# @!method initialize(code: nil, details: nil, message: nil)
|
|
89
|
-
# Some parameter documentations has been truncated, see
|
|
90
|
-
# {Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome::Error}
|
|
91
|
-
# for more details.
|
|
92
|
-
#
|
|
93
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
94
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
95
|
-
# [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
96
|
-
# data: error code, error message, and error details. You can find out more about
|
|
97
|
-
# this error model and how to work with it in the
|
|
98
|
-
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
99
|
-
#
|
|
100
|
-
# @param code [Integer] The status code, which should be an enum value of [google.rpc.Code]google.rpc.C
|
|
101
|
-
#
|
|
102
|
-
# @param details [Array<Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome::Error::Detail>] A list of messages that carry the error details. There is a common set of messa
|
|
103
|
-
#
|
|
104
|
-
# @param message [String] A developer-facing error message, which should be in English. Any user-facing er
|
|
105
|
-
|
|
106
|
-
class Detail < Cadenya::Internal::Type::BaseModel
|
|
107
|
-
# @!attribute type
|
|
108
|
-
# The type of the serialized message.
|
|
109
|
-
#
|
|
110
|
-
# @return [String, nil]
|
|
111
|
-
optional :type, String, api_name: :@type
|
|
112
|
-
|
|
113
|
-
# @!method initialize(type: nil)
|
|
114
|
-
# Contains an arbitrary serialized message along with a @type that describes the
|
|
115
|
-
# type of the serialized message.
|
|
116
|
-
#
|
|
117
|
-
# @param type [String] The type of the serialized message.
|
|
118
|
-
end
|
|
119
|
-
end
|
|
120
|
-
end
|
|
121
|
-
end
|
|
122
|
-
end
|
|
123
|
-
end
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
module BulkWorkspaceResources
|
|
6
|
-
# @see Cadenya::Resources::BulkWorkspaceResources::Results#list
|
|
7
|
-
class ResultListParams < Cadenya::Internal::Type::BaseModel
|
|
8
|
-
extend Cadenya::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Cadenya::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
# @!attribute workspace_id
|
|
12
|
-
#
|
|
13
|
-
# @return [String]
|
|
14
|
-
required :workspace_id, String
|
|
15
|
-
|
|
16
|
-
# @!attribute bulk_workspace_apply_id
|
|
17
|
-
#
|
|
18
|
-
# @return [String]
|
|
19
|
-
required :bulk_workspace_apply_id, String
|
|
20
|
-
|
|
21
|
-
# @!attribute action
|
|
22
|
-
# Filter by action.
|
|
23
|
-
#
|
|
24
|
-
# @return [Symbol, Cadenya::Models::BulkWorkspaceResources::ResultListParams::Action, nil]
|
|
25
|
-
optional :action, enum: -> { Cadenya::BulkWorkspaceResources::ResultListParams::Action }
|
|
26
|
-
|
|
27
|
-
# @!attribute cursor
|
|
28
|
-
# Pagination cursor from previous response
|
|
29
|
-
#
|
|
30
|
-
# @return [String, nil]
|
|
31
|
-
optional :cursor, String
|
|
32
|
-
|
|
33
|
-
# @!attribute limit
|
|
34
|
-
# Maximum number of results to return
|
|
35
|
-
#
|
|
36
|
-
# @return [Integer, nil]
|
|
37
|
-
optional :limit, Integer
|
|
38
|
-
|
|
39
|
-
# @!attribute sort_order
|
|
40
|
-
# Sort order for results (asc or desc by creation time)
|
|
41
|
-
#
|
|
42
|
-
# @return [String, nil]
|
|
43
|
-
optional :sort_order, String
|
|
44
|
-
|
|
45
|
-
# @!attribute type
|
|
46
|
-
# Filter by data.type discriminator (e.g., "toolSet", "memoryEntry").
|
|
47
|
-
#
|
|
48
|
-
# @return [String, nil]
|
|
49
|
-
optional :type, String
|
|
50
|
-
|
|
51
|
-
# @!method initialize(workspace_id:, bulk_workspace_apply_id:, action: nil, cursor: nil, limit: nil, sort_order: nil, type: nil, request_options: {})
|
|
52
|
-
# @param workspace_id [String]
|
|
53
|
-
#
|
|
54
|
-
# @param bulk_workspace_apply_id [String]
|
|
55
|
-
#
|
|
56
|
-
# @param action [Symbol, Cadenya::Models::BulkWorkspaceResources::ResultListParams::Action] Filter by action.
|
|
57
|
-
#
|
|
58
|
-
# @param cursor [String] Pagination cursor from previous response
|
|
59
|
-
#
|
|
60
|
-
# @param limit [Integer] Maximum number of results to return
|
|
61
|
-
#
|
|
62
|
-
# @param sort_order [String] Sort order for results (asc or desc by creation time)
|
|
63
|
-
#
|
|
64
|
-
# @param type [String] Filter by data.type discriminator (e.g., "toolSet", "memoryEntry").
|
|
65
|
-
#
|
|
66
|
-
# @param request_options [Cadenya::RequestOptions, Hash{Symbol=>Object}]
|
|
67
|
-
|
|
68
|
-
# Filter by action.
|
|
69
|
-
module Action
|
|
70
|
-
extend Cadenya::Internal::Type::Enum
|
|
71
|
-
|
|
72
|
-
ACTION_UNSPECIFIED = :ACTION_UNSPECIFIED
|
|
73
|
-
ACTION_CREATED = :ACTION_CREATED
|
|
74
|
-
ACTION_UPDATED = :ACTION_UPDATED
|
|
75
|
-
ACTION_UNCHANGED = :ACTION_UNCHANGED
|
|
76
|
-
ACTION_DELETED = :ACTION_DELETED
|
|
77
|
-
ACTION_FAILED = :ACTION_FAILED
|
|
78
|
-
|
|
79
|
-
# @!method self.values
|
|
80
|
-
# @return [Array<Symbol>]
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
end
|
|
84
|
-
end
|
|
85
|
-
end
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
class MemoryEntryItem < Cadenya::Internal::Type::BaseModel
|
|
6
|
-
# @!attribute key
|
|
7
|
-
#
|
|
8
|
-
# @return [String]
|
|
9
|
-
required :key, String
|
|
10
|
-
|
|
11
|
-
# @!attribute content
|
|
12
|
-
#
|
|
13
|
-
# @return [String, nil]
|
|
14
|
-
optional :content, String
|
|
15
|
-
|
|
16
|
-
# @!attribute description
|
|
17
|
-
#
|
|
18
|
-
# @return [String, nil]
|
|
19
|
-
optional :description, String
|
|
20
|
-
|
|
21
|
-
# @!attribute upload_id
|
|
22
|
-
#
|
|
23
|
-
# @return [String, nil]
|
|
24
|
-
optional :upload_id, String, api_name: :uploadId
|
|
25
|
-
|
|
26
|
-
# @!method initialize(key:, content: nil, description: nil, upload_id: nil)
|
|
27
|
-
# @param key [String]
|
|
28
|
-
# @param content [String]
|
|
29
|
-
# @param description [String]
|
|
30
|
-
# @param upload_id [String]
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
end
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
class MemoryLayerEntry < Cadenya::Internal::Type::BaseModel
|
|
6
|
-
# @!attribute name
|
|
7
|
-
#
|
|
8
|
-
# @return [String]
|
|
9
|
-
required :name, String
|
|
10
|
-
|
|
11
|
-
# @!attribute spec
|
|
12
|
-
#
|
|
13
|
-
# @return [Cadenya::Models::MemoryLayerSpec]
|
|
14
|
-
required :spec, -> { Cadenya::MemoryLayerSpec }
|
|
15
|
-
|
|
16
|
-
# @!attribute entries
|
|
17
|
-
# Memory entries in this layer, keyed by external_id.
|
|
18
|
-
#
|
|
19
|
-
# @return [Hash{Symbol=>Cadenya::Models::MemoryEntryItem}, nil]
|
|
20
|
-
optional :entries, -> { Cadenya::Internal::Type::HashOf[Cadenya::MemoryEntryItem] }
|
|
21
|
-
|
|
22
|
-
# @!attribute labels
|
|
23
|
-
#
|
|
24
|
-
# @return [Hash{Symbol=>String}, nil]
|
|
25
|
-
optional :labels, Cadenya::Internal::Type::HashOf[String]
|
|
26
|
-
|
|
27
|
-
# @!method initialize(name:, spec:, entries: nil, labels: nil)
|
|
28
|
-
# @param name [String]
|
|
29
|
-
#
|
|
30
|
-
# @param spec [Cadenya::Models::MemoryLayerSpec]
|
|
31
|
-
#
|
|
32
|
-
# @param entries [Hash{Symbol=>Cadenya::Models::MemoryEntryItem}] Memory entries in this layer, keyed by external_id.
|
|
33
|
-
#
|
|
34
|
-
# @param labels [Hash{Symbol=>String}]
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
class ToolEntry < Cadenya::Internal::Type::BaseModel
|
|
6
|
-
# @!attribute name
|
|
7
|
-
#
|
|
8
|
-
# @return [String]
|
|
9
|
-
required :name, String
|
|
10
|
-
|
|
11
|
-
# @!attribute spec
|
|
12
|
-
#
|
|
13
|
-
# @return [Cadenya::Models::ToolSets::ToolSpec]
|
|
14
|
-
required :spec, -> { Cadenya::ToolSets::ToolSpec }
|
|
15
|
-
|
|
16
|
-
# @!attribute labels
|
|
17
|
-
#
|
|
18
|
-
# @return [Hash{Symbol=>String}, nil]
|
|
19
|
-
optional :labels, Cadenya::Internal::Type::HashOf[String]
|
|
20
|
-
|
|
21
|
-
# @!attribute state
|
|
22
|
-
# Desired lifecycle state for the tool. Defaults to STATE_AVAILABLE when
|
|
23
|
-
# unspecified. STATE_ARCHIVED is server-managed and is rejected here.
|
|
24
|
-
#
|
|
25
|
-
# @return [Symbol, Cadenya::Models::ToolEntry::State, nil]
|
|
26
|
-
optional :state, enum: -> { Cadenya::ToolEntry::State }
|
|
27
|
-
|
|
28
|
-
# @!method initialize(name:, spec:, labels: nil, state: nil)
|
|
29
|
-
# Some parameter documentations has been truncated, see
|
|
30
|
-
# {Cadenya::Models::ToolEntry} for more details.
|
|
31
|
-
#
|
|
32
|
-
# @param name [String]
|
|
33
|
-
#
|
|
34
|
-
# @param spec [Cadenya::Models::ToolSets::ToolSpec]
|
|
35
|
-
#
|
|
36
|
-
# @param labels [Hash{Symbol=>String}]
|
|
37
|
-
#
|
|
38
|
-
# @param state [Symbol, Cadenya::Models::ToolEntry::State] Desired lifecycle state for the tool. Defaults to STATE_AVAILABLE when
|
|
39
|
-
|
|
40
|
-
# Desired lifecycle state for the tool. Defaults to STATE_AVAILABLE when
|
|
41
|
-
# unspecified. STATE_ARCHIVED is server-managed and is rejected here.
|
|
42
|
-
#
|
|
43
|
-
# @see Cadenya::Models::ToolEntry#state
|
|
44
|
-
module State
|
|
45
|
-
extend Cadenya::Internal::Type::Enum
|
|
46
|
-
|
|
47
|
-
STATE_UNSPECIFIED = :STATE_UNSPECIFIED
|
|
48
|
-
STATE_AVAILABLE = :STATE_AVAILABLE
|
|
49
|
-
STATE_OMITTED = :STATE_OMITTED
|
|
50
|
-
STATE_ARCHIVED = :STATE_ARCHIVED
|
|
51
|
-
|
|
52
|
-
# @!method self.values
|
|
53
|
-
# @return [Array<Symbol>]
|
|
54
|
-
end
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
|
-
end
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
class ToolSetEntry < Cadenya::Internal::Type::BaseModel
|
|
6
|
-
# @!attribute name
|
|
7
|
-
#
|
|
8
|
-
# @return [String]
|
|
9
|
-
required :name, String
|
|
10
|
-
|
|
11
|
-
# @!attribute spec
|
|
12
|
-
#
|
|
13
|
-
# @return [Cadenya::Models::ToolSetSpec]
|
|
14
|
-
required :spec, -> { Cadenya::ToolSetSpec }
|
|
15
|
-
|
|
16
|
-
# @!attribute labels
|
|
17
|
-
#
|
|
18
|
-
# @return [Hash{Symbol=>String}, nil]
|
|
19
|
-
optional :labels, Cadenya::Internal::Type::HashOf[String]
|
|
20
|
-
|
|
21
|
-
# @!attribute tools
|
|
22
|
-
# Tools in this tool set, keyed by external_id.
|
|
23
|
-
#
|
|
24
|
-
# @return [Hash{Symbol=>Cadenya::Models::ToolEntry}, nil]
|
|
25
|
-
optional :tools, -> { Cadenya::Internal::Type::HashOf[Cadenya::ToolEntry] }
|
|
26
|
-
|
|
27
|
-
# @!method initialize(name:, spec:, labels: nil, tools: nil)
|
|
28
|
-
# @param name [String]
|
|
29
|
-
#
|
|
30
|
-
# @param spec [Cadenya::Models::ToolSetSpec]
|
|
31
|
-
#
|
|
32
|
-
# @param labels [Hash{Symbol=>String}]
|
|
33
|
-
#
|
|
34
|
-
# @param tools [Hash{Symbol=>Cadenya::Models::ToolEntry}] Tools in this tool set, keyed by external_id.
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
class VariationAssignmentEntry < Cadenya::Internal::Type::BaseModel
|
|
6
|
-
# @!attribute sub_agent_id
|
|
7
|
-
#
|
|
8
|
-
# @return [String, nil]
|
|
9
|
-
optional :sub_agent_id, String, api_name: :subAgentId
|
|
10
|
-
|
|
11
|
-
# @!attribute tool_id
|
|
12
|
-
#
|
|
13
|
-
# @return [String, nil]
|
|
14
|
-
optional :tool_id, String, api_name: :toolId
|
|
15
|
-
|
|
16
|
-
# @!attribute tool_set_id
|
|
17
|
-
#
|
|
18
|
-
# @return [String, nil]
|
|
19
|
-
optional :tool_set_id, String, api_name: :toolSetId
|
|
20
|
-
|
|
21
|
-
# @!method initialize(sub_agent_id: nil, tool_id: nil, tool_set_id: nil)
|
|
22
|
-
# @param sub_agent_id [String]
|
|
23
|
-
# @param tool_id [String]
|
|
24
|
-
# @param tool_set_id [String]
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
class VariationMemoryLayerEntry < Cadenya::Internal::Type::BaseModel
|
|
6
|
-
# @!attribute memory_layer_id
|
|
7
|
-
# external_id:<value> form. Canonical IDs are rejected.
|
|
8
|
-
#
|
|
9
|
-
# @return [String, nil]
|
|
10
|
-
optional :memory_layer_id, String, api_name: :memoryLayerId
|
|
11
|
-
|
|
12
|
-
# @!attribute position
|
|
13
|
-
#
|
|
14
|
-
# @return [Integer, nil]
|
|
15
|
-
optional :position, Integer
|
|
16
|
-
|
|
17
|
-
# @!method initialize(memory_layer_id: nil, position: nil)
|
|
18
|
-
# @param memory_layer_id [String] external_id:<value> form. Canonical IDs are rejected.
|
|
19
|
-
#
|
|
20
|
-
# @param position [Integer]
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|