fastly 14.0.0 → 15.1.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.
Files changed (222) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +22 -13
  5. data/docs/ApiDiscoveryResponseBodyGetAllServices.md +13 -0
  6. data/docs/ApiDiscoveryResponseCustomer.md +10 -0
  7. data/docs/ApiDiscoveryResponseCustomerCustomer.md +11 -0
  8. data/docs/ApiDiscoveryResponseEnable.md +12 -0
  9. data/docs/ApiDiscoveryResponseEnabledServices.md +10 -0
  10. data/docs/ApiDiscoveryResponseLinks.md +10 -0
  11. data/docs/ApiDiscoveryResponseLinksGetAllServices.md +10 -0
  12. data/docs/ApiDiscoveryResponseLinksGetAllServicesLinks.md +10 -0
  13. data/docs/ApiDiscoveryResponseLinksLinks.md +10 -0
  14. data/docs/ApiDiscoveryResponseProduct.md +10 -0
  15. data/docs/ApiDiscoveryResponseProductProduct.md +11 -0
  16. data/docs/ApiDiscoveryResponseService.md +10 -0
  17. data/docs/{BotManagementResponseServiceService.md → ApiDiscoveryResponseServiceService.md} +1 -1
  18. data/docs/BotManagementResponseBodyEnable.md +1 -1
  19. data/docs/BotManagementResponseService.md +1 -1
  20. data/docs/BrotliCompressionResponseBodyEnable.md +1 -1
  21. data/docs/BrotliCompressionResponseService.md +1 -1
  22. data/docs/DdosProtectionApi.md +2 -0
  23. data/docs/DdosProtectionEvent.md +2 -0
  24. data/docs/DdosProtectionEventAllOf.md +2 -0
  25. data/docs/DdosProtectionRequestEnableMode.md +10 -0
  26. data/docs/DdosProtectionResponseConfigure.md +1 -1
  27. data/docs/DdosProtectionResponseEnable.md +1 -1
  28. data/docs/DdosProtectionResponseService.md +1 -1
  29. data/docs/DdosProtectionRuleWithStats.md +23 -0
  30. data/docs/DdosProtectionRuleWithStatsAllOf.md +10 -0
  31. data/docs/DdosProtectionTrafficStats.md +1 -0
  32. data/docs/DdosProtectionTrafficStatsAllOf.md +1 -0
  33. data/docs/DmDomainsApi.md +220 -0
  34. data/docs/DomainInspectorHistoricalApi.md +1 -1
  35. data/docs/DomainInspectorResponseBodyEnable.md +1 -1
  36. data/docs/DomainInspectorResponseService.md +1 -1
  37. data/docs/DomainOwnershipsApi.md +2 -2
  38. data/docs/DomainResearchApi.md +103 -0
  39. data/docs/DomainResearchResponseBodyEnable.md +12 -0
  40. data/docs/DomainResearchResponseCustomer.md +10 -0
  41. data/docs/DomainResearchResponseLinks.md +10 -0
  42. data/docs/DomainResearchResponseLinksLinks.md +10 -0
  43. data/docs/DomainResearchResponseProduct.md +10 -0
  44. data/docs/DomainResearchResponseProductProduct.md +11 -0
  45. data/docs/FanoutResponseBodyEnable.md +1 -1
  46. data/docs/FanoutResponseService.md +1 -1
  47. data/docs/Healthcheck.md +1 -1
  48. data/docs/HealthcheckApi.md +4 -4
  49. data/docs/HealthcheckResponse.md +1 -1
  50. data/docs/IamRolesApi.md +23 -253
  51. data/docs/IamV1RoleListResponse.md +12 -0
  52. data/docs/IamV1RoleResponse.md +14 -0
  53. data/docs/ImageOptimizerResponseBodyEnable.md +1 -1
  54. data/docs/ImageOptimizerResponseService.md +1 -1
  55. data/docs/InlineResponse20010.md +11 -0
  56. data/docs/InlineResponse20011.md +10 -0
  57. data/docs/InlineResponse2003.md +2 -2
  58. data/docs/InlineResponse2004.md +2 -1
  59. data/docs/InlineResponse2005.md +1 -2
  60. data/docs/InlineResponse2006.md +1 -2
  61. data/docs/InlineResponse2007.md +1 -1
  62. data/docs/InlineResponse2008.md +1 -1
  63. data/docs/InlineResponse2009.md +2 -1
  64. data/docs/InvitationDataAttributes.md +1 -0
  65. data/docs/KvStoreApi.md +43 -4
  66. data/docs/KvStoreDetails.md +2 -0
  67. data/docs/KvStoreItemApi.md +2 -2
  68. data/docs/{KvStoreRequestCreate.md → KvStoreRequestCreateOrUpdate.md} +1 -1
  69. data/docs/LogExplorerInsightsResponseBodyEnable.md +1 -1
  70. data/docs/LogExplorerInsightsResponseService.md +1 -1
  71. data/docs/LoggingHttpsAdditional.md +1 -0
  72. data/docs/LoggingHttpsApi.md +4 -0
  73. data/docs/LoggingHttpsResponse.md +1 -0
  74. data/docs/MetricsPlatformApi.md +75 -0
  75. data/docs/NgwafRequestEnable.md +1 -0
  76. data/docs/NgwafResponseConfigure.md +1 -1
  77. data/docs/NgwafResponseEnable.md +1 -1
  78. data/docs/NgwafResponseService.md +1 -1
  79. data/docs/Offer.md +12 -0
  80. data/docs/OfferAllOf.md +12 -0
  81. data/docs/OriginInspectorHistoricalApi.md +1 -1
  82. data/docs/OriginInspectorResponseBodyEnable.md +1 -1
  83. data/docs/OriginInspectorResponseService.md +1 -1
  84. data/docs/PlatformMetadata.md +14 -0
  85. data/docs/PlatformMetricsResponse.md +11 -0
  86. data/docs/PlatformValues.md +25 -0
  87. data/docs/ProductApiDiscoveryApi.md +163 -0
  88. data/docs/ProductDdosProtectionApi.md +3 -1
  89. data/docs/ProductDomainResearchApi.md +115 -0
  90. data/docs/RealtimeEntryAggregated.md +5 -0
  91. data/docs/RealtimeMeasurements.md +5 -0
  92. data/docs/RequestBodyForCreate.md +12 -0
  93. data/docs/RequestBodyForUpdate.md +11 -0
  94. data/docs/Results.md +5 -0
  95. data/docs/SchemasUserResponse.md +1 -0
  96. data/docs/SecretStoreApi.md +2 -2
  97. data/docs/SecretStoreItemApi.md +2 -2
  98. data/docs/ServiceAuthorizationsApi.md +2 -2
  99. data/docs/Status.md +15 -0
  100. data/docs/StatusAllOf.md +15 -0
  101. data/docs/SuccessfulResponseAsObject.md +17 -0
  102. data/docs/SuccessfulResponseAsObjectAllOf.md +15 -0
  103. data/docs/Suggestion.md +13 -0
  104. data/docs/SuggestionAllOf.md +13 -0
  105. data/docs/User.md +1 -0
  106. data/docs/UserApi.md +4 -0
  107. data/docs/UserResponse.md +1 -0
  108. data/docs/WebsocketsResponseBodyEnable.md +1 -1
  109. data/docs/WebsocketsResponseService.md +1 -1
  110. data/lib/fastly/api/ddos_protection_api.rb +3 -0
  111. data/lib/fastly/api/dm_domains_api.rb +362 -0
  112. data/lib/fastly/api/domain_inspector_historical_api.rb +1 -1
  113. data/lib/fastly/api/domain_ownerships_api.rb +3 -3
  114. data/lib/fastly/api/domain_research_api.rb +163 -0
  115. data/lib/fastly/api/healthcheck_api.rb +20 -4
  116. data/lib/fastly/api/iam_roles_api.rb +43 -435
  117. data/lib/fastly/api/kv_store_api.rb +74 -6
  118. data/lib/fastly/api/kv_store_item_api.rb +3 -3
  119. data/lib/fastly/api/logging_https_api.rb +6 -0
  120. data/lib/fastly/api/metrics_platform_api.rb +134 -0
  121. data/lib/fastly/api/origin_inspector_historical_api.rb +1 -1
  122. data/lib/fastly/api/product_api_discovery_api.rb +263 -0
  123. data/lib/fastly/api/product_ddos_protection_api.rb +10 -3
  124. data/lib/fastly/api/product_domain_research_api.rb +186 -0
  125. data/lib/fastly/api/secret_store_api.rb +3 -3
  126. data/lib/fastly/api/secret_store_item_api.rb +3 -3
  127. data/lib/fastly/api/service_authorizations_api.rb +3 -3
  128. data/lib/fastly/api/user_api.rb +6 -0
  129. data/lib/fastly/configuration.rb +98 -38
  130. data/lib/fastly/models/api_discovery_response_body_get_all_services.rb +256 -0
  131. data/lib/fastly/models/api_discovery_response_customer.rb +216 -0
  132. data/lib/fastly/models/api_discovery_response_customer_customer.rb +227 -0
  133. data/lib/fastly/models/api_discovery_response_enable.rb +243 -0
  134. data/lib/fastly/models/api_discovery_response_enabled_services.rb +219 -0
  135. data/lib/fastly/models/api_discovery_response_links.rb +216 -0
  136. data/lib/fastly/models/api_discovery_response_links_get_all_services.rb +216 -0
  137. data/lib/fastly/models/api_discovery_response_links_get_all_services_links.rb +217 -0
  138. data/lib/fastly/models/api_discovery_response_links_links.rb +217 -0
  139. data/lib/fastly/models/api_discovery_response_product.rb +216 -0
  140. data/lib/fastly/models/api_discovery_response_product_product.rb +227 -0
  141. data/lib/fastly/models/api_discovery_response_service.rb +216 -0
  142. data/lib/fastly/models/{bot_management_response_service_service.rb → api_discovery_response_service_service.rb} +3 -3
  143. data/lib/fastly/models/bot_management_response_body_enable.rb +1 -1
  144. data/lib/fastly/models/bot_management_response_service.rb +1 -1
  145. data/lib/fastly/models/brotli_compression_response_body_enable.rb +1 -1
  146. data/lib/fastly/models/brotli_compression_response_service.rb +1 -1
  147. data/lib/fastly/models/ddos_protection_event.rb +21 -1
  148. data/lib/fastly/models/ddos_protection_event_all_of.rb +21 -1
  149. data/lib/fastly/models/ddos_protection_request_enable_mode.rb +251 -0
  150. data/lib/fastly/models/ddos_protection_response_configure.rb +1 -1
  151. data/lib/fastly/models/ddos_protection_response_enable.rb +1 -1
  152. data/lib/fastly/models/ddos_protection_response_service.rb +1 -1
  153. data/lib/fastly/models/ddos_protection_rule_with_stats.rb +365 -0
  154. data/lib/fastly/models/ddos_protection_rule_with_stats_all_of.rb +216 -0
  155. data/lib/fastly/models/ddos_protection_traffic_stats.rb +20 -4
  156. data/lib/fastly/models/ddos_protection_traffic_stats_all_of.rb +20 -4
  157. data/lib/fastly/models/domain_inspector_response_body_enable.rb +1 -1
  158. data/lib/fastly/models/domain_inspector_response_service.rb +1 -1
  159. data/lib/fastly/models/domain_research_response_body_enable.rb +243 -0
  160. data/lib/fastly/models/domain_research_response_customer.rb +216 -0
  161. data/lib/fastly/models/domain_research_response_links.rb +216 -0
  162. data/lib/fastly/models/domain_research_response_links_links.rb +217 -0
  163. data/lib/fastly/models/domain_research_response_product.rb +216 -0
  164. data/lib/fastly/models/domain_research_response_product_product.rb +227 -0
  165. data/lib/fastly/models/fanout_response_body_enable.rb +1 -1
  166. data/lib/fastly/models/fanout_response_service.rb +1 -1
  167. data/lib/fastly/models/healthcheck.rb +25 -1
  168. data/lib/fastly/models/healthcheck_response.rb +25 -1
  169. data/lib/fastly/models/iam_v1_role_list_response.rb +240 -0
  170. data/lib/fastly/models/{iam_role_all_of.rb → iam_v1_role_response.rb} +23 -34
  171. data/lib/fastly/models/image_optimizer_response_body_enable.rb +1 -1
  172. data/lib/fastly/models/image_optimizer_response_service.rb +1 -1
  173. data/lib/fastly/models/inline_response20010.rb +227 -0
  174. data/lib/fastly/models/inline_response20011.rb +218 -0
  175. data/lib/fastly/models/inline_response2003.rb +11 -1
  176. data/lib/fastly/models/inline_response2004.rb +20 -8
  177. data/lib/fastly/models/inline_response2005.rb +8 -18
  178. data/lib/fastly/models/inline_response2006.rb +8 -17
  179. data/lib/fastly/models/inline_response2007.rb +1 -1
  180. data/lib/fastly/models/inline_response2008.rb +1 -1
  181. data/lib/fastly/models/inline_response2009.rb +13 -4
  182. data/lib/fastly/models/invitation_data_attributes.rb +12 -1
  183. data/lib/fastly/models/kv_store_details.rb +24 -4
  184. data/lib/fastly/models/{kv_store_request_create.rb → kv_store_request_create_or_update.rb} +3 -3
  185. data/lib/fastly/models/log_explorer_insights_response_body_enable.rb +1 -1
  186. data/lib/fastly/models/log_explorer_insights_response_service.rb +1 -1
  187. data/lib/fastly/models/logging_https_additional.rb +16 -4
  188. data/lib/fastly/models/logging_https_response.rb +13 -1
  189. data/lib/fastly/models/ngwaf_request_enable.rb +14 -4
  190. data/lib/fastly/models/ngwaf_response_configure.rb +1 -1
  191. data/lib/fastly/models/ngwaf_response_enable.rb +1 -1
  192. data/lib/fastly/models/ngwaf_response_service.rb +1 -1
  193. data/lib/fastly/models/offer.rb +245 -0
  194. data/lib/fastly/models/offer_all_of.rb +237 -0
  195. data/lib/fastly/models/origin_inspector_response_body_enable.rb +1 -1
  196. data/lib/fastly/models/origin_inspector_response_service.rb +1 -1
  197. data/lib/fastly/models/platform_metadata.rb +258 -0
  198. data/lib/fastly/models/platform_metrics_response.rb +228 -0
  199. data/lib/fastly/models/platform_values.rb +368 -0
  200. data/lib/fastly/models/realtime_entry_aggregated.rb +54 -4
  201. data/lib/fastly/models/realtime_measurements.rb +54 -4
  202. data/lib/fastly/models/request_body_for_create.rb +244 -0
  203. data/lib/fastly/models/request_body_for_update.rb +229 -0
  204. data/lib/fastly/models/results.rb +51 -1
  205. data/lib/fastly/models/role_user.rb +2 -0
  206. data/lib/fastly/models/schemas_user_response.rb +13 -1
  207. data/lib/fastly/models/status.rb +276 -0
  208. data/lib/fastly/models/status_all_of.rb +268 -0
  209. data/lib/fastly/models/{iam_role.rb → successful_response_as_object.rb} +37 -35
  210. data/lib/fastly/models/successful_response_as_object_all_of.rb +268 -0
  211. data/lib/fastly/models/suggestion.rb +255 -0
  212. data/lib/fastly/models/suggestion_all_of.rb +247 -0
  213. data/lib/fastly/models/user.rb +13 -1
  214. data/lib/fastly/models/user_response.rb +13 -1
  215. data/lib/fastly/models/websockets_response_body_enable.rb +1 -1
  216. data/lib/fastly/models/websockets_response_service.rb +1 -1
  217. data/lib/fastly/version.rb +1 -1
  218. data/lib/fastly.rb +45 -4
  219. data/sig.json +1 -1
  220. metadata +92 -10
  221. data/docs/IamRole.md +0 -17
  222. data/docs/IamRoleAllOf.md +0 -15
