stigg 0.1.0.pre.beta.20 → 0.1.0.pre.beta.21
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 +8 -0
- data/README.md +1 -1
- data/lib/stigg/client.rb +4 -0
- data/lib/stigg/models/v1/events/data_export/destination_create_params.rb +15 -1
- data/lib/stigg/models/v1/events/data_export/destination_delete_params.rb +13 -1
- data/lib/stigg/models/v1/events/data_export_mint_scoped_token_params.rb +15 -1
- data/lib/stigg/models/v1/events/data_export_trigger_sync_params.rb +15 -1
- data/lib/stigg/models/v1_beta/customers/assignment_list_params.rb +79 -0
- data/lib/stigg/models/v1_beta/customers/assignment_list_response.rb +115 -0
- data/lib/stigg/models/v1_beta/customers/assignment_upsert_params.rb +131 -0
- data/lib/stigg/models/v1_beta/customers/assignment_upsert_response.rb +129 -0
- data/lib/stigg/models/v1_beta/customers/entitlement_check_params.rb +93 -0
- data/lib/stigg/models/v1_beta/customers/entitlement_check_response.rb +530 -0
- data/lib/stigg/models/v1_beta/customers/entity_archive_params.rb +47 -0
- data/lib/stigg/models/v1_beta/customers/entity_archive_response.rb +37 -0
- data/lib/stigg/models/v1_beta/customers/entity_list_params.rb +90 -0
- data/lib/stigg/models/v1_beta/customers/entity_list_response.rb +63 -0
- data/lib/stigg/models/v1_beta/customers/entity_retrieve_params.rb +42 -0
- data/lib/stigg/models/v1_beta/customers/entity_retrieve_response.rb +77 -0
- data/lib/stigg/models/v1_beta/customers/entity_unarchive_params.rb +47 -0
- data/lib/stigg/models/v1_beta/customers/entity_unarchive_response.rb +37 -0
- data/lib/stigg/models/v1_beta/customers/entity_upsert_params.rb +83 -0
- data/lib/stigg/models/v1_beta/customers/entity_upsert_response.rb +76 -0
- data/lib/stigg/models/v1_beta/entity_type_list_params.rb +54 -0
- data/lib/stigg/models/v1_beta/entity_type_list_response.rb +60 -0
- data/lib/stigg/models/v1_beta/entity_type_upsert_params.rb +71 -0
- data/lib/stigg/models/v1_beta/entity_type_upsert_response.rb +73 -0
- data/lib/stigg/models.rb +2 -0
- data/lib/stigg/resources/v1/events/data_export/destinations.rb +29 -6
- data/lib/stigg/resources/v1/events/data_export.rb +25 -7
- data/lib/stigg/resources/v1/events.rb +0 -4
- data/lib/stigg/resources/v1_beta/customers/assignments.rb +102 -0
- data/lib/stigg/resources/v1_beta/customers/entities.rb +202 -0
- data/lib/stigg/resources/v1_beta/customers/entitlements.rb +74 -0
- data/lib/stigg/resources/v1_beta/customers.rb +28 -0
- data/lib/stigg/resources/v1_beta/entity_types.rb +91 -0
- data/lib/stigg/resources/v1_beta.rb +22 -0
- data/lib/stigg/version.rb +1 -1
- data/lib/stigg.rb +26 -26
- data/rbi/stigg/client.rbi +3 -0
- data/rbi/stigg/models/v1/events/data_export/destination_create_params.rbi +18 -0
- data/rbi/stigg/models/v1/events/data_export/destination_delete_params.rbi +22 -1
- data/rbi/stigg/models/v1/events/data_export_mint_scoped_token_params.rbi +18 -0
- data/rbi/stigg/models/v1/events/data_export_trigger_sync_params.rbi +22 -1
- data/rbi/stigg/models/v1_beta/customers/assignment_list_params.rbi +121 -0
- data/rbi/stigg/models/v1_beta/customers/assignment_list_response.rbi +167 -0
- data/rbi/stigg/models/v1_beta/customers/assignment_upsert_params.rbi +236 -0
- data/rbi/stigg/models/v1_beta/customers/assignment_upsert_response.rbi +211 -0
- data/rbi/stigg/models/v1_beta/customers/entitlement_check_params.rbi +138 -0
- data/rbi/stigg/models/v1_beta/customers/entitlement_check_response.rbi +1063 -0
- data/rbi/stigg/models/v1_beta/customers/entity_archive_params.rbi +74 -0
- data/rbi/stigg/models/v1_beta/customers/entity_archive_response.rbi +85 -0
- data/rbi/stigg/models/v1_beta/customers/entity_list_params.rbi +169 -0
- data/rbi/stigg/models/v1_beta/customers/entity_list_response.rbi +85 -0
- data/rbi/stigg/models/v1_beta/customers/entity_retrieve_params.rbi +72 -0
- data/rbi/stigg/models/v1_beta/customers/entity_retrieve_response.rbi +135 -0
- data/rbi/stigg/models/v1_beta/customers/entity_unarchive_params.rbi +74 -0
- data/rbi/stigg/models/v1_beta/customers/entity_unarchive_response.rbi +85 -0
- data/rbi/stigg/models/v1_beta/customers/entity_upsert_params.rbi +148 -0
- data/rbi/stigg/models/v1_beta/customers/entity_upsert_response.rbi +129 -0
- data/rbi/stigg/models/v1_beta/entity_type_list_params.rbi +88 -0
- data/rbi/stigg/models/v1_beta/entity_type_list_response.rbi +80 -0
- data/rbi/stigg/models/v1_beta/entity_type_upsert_params.rbi +121 -0
- data/rbi/stigg/models/v1_beta/entity_type_upsert_response.rbi +120 -0
- data/rbi/stigg/models.rbi +2 -0
- data/rbi/stigg/resources/v1/events/data_export/destinations.rbi +20 -2
- data/rbi/stigg/resources/v1/events/data_export.rbi +21 -3
- data/rbi/stigg/resources/v1/events.rbi +0 -3
- data/rbi/stigg/resources/v1_beta/customers/assignments.rbi +94 -0
- data/rbi/stigg/resources/v1_beta/customers/entities.rbi +168 -0
- data/rbi/stigg/resources/v1_beta/customers/entitlements.rbi +66 -0
- data/rbi/stigg/resources/v1_beta/customers.rbi +23 -0
- data/rbi/stigg/resources/v1_beta/entity_types.rbi +75 -0
- data/rbi/stigg/resources/v1_beta.rbi +18 -0
- data/sig/stigg/client.rbs +2 -0
- data/sig/stigg/models/v1/events/data_export/destination_create_params.rbs +18 -1
- data/sig/stigg/models/v1/events/data_export/destination_delete_params.rbs +17 -1
- data/sig/stigg/models/v1/events/data_export_mint_scoped_token_params.rbs +18 -1
- data/sig/stigg/models/v1/events/data_export_trigger_sync_params.rbs +18 -1
- data/sig/stigg/models/v1_beta/customers/assignment_list_params.rbs +79 -0
- data/sig/stigg/models/v1_beta/customers/assignment_list_response.rbs +83 -0
- data/sig/stigg/models/v1_beta/customers/assignment_upsert_params.rbs +118 -0
- data/sig/stigg/models/v1_beta/customers/assignment_upsert_response.rbs +100 -0
- data/sig/stigg/models/v1_beta/customers/entitlement_check_params.rbs +86 -0
- data/sig/stigg/models/v1_beta/customers/entitlement_check_response.rbs +465 -0
- data/sig/stigg/models/v1_beta/customers/entity_archive_params.rbs +49 -0
- data/sig/stigg/models/v1_beta/customers/entity_archive_response.rbs +34 -0
- data/sig/stigg/models/v1_beta/customers/entity_list_params.rbs +92 -0
- data/sig/stigg/models/v1_beta/customers/entity_list_response.rbs +49 -0
- data/sig/stigg/models/v1_beta/customers/entity_retrieve_params.rbs +49 -0
- data/sig/stigg/models/v1_beta/customers/entity_retrieve_response.rbs +66 -0
- data/sig/stigg/models/v1_beta/customers/entity_unarchive_params.rbs +49 -0
- data/sig/stigg/models/v1_beta/customers/entity_unarchive_response.rbs +34 -0
- data/sig/stigg/models/v1_beta/customers/entity_upsert_params.rbs +80 -0
- data/sig/stigg/models/v1_beta/customers/entity_upsert_response.rbs +66 -0
- data/sig/stigg/models/v1_beta/entity_type_list_params.rbs +58 -0
- data/sig/stigg/models/v1_beta/entity_type_list_response.rbs +42 -0
- data/sig/stigg/models/v1_beta/entity_type_upsert_params.rbs +69 -0
- data/sig/stigg/models/v1_beta/entity_type_upsert_response.rbs +57 -0
- data/sig/stigg/models.rbs +2 -0
- data/sig/stigg/resources/v1/events/data_export/destinations.rbs +4 -0
- data/sig/stigg/resources/v1/events/data_export.rbs +4 -0
- data/sig/stigg/resources/v1/events.rbs +0 -2
- data/sig/stigg/resources/v1_beta/customers/assignments.rbs +31 -0
- data/sig/stigg/resources/v1_beta/customers/entities.rbs +55 -0
- data/sig/stigg/resources/v1_beta/customers/entitlements.rbs +24 -0
- data/sig/stigg/resources/v1_beta/customers.rbs +15 -0
- data/sig/stigg/resources/v1_beta/entity_types.rbs +25 -0
- data/sig/stigg/resources/v1_beta.rbs +11 -0
- metadata +80 -80
- data/lib/stigg/models/v1/events/beta/customers/assignment_list_params.rb +0 -83
- data/lib/stigg/models/v1/events/beta/customers/assignment_list_response.rb +0 -90
- data/lib/stigg/models/v1/events/beta/customers/assignment_upsert_params.rb +0 -105
- data/lib/stigg/models/v1/events/beta/customers/assignment_upsert_response.rb +0 -103
- data/lib/stigg/models/v1/events/beta/customers/entitlement_check_params.rb +0 -98
- data/lib/stigg/models/v1/events/beta/customers/entitlement_check_response.rb +0 -535
- data/lib/stigg/models/v1/events/beta/customers/entity_archive_params.rb +0 -51
- data/lib/stigg/models/v1/events/beta/customers/entity_archive_response.rb +0 -41
- data/lib/stigg/models/v1/events/beta/customers/entity_list_params.rb +0 -95
- data/lib/stigg/models/v1/events/beta/customers/entity_list_response.rb +0 -67
- data/lib/stigg/models/v1/events/beta/customers/entity_retrieve_params.rb +0 -46
- data/lib/stigg/models/v1/events/beta/customers/entity_retrieve_response.rb +0 -81
- data/lib/stigg/models/v1/events/beta/customers/entity_unarchive_params.rb +0 -51
- data/lib/stigg/models/v1/events/beta/customers/entity_unarchive_response.rb +0 -41
- data/lib/stigg/models/v1/events/beta/customers/entity_upsert_params.rb +0 -88
- data/lib/stigg/models/v1/events/beta/customers/entity_upsert_response.rb +0 -80
- data/lib/stigg/models/v1/events/beta/entity_type_list_params.rb +0 -58
- data/lib/stigg/models/v1/events/beta/entity_type_list_response.rb +0 -64
- data/lib/stigg/models/v1/events/beta/entity_type_upsert_params.rb +0 -77
- data/lib/stigg/models/v1/events/beta/entity_type_upsert_response.rb +0 -78
- data/lib/stigg/resources/v1/events/beta/customers/assignments.rb +0 -108
- data/lib/stigg/resources/v1/events/beta/customers/entities.rb +0 -210
- data/lib/stigg/resources/v1/events/beta/customers/entitlements.rb +0 -79
- data/lib/stigg/resources/v1/events/beta/customers.rb +0 -32
- data/lib/stigg/resources/v1/events/beta/entity_types.rb +0 -95
- data/lib/stigg/resources/v1/events/beta.rb +0 -26
- data/rbi/stigg/models/v1/events/beta/customers/assignment_list_params.rbi +0 -125
- data/rbi/stigg/models/v1/events/beta/customers/assignment_list_response.rbi +0 -135
- data/rbi/stigg/models/v1/events/beta/customers/assignment_upsert_params.rbi +0 -202
- data/rbi/stigg/models/v1/events/beta/customers/assignment_upsert_response.rbi +0 -179
- data/rbi/stigg/models/v1/events/beta/customers/entitlement_check_params.rbi +0 -142
- data/rbi/stigg/models/v1/events/beta/customers/entitlement_check_response.rbi +0 -1067
- data/rbi/stigg/models/v1/events/beta/customers/entity_archive_params.rbi +0 -78
- data/rbi/stigg/models/v1/events/beta/customers/entity_archive_response.rbi +0 -89
- data/rbi/stigg/models/v1/events/beta/customers/entity_list_params.rbi +0 -173
- data/rbi/stigg/models/v1/events/beta/customers/entity_list_response.rbi +0 -89
- data/rbi/stigg/models/v1/events/beta/customers/entity_retrieve_params.rbi +0 -76
- data/rbi/stigg/models/v1/events/beta/customers/entity_retrieve_response.rbi +0 -139
- data/rbi/stigg/models/v1/events/beta/customers/entity_unarchive_params.rbi +0 -78
- data/rbi/stigg/models/v1/events/beta/customers/entity_unarchive_response.rbi +0 -89
- data/rbi/stigg/models/v1/events/beta/customers/entity_upsert_params.rbi +0 -154
- data/rbi/stigg/models/v1/events/beta/customers/entity_upsert_response.rbi +0 -133
- data/rbi/stigg/models/v1/events/beta/entity_type_list_params.rbi +0 -95
- data/rbi/stigg/models/v1/events/beta/entity_type_list_response.rbi +0 -84
- data/rbi/stigg/models/v1/events/beta/entity_type_upsert_params.rbi +0 -134
- data/rbi/stigg/models/v1/events/beta/entity_type_upsert_response.rbi +0 -128
- data/rbi/stigg/resources/v1/events/beta/customers/assignments.rbi +0 -98
- data/rbi/stigg/resources/v1/events/beta/customers/entities.rbi +0 -180
- data/rbi/stigg/resources/v1/events/beta/customers/entitlements.rbi +0 -70
- data/rbi/stigg/resources/v1/events/beta/customers.rbi +0 -37
- data/rbi/stigg/resources/v1/events/beta/entity_types.rbi +0 -83
- data/rbi/stigg/resources/v1/events/beta.rbi +0 -22
- data/sig/stigg/models/v1/events/beta/customers/assignment_list_params.rbs +0 -83
- data/sig/stigg/models/v1/events/beta/customers/assignment_list_response.rbs +0 -68
- data/sig/stigg/models/v1/events/beta/customers/assignment_upsert_params.rbs +0 -101
- data/sig/stigg/models/v1/events/beta/customers/assignment_upsert_response.rbs +0 -85
- data/sig/stigg/models/v1/events/beta/customers/entitlement_check_params.rbs +0 -92
- data/sig/stigg/models/v1/events/beta/customers/entitlement_check_response.rbs +0 -469
- data/sig/stigg/models/v1/events/beta/customers/entity_archive_params.rbs +0 -53
- data/sig/stigg/models/v1/events/beta/customers/entity_archive_response.rbs +0 -38
- data/sig/stigg/models/v1/events/beta/customers/entity_list_params.rbs +0 -96
- data/sig/stigg/models/v1/events/beta/customers/entity_list_response.rbs +0 -53
- data/sig/stigg/models/v1/events/beta/customers/entity_retrieve_params.rbs +0 -53
- data/sig/stigg/models/v1/events/beta/customers/entity_retrieve_response.rbs +0 -70
- data/sig/stigg/models/v1/events/beta/customers/entity_unarchive_params.rbs +0 -53
- data/sig/stigg/models/v1/events/beta/customers/entity_unarchive_response.rbs +0 -38
- data/sig/stigg/models/v1/events/beta/customers/entity_upsert_params.rbs +0 -86
- data/sig/stigg/models/v1/events/beta/customers/entity_upsert_response.rbs +0 -70
- data/sig/stigg/models/v1/events/beta/entity_type_list_params.rbs +0 -62
- data/sig/stigg/models/v1/events/beta/entity_type_list_response.rbs +0 -46
- data/sig/stigg/models/v1/events/beta/entity_type_upsert_params.rbs +0 -73
- data/sig/stigg/models/v1/events/beta/entity_type_upsert_response.rbs +0 -63
- data/sig/stigg/resources/v1/events/beta/customers/assignments.rbs +0 -35
- data/sig/stigg/resources/v1/events/beta/customers/entities.rbs +0 -59
- data/sig/stigg/resources/v1/events/beta/customers/entitlements.rbs +0 -28
- data/sig/stigg/resources/v1/events/beta/customers.rbs +0 -19
- data/sig/stigg/resources/v1/events/beta/entity_types.rbs +0 -29
- data/sig/stigg/resources/v1/events/beta.rbs +0 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 892ff26924e57f6ef905b36852bf6c6d28df58a29679e63ca6c27635be19f9c8
|
|
4
|
+
data.tar.gz: b8556557d308e330960a756c8bd2fdc721ae285871b28925ec70abfcaae9d644
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f94eb39e4b143b28c6f4fe2108f2c19c0933debd518bca24f263f3100f86047c8d4827d885961f8072408e25ae8508808da4be58a24f9d44ccbd7e1c830e1b20
|
|
7
|
+
data.tar.gz: d0b77035e69dd3c1a933906d3b1b3108ee2c37db9d9c89118228195a8ce4066519ffd0e3e986fd5ba0679a6942cbd007bf5ee5d626f51d391d2d22d91aefc56d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-beta.21 (2026-06-10)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-beta.20...v0.1.0-beta.21](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.20...v0.1.0-beta.21)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add parent_id, scope_entity_ids fields to customers assignments ([758015c](https://github.com/stiggio/stigg-ruby/commit/758015c5491eff6fbda2bf4573cc3dc3159010e1))
|
|
10
|
+
|
|
3
11
|
## 0.1.0-beta.20 (2026-06-08)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.1.0-beta.19...v0.1.0-beta.20](https://github.com/stiggio/stigg-ruby/compare/v0.1.0-beta.19...v0.1.0-beta.20)
|
data/README.md
CHANGED
data/lib/stigg/client.rb
CHANGED
|
@@ -21,6 +21,9 @@ module Stigg
|
|
|
21
21
|
# @return [Stigg::Resources::V1]
|
|
22
22
|
attr_reader :v1
|
|
23
23
|
|
|
24
|
+
# @return [Stigg::Resources::V1Beta]
|
|
25
|
+
attr_reader :v1_beta
|
|
26
|
+
|
|
24
27
|
# @api private
|
|
25
28
|
#
|
|
26
29
|
# @return [Hash{String=>String}]
|
|
@@ -81,6 +84,7 @@ module Stigg
|
|
|
81
84
|
)
|
|
82
85
|
|
|
83
86
|
@v1 = Stigg::Resources::V1.new(client: self)
|
|
87
|
+
@v1_beta = Stigg::Resources::V1Beta.new(client: self)
|
|
84
88
|
end
|
|
85
89
|
end
|
|
86
90
|
end
|
|
@@ -22,11 +22,25 @@ module Stigg
|
|
|
22
22
|
# @return [String]
|
|
23
23
|
required :destination_type, String, api_name: :destinationType
|
|
24
24
|
|
|
25
|
-
# @!
|
|
25
|
+
# @!attribute x_account_id
|
|
26
|
+
#
|
|
27
|
+
# @return [String, nil]
|
|
28
|
+
optional :x_account_id, String
|
|
29
|
+
|
|
30
|
+
# @!attribute x_environment_id
|
|
31
|
+
#
|
|
32
|
+
# @return [String, nil]
|
|
33
|
+
optional :x_environment_id, String
|
|
34
|
+
|
|
35
|
+
# @!method initialize(destination_id:, destination_type:, x_account_id: nil, x_environment_id: nil, request_options: {})
|
|
26
36
|
# @param destination_id [String] The provider destination ID returned by the embedded SDK on connect
|
|
27
37
|
#
|
|
28
38
|
# @param destination_type [String] The destination type (e.g. snowflake, bigquery)
|
|
29
39
|
#
|
|
40
|
+
# @param x_account_id [String]
|
|
41
|
+
#
|
|
42
|
+
# @param x_environment_id [String]
|
|
43
|
+
#
|
|
30
44
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
31
45
|
end
|
|
32
46
|
end
|
|
@@ -15,8 +15,20 @@ module Stigg
|
|
|
15
15
|
# @return [String]
|
|
16
16
|
required :destination_id, String
|
|
17
17
|
|
|
18
|
-
# @!
|
|
18
|
+
# @!attribute x_account_id
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :x_account_id, String
|
|
22
|
+
|
|
23
|
+
# @!attribute x_environment_id
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
optional :x_environment_id, String
|
|
27
|
+
|
|
28
|
+
# @!method initialize(destination_id:, x_account_id: nil, x_environment_id: nil, request_options: {})
|
|
19
29
|
# @param destination_id [String]
|
|
30
|
+
# @param x_account_id [String]
|
|
31
|
+
# @param x_environment_id [String]
|
|
20
32
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
21
33
|
end
|
|
22
34
|
end
|
|
@@ -21,11 +21,25 @@ module Stigg
|
|
|
21
21
|
# @return [String, nil]
|
|
22
22
|
optional :destination_type, String, api_name: :destinationType
|
|
23
23
|
|
|
24
|
-
# @!
|
|
24
|
+
# @!attribute x_account_id
|
|
25
|
+
#
|
|
26
|
+
# @return [String, nil]
|
|
27
|
+
optional :x_account_id, String
|
|
28
|
+
|
|
29
|
+
# @!attribute x_environment_id
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
optional :x_environment_id, String
|
|
33
|
+
|
|
34
|
+
# @!method initialize(application_origin:, destination_type: nil, x_account_id: nil, x_environment_id: nil, request_options: {})
|
|
25
35
|
# @param application_origin [String] FE origin the resulting JWT is bound to (provider-side anti-fraud)
|
|
26
36
|
#
|
|
27
37
|
# @param destination_type [String] Pin the token to a specific warehouse connect flow
|
|
28
38
|
#
|
|
39
|
+
# @param x_account_id [String]
|
|
40
|
+
#
|
|
41
|
+
# @param x_environment_id [String]
|
|
42
|
+
#
|
|
29
43
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
30
44
|
end
|
|
31
45
|
end
|
|
@@ -15,9 +15,23 @@ module Stigg
|
|
|
15
15
|
# @return [String, nil]
|
|
16
16
|
optional :destination_id, String, api_name: :destinationId
|
|
17
17
|
|
|
18
|
-
# @!
|
|
18
|
+
# @!attribute x_account_id
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :x_account_id, String
|
|
22
|
+
|
|
23
|
+
# @!attribute x_environment_id
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
optional :x_environment_id, String
|
|
27
|
+
|
|
28
|
+
# @!method initialize(destination_id: nil, x_account_id: nil, x_environment_id: nil, request_options: {})
|
|
19
29
|
# @param destination_id [String] Provider destination ID to sync. Omit to sync all destinations.
|
|
20
30
|
#
|
|
31
|
+
# @param x_account_id [String]
|
|
32
|
+
#
|
|
33
|
+
# @param x_environment_id [String]
|
|
34
|
+
#
|
|
21
35
|
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
22
36
|
end
|
|
23
37
|
end
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Stigg
|
|
4
|
+
module Models
|
|
5
|
+
module V1Beta
|
|
6
|
+
module Customers
|
|
7
|
+
# @see Stigg::Resources::V1Beta::Customers::Assignments#list
|
|
8
|
+
class AssignmentListParams < Stigg::Internal::Type::BaseModel
|
|
9
|
+
extend Stigg::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Stigg::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute id
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :id, String
|
|
16
|
+
|
|
17
|
+
# @!attribute after
|
|
18
|
+
# Return items that come after this cursor
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :after, String
|
|
22
|
+
|
|
23
|
+
# @!attribute before
|
|
24
|
+
# Return items that come before this cursor
|
|
25
|
+
#
|
|
26
|
+
# @return [String, nil]
|
|
27
|
+
optional :before, String
|
|
28
|
+
|
|
29
|
+
# @!attribute capability_id
|
|
30
|
+
# Filter assignments to a specific capability refId
|
|
31
|
+
#
|
|
32
|
+
# @return [String, nil]
|
|
33
|
+
optional :capability_id, String
|
|
34
|
+
|
|
35
|
+
# @!attribute entity_id
|
|
36
|
+
# Filter assignments to a specific entity refId
|
|
37
|
+
#
|
|
38
|
+
# @return [String, nil]
|
|
39
|
+
optional :entity_id, String
|
|
40
|
+
|
|
41
|
+
# @!attribute limit
|
|
42
|
+
# Maximum number of items to return
|
|
43
|
+
#
|
|
44
|
+
# @return [Integer, nil]
|
|
45
|
+
optional :limit, Integer
|
|
46
|
+
|
|
47
|
+
# @!attribute x_account_id
|
|
48
|
+
#
|
|
49
|
+
# @return [String, nil]
|
|
50
|
+
optional :x_account_id, String
|
|
51
|
+
|
|
52
|
+
# @!attribute x_environment_id
|
|
53
|
+
#
|
|
54
|
+
# @return [String, nil]
|
|
55
|
+
optional :x_environment_id, String
|
|
56
|
+
|
|
57
|
+
# @!method initialize(id:, after: nil, before: nil, capability_id: nil, entity_id: nil, limit: nil, x_account_id: nil, x_environment_id: nil, request_options: {})
|
|
58
|
+
# @param id [String]
|
|
59
|
+
#
|
|
60
|
+
# @param after [String] Return items that come after this cursor
|
|
61
|
+
#
|
|
62
|
+
# @param before [String] Return items that come before this cursor
|
|
63
|
+
#
|
|
64
|
+
# @param capability_id [String] Filter assignments to a specific capability refId
|
|
65
|
+
#
|
|
66
|
+
# @param entity_id [String] Filter assignments to a specific entity refId
|
|
67
|
+
#
|
|
68
|
+
# @param limit [Integer] Maximum number of items to return
|
|
69
|
+
#
|
|
70
|
+
# @param x_account_id [String]
|
|
71
|
+
#
|
|
72
|
+
# @param x_environment_id [String]
|
|
73
|
+
#
|
|
74
|
+
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
79
|
+
end
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Stigg
|
|
4
|
+
module Models
|
|
5
|
+
module V1Beta
|
|
6
|
+
module Customers
|
|
7
|
+
# @see Stigg::Resources::V1Beta::Customers::Assignments#list
|
|
8
|
+
class AssignmentListResponse < Stigg::Internal::Type::BaseModel
|
|
9
|
+
# @!attribute id
|
|
10
|
+
# Synthetic UUID identifier — also the cursor anchor for paginated lists
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
15
|
+
# @!attribute cadence
|
|
16
|
+
# Usage-reset cadence. Currently only `MONTH` is supported
|
|
17
|
+
#
|
|
18
|
+
# @return [Symbol, Stigg::Models::V1Beta::Customers::AssignmentListResponse::Cadence]
|
|
19
|
+
required :cadence, enum: -> { Stigg::Models::V1Beta::Customers::AssignmentListResponse::Cadence }
|
|
20
|
+
|
|
21
|
+
# @!attribute created_at
|
|
22
|
+
# Timestamp of when the record was created
|
|
23
|
+
#
|
|
24
|
+
# @return [Time]
|
|
25
|
+
required :created_at, Time, api_name: :createdAt
|
|
26
|
+
|
|
27
|
+
# @!attribute entity_id
|
|
28
|
+
# The entity refId this assignment is attached to
|
|
29
|
+
#
|
|
30
|
+
# @return [String]
|
|
31
|
+
required :entity_id, String, api_name: :entityId
|
|
32
|
+
|
|
33
|
+
# @!attribute parent_id
|
|
34
|
+
# Parent entity refId in the hierarchy, or `null` for a root.
|
|
35
|
+
#
|
|
36
|
+
# @return [String, nil]
|
|
37
|
+
required :parent_id, String, api_name: :parentId, nil?: true
|
|
38
|
+
|
|
39
|
+
# @!attribute scope_entity_ids
|
|
40
|
+
# Dimension-scoped sub-budget key: the set of entity refIds this budget applies
|
|
41
|
+
# to. Empty is the node-wide budget that always matches; a non-empty set only
|
|
42
|
+
# applies when every listed entity is present in the resolved set
|
|
43
|
+
# (order-insensitive).
|
|
44
|
+
#
|
|
45
|
+
# @return [Array<String>]
|
|
46
|
+
required :scope_entity_ids, Stigg::Internal::Type::ArrayOf[String], api_name: :scopeEntityIds
|
|
47
|
+
|
|
48
|
+
# @!attribute updated_at
|
|
49
|
+
# Timestamp of when the record was last updated
|
|
50
|
+
#
|
|
51
|
+
# @return [Time]
|
|
52
|
+
required :updated_at, Time, api_name: :updatedAt
|
|
53
|
+
|
|
54
|
+
# @!attribute usage_limit
|
|
55
|
+
# Maximum usage allowed within one cadence window
|
|
56
|
+
#
|
|
57
|
+
# @return [Float]
|
|
58
|
+
required :usage_limit, Float, api_name: :usageLimit
|
|
59
|
+
|
|
60
|
+
# @!attribute currency_id
|
|
61
|
+
# Currency refId this assignment grants (present for credit capabilities).
|
|
62
|
+
#
|
|
63
|
+
# @return [String, nil]
|
|
64
|
+
optional :currency_id, String, api_name: :currencyId
|
|
65
|
+
|
|
66
|
+
# @!attribute feature_id
|
|
67
|
+
# Feature refId this assignment grants (present for feature capabilities).
|
|
68
|
+
#
|
|
69
|
+
# @return [String, nil]
|
|
70
|
+
optional :feature_id, String, api_name: :featureId
|
|
71
|
+
|
|
72
|
+
# @!method initialize(id:, cadence:, created_at:, entity_id:, parent_id:, scope_entity_ids:, updated_at:, usage_limit:, currency_id: nil, feature_id: nil)
|
|
73
|
+
# Some parameter documentations has been truncated, see
|
|
74
|
+
# {Stigg::Models::V1Beta::Customers::AssignmentListResponse} for more details.
|
|
75
|
+
#
|
|
76
|
+
# A capability assignment for an entity belonging to a customer. Defines how much
|
|
77
|
+
# of the capability the entity may consume (`usageLimit`) and how often the
|
|
78
|
+
# counter resets (`cadence`).
|
|
79
|
+
#
|
|
80
|
+
# @param id [String] Synthetic UUID identifier — also the cursor anchor for paginated lists
|
|
81
|
+
#
|
|
82
|
+
# @param cadence [Symbol, Stigg::Models::V1Beta::Customers::AssignmentListResponse::Cadence] Usage-reset cadence. Currently only `MONTH` is supported
|
|
83
|
+
#
|
|
84
|
+
# @param created_at [Time] Timestamp of when the record was created
|
|
85
|
+
#
|
|
86
|
+
# @param entity_id [String] The entity refId this assignment is attached to
|
|
87
|
+
#
|
|
88
|
+
# @param parent_id [String, nil] Parent entity refId in the hierarchy, or `null` for a root.
|
|
89
|
+
#
|
|
90
|
+
# @param scope_entity_ids [Array<String>] Dimension-scoped sub-budget key: the set of entity refIds this budget applies to
|
|
91
|
+
#
|
|
92
|
+
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
93
|
+
#
|
|
94
|
+
# @param usage_limit [Float] Maximum usage allowed within one cadence window
|
|
95
|
+
#
|
|
96
|
+
# @param currency_id [String] Currency refId this assignment grants (present for credit capabilities).
|
|
97
|
+
#
|
|
98
|
+
# @param feature_id [String] Feature refId this assignment grants (present for feature capabilities).
|
|
99
|
+
|
|
100
|
+
# Usage-reset cadence. Currently only `MONTH` is supported
|
|
101
|
+
#
|
|
102
|
+
# @see Stigg::Models::V1Beta::Customers::AssignmentListResponse#cadence
|
|
103
|
+
module Cadence
|
|
104
|
+
extend Stigg::Internal::Type::Enum
|
|
105
|
+
|
|
106
|
+
MONTH = :MONTH
|
|
107
|
+
|
|
108
|
+
# @!method self.values
|
|
109
|
+
# @return [Array<Symbol>]
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Stigg
|
|
4
|
+
module Models
|
|
5
|
+
module V1Beta
|
|
6
|
+
module Customers
|
|
7
|
+
# @see Stigg::Resources::V1Beta::Customers::Assignments#upsert
|
|
8
|
+
class AssignmentUpsertParams < Stigg::Internal::Type::BaseModel
|
|
9
|
+
extend Stigg::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Stigg::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute id
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :id, String
|
|
16
|
+
|
|
17
|
+
# @!attribute assignments
|
|
18
|
+
# Assignments to upsert (1–100 per request)
|
|
19
|
+
#
|
|
20
|
+
# @return [Array<Stigg::Models::V1Beta::Customers::AssignmentUpsertParams::Assignment>]
|
|
21
|
+
required :assignments,
|
|
22
|
+
-> { Stigg::Internal::Type::ArrayOf[Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment] }
|
|
23
|
+
|
|
24
|
+
# @!attribute x_account_id
|
|
25
|
+
#
|
|
26
|
+
# @return [String, nil]
|
|
27
|
+
optional :x_account_id, String
|
|
28
|
+
|
|
29
|
+
# @!attribute x_environment_id
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
optional :x_environment_id, String
|
|
33
|
+
|
|
34
|
+
# @!method initialize(id:, assignments:, x_account_id: nil, x_environment_id: nil, request_options: {})
|
|
35
|
+
# @param id [String]
|
|
36
|
+
#
|
|
37
|
+
# @param assignments [Array<Stigg::Models::V1Beta::Customers::AssignmentUpsertParams::Assignment>] Assignments to upsert (1–100 per request)
|
|
38
|
+
#
|
|
39
|
+
# @param x_account_id [String]
|
|
40
|
+
#
|
|
41
|
+
# @param x_environment_id [String]
|
|
42
|
+
#
|
|
43
|
+
# @param request_options [Stigg::RequestOptions, Hash{Symbol=>Object}]
|
|
44
|
+
|
|
45
|
+
class Assignment < Stigg::Internal::Type::BaseModel
|
|
46
|
+
# @!attribute entity_id
|
|
47
|
+
# The entity refId this assignment is attached to
|
|
48
|
+
#
|
|
49
|
+
# @return [String]
|
|
50
|
+
required :entity_id, String, api_name: :entityId
|
|
51
|
+
|
|
52
|
+
# @!attribute cadence
|
|
53
|
+
# Usage-reset cadence (required on create). Currently only `MONTH` is supported
|
|
54
|
+
#
|
|
55
|
+
# @return [Symbol, Stigg::Models::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence, nil]
|
|
56
|
+
optional :cadence, enum: -> { Stigg::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence }
|
|
57
|
+
|
|
58
|
+
# @!attribute currency_id
|
|
59
|
+
# Currency refId this assignment grants (credit budgets). Mutually exclusive with
|
|
60
|
+
# `featureId`.
|
|
61
|
+
#
|
|
62
|
+
# @return [String, nil]
|
|
63
|
+
optional :currency_id, String, api_name: :currencyId
|
|
64
|
+
|
|
65
|
+
# @!attribute feature_id
|
|
66
|
+
# Feature refId this assignment grants. Mutually exclusive with `currencyId`.
|
|
67
|
+
#
|
|
68
|
+
# @return [String, nil]
|
|
69
|
+
optional :feature_id, String, api_name: :featureId
|
|
70
|
+
|
|
71
|
+
# @!attribute parent_id
|
|
72
|
+
# Parent entity refId in the hierarchy. Omit to leave the current parent untouched
|
|
73
|
+
# (a new node defaults to a root); `null` detaches to a root; a refId sets or
|
|
74
|
+
# changes the parent. Reparenting an existing node is leaf-only.
|
|
75
|
+
#
|
|
76
|
+
# @return [String, nil]
|
|
77
|
+
optional :parent_id, String, api_name: :parentId, nil?: true
|
|
78
|
+
|
|
79
|
+
# @!attribute scope_entity_ids
|
|
80
|
+
#
|
|
81
|
+
# @return [Array<String>, nil]
|
|
82
|
+
optional :scope_entity_ids, Stigg::Internal::Type::ArrayOf[String], api_name: :scopeEntityIds
|
|
83
|
+
|
|
84
|
+
# @!attribute usage_limit
|
|
85
|
+
# Maximum usage allowed within one cadence window (required on create)
|
|
86
|
+
#
|
|
87
|
+
# @return [Float, nil]
|
|
88
|
+
optional :usage_limit, Float, api_name: :usageLimit
|
|
89
|
+
|
|
90
|
+
# @!method initialize(entity_id:, cadence: nil, currency_id: nil, feature_id: nil, parent_id: nil, scope_entity_ids: nil, usage_limit: nil)
|
|
91
|
+
# Some parameter documentations has been truncated, see
|
|
92
|
+
# {Stigg::Models::V1Beta::Customers::AssignmentUpsertParams::Assignment} for more
|
|
93
|
+
# details.
|
|
94
|
+
#
|
|
95
|
+
# A single assignment to create or update. Identify the capability with exactly
|
|
96
|
+
# one of `featureId` or `currencyId`. The natural key is the
|
|
97
|
+
# `(entityId, capability, scopeEntityIds)` triple. On create both `usageLimit` and
|
|
98
|
+
# `cadence` are required; on update they may be omitted individually to preserve
|
|
99
|
+
# the existing value.
|
|
100
|
+
#
|
|
101
|
+
# @param entity_id [String] The entity refId this assignment is attached to
|
|
102
|
+
#
|
|
103
|
+
# @param cadence [Symbol, Stigg::Models::V1Beta::Customers::AssignmentUpsertParams::Assignment::Cadence] Usage-reset cadence (required on create). Currently only `MONTH` is supported
|
|
104
|
+
#
|
|
105
|
+
# @param currency_id [String] Currency refId this assignment grants (credit budgets). Mutually exclusive with
|
|
106
|
+
#
|
|
107
|
+
# @param feature_id [String] Feature refId this assignment grants. Mutually exclusive with `currencyId`.
|
|
108
|
+
#
|
|
109
|
+
# @param parent_id [String, nil] Parent entity refId in the hierarchy. Omit to leave the current parent untouched
|
|
110
|
+
#
|
|
111
|
+
# @param scope_entity_ids [Array<String>]
|
|
112
|
+
#
|
|
113
|
+
# @param usage_limit [Float] Maximum usage allowed within one cadence window (required on create)
|
|
114
|
+
|
|
115
|
+
# Usage-reset cadence (required on create). Currently only `MONTH` is supported
|
|
116
|
+
#
|
|
117
|
+
# @see Stigg::Models::V1Beta::Customers::AssignmentUpsertParams::Assignment#cadence
|
|
118
|
+
module Cadence
|
|
119
|
+
extend Stigg::Internal::Type::Enum
|
|
120
|
+
|
|
121
|
+
MONTH = :MONTH
|
|
122
|
+
|
|
123
|
+
# @!method self.values
|
|
124
|
+
# @return [Array<Symbol>]
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
end
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Stigg
|
|
4
|
+
module Models
|
|
5
|
+
module V1Beta
|
|
6
|
+
module Customers
|
|
7
|
+
# @see Stigg::Resources::V1Beta::Customers::Assignments#upsert
|
|
8
|
+
class AssignmentUpsertResponse < Stigg::Internal::Type::BaseModel
|
|
9
|
+
# @!attribute data
|
|
10
|
+
#
|
|
11
|
+
# @return [Array<Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data>]
|
|
12
|
+
required :data,
|
|
13
|
+
-> { Stigg::Internal::Type::ArrayOf[Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data] }
|
|
14
|
+
|
|
15
|
+
# @!method initialize(data:)
|
|
16
|
+
# Assignments after upsert.
|
|
17
|
+
#
|
|
18
|
+
# @param data [Array<Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data>]
|
|
19
|
+
|
|
20
|
+
class Data < Stigg::Internal::Type::BaseModel
|
|
21
|
+
# @!attribute id
|
|
22
|
+
# Synthetic UUID identifier — also the cursor anchor for paginated lists
|
|
23
|
+
#
|
|
24
|
+
# @return [String]
|
|
25
|
+
required :id, String
|
|
26
|
+
|
|
27
|
+
# @!attribute cadence
|
|
28
|
+
# Usage-reset cadence. Currently only `MONTH` is supported
|
|
29
|
+
#
|
|
30
|
+
# @return [Symbol, Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data::Cadence]
|
|
31
|
+
required :cadence, enum: -> { Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data::Cadence }
|
|
32
|
+
|
|
33
|
+
# @!attribute created_at
|
|
34
|
+
# Timestamp of when the record was created
|
|
35
|
+
#
|
|
36
|
+
# @return [Time]
|
|
37
|
+
required :created_at, Time, api_name: :createdAt
|
|
38
|
+
|
|
39
|
+
# @!attribute entity_id
|
|
40
|
+
# The entity refId this assignment is attached to
|
|
41
|
+
#
|
|
42
|
+
# @return [String]
|
|
43
|
+
required :entity_id, String, api_name: :entityId
|
|
44
|
+
|
|
45
|
+
# @!attribute parent_id
|
|
46
|
+
# Parent entity refId in the hierarchy, or `null` for a root.
|
|
47
|
+
#
|
|
48
|
+
# @return [String, nil]
|
|
49
|
+
required :parent_id, String, api_name: :parentId, nil?: true
|
|
50
|
+
|
|
51
|
+
# @!attribute scope_entity_ids
|
|
52
|
+
# Dimension-scoped sub-budget key: the set of entity refIds this budget applies
|
|
53
|
+
# to. Empty is the node-wide budget that always matches; a non-empty set only
|
|
54
|
+
# applies when every listed entity is present in the resolved set
|
|
55
|
+
# (order-insensitive).
|
|
56
|
+
#
|
|
57
|
+
# @return [Array<String>]
|
|
58
|
+
required :scope_entity_ids, Stigg::Internal::Type::ArrayOf[String], api_name: :scopeEntityIds
|
|
59
|
+
|
|
60
|
+
# @!attribute updated_at
|
|
61
|
+
# Timestamp of when the record was last updated
|
|
62
|
+
#
|
|
63
|
+
# @return [Time]
|
|
64
|
+
required :updated_at, Time, api_name: :updatedAt
|
|
65
|
+
|
|
66
|
+
# @!attribute usage_limit
|
|
67
|
+
# Maximum usage allowed within one cadence window
|
|
68
|
+
#
|
|
69
|
+
# @return [Float]
|
|
70
|
+
required :usage_limit, Float, api_name: :usageLimit
|
|
71
|
+
|
|
72
|
+
# @!attribute currency_id
|
|
73
|
+
# Currency refId this assignment grants (present for credit capabilities).
|
|
74
|
+
#
|
|
75
|
+
# @return [String, nil]
|
|
76
|
+
optional :currency_id, String, api_name: :currencyId
|
|
77
|
+
|
|
78
|
+
# @!attribute feature_id
|
|
79
|
+
# Feature refId this assignment grants (present for feature capabilities).
|
|
80
|
+
#
|
|
81
|
+
# @return [String, nil]
|
|
82
|
+
optional :feature_id, String, api_name: :featureId
|
|
83
|
+
|
|
84
|
+
# @!method initialize(id:, cadence:, created_at:, entity_id:, parent_id:, scope_entity_ids:, updated_at:, usage_limit:, currency_id: nil, feature_id: nil)
|
|
85
|
+
# Some parameter documentations has been truncated, see
|
|
86
|
+
# {Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data} for more
|
|
87
|
+
# details.
|
|
88
|
+
#
|
|
89
|
+
# A capability assignment for an entity belonging to a customer. Defines how much
|
|
90
|
+
# of the capability the entity may consume (`usageLimit`) and how often the
|
|
91
|
+
# counter resets (`cadence`).
|
|
92
|
+
#
|
|
93
|
+
# @param id [String] Synthetic UUID identifier — also the cursor anchor for paginated lists
|
|
94
|
+
#
|
|
95
|
+
# @param cadence [Symbol, Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data::Cadence] Usage-reset cadence. Currently only `MONTH` is supported
|
|
96
|
+
#
|
|
97
|
+
# @param created_at [Time] Timestamp of when the record was created
|
|
98
|
+
#
|
|
99
|
+
# @param entity_id [String] The entity refId this assignment is attached to
|
|
100
|
+
#
|
|
101
|
+
# @param parent_id [String, nil] Parent entity refId in the hierarchy, or `null` for a root.
|
|
102
|
+
#
|
|
103
|
+
# @param scope_entity_ids [Array<String>] Dimension-scoped sub-budget key: the set of entity refIds this budget applies to
|
|
104
|
+
#
|
|
105
|
+
# @param updated_at [Time] Timestamp of when the record was last updated
|
|
106
|
+
#
|
|
107
|
+
# @param usage_limit [Float] Maximum usage allowed within one cadence window
|
|
108
|
+
#
|
|
109
|
+
# @param currency_id [String] Currency refId this assignment grants (present for credit capabilities).
|
|
110
|
+
#
|
|
111
|
+
# @param feature_id [String] Feature refId this assignment grants (present for feature capabilities).
|
|
112
|
+
|
|
113
|
+
# Usage-reset cadence. Currently only `MONTH` is supported
|
|
114
|
+
#
|
|
115
|
+
# @see Stigg::Models::V1Beta::Customers::AssignmentUpsertResponse::Data#cadence
|
|
116
|
+
module Cadence
|
|
117
|
+
extend Stigg::Internal::Type::Enum
|
|
118
|
+
|
|
119
|
+
MONTH = :MONTH
|
|
120
|
+
|
|
121
|
+
# @!method self.values
|
|
122
|
+
# @return [Array<Symbol>]
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
end
|