openlayer 0.14.1 → 0.15.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 +13 -0
- data/README.md +1 -1
- data/lib/openlayer/models/inference_pipeline_retrieve_response.rb +38 -1
- data/lib/openlayer/models/inference_pipeline_update_response.rb +37 -1
- data/lib/openlayer/models/project_create_params.rb +37 -1
- data/lib/openlayer/models/project_create_response.rb +37 -1
- data/lib/openlayer/models/project_list_response.rb +37 -1
- data/lib/openlayer/models/project_update_params.rb +73 -0
- data/lib/openlayer/models/project_update_response.rb +298 -0
- data/lib/openlayer/models/projects/inference_pipeline_create_params.rb +38 -1
- data/lib/openlayer/models/projects/inference_pipeline_create_response.rb +38 -1
- data/lib/openlayer/models/projects/inference_pipeline_list_response.rb +41 -1
- data/lib/openlayer/models.rb +2 -0
- data/lib/openlayer/resources/projects.rb +49 -1
- data/lib/openlayer/version.rb +1 -1
- data/lib/openlayer.rb +2 -0
- data/rbi/openlayer/models/inference_pipeline_retrieve_response.rbi +37 -3
- data/rbi/openlayer/models/inference_pipeline_update_response.rbi +37 -3
- data/rbi/openlayer/models/project_create_params.rbi +34 -0
- data/rbi/openlayer/models/project_create_response.rbi +39 -3
- data/rbi/openlayer/models/project_list_response.rbi +39 -3
- data/rbi/openlayer/models/project_update_params.rbi +94 -0
- data/rbi/openlayer/models/project_update_response.rbi +437 -0
- data/rbi/openlayer/models/projects/inference_pipeline_create_params.rbi +37 -3
- data/rbi/openlayer/models/projects/inference_pipeline_create_response.rbi +37 -3
- data/rbi/openlayer/models/projects/inference_pipeline_list_response.rbi +37 -3
- data/rbi/openlayer/models.rbi +2 -0
- data/rbi/openlayer/resources/projects.rbi +46 -0
- data/sig/openlayer/models/inference_pipeline_retrieve_response.rbs +23 -3
- data/sig/openlayer/models/inference_pipeline_update_response.rbs +23 -3
- data/sig/openlayer/models/project_create_params.rbs +21 -1
- data/sig/openlayer/models/project_create_response.rbs +23 -3
- data/sig/openlayer/models/project_list_response.rbs +23 -3
- data/sig/openlayer/models/project_update_params.rbs +58 -0
- data/sig/openlayer/models/project_update_response.rbs +230 -0
- data/sig/openlayer/models/projects/inference_pipeline_create_params.rbs +23 -3
- data/sig/openlayer/models/projects/inference_pipeline_create_response.rbs +23 -3
- data/sig/openlayer/models/projects/inference_pipeline_list_response.rbs +23 -3
- data/sig/openlayer/models.rbs +2 -0
- data/sig/openlayer/resources/projects.rbs +15 -0
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78b0ba86942bf59f681090b483bfd9395c9ba8e68ef73f5fd49601dce7ac59bb
|
|
4
|
+
data.tar.gz: 2fbe5b80de24e1e71f81f74c825473cde1275bf8f5b00f1f6a726600776595a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e0e3f444a396778e7827601f4e3129b17bcbbfd41833713361a01d6231e9b05a22fbae3086c9c684423c4fbd05ad8388fdd0ab95da016446f8040e62b0570096
|
|
7
|
+
data.tar.gz: 33af3b2fae582424febfd60988d9f71717bc2c750cfa65a5270e542e92c76f0383ff2acafd6ffafa400d7a2d0ac6e7a80d71f0d478ce488fee4f8f5234dd1b96
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.0 (2026-08-03)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.14.1...v0.15.0](https://github.com/openlayer-ai/openlayer-ruby/compare/v0.14.1...v0.15.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([1e2b0dd](https://github.com/openlayer-ai/openlayer-ruby/commit/1e2b0dd15c04284222bb259bd5dd5b31537beaec))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **closes OPEN-11851:** expose update project endpoint ([c3918da](https://github.com/openlayer-ai/openlayer-ruby/commit/c3918daf0326fbeda5cc3844a0c39aa96dbdc573))
|
|
15
|
+
|
|
3
16
|
## 0.14.1 (2026-07-06)
|
|
4
17
|
|
|
5
18
|
Full Changelog: [v0.14.0...v0.14.1](https://github.com/openlayer-ai/openlayer-ruby/compare/v0.14.0...v0.14.1)
|
data/README.md
CHANGED
|
@@ -698,12 +698,37 @@ module Openlayer
|
|
|
698
698
|
enum: -> { Openlayer::Models::InferencePipelineRetrieveResponse::Project::TaskType },
|
|
699
699
|
api_name: :taskType
|
|
700
700
|
|
|
701
|
+
# @!attribute data_retention_days
|
|
702
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
703
|
+
# retained indefinitely.
|
|
704
|
+
#
|
|
705
|
+
# @return [Integer, nil]
|
|
706
|
+
optional :data_retention_days, Integer, api_name: :dataRetentionDays, nil?: true
|
|
707
|
+
|
|
701
708
|
# @!attribute description
|
|
702
709
|
# The project description.
|
|
703
710
|
#
|
|
704
711
|
# @return [String, nil]
|
|
705
712
|
optional :description, String, nil?: true
|
|
706
713
|
|
|
714
|
+
# @!attribute model_developer
|
|
715
|
+
# Who developed the model used in this project.
|
|
716
|
+
#
|
|
717
|
+
# @return [String, nil]
|
|
718
|
+
optional :model_developer, String, api_name: :modelDeveloper, nil?: true
|
|
719
|
+
|
|
720
|
+
# @!attribute model_types
|
|
721
|
+
# The kinds of model used in this project.
|
|
722
|
+
#
|
|
723
|
+
# @return [Array<String>, nil]
|
|
724
|
+
optional :model_types, Openlayer::Internal::Type::ArrayOf[String], api_name: :modelTypes, nil?: true
|
|
725
|
+
|
|
726
|
+
# @!attribute purpose
|
|
727
|
+
# What the system in this project is intended to do.
|
|
728
|
+
#
|
|
729
|
+
# @return [String, nil]
|
|
730
|
+
optional :purpose, String, nil?: true
|
|
731
|
+
|
|
707
732
|
response_only do
|
|
708
733
|
# @!attribute id
|
|
709
734
|
# The project id.
|
|
@@ -788,7 +813,11 @@ module Openlayer
|
|
|
788
813
|
nil?: true
|
|
789
814
|
end
|
|
790
815
|
|
|
791
|
-
# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, description: nil, git_repo: nil)
|
|
816
|
+
# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, data_retention_days: nil, description: nil, git_repo: nil, model_developer: nil, model_types: nil, purpose: nil)
|
|
817
|
+
# Some parameter documentations has been truncated, see
|
|
818
|
+
# {Openlayer::Models::InferencePipelineRetrieveResponse::Project} for more
|
|
819
|
+
# details.
|
|
820
|
+
#
|
|
792
821
|
# @param id [String] The project id.
|
|
793
822
|
#
|
|
794
823
|
# @param creator_id [String, nil] The project creator id.
|
|
@@ -817,9 +846,17 @@ module Openlayer
|
|
|
817
846
|
#
|
|
818
847
|
# @param workspace_id [String, nil] The workspace id.
|
|
819
848
|
#
|
|
849
|
+
# @param data_retention_days [Integer, nil] Number of days to retain monitoring data for this project. Null means data is re
|
|
850
|
+
#
|
|
820
851
|
# @param description [String, nil] The project description.
|
|
821
852
|
#
|
|
822
853
|
# @param git_repo [Openlayer::Models::InferencePipelineRetrieveResponse::Project::GitRepo, nil]
|
|
854
|
+
#
|
|
855
|
+
# @param model_developer [String, nil] Who developed the model used in this project.
|
|
856
|
+
#
|
|
857
|
+
# @param model_types [Array<String>, nil] The kinds of model used in this project.
|
|
858
|
+
#
|
|
859
|
+
# @param purpose [String, nil] What the system in this project is intended to do.
|
|
823
860
|
|
|
824
861
|
# @see Openlayer::Models::InferencePipelineRetrieveResponse::Project#links
|
|
825
862
|
class Links < Openlayer::Internal::Type::BaseModel
|
|
@@ -698,12 +698,37 @@ module Openlayer
|
|
|
698
698
|
enum: -> { Openlayer::Models::InferencePipelineUpdateResponse::Project::TaskType },
|
|
699
699
|
api_name: :taskType
|
|
700
700
|
|
|
701
|
+
# @!attribute data_retention_days
|
|
702
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
703
|
+
# retained indefinitely.
|
|
704
|
+
#
|
|
705
|
+
# @return [Integer, nil]
|
|
706
|
+
optional :data_retention_days, Integer, api_name: :dataRetentionDays, nil?: true
|
|
707
|
+
|
|
701
708
|
# @!attribute description
|
|
702
709
|
# The project description.
|
|
703
710
|
#
|
|
704
711
|
# @return [String, nil]
|
|
705
712
|
optional :description, String, nil?: true
|
|
706
713
|
|
|
714
|
+
# @!attribute model_developer
|
|
715
|
+
# Who developed the model used in this project.
|
|
716
|
+
#
|
|
717
|
+
# @return [String, nil]
|
|
718
|
+
optional :model_developer, String, api_name: :modelDeveloper, nil?: true
|
|
719
|
+
|
|
720
|
+
# @!attribute model_types
|
|
721
|
+
# The kinds of model used in this project.
|
|
722
|
+
#
|
|
723
|
+
# @return [Array<String>, nil]
|
|
724
|
+
optional :model_types, Openlayer::Internal::Type::ArrayOf[String], api_name: :modelTypes, nil?: true
|
|
725
|
+
|
|
726
|
+
# @!attribute purpose
|
|
727
|
+
# What the system in this project is intended to do.
|
|
728
|
+
#
|
|
729
|
+
# @return [String, nil]
|
|
730
|
+
optional :purpose, String, nil?: true
|
|
731
|
+
|
|
707
732
|
response_only do
|
|
708
733
|
# @!attribute id
|
|
709
734
|
# The project id.
|
|
@@ -788,7 +813,10 @@ module Openlayer
|
|
|
788
813
|
nil?: true
|
|
789
814
|
end
|
|
790
815
|
|
|
791
|
-
# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, description: nil, git_repo: nil)
|
|
816
|
+
# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, data_retention_days: nil, description: nil, git_repo: nil, model_developer: nil, model_types: nil, purpose: nil)
|
|
817
|
+
# Some parameter documentations has been truncated, see
|
|
818
|
+
# {Openlayer::Models::InferencePipelineUpdateResponse::Project} for more details.
|
|
819
|
+
#
|
|
792
820
|
# @param id [String] The project id.
|
|
793
821
|
#
|
|
794
822
|
# @param creator_id [String, nil] The project creator id.
|
|
@@ -817,9 +845,17 @@ module Openlayer
|
|
|
817
845
|
#
|
|
818
846
|
# @param workspace_id [String, nil] The workspace id.
|
|
819
847
|
#
|
|
848
|
+
# @param data_retention_days [Integer, nil] Number of days to retain monitoring data for this project. Null means data is re
|
|
849
|
+
#
|
|
820
850
|
# @param description [String, nil] The project description.
|
|
821
851
|
#
|
|
822
852
|
# @param git_repo [Openlayer::Models::InferencePipelineUpdateResponse::Project::GitRepo, nil]
|
|
853
|
+
#
|
|
854
|
+
# @param model_developer [String, nil] Who developed the model used in this project.
|
|
855
|
+
#
|
|
856
|
+
# @param model_types [Array<String>, nil] The kinds of model used in this project.
|
|
857
|
+
#
|
|
858
|
+
# @param purpose [String, nil] What the system in this project is intended to do.
|
|
823
859
|
|
|
824
860
|
# @see Openlayer::Models::InferencePipelineUpdateResponse::Project#links
|
|
825
861
|
class Links < Openlayer::Internal::Type::BaseModel
|
|
@@ -19,19 +19,55 @@ module Openlayer
|
|
|
19
19
|
# @return [Symbol, Openlayer::Models::ProjectCreateParams::TaskType]
|
|
20
20
|
required :task_type, enum: -> { Openlayer::ProjectCreateParams::TaskType }, api_name: :taskType
|
|
21
21
|
|
|
22
|
+
# @!attribute data_retention_days
|
|
23
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
24
|
+
# retained indefinitely.
|
|
25
|
+
#
|
|
26
|
+
# @return [Integer, nil]
|
|
27
|
+
optional :data_retention_days, Integer, api_name: :dataRetentionDays, nil?: true
|
|
28
|
+
|
|
22
29
|
# @!attribute description
|
|
23
30
|
# The project description.
|
|
24
31
|
#
|
|
25
32
|
# @return [String, nil]
|
|
26
33
|
optional :description, String, nil?: true
|
|
27
34
|
|
|
28
|
-
# @!
|
|
35
|
+
# @!attribute model_developer
|
|
36
|
+
# Who developed the model used in this project.
|
|
37
|
+
#
|
|
38
|
+
# @return [String, nil]
|
|
39
|
+
optional :model_developer, String, api_name: :modelDeveloper, nil?: true
|
|
40
|
+
|
|
41
|
+
# @!attribute model_types
|
|
42
|
+
# The kinds of model used in this project.
|
|
43
|
+
#
|
|
44
|
+
# @return [Array<String>, nil]
|
|
45
|
+
optional :model_types, Openlayer::Internal::Type::ArrayOf[String], api_name: :modelTypes, nil?: true
|
|
46
|
+
|
|
47
|
+
# @!attribute purpose
|
|
48
|
+
# What the system in this project is intended to do.
|
|
49
|
+
#
|
|
50
|
+
# @return [String, nil]
|
|
51
|
+
optional :purpose, String, nil?: true
|
|
52
|
+
|
|
53
|
+
# @!method initialize(name:, task_type:, data_retention_days: nil, description: nil, model_developer: nil, model_types: nil, purpose: nil, request_options: {})
|
|
54
|
+
# Some parameter documentations has been truncated, see
|
|
55
|
+
# {Openlayer::Models::ProjectCreateParams} for more details.
|
|
56
|
+
#
|
|
29
57
|
# @param name [String] The project name.
|
|
30
58
|
#
|
|
31
59
|
# @param task_type [Symbol, Openlayer::Models::ProjectCreateParams::TaskType] The task type of the project.
|
|
32
60
|
#
|
|
61
|
+
# @param data_retention_days [Integer, nil] Number of days to retain monitoring data for this project. Null means data is re
|
|
62
|
+
#
|
|
33
63
|
# @param description [String, nil] The project description.
|
|
34
64
|
#
|
|
65
|
+
# @param model_developer [String, nil] Who developed the model used in this project.
|
|
66
|
+
#
|
|
67
|
+
# @param model_types [Array<String>, nil] The kinds of model used in this project.
|
|
68
|
+
#
|
|
69
|
+
# @param purpose [String, nil] What the system in this project is intended to do.
|
|
70
|
+
#
|
|
35
71
|
# @param request_options [Openlayer::RequestOptions, Hash{Symbol=>Object}]
|
|
36
72
|
|
|
37
73
|
# The task type of the project.
|
|
@@ -16,12 +16,37 @@ module Openlayer
|
|
|
16
16
|
# @return [Symbol, Openlayer::Models::ProjectCreateResponse::TaskType]
|
|
17
17
|
required :task_type, enum: -> { Openlayer::Models::ProjectCreateResponse::TaskType }, api_name: :taskType
|
|
18
18
|
|
|
19
|
+
# @!attribute data_retention_days
|
|
20
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
21
|
+
# retained indefinitely.
|
|
22
|
+
#
|
|
23
|
+
# @return [Integer, nil]
|
|
24
|
+
optional :data_retention_days, Integer, api_name: :dataRetentionDays, nil?: true
|
|
25
|
+
|
|
19
26
|
# @!attribute description
|
|
20
27
|
# The project description.
|
|
21
28
|
#
|
|
22
29
|
# @return [String, nil]
|
|
23
30
|
optional :description, String, nil?: true
|
|
24
31
|
|
|
32
|
+
# @!attribute model_developer
|
|
33
|
+
# Who developed the model used in this project.
|
|
34
|
+
#
|
|
35
|
+
# @return [String, nil]
|
|
36
|
+
optional :model_developer, String, api_name: :modelDeveloper, nil?: true
|
|
37
|
+
|
|
38
|
+
# @!attribute model_types
|
|
39
|
+
# The kinds of model used in this project.
|
|
40
|
+
#
|
|
41
|
+
# @return [Array<String>, nil]
|
|
42
|
+
optional :model_types, Openlayer::Internal::Type::ArrayOf[String], api_name: :modelTypes, nil?: true
|
|
43
|
+
|
|
44
|
+
# @!attribute purpose
|
|
45
|
+
# What the system in this project is intended to do.
|
|
46
|
+
#
|
|
47
|
+
# @return [String, nil]
|
|
48
|
+
optional :purpose, String, nil?: true
|
|
49
|
+
|
|
25
50
|
response_only do
|
|
26
51
|
# @!attribute id
|
|
27
52
|
# The project id.
|
|
@@ -104,7 +129,10 @@ module Openlayer
|
|
|
104
129
|
nil?: true
|
|
105
130
|
end
|
|
106
131
|
|
|
107
|
-
# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, description: nil, git_repo: nil)
|
|
132
|
+
# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, data_retention_days: nil, description: nil, git_repo: nil, model_developer: nil, model_types: nil, purpose: nil)
|
|
133
|
+
# Some parameter documentations has been truncated, see
|
|
134
|
+
# {Openlayer::Models::ProjectCreateResponse} for more details.
|
|
135
|
+
#
|
|
108
136
|
# @param id [String] The project id.
|
|
109
137
|
#
|
|
110
138
|
# @param creator_id [String, nil] The project creator id.
|
|
@@ -133,9 +161,17 @@ module Openlayer
|
|
|
133
161
|
#
|
|
134
162
|
# @param workspace_id [String, nil] The workspace id.
|
|
135
163
|
#
|
|
164
|
+
# @param data_retention_days [Integer, nil] Number of days to retain monitoring data for this project. Null means data is re
|
|
165
|
+
#
|
|
136
166
|
# @param description [String, nil] The project description.
|
|
137
167
|
#
|
|
138
168
|
# @param git_repo [Openlayer::Models::ProjectCreateResponse::GitRepo, nil]
|
|
169
|
+
#
|
|
170
|
+
# @param model_developer [String, nil] Who developed the model used in this project.
|
|
171
|
+
#
|
|
172
|
+
# @param model_types [Array<String>, nil] The kinds of model used in this project.
|
|
173
|
+
#
|
|
174
|
+
# @param purpose [String, nil] What the system in this project is intended to do.
|
|
139
175
|
|
|
140
176
|
# @see Openlayer::Models::ProjectCreateResponse#links
|
|
141
177
|
class Links < Openlayer::Internal::Type::BaseModel
|
|
@@ -27,12 +27,37 @@ module Openlayer
|
|
|
27
27
|
enum: -> { Openlayer::Models::ProjectListResponse::Item::TaskType },
|
|
28
28
|
api_name: :taskType
|
|
29
29
|
|
|
30
|
+
# @!attribute data_retention_days
|
|
31
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
32
|
+
# retained indefinitely.
|
|
33
|
+
#
|
|
34
|
+
# @return [Integer, nil]
|
|
35
|
+
optional :data_retention_days, Integer, api_name: :dataRetentionDays, nil?: true
|
|
36
|
+
|
|
30
37
|
# @!attribute description
|
|
31
38
|
# The project description.
|
|
32
39
|
#
|
|
33
40
|
# @return [String, nil]
|
|
34
41
|
optional :description, String, nil?: true
|
|
35
42
|
|
|
43
|
+
# @!attribute model_developer
|
|
44
|
+
# Who developed the model used in this project.
|
|
45
|
+
#
|
|
46
|
+
# @return [String, nil]
|
|
47
|
+
optional :model_developer, String, api_name: :modelDeveloper, nil?: true
|
|
48
|
+
|
|
49
|
+
# @!attribute model_types
|
|
50
|
+
# The kinds of model used in this project.
|
|
51
|
+
#
|
|
52
|
+
# @return [Array<String>, nil]
|
|
53
|
+
optional :model_types, Openlayer::Internal::Type::ArrayOf[String], api_name: :modelTypes, nil?: true
|
|
54
|
+
|
|
55
|
+
# @!attribute purpose
|
|
56
|
+
# What the system in this project is intended to do.
|
|
57
|
+
#
|
|
58
|
+
# @return [String, nil]
|
|
59
|
+
optional :purpose, String, nil?: true
|
|
60
|
+
|
|
36
61
|
response_only do
|
|
37
62
|
# @!attribute id
|
|
38
63
|
# The project id.
|
|
@@ -115,7 +140,10 @@ module Openlayer
|
|
|
115
140
|
nil?: true
|
|
116
141
|
end
|
|
117
142
|
|
|
118
|
-
# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, description: nil, git_repo: nil)
|
|
143
|
+
# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, data_retention_days: nil, description: nil, git_repo: nil, model_developer: nil, model_types: nil, purpose: nil)
|
|
144
|
+
# Some parameter documentations has been truncated, see
|
|
145
|
+
# {Openlayer::Models::ProjectListResponse::Item} for more details.
|
|
146
|
+
#
|
|
119
147
|
# @param id [String] The project id.
|
|
120
148
|
#
|
|
121
149
|
# @param creator_id [String, nil] The project creator id.
|
|
@@ -144,9 +172,17 @@ module Openlayer
|
|
|
144
172
|
#
|
|
145
173
|
# @param workspace_id [String, nil] The workspace id.
|
|
146
174
|
#
|
|
175
|
+
# @param data_retention_days [Integer, nil] Number of days to retain monitoring data for this project. Null means data is re
|
|
176
|
+
#
|
|
147
177
|
# @param description [String, nil] The project description.
|
|
148
178
|
#
|
|
149
179
|
# @param git_repo [Openlayer::Models::ProjectListResponse::Item::GitRepo, nil]
|
|
180
|
+
#
|
|
181
|
+
# @param model_developer [String, nil] Who developed the model used in this project.
|
|
182
|
+
#
|
|
183
|
+
# @param model_types [Array<String>, nil] The kinds of model used in this project.
|
|
184
|
+
#
|
|
185
|
+
# @param purpose [String, nil] What the system in this project is intended to do.
|
|
150
186
|
|
|
151
187
|
# @see Openlayer::Models::ProjectListResponse::Item#links
|
|
152
188
|
class Links < Openlayer::Internal::Type::BaseModel
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Openlayer
|
|
4
|
+
module Models
|
|
5
|
+
# @see Openlayer::Resources::Projects#update
|
|
6
|
+
class ProjectUpdateParams < Openlayer::Internal::Type::BaseModel
|
|
7
|
+
extend Openlayer::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Openlayer::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute project_id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :project_id, String
|
|
14
|
+
|
|
15
|
+
# @!attribute data_retention_days
|
|
16
|
+
# Number of days to retain monitoring data for this project. Null means data is
|
|
17
|
+
# retained indefinitely.
|
|
18
|
+
#
|
|
19
|
+
# @return [Integer, nil]
|
|
20
|
+
optional :data_retention_days, Integer, api_name: :dataRetentionDays, nil?: true
|
|
21
|
+
|
|
22
|
+
# @!attribute description
|
|
23
|
+
# The project description.
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
optional :description, String, nil?: true
|
|
27
|
+
|
|
28
|
+
# @!attribute model_developer
|
|
29
|
+
# Who developed the model used in this project.
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
optional :model_developer, String, api_name: :modelDeveloper, nil?: true
|
|
33
|
+
|
|
34
|
+
# @!attribute model_types
|
|
35
|
+
# The kinds of model used in this project.
|
|
36
|
+
#
|
|
37
|
+
# @return [Array<String>, nil]
|
|
38
|
+
optional :model_types, Openlayer::Internal::Type::ArrayOf[String], api_name: :modelTypes, nil?: true
|
|
39
|
+
|
|
40
|
+
# @!attribute name
|
|
41
|
+
# The project name.
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
optional :name, String
|
|
45
|
+
|
|
46
|
+
# @!attribute purpose
|
|
47
|
+
# What the system in this project is intended to do.
|
|
48
|
+
#
|
|
49
|
+
# @return [String, nil]
|
|
50
|
+
optional :purpose, String, nil?: true
|
|
51
|
+
|
|
52
|
+
# @!method initialize(project_id:, data_retention_days: nil, description: nil, model_developer: nil, model_types: nil, name: nil, purpose: nil, request_options: {})
|
|
53
|
+
# Some parameter documentations has been truncated, see
|
|
54
|
+
# {Openlayer::Models::ProjectUpdateParams} for more details.
|
|
55
|
+
#
|
|
56
|
+
# @param project_id [String]
|
|
57
|
+
#
|
|
58
|
+
# @param data_retention_days [Integer, nil] Number of days to retain monitoring data for this project. Null means data is re
|
|
59
|
+
#
|
|
60
|
+
# @param description [String, nil] The project description.
|
|
61
|
+
#
|
|
62
|
+
# @param model_developer [String, nil] Who developed the model used in this project.
|
|
63
|
+
#
|
|
64
|
+
# @param model_types [Array<String>, nil] The kinds of model used in this project.
|
|
65
|
+
#
|
|
66
|
+
# @param name [String] The project name.
|
|
67
|
+
#
|
|
68
|
+
# @param purpose [String, nil] What the system in this project is intended to do.
|
|
69
|
+
#
|
|
70
|
+
# @param request_options [Openlayer::RequestOptions, Hash{Symbol=>Object}]
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|