data/docs/IamRolesApi.md CHANGED
@@ -13,39 +13,33 @@ api_instance = Fastly::IamRolesApi.new
13
13
 
14
14
  Method | HTTP request | Description
15
15
  ------ | ------------ | -----------
16
- [**add_role_permissions**](IamRolesApi.md#add_role_permissions) | **POST** /roles/{role_id}/permissions | Add permissions to a role
17
- [**create_a_role**](IamRolesApi.md#create_a_role) | **POST** /roles | Create a role
18
- [**delete_a_role**](IamRolesApi.md#delete_a_role) | **DELETE** /roles/{role_id} | Delete a role
19
- [**get_a_role**](IamRolesApi.md#get_a_role) | **GET** /roles/{role_id} | Get a role
20
- [**list_role_permissions**](IamRolesApi.md#list_role_permissions) | **GET** /roles/{role_id}/permissions | List permissions in a role
21
- [**list_roles**](IamRolesApi.md#list_roles) | **GET** /roles | List roles
22
- [**remove_role_permissions**](IamRolesApi.md#remove_role_permissions) | **DELETE** /roles/{role_id}/permissions | Remove permissions from a role
23
- [**update_a_role**](IamRolesApi.md#update_a_role) | **PATCH** /roles/{role_id} | Update a role
16
+ [**iam_v1_roles_get**](IamRolesApi.md#iam_v1_roles_get) | **GET** /iam/v1/roles/{role_id} | Get IAM role by ID
17
+ [**iam_v1_roles_list**](IamRolesApi.md#iam_v1_roles_list) | **GET** /iam/v1/roles | List IAM roles
24
18
 
25
19
 
26
- ## `add_role_permissions()`
20
+ ## `iam_v1_roles_get()`
27
21
 
28
22
  ```ruby
29
- add_role_permissions(opts): Object # Add permissions to a role
23
+ iam_v1_roles_get(opts): <IamV1RoleResponse> # Get IAM role by ID
30
24
  ```
31
25
 
32
- Add permissions to a role.
26
+ Retrieve a single IAM role by its unique identifier.
33
27
 
34
28
  ### Examples
35
29
 
36
30
  ```ruby
37
31
  api_instance = Fastly::IamRolesApi.new
38
32
  opts = {
39
- role_id: 'role_id_example', # String | Alphanumeric string identifying the role.
40
- request_body: { key: 3.56}, # Hash<String, Object> |
33
+ role_id: 'Q4rXe9vN1szK8a2fUjYtWp', # String | Alphanumeric string identifying the role.
34
+ include: 'permissions', # String | Include related data (i.e., permissions).
41
35
  }
42
36
 
43
37
  begin
44
- # Add permissions to a role
45
- result = api_instance.add_role_permissions(opts)
38
+ # Get IAM role by ID
39
+ result = api_instance.iam_v1_roles_get(opts)
46
40
  p result
47
41
  rescue Fastly::ApiError => e
48
- puts "Error when calling IamRolesApi->add_role_permissions: #{e}"
42
+ puts "Error when calling IamRolesApi->iam_v1_roles_get: #{e}"
49
43
  end
50
44
  ```
51
45
 
@@ -54,36 +48,37 @@ end
54
48
  | Name | Type | Description | Notes |
55
49
  | ---- | ---- | ----------- | ----- |
56
50
  | **role_id** | **String** | Alphanumeric string identifying the role. | |
57
- | **request_body** | [**Hash&lt;String, Object&gt;**](Object.md) | | [optional] |
51
+ | **include** | **String** | Include related data (i.e., permissions). | [optional] |
58
52
 
59
53
  ### Return type
60
54
 
61
- **Object**
55
+ [**IamV1RoleResponse**](IamV1RoleResponse.md)
62
56
 
63
57
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
64
58
  [[Back to README]](../../README.md)
65
- ## `create_a_role()`
59
+ ## `iam_v1_roles_list()`
66
60
 
67
61
  ```ruby
68
- create_a_role(opts): Object # Create a role
62
+ iam_v1_roles_list(opts): <IamV1RoleListResponse> # List IAM roles
69
63
  ```
70
64
 
71
- Create a role.
65
+ Retrieve a paginated list of IAM roles available in the account.
72
66
 
73
67
  ### Examples
74
68
 
75
69
  ```ruby
76
70
  api_instance = Fastly::IamRolesApi.new
77
71
  opts = {
78
- request_body: { key: 3.56}, # Hash<String, Object> |
72
+ limit: 56, # Integer | Number of results per page. The maximum is 1000.
73
+ cursor: 'cursor_example', # String | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
79
74
  }
80
75
 
81
76
  begin
82
- # Create a role
83
- result = api_instance.create_a_role(opts)
77
+ # List IAM roles
78
+ result = api_instance.iam_v1_roles_list(opts)
84
79
  p result
85
80
  rescue Fastly::ApiError => e
86
- puts "Error when calling IamRolesApi->create_a_role: #{e}"
81
+ puts "Error when calling IamRolesApi->iam_v1_roles_list: #{e}"
87
82
  end
88
83
  ```
89
84
 
@@ -91,237 +86,12 @@ end
91
86
 
92
87
  | Name | Type | Description | Notes |
93
88
  | ---- | ---- | ----------- | ----- |
94
- | **request_body** | [**Hash&lt;String, Object&gt;**](Object.md) | | [optional] |
89
+ | **limit** | **Integer** | Number of results per page. The maximum is 1000. | [optional][default to 100] |
90
+ | **cursor** | **String** | Cursor value from the `next_cursor` field of a previous response, used to retrieve the next page. To request the first page, this should be empty. | [optional] |
95
91
 
96
92
  ### Return type
97
93
 
98
- **Object**
99
-
100
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
101
- [[Back to README]](../../README.md)
102
- ## `delete_a_role()`
103
-
104
- ```ruby
105
- delete_a_role(opts) # Delete a role
106
- ```
107
-
108
- Delete a role.
109
-
110
- ### Examples
111
-
112
- ```ruby
113
- api_instance = Fastly::IamRolesApi.new
114
- opts = {
115
- role_id: 'role_id_example', # String | Alphanumeric string identifying the role.
116
- }
117
-
118
- begin
119
- # Delete a role
120
- api_instance.delete_a_role(opts)
121
- rescue Fastly::ApiError => e
122
- puts "Error when calling IamRolesApi->delete_a_role: #{e}"
123
- end
124
- ```
125
-
126
- ### Options
127
-
128
- | Name | Type | Description | Notes |
129
- | ---- | ---- | ----------- | ----- |
130
- | **role_id** | **String** | Alphanumeric string identifying the role. | |
131
-
132
- ### Return type
133
-
134
- nil (empty response body)
135
-
136
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
137
- [[Back to README]](../../README.md)
138
- ## `get_a_role()`
139
-
140
- ```ruby
141
- get_a_role(opts): Object # Get a role
142
- ```
143
-
144
- Get a role.
145
-
146
- ### Examples
147
-
148
- ```ruby
149
- api_instance = Fastly::IamRolesApi.new
150
- opts = {
151
- role_id: 'role_id_example', # String | Alphanumeric string identifying the role.
152
- }
153
-
154
- begin
155
- # Get a role
156
- result = api_instance.get_a_role(opts)
157
- p result
158
- rescue Fastly::ApiError => e
159
- puts "Error when calling IamRolesApi->get_a_role: #{e}"
160
- end
161
- ```
162
-
163
- ### Options
164
-
165
- | Name | Type | Description | Notes |
166
- | ---- | ---- | ----------- | ----- |
167
- | **role_id** | **String** | Alphanumeric string identifying the role. | |
168
-
169
- ### Return type
170
-
171
- **Object**
172
-
173
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
174
- [[Back to README]](../../README.md)
175
- ## `list_role_permissions()`
176
-
177
- ```ruby
178
- list_role_permissions(opts): Object # List permissions in a role
179
- ```
180
-
181
- List all permissions in a role.
182
-
183
- ### Examples
184
-
185
- ```ruby
186
- api_instance = Fastly::IamRolesApi.new
187
- opts = {
188
- role_id: 'role_id_example', # String | Alphanumeric string identifying the role.
189
- }
190
-
191
- begin
192
- # List permissions in a role
193
- result = api_instance.list_role_permissions(opts)
194
- p result
195
- rescue Fastly::ApiError => e
196
- puts "Error when calling IamRolesApi->list_role_permissions: #{e}"
197
- end
198
- ```
199
-
200
- ### Options
201
-
202
- | Name | Type | Description | Notes |
203
- | ---- | ---- | ----------- | ----- |
204
- | **role_id** | **String** | Alphanumeric string identifying the role. | |
205
-
206
- ### Return type
207
-
208
- **Object**
209
-
210
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
211
- [[Back to README]](../../README.md)
212
- ## `list_roles()`
213
-
214
- ```ruby
215
- list_roles(opts): Object # List roles
216
- ```
217
-
218
- List all roles.
219
-
220
- ### Examples
221
-
222
- ```ruby
223
- api_instance = Fastly::IamRolesApi.new
224
- opts = {
225
- per_page: 20, # Integer | Number of records per page.
226
- page: 1, # Integer | Current page.
227
- }
228
-
229
- begin
230
- # List roles
231
- result = api_instance.list_roles(opts)
232
- p result
233
- rescue Fastly::ApiError => e
234
- puts "Error when calling IamRolesApi->list_roles: #{e}"
235
- end
236
- ```
237
-
238
- ### Options
239
-
240
- | Name | Type | Description | Notes |
241
- | ---- | ---- | ----------- | ----- |
242
- | **per_page** | **Integer** | Number of records per page. | [optional][default to 20] |
243
- | **page** | **Integer** | Current page. | [optional] |
244
-
245
- ### Return type
246
-
247
- **Object**
248
-
249
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
250
- [[Back to README]](../../README.md)
251
- ## `remove_role_permissions()`
252
-
253
- ```ruby
254
- remove_role_permissions(opts) # Remove permissions from a role
255
- ```
256
-
257
- Remove permissions from a role.
258
-
259
- ### Examples
260
-
261
- ```ruby
262
- api_instance = Fastly::IamRolesApi.new
263
- opts = {
264
- role_id: 'role_id_example', # String | Alphanumeric string identifying the role.
265
- request_body: { key: 3.56}, # Hash<String, Object> |
266
- }
267
-
268
- begin
269
- # Remove permissions from a role
270
- api_instance.remove_role_permissions(opts)
271
- rescue Fastly::ApiError => e
272
- puts "Error when calling IamRolesApi->remove_role_permissions: #{e}"
273
- end
274
- ```
275
-
276
- ### Options
277
-
278
- | Name | Type | Description | Notes |
279
- | ---- | ---- | ----------- | ----- |
280
- | **role_id** | **String** | Alphanumeric string identifying the role. | |
281
- | **request_body** | [**Hash&lt;String, Object&gt;**](Object.md) | | [optional] |
282
-
283
- ### Return type
284
-
285
- nil (empty response body)
286
-
287
- [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
288
- [[Back to README]](../../README.md)
289
- ## `update_a_role()`
290
-
291
- ```ruby
292
- update_a_role(opts): Object # Update a role
293
- ```
294
-
295
- Update a role.
296
-
297
- ### Examples
298
-
299
- ```ruby
300
- api_instance = Fastly::IamRolesApi.new
301
- opts = {
302
- role_id: 'role_id_example', # String | Alphanumeric string identifying the role.
303
- request_body: { key: 3.56}, # Hash<String, Object> |
304
- }
305
-
306
- begin
307
- # Update a role
308
- result = api_instance.update_a_role(opts)
309
- p result
310
- rescue Fastly::ApiError => e
311
- puts "Error when calling IamRolesApi->update_a_role: #{e}"
312
- end
313
- ```
314
-
315
- ### Options
316
-
317
- | Name | Type | Description | Notes |
318
- | ---- | ---- | ----------- | ----- |
319
- | **role_id** | **String** | Alphanumeric string identifying the role. | |
320
- | **request_body** | [**Hash&lt;String, Object&gt;**](Object.md) | | [optional] |
321
-
322
- ### Return type
323
-
324
- **Object**
94
+ [**IamV1RoleListResponse**](IamV1RoleListResponse.md)
325
95
 
326
96
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
327
97
  [[Back to README]](../../README.md)
@@ -0,0 +1,12 @@
1
+ # Fastly::IamV1RoleListResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **limit** | **Integer** | Maximum number of results returned. | [optional] |
8
+ | **next_cursor** | **String** | Cursor for the next page. | [optional] |
9
+ | **data** | [**Array&lt;IamV1RoleResponse&gt;**](IamV1RoleResponse.md) | Page of IAM roles (length ≤ limit). | [optional] |
10
+
11
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12
+
@@ -0,0 +1,14 @@
1
+ # Fastly::IamV1RoleResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **name** | **String** | | [optional] |
9
+ | **display_name** | **String** | | [optional] |
10
+ | **description** | **String** | | [optional] |
11
+ | **permissions** | **Array&lt;String&gt;** | The set of permissions granted to this role. | [optional] |
12
+
13
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
14
+
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **product** | [**ImageOptimizerResponseProductProduct**](ImageOptimizerResponseProductProduct.md) | | [optional] |
8
- | **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
8
+ | **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
9
9
  | **_links** | [**ImageOptimizerResponseLinksLinks**](ImageOptimizerResponseLinksLinks.md) | | [optional] |
10
10
 
11
11
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
7
+ | **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
8
8
 
9
9
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
10
 
@@ -0,0 +1,11 @@
1
+ # Fastly::InlineResponse20010
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;SecretResponse&gt;**](SecretResponse.md) | | [optional] |
8
+ | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
9
+
10
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
+
@@ -0,0 +1,10 @@
1
+ # Fastly::InlineResponse20011
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **data** | [**Array&lt;ServiceAuthorizationResponseData&gt;**](ServiceAuthorizationResponseData.md) | | [optional] |
8
+
9
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
+
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;DdosProtectionRule&gt;**](DdosProtectionRule.md) | | [optional] |
8
- | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
7
+ | **data** | [**Array&lt;DdosProtectionRuleWithStats&gt;**](DdosProtectionRuleWithStats.md) | | |
8
+ | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | |
9
9
 
10
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
11
 
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **expires_at** | **String** | Time-stamp (GMT) when the domain_ownership validation will expire. | [optional][readonly] |
7
+ | **data** | [**Array&lt;SuccessfulResponseAsObject&gt;**](SuccessfulResponseAsObject.md) | | [optional] |
8
+ | **meta** | **Object** | Meta for the pagination. | [optional] |
8
9
 
9
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
11
 
@@ -4,8 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;KvStoreDetails&gt;**](KvStoreDetails.md) | | [optional] |
8
- | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
7
+ | **expires_at** | **String** | Time-stamp (GMT) when the domain_ownership validation will expire. | [optional][readonly] |
9
8
 
10
9
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
10
 
@@ -4,8 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | **Array&lt;String&gt;** | | [optional] |
8
- | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
7
+ | **results** | [**Array&lt;Suggestion&gt;**](Suggestion.md) | | [optional] |
9
8
 
10
9
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;SecretStoreResponse&gt;**](SecretStoreResponse.md) | | [optional] |
7
+ | **data** | [**Array&lt;KvStoreDetails&gt;**](KvStoreDetails.md) | | [optional] |
8
8
  | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
9
9
 
10
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;SecretResponse&gt;**](SecretResponse.md) | | [optional] |
7
+ | **data** | **Array&lt;String&gt;** | | [optional] |
8
8
  | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
9
9
 
10
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -4,7 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;ServiceAuthorizationResponseData&gt;**](ServiceAuthorizationResponseData.md) | | [optional] |
7
+ | **data** | [**Array&lt;SecretStoreResponse&gt;**](SecretStoreResponse.md) | | [optional] |
8
+ | **meta** | [**PaginationCursorMeta**](PaginationCursorMeta.md) | | [optional] |
8
9
 
9
10
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
11
 
@@ -7,6 +7,7 @@
7
7
  | **email** | **String** | The email address of the invitee. | [optional] |
8
8
  | **limit_services** | **Boolean** | Indicates the user has limited access to the customer&#39;s services. | [optional] |
9
9
  | **role** | [**RoleUser**](RoleUser.md) | | [optional] |
10
+ | **roles** | **Array&lt;String&gt;** | | [optional] |
10
11
  | **status_code** | **Integer** | Indicates whether or not the invitation is active. | [optional] |
11
12
 
12
13
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
data/docs/KvStoreApi.md CHANGED
@@ -17,6 +17,7 @@ Method | HTTP request | Description
17
17
  [**kv_store_delete**](KvStoreApi.md#kv_store_delete) | **DELETE** /resources/stores/kv/{store_id} | Delete a KV store.
18
18
  [**kv_store_get**](KvStoreApi.md#kv_store_get) | **GET** /resources/stores/kv/{store_id} | Describe a KV store.
19
19
  [**kv_store_list**](KvStoreApi.md#kv_store_list) | **GET** /resources/stores/kv | List all KV stores.
20
+ [**kv_store_put**](KvStoreApi.md#kv_store_put) | **PUT** /resources/stores/kv/{store_id} | Update a KV store.
20
21
 
21
22
 
22
23
  ## `kv_store_create()`
@@ -33,7 +34,7 @@ Create a KV store.
33
34
  api_instance = Fastly::KvStoreApi.new
34
35
  opts = {
35
36
  location: 'US', # String |
36
- kv_store_request_create: Fastly::KvStoreRequestCreate.new({name: 'name_example'}), # KvStoreRequestCreate |
37
+ kv_store_request_create_or_update: Fastly::KvStoreRequestCreateOrUpdate.new({name: 'name_example'}), # KvStoreRequestCreateOrUpdate |
37
38
  }
38
39
 
39
40
  begin
@@ -50,7 +51,7 @@ end
50
51
  | Name | Type | Description | Notes |
51
52
  | ---- | ---- | ----------- | ----- |
52
53
  | **location** | **String** | | [optional] |
53
- | **kv_store_request_create** | [**KvStoreRequestCreate**](KvStoreRequestCreate.md) | | [optional] |
54
+ | **kv_store_request_create_or_update** | [**KvStoreRequestCreateOrUpdate**](KvStoreRequestCreateOrUpdate.md) | | [optional] |
54
55
 
55
56
  ### Return type
56
57
 
@@ -134,7 +135,7 @@ end
134
135
  ## `kv_store_list()`
135
136
 
136
137
  ```ruby
137
- kv_store_list(opts): <InlineResponse2005> # List all KV stores.
138
+ kv_store_list(opts): <InlineResponse2007> # List all KV stores.
138
139
  ```
139
140
 
140
141
  List all KV stores.
@@ -168,7 +169,45 @@ end
168
169
 
169
170
  ### Return type
170
171
 
171
- [**InlineResponse2005**](InlineResponse2005.md)
172
+ [**InlineResponse2007**](InlineResponse2007.md)
173
+
174
+ [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
175
+ [[Back to README]](../../README.md)
176
+ ## `kv_store_put()`
177
+
178
+ ```ruby
179
+ kv_store_put(opts) # Update a KV store.
180
+ ```
181
+
182
+ Update the name of a KV store.
183
+
184
+ ### Examples
185
+
186
+ ```ruby
187
+ api_instance = Fastly::KvStoreApi.new
188
+ opts = {
189
+ store_id: 'store_id_example', # String |
190
+ kv_store_request_create_or_update: Fastly::KvStoreRequestCreateOrUpdate.new({name: 'name_example'}), # KvStoreRequestCreateOrUpdate |
191
+ }
192
+
193
+ begin
194
+ # Update a KV store.
195
+ api_instance.kv_store_put(opts)
196
+ rescue Fastly::ApiError => e
197
+ puts "Error when calling KvStoreApi->kv_store_put: #{e}"
198
+ end
199
+ ```
200
+
201
+ ### Options
202
+
203
+ | Name | Type | Description | Notes |
204
+ | ---- | ---- | ----------- | ----- |
205
+ | **store_id** | **String** | | |
206
+ | **kv_store_request_create_or_update** | [**KvStoreRequestCreateOrUpdate**](KvStoreRequestCreateOrUpdate.md) | | [optional] |
207
+
208
+ ### Return type
209
+
210
+ nil (empty response body)
172
211
 
173
212
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
174
213
  [[Back to README]](../../README.md)
@@ -6,6 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | ID of the store. | [optional] |
8
8
  | **name** | **String** | Name of the store. | [optional] |
9
+ | **created_at** | **String** | Timestamp at which the store was created. | [optional] |
10
+ | **updated_at** | **String** | Timestamp at which the store was last updated. | [optional] |
9
11
 
10
12
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
11
13
 
@@ -103,7 +103,7 @@ end
103
103
  ## `kv_store_list_item_keys()`
104
104
 
105
105
  ```ruby
106
- kv_store_list_item_keys(opts): <InlineResponse2006> # List item keys.
106
+ kv_store_list_item_keys(opts): <InlineResponse2008> # List item keys.
107
107
  ```
108
108
 
109
109
  Lists the matching item keys (or all item keys, if no prefix is supplied).
@@ -141,7 +141,7 @@ end
141
141
 
142
142
  ### Return type
143
143
 
144
- [**InlineResponse2006**](InlineResponse2006.md)
144
+ [**InlineResponse2008**](InlineResponse2008.md)
145
145
 
146
146
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
147
147
  [[Back to README]](../../README.md)
@@ -1,4 +1,4 @@
1
- # Fastly::KvStoreRequestCreate
1
+ # Fastly::KvStoreRequestCreateOrUpdate
2
2
 
3
3
  ## Properties
4
4
 
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **product** | [**LogExplorerInsightsResponseProductProduct**](LogExplorerInsightsResponseProductProduct.md) | | [optional] |
8
- | **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
8
+ | **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
9
9
  | **_links** | [**LogExplorerInsightsResponseLinksLinks**](LogExplorerInsightsResponseLinksLinks.md) | | [optional] |
10
10
 
11
11
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
7
+ | **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
8
8
 
9
9
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
10
 
@@ -14,6 +14,7 @@
14
14
  | **method** | **String** | HTTP method used for request. | [optional][default to &#39;POST&#39;] |
15
15
  | **json_format** | **String** | Enforces valid JSON formatting for log entries. | [optional] |
16
16
  | **format** | **String** | A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). | [optional][default to &#39;%h %l %u %t \&quot;%r\&quot; %&amp;gt;s %b&#39;] |
17
+ | **period** | **Integer** | How frequently, in seconds, batches of log data are sent to the HTTPS endpoint. A value of `0` sends logs at the same interval as the default, which is `5` seconds. | [optional][default to 5] |
17
18
 
18
19
  [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
19
20