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,79 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
class BulkWorkspaceApplyInfo < Cadenya::Internal::Type::BaseModel
|
|
6
|
-
# @!attribute created_by
|
|
7
|
-
# A profile identifies a user or non-human principal (such as an API key) at the
|
|
8
|
-
# account level. Profiles are account-scoped and can be granted access to multiple
|
|
9
|
-
# workspaces.
|
|
10
|
-
#
|
|
11
|
-
# @return [Cadenya::Models::Profile, nil]
|
|
12
|
-
optional :created_by, -> { Cadenya::Profile }, api_name: :createdBy
|
|
13
|
-
|
|
14
|
-
response_only do
|
|
15
|
-
# @!attribute completed_at
|
|
16
|
-
#
|
|
17
|
-
# @return [Time, nil]
|
|
18
|
-
optional :completed_at, Time, api_name: :completedAt
|
|
19
|
-
|
|
20
|
-
# @!attribute created_count
|
|
21
|
-
#
|
|
22
|
-
# @return [Integer, nil]
|
|
23
|
-
optional :created_count, Integer, api_name: :createdCount
|
|
24
|
-
|
|
25
|
-
# @!attribute deleted_count
|
|
26
|
-
#
|
|
27
|
-
# @return [Integer, nil]
|
|
28
|
-
optional :deleted_count, Integer, api_name: :deletedCount
|
|
29
|
-
|
|
30
|
-
# @!attribute failed_count
|
|
31
|
-
#
|
|
32
|
-
# @return [Integer, nil]
|
|
33
|
-
optional :failed_count, Integer, api_name: :failedCount
|
|
34
|
-
|
|
35
|
-
# @!attribute started_at
|
|
36
|
-
#
|
|
37
|
-
# @return [Time, nil]
|
|
38
|
-
optional :started_at, Time, api_name: :startedAt
|
|
39
|
-
|
|
40
|
-
# @!attribute total_count
|
|
41
|
-
#
|
|
42
|
-
# @return [Integer, nil]
|
|
43
|
-
optional :total_count, Integer, api_name: :totalCount
|
|
44
|
-
|
|
45
|
-
# @!attribute unchanged_count
|
|
46
|
-
#
|
|
47
|
-
# @return [Integer, nil]
|
|
48
|
-
optional :unchanged_count, Integer, api_name: :unchangedCount
|
|
49
|
-
|
|
50
|
-
# @!attribute updated_count
|
|
51
|
-
#
|
|
52
|
-
# @return [Integer, nil]
|
|
53
|
-
optional :updated_count, Integer, api_name: :updatedCount
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
# @!method initialize(completed_at: nil, created_by: nil, created_count: nil, deleted_count: nil, failed_count: nil, started_at: nil, total_count: nil, unchanged_count: nil, updated_count: nil)
|
|
57
|
-
# Some parameter documentations has been truncated, see
|
|
58
|
-
# {Cadenya::Models::BulkWorkspaceApplyInfo} for more details.
|
|
59
|
-
#
|
|
60
|
-
# @param completed_at [Time]
|
|
61
|
-
#
|
|
62
|
-
# @param created_by [Cadenya::Models::Profile] A profile identifies a user or non-human principal (such as an API key)
|
|
63
|
-
#
|
|
64
|
-
# @param created_count [Integer]
|
|
65
|
-
#
|
|
66
|
-
# @param deleted_count [Integer]
|
|
67
|
-
#
|
|
68
|
-
# @param failed_count [Integer]
|
|
69
|
-
#
|
|
70
|
-
# @param started_at [Time]
|
|
71
|
-
#
|
|
72
|
-
# @param total_count [Integer]
|
|
73
|
-
#
|
|
74
|
-
# @param unchanged_count [Integer]
|
|
75
|
-
#
|
|
76
|
-
# @param updated_count [Integer]
|
|
77
|
-
end
|
|
78
|
-
end
|
|
79
|
-
end
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
class BulkWorkspaceApplyStatus < Cadenya::Internal::Type::BaseModel
|
|
6
|
-
# @!attribute state
|
|
7
|
-
#
|
|
8
|
-
# @return [Symbol, Cadenya::Models::BulkWorkspaceApplyStatus::State]
|
|
9
|
-
required :state, enum: -> { Cadenya::BulkWorkspaceApplyStatus::State }
|
|
10
|
-
|
|
11
|
-
# @!attribute message
|
|
12
|
-
#
|
|
13
|
-
# @return [String, nil]
|
|
14
|
-
optional :message, String
|
|
15
|
-
|
|
16
|
-
# @!attribute preflight_error
|
|
17
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
18
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
19
|
-
# [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
20
|
-
# data: error code, error message, and error details. You can find out more about
|
|
21
|
-
# this error model and how to work with it in the
|
|
22
|
-
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
23
|
-
#
|
|
24
|
-
# @return [Cadenya::Models::BulkWorkspaceApplyStatus::PreflightError, nil]
|
|
25
|
-
optional :preflight_error,
|
|
26
|
-
-> { Cadenya::BulkWorkspaceApplyStatus::PreflightError },
|
|
27
|
-
api_name: :preflightError
|
|
28
|
-
|
|
29
|
-
# @!method initialize(state:, message: nil, preflight_error: nil)
|
|
30
|
-
# Some parameter documentations has been truncated, see
|
|
31
|
-
# {Cadenya::Models::BulkWorkspaceApplyStatus} for more details.
|
|
32
|
-
#
|
|
33
|
-
# @param state [Symbol, Cadenya::Models::BulkWorkspaceApplyStatus::State]
|
|
34
|
-
#
|
|
35
|
-
# @param message [String]
|
|
36
|
-
#
|
|
37
|
-
# @param preflight_error [Cadenya::Models::BulkWorkspaceApplyStatus::PreflightError] The `Status` type defines a logical error model that is suitable for different p
|
|
38
|
-
|
|
39
|
-
# @see Cadenya::Models::BulkWorkspaceApplyStatus#state
|
|
40
|
-
module State
|
|
41
|
-
extend Cadenya::Internal::Type::Enum
|
|
42
|
-
|
|
43
|
-
STATE_UNSPECIFIED = :STATE_UNSPECIFIED
|
|
44
|
-
STATE_PENDING = :STATE_PENDING
|
|
45
|
-
STATE_VALIDATING = :STATE_VALIDATING
|
|
46
|
-
STATE_RUNNING = :STATE_RUNNING
|
|
47
|
-
STATE_SUCCEEDED = :STATE_SUCCEEDED
|
|
48
|
-
STATE_PARTIALLY_APPLIED = :STATE_PARTIALLY_APPLIED
|
|
49
|
-
STATE_FAILED = :STATE_FAILED
|
|
50
|
-
STATE_CANCELLED = :STATE_CANCELLED
|
|
51
|
-
|
|
52
|
-
# @!method self.values
|
|
53
|
-
# @return [Array<Symbol>]
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
# @see Cadenya::Models::BulkWorkspaceApplyStatus#preflight_error
|
|
57
|
-
class PreflightError < Cadenya::Internal::Type::BaseModel
|
|
58
|
-
# @!attribute code
|
|
59
|
-
# The status code, which should be an enum value of
|
|
60
|
-
# [google.rpc.Code][google.rpc.Code].
|
|
61
|
-
#
|
|
62
|
-
# @return [Integer, nil]
|
|
63
|
-
optional :code, Integer
|
|
64
|
-
|
|
65
|
-
# @!attribute details
|
|
66
|
-
# A list of messages that carry the error details. There is a common set of
|
|
67
|
-
# message types for APIs to use.
|
|
68
|
-
#
|
|
69
|
-
# @return [Array<Cadenya::Models::BulkWorkspaceApplyStatus::PreflightError::Detail>, nil]
|
|
70
|
-
optional :details,
|
|
71
|
-
-> { Cadenya::Internal::Type::ArrayOf[Cadenya::BulkWorkspaceApplyStatus::PreflightError::Detail] }
|
|
72
|
-
|
|
73
|
-
# @!attribute message
|
|
74
|
-
# A developer-facing error message, which should be in English. Any user-facing
|
|
75
|
-
# error message should be localized and sent in the
|
|
76
|
-
# [google.rpc.Status.details][google.rpc.Status.details] field, or localized by
|
|
77
|
-
# the client.
|
|
78
|
-
#
|
|
79
|
-
# @return [String, nil]
|
|
80
|
-
optional :message, String
|
|
81
|
-
|
|
82
|
-
# @!method initialize(code: nil, details: nil, message: nil)
|
|
83
|
-
# Some parameter documentations has been truncated, see
|
|
84
|
-
# {Cadenya::Models::BulkWorkspaceApplyStatus::PreflightError} for more details.
|
|
85
|
-
#
|
|
86
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
87
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
88
|
-
# [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
89
|
-
# data: error code, error message, and error details. You can find out more about
|
|
90
|
-
# this error model and how to work with it in the
|
|
91
|
-
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
92
|
-
#
|
|
93
|
-
# @param code [Integer] The status code, which should be an enum value of [google.rpc.Code]google.rpc.C
|
|
94
|
-
#
|
|
95
|
-
# @param details [Array<Cadenya::Models::BulkWorkspaceApplyStatus::PreflightError::Detail>] A list of messages that carry the error details. There is a common set of messa
|
|
96
|
-
#
|
|
97
|
-
# @param message [String] A developer-facing error message, which should be in English. Any user-facing er
|
|
98
|
-
|
|
99
|
-
class Detail < Cadenya::Internal::Type::BaseModel
|
|
100
|
-
# @!attribute type
|
|
101
|
-
# The type of the serialized message.
|
|
102
|
-
#
|
|
103
|
-
# @return [String, nil]
|
|
104
|
-
optional :type, String, api_name: :@type
|
|
105
|
-
|
|
106
|
-
# @!method initialize(type: nil)
|
|
107
|
-
# Contains an arbitrary serialized message along with a @type that describes the
|
|
108
|
-
# type of the serialized message.
|
|
109
|
-
#
|
|
110
|
-
# @param type [String] The type of the serialized message.
|
|
111
|
-
end
|
|
112
|
-
end
|
|
113
|
-
end
|
|
114
|
-
end
|
|
115
|
-
end
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
# @see Cadenya::Resources::BulkWorkspaceResources#apply
|
|
6
|
-
class BulkWorkspaceResourceApplyParams < Cadenya::Internal::Type::BaseModel
|
|
7
|
-
extend Cadenya::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Cadenya::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute workspace_id
|
|
11
|
-
#
|
|
12
|
-
# @return [String]
|
|
13
|
-
required :workspace_id, String
|
|
14
|
-
|
|
15
|
-
# @!attribute data
|
|
16
|
-
#
|
|
17
|
-
# @return [Cadenya::Models::BulkWorkspaceApplyData]
|
|
18
|
-
required :data, -> { Cadenya::BulkWorkspaceApplyData }
|
|
19
|
-
|
|
20
|
-
# @!method initialize(workspace_id:, data:, request_options: {})
|
|
21
|
-
# @param workspace_id [String]
|
|
22
|
-
# @param data [Cadenya::Models::BulkWorkspaceApplyData]
|
|
23
|
-
# @param request_options [Cadenya::RequestOptions, Hash{Symbol=>Object}]
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
# @see Cadenya::Resources::BulkWorkspaceResources#list
|
|
6
|
-
class BulkWorkspaceResourceListParams < Cadenya::Internal::Type::BaseModel
|
|
7
|
-
extend Cadenya::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Cadenya::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute workspace_id
|
|
11
|
-
#
|
|
12
|
-
# @return [String]
|
|
13
|
-
required :workspace_id, String
|
|
14
|
-
|
|
15
|
-
# @!attribute bundle_key
|
|
16
|
-
# Filter by bundle_key — list every apply for a given bundle.
|
|
17
|
-
#
|
|
18
|
-
# @return [String, nil]
|
|
19
|
-
optional :bundle_key, String
|
|
20
|
-
|
|
21
|
-
# @!attribute cursor
|
|
22
|
-
# Pagination cursor from previous response
|
|
23
|
-
#
|
|
24
|
-
# @return [String, nil]
|
|
25
|
-
optional :cursor, String
|
|
26
|
-
|
|
27
|
-
# @!attribute limit
|
|
28
|
-
# Maximum number of results to return
|
|
29
|
-
#
|
|
30
|
-
# @return [Integer, nil]
|
|
31
|
-
optional :limit, Integer
|
|
32
|
-
|
|
33
|
-
# @!attribute sort_order
|
|
34
|
-
# Sort order for results (asc or desc by creation time)
|
|
35
|
-
#
|
|
36
|
-
# @return [String, nil]
|
|
37
|
-
optional :sort_order, String
|
|
38
|
-
|
|
39
|
-
# @!attribute state
|
|
40
|
-
# Filter by lifecycle state.
|
|
41
|
-
#
|
|
42
|
-
# @return [Symbol, Cadenya::Models::BulkWorkspaceResourceListParams::State, nil]
|
|
43
|
-
optional :state, enum: -> { Cadenya::BulkWorkspaceResourceListParams::State }
|
|
44
|
-
|
|
45
|
-
# @!method initialize(workspace_id:, bundle_key: nil, cursor: nil, limit: nil, sort_order: nil, state: nil, request_options: {})
|
|
46
|
-
# @param workspace_id [String]
|
|
47
|
-
#
|
|
48
|
-
# @param bundle_key [String] Filter by bundle_key — list every apply for a given bundle.
|
|
49
|
-
#
|
|
50
|
-
# @param cursor [String] Pagination cursor from previous response
|
|
51
|
-
#
|
|
52
|
-
# @param limit [Integer] Maximum number of results to return
|
|
53
|
-
#
|
|
54
|
-
# @param sort_order [String] Sort order for results (asc or desc by creation time)
|
|
55
|
-
#
|
|
56
|
-
# @param state [Symbol, Cadenya::Models::BulkWorkspaceResourceListParams::State] Filter by lifecycle state.
|
|
57
|
-
#
|
|
58
|
-
# @param request_options [Cadenya::RequestOptions, Hash{Symbol=>Object}]
|
|
59
|
-
|
|
60
|
-
# Filter by lifecycle state.
|
|
61
|
-
module State
|
|
62
|
-
extend Cadenya::Internal::Type::Enum
|
|
63
|
-
|
|
64
|
-
STATE_UNSPECIFIED = :STATE_UNSPECIFIED
|
|
65
|
-
STATE_PENDING = :STATE_PENDING
|
|
66
|
-
STATE_VALIDATING = :STATE_VALIDATING
|
|
67
|
-
STATE_RUNNING = :STATE_RUNNING
|
|
68
|
-
STATE_SUCCEEDED = :STATE_SUCCEEDED
|
|
69
|
-
STATE_PARTIALLY_APPLIED = :STATE_PARTIALLY_APPLIED
|
|
70
|
-
STATE_FAILED = :STATE_FAILED
|
|
71
|
-
STATE_CANCELLED = :STATE_CANCELLED
|
|
72
|
-
|
|
73
|
-
# @!method self.values
|
|
74
|
-
# @return [Array<Symbol>]
|
|
75
|
-
end
|
|
76
|
-
end
|
|
77
|
-
end
|
|
78
|
-
end
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
# @see Cadenya::Resources::BulkWorkspaceResources#retrieve
|
|
6
|
-
class BulkWorkspaceResourceRetrieveParams < Cadenya::Internal::Type::BaseModel
|
|
7
|
-
extend Cadenya::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Cadenya::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute workspace_id
|
|
11
|
-
#
|
|
12
|
-
# @return [String]
|
|
13
|
-
required :workspace_id, String
|
|
14
|
-
|
|
15
|
-
# @!attribute id
|
|
16
|
-
#
|
|
17
|
-
# @return [String]
|
|
18
|
-
required :id, String
|
|
19
|
-
|
|
20
|
-
# @!method initialize(workspace_id:, id:, request_options: {})
|
|
21
|
-
# @param workspace_id [String]
|
|
22
|
-
# @param id [String]
|
|
23
|
-
# @param request_options [Cadenya::RequestOptions, Hash{Symbol=>Object}]
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
@@ -1,40 +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 BulkWorkspaceApplyResult < Cadenya::Internal::Type::BaseModel
|
|
8
|
-
# @!attribute data
|
|
9
|
-
# Outcome for a single resource within a bulk apply. The `type` field is the
|
|
10
|
-
# discriminator string naming the populated `outcome` oneof variant (e.g.,
|
|
11
|
-
# "toolSet", "memoryEntry"). Every outcome shell carries an `action` enum and
|
|
12
|
-
# either a resulting resource snapshot (for ACTION_CREATED, ACTION_UPDATED,
|
|
13
|
-
# ACTION_UNCHANGED, ACTION_DELETED) or a google.rpc.Status (for ACTION_FAILED).
|
|
14
|
-
#
|
|
15
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultData]
|
|
16
|
-
required :data, -> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultData }
|
|
17
|
-
|
|
18
|
-
# @!attribute metadata
|
|
19
|
-
# Metadata for ephemeral operations and activities (e.g., objectives, executions,
|
|
20
|
-
# runs)
|
|
21
|
-
#
|
|
22
|
-
# @return [Cadenya::Models::OperationMetadata]
|
|
23
|
-
required :metadata, -> { Cadenya::OperationMetadata }
|
|
24
|
-
|
|
25
|
-
# @!method initialize(data:, metadata:)
|
|
26
|
-
# Some parameter documentations has been truncated, see
|
|
27
|
-
# {Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResult} for more
|
|
28
|
-
# details.
|
|
29
|
-
#
|
|
30
|
-
# One row of the per-resource result list for a BulkWorkspaceApply. Each row is
|
|
31
|
-
# itself an operation that can be paginated, sorted by created_at, and addressed
|
|
32
|
-
# individually.
|
|
33
|
-
#
|
|
34
|
-
# @param data [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultData] Outcome for a single resource within a bulk apply. The `type` field is
|
|
35
|
-
#
|
|
36
|
-
# @param metadata [Cadenya::Models::OperationMetadata] Metadata for ephemeral operations and activities (e.g., objectives, executions,
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
end
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
module BulkWorkspaceResources
|
|
6
|
-
class BulkWorkspaceApplyResultData < Cadenya::Internal::Type::BaseModel
|
|
7
|
-
# @!attribute agent
|
|
8
|
-
#
|
|
9
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome, nil]
|
|
10
|
-
optional :agent, -> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome }
|
|
11
|
-
|
|
12
|
-
# @!attribute agent_schedule
|
|
13
|
-
#
|
|
14
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentScheduleOutcome, nil]
|
|
15
|
-
optional :agent_schedule,
|
|
16
|
-
-> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentScheduleOutcome },
|
|
17
|
-
api_name: :agentSchedule
|
|
18
|
-
|
|
19
|
-
# @!attribute agent_variation
|
|
20
|
-
#
|
|
21
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentVariationOutcome, nil]
|
|
22
|
-
optional :agent_variation,
|
|
23
|
-
-> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentVariationOutcome },
|
|
24
|
-
api_name: :agentVariation
|
|
25
|
-
|
|
26
|
-
# @!attribute memory_entry
|
|
27
|
-
#
|
|
28
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataMemoryEntryOutcome, nil]
|
|
29
|
-
optional :memory_entry,
|
|
30
|
-
-> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataMemoryEntryOutcome },
|
|
31
|
-
api_name: :memoryEntry
|
|
32
|
-
|
|
33
|
-
# @!attribute memory_layer
|
|
34
|
-
#
|
|
35
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataMemoryLayerOutcome, nil]
|
|
36
|
-
optional :memory_layer,
|
|
37
|
-
-> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataMemoryLayerOutcome },
|
|
38
|
-
api_name: :memoryLayer
|
|
39
|
-
|
|
40
|
-
# @!attribute tool
|
|
41
|
-
#
|
|
42
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolOutcome, nil]
|
|
43
|
-
optional :tool, -> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolOutcome }
|
|
44
|
-
|
|
45
|
-
# @!attribute tool_set
|
|
46
|
-
#
|
|
47
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome, nil]
|
|
48
|
-
optional :tool_set,
|
|
49
|
-
-> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome },
|
|
50
|
-
api_name: :toolSet
|
|
51
|
-
|
|
52
|
-
# @!attribute type
|
|
53
|
-
#
|
|
54
|
-
# @return [String, nil]
|
|
55
|
-
optional :type, String
|
|
56
|
-
|
|
57
|
-
# @!attribute variation_assignment
|
|
58
|
-
#
|
|
59
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome, nil]
|
|
60
|
-
optional :variation_assignment,
|
|
61
|
-
-> {
|
|
62
|
-
Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome
|
|
63
|
-
},
|
|
64
|
-
api_name: :variationAssignment
|
|
65
|
-
|
|
66
|
-
# @!attribute variation_memory_layer
|
|
67
|
-
#
|
|
68
|
-
# @return [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome, nil]
|
|
69
|
-
optional :variation_memory_layer,
|
|
70
|
-
-> {
|
|
71
|
-
Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome
|
|
72
|
-
},
|
|
73
|
-
api_name: :variationMemoryLayer
|
|
74
|
-
|
|
75
|
-
# @!method initialize(agent: nil, agent_schedule: nil, agent_variation: nil, memory_entry: nil, memory_layer: nil, tool: nil, tool_set: nil, type: nil, variation_assignment: nil, variation_memory_layer: nil)
|
|
76
|
-
# Outcome for a single resource within a bulk apply. The `type` field is the
|
|
77
|
-
# discriminator string naming the populated `outcome` oneof variant (e.g.,
|
|
78
|
-
# "toolSet", "memoryEntry"). Every outcome shell carries an `action` enum and
|
|
79
|
-
# either a resulting resource snapshot (for ACTION_CREATED, ACTION_UPDATED,
|
|
80
|
-
# ACTION_UNCHANGED, ACTION_DELETED) or a google.rpc.Status (for ACTION_FAILED).
|
|
81
|
-
#
|
|
82
|
-
# @param agent [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome]
|
|
83
|
-
# @param agent_schedule [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentScheduleOutcome]
|
|
84
|
-
# @param agent_variation [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentVariationOutcome]
|
|
85
|
-
# @param memory_entry [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataMemoryEntryOutcome]
|
|
86
|
-
# @param memory_layer [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataMemoryLayerOutcome]
|
|
87
|
-
# @param tool [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolOutcome]
|
|
88
|
-
# @param tool_set [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataToolSetOutcome]
|
|
89
|
-
# @param type [String]
|
|
90
|
-
# @param variation_assignment [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationAssignmentOutcome]
|
|
91
|
-
# @param variation_memory_layer [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataVariationMemoryLayerOutcome]
|
|
92
|
-
end
|
|
93
|
-
end
|
|
94
|
-
end
|
|
95
|
-
end
|
data/lib/cadenya/models/bulk_workspace_resources/bulk_workspace_apply_result_data_agent_outcome.rb
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Cadenya
|
|
4
|
-
module Models
|
|
5
|
-
module BulkWorkspaceResources
|
|
6
|
-
class BulkWorkspaceApplyResultDataAgentOutcome < Cadenya::Internal::Type::BaseModel
|
|
7
|
-
# @!attribute action
|
|
8
|
-
#
|
|
9
|
-
# @return [Symbol, Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome::Action, nil]
|
|
10
|
-
optional :action,
|
|
11
|
-
enum: -> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome::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::BulkWorkspaceApplyResultDataAgentOutcome::Error, nil]
|
|
22
|
-
optional :error, -> { Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome::Error }
|
|
23
|
-
|
|
24
|
-
# @!attribute external_id
|
|
25
|
-
#
|
|
26
|
-
# @return [String, nil]
|
|
27
|
-
optional :external_id, String, api_name: :externalId
|
|
28
|
-
|
|
29
|
-
# @!attribute resource
|
|
30
|
-
# Agent resource
|
|
31
|
-
#
|
|
32
|
-
# @return [Cadenya::Models::Agent, nil]
|
|
33
|
-
optional :resource, -> { Cadenya::Agent }
|
|
34
|
-
|
|
35
|
-
# @!method initialize(action: nil, error: nil, external_id: nil, resource: nil)
|
|
36
|
-
# Some parameter documentations has been truncated, see
|
|
37
|
-
# {Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome}
|
|
38
|
-
# for more details.
|
|
39
|
-
#
|
|
40
|
-
# @param action [Symbol, Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome::Action]
|
|
41
|
-
#
|
|
42
|
-
# @param error [Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome::Error] The `Status` type defines a logical error model that is suitable for different p
|
|
43
|
-
#
|
|
44
|
-
# @param external_id [String]
|
|
45
|
-
#
|
|
46
|
-
# @param resource [Cadenya::Models::Agent] Agent resource
|
|
47
|
-
|
|
48
|
-
# @see Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome#action
|
|
49
|
-
module Action
|
|
50
|
-
extend Cadenya::Internal::Type::Enum
|
|
51
|
-
|
|
52
|
-
ACTION_UNSPECIFIED = :ACTION_UNSPECIFIED
|
|
53
|
-
ACTION_CREATED = :ACTION_CREATED
|
|
54
|
-
ACTION_UPDATED = :ACTION_UPDATED
|
|
55
|
-
ACTION_UNCHANGED = :ACTION_UNCHANGED
|
|
56
|
-
ACTION_DELETED = :ACTION_DELETED
|
|
57
|
-
ACTION_FAILED = :ACTION_FAILED
|
|
58
|
-
|
|
59
|
-
# @!method self.values
|
|
60
|
-
# @return [Array<Symbol>]
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
# @see Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome#error
|
|
64
|
-
class Error < Cadenya::Internal::Type::BaseModel
|
|
65
|
-
# @!attribute code
|
|
66
|
-
# The status code, which should be an enum value of
|
|
67
|
-
# [google.rpc.Code][google.rpc.Code].
|
|
68
|
-
#
|
|
69
|
-
# @return [Integer, nil]
|
|
70
|
-
optional :code, Integer
|
|
71
|
-
|
|
72
|
-
# @!attribute details
|
|
73
|
-
# A list of messages that carry the error details. There is a common set of
|
|
74
|
-
# message types for APIs to use.
|
|
75
|
-
#
|
|
76
|
-
# @return [Array<Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome::Error::Detail>, nil]
|
|
77
|
-
optional :details,
|
|
78
|
-
-> { Cadenya::Internal::Type::ArrayOf[Cadenya::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome::Error::Detail] }
|
|
79
|
-
|
|
80
|
-
# @!attribute message
|
|
81
|
-
# A developer-facing error message, which should be in English. Any user-facing
|
|
82
|
-
# error message should be localized and sent in the
|
|
83
|
-
# [google.rpc.Status.details][google.rpc.Status.details] field, or localized by
|
|
84
|
-
# the client.
|
|
85
|
-
#
|
|
86
|
-
# @return [String, nil]
|
|
87
|
-
optional :message, String
|
|
88
|
-
|
|
89
|
-
# @!method initialize(code: nil, details: nil, message: nil)
|
|
90
|
-
# Some parameter documentations has been truncated, see
|
|
91
|
-
# {Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome::Error}
|
|
92
|
-
# for more details.
|
|
93
|
-
#
|
|
94
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
95
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
|
96
|
-
# [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
97
|
-
# data: error code, error message, and error details. You can find out more about
|
|
98
|
-
# this error model and how to work with it in the
|
|
99
|
-
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
100
|
-
#
|
|
101
|
-
# @param code [Integer] The status code, which should be an enum value of [google.rpc.Code]google.rpc.C
|
|
102
|
-
#
|
|
103
|
-
# @param details [Array<Cadenya::Models::BulkWorkspaceResources::BulkWorkspaceApplyResultDataAgentOutcome::Error::Detail>] A list of messages that carry the error details. There is a common set of messa
|
|
104
|
-
#
|
|
105
|
-
# @param message [String] A developer-facing error message, which should be in English. Any user-facing er
|
|
106
|
-
|
|
107
|
-
class Detail < Cadenya::Internal::Type::BaseModel
|
|
108
|
-
# @!attribute type
|
|
109
|
-
# The type of the serialized message.
|
|
110
|
-
#
|
|
111
|
-
# @return [String, nil]
|
|
112
|
-
optional :type, String, api_name: :@type
|
|
113
|
-
|
|
114
|
-
# @!method initialize(type: nil)
|
|
115
|
-
# Contains an arbitrary serialized message along with a @type that describes the
|
|
116
|
-
# type of the serialized message.
|
|
117
|
-
#
|
|
118
|
-
# @param type [String] The type of the serialized message.
|
|
119
|
-
end
|
|
120
|
-
end
|
|
121
|
-
end
|
|
122
|
-
end
|
|
123
|
-
end
|
|
124
|
-
end
|