fastly 14.0.0 → 15.0.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 (166) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +13 -11
  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/DdosProtectionResponseConfigure.md +1 -1
  24. data/docs/DdosProtectionResponseEnable.md +1 -1
  25. data/docs/DdosProtectionResponseService.md +1 -1
  26. data/docs/DdosProtectionRuleWithStats.md +23 -0
  27. data/docs/DdosProtectionRuleWithStatsAllOf.md +10 -0
  28. data/docs/DdosProtectionTrafficStats.md +1 -0
  29. data/docs/DdosProtectionTrafficStatsAllOf.md +1 -0
  30. data/docs/DmDomainsApi.md +220 -0
  31. data/docs/DomainInspectorResponseBodyEnable.md +1 -1
  32. data/docs/DomainInspectorResponseService.md +1 -1
  33. data/docs/DomainOwnershipsApi.md +2 -2
  34. data/docs/FanoutResponseBodyEnable.md +1 -1
  35. data/docs/FanoutResponseService.md +1 -1
  36. data/docs/Healthcheck.md +1 -1
  37. data/docs/HealthcheckApi.md +4 -4
  38. data/docs/HealthcheckResponse.md +1 -1
  39. data/docs/IamRolesApi.md +23 -253
  40. data/docs/IamV1RoleListResponse.md +12 -0
  41. data/docs/IamV1RoleResponse.md +13 -0
  42. data/docs/ImageOptimizerResponseBodyEnable.md +1 -1
  43. data/docs/ImageOptimizerResponseService.md +1 -1
  44. data/docs/InlineResponse20010.md +10 -0
  45. data/docs/InlineResponse2003.md +2 -2
  46. data/docs/InlineResponse2004.md +2 -1
  47. data/docs/InlineResponse2005.md +1 -2
  48. data/docs/InlineResponse2006.md +1 -1
  49. data/docs/InlineResponse2007.md +1 -1
  50. data/docs/InlineResponse2008.md +1 -1
  51. data/docs/InlineResponse2009.md +2 -1
  52. data/docs/InvitationDataAttributes.md +1 -0
  53. data/docs/KvStoreApi.md +2 -2
  54. data/docs/KvStoreItemApi.md +2 -2
  55. data/docs/LogExplorerInsightsResponseBodyEnable.md +1 -1
  56. data/docs/LogExplorerInsightsResponseService.md +1 -1
  57. data/docs/LoggingHttpsAdditional.md +1 -0
  58. data/docs/LoggingHttpsApi.md +4 -0
  59. data/docs/LoggingHttpsResponse.md +1 -0
  60. data/docs/NgwafResponseConfigure.md +1 -1
  61. data/docs/NgwafResponseEnable.md +1 -1
  62. data/docs/NgwafResponseService.md +1 -1
  63. data/docs/OriginInspectorResponseBodyEnable.md +1 -1
  64. data/docs/OriginInspectorResponseService.md +1 -1
  65. data/docs/ProductApiDiscoveryApi.md +163 -0
  66. data/docs/RealtimeEntryAggregated.md +1 -0
  67. data/docs/RealtimeMeasurements.md +1 -0
  68. data/docs/RequestBodyForCreate.md +12 -0
  69. data/docs/RequestBodyForUpdate.md +11 -0
  70. data/docs/Results.md +1 -0
  71. data/docs/SchemasUserResponse.md +1 -0
  72. data/docs/SecretStoreApi.md +2 -2
  73. data/docs/SecretStoreItemApi.md +2 -2
  74. data/docs/ServiceAuthorizationsApi.md +2 -2
  75. data/docs/SuccessfulResponseAsObject.md +17 -0
  76. data/docs/SuccessfulResponseAsObjectAllOf.md +15 -0
  77. data/docs/User.md +1 -0
  78. data/docs/UserApi.md +4 -0
  79. data/docs/UserResponse.md +1 -0
  80. data/docs/WebsocketsResponseBodyEnable.md +1 -1
  81. data/docs/WebsocketsResponseService.md +1 -1
  82. data/lib/fastly/api/ddos_protection_api.rb +3 -0
  83. data/lib/fastly/api/dm_domains_api.rb +362 -0
  84. data/lib/fastly/api/domain_ownerships_api.rb +3 -3
  85. data/lib/fastly/api/healthcheck_api.rb +20 -4
  86. data/lib/fastly/api/iam_roles_api.rb +43 -435
  87. data/lib/fastly/api/kv_store_api.rb +3 -3
  88. data/lib/fastly/api/kv_store_item_api.rb +3 -3
  89. data/lib/fastly/api/logging_https_api.rb +6 -0
  90. data/lib/fastly/api/product_api_discovery_api.rb +263 -0
  91. data/lib/fastly/api/secret_store_api.rb +3 -3
  92. data/lib/fastly/api/secret_store_item_api.rb +3 -3
  93. data/lib/fastly/api/service_authorizations_api.rb +3 -3
  94. data/lib/fastly/api/user_api.rb +6 -0
  95. data/lib/fastly/configuration.rb +56 -38
  96. data/lib/fastly/models/api_discovery_response_body_get_all_services.rb +256 -0
  97. data/lib/fastly/models/api_discovery_response_customer.rb +216 -0
  98. data/lib/fastly/models/api_discovery_response_customer_customer.rb +227 -0
  99. data/lib/fastly/models/api_discovery_response_enable.rb +243 -0
  100. data/lib/fastly/models/api_discovery_response_enabled_services.rb +219 -0
  101. data/lib/fastly/models/api_discovery_response_links.rb +216 -0
  102. data/lib/fastly/models/api_discovery_response_links_get_all_services.rb +216 -0
  103. data/lib/fastly/models/api_discovery_response_links_get_all_services_links.rb +217 -0
  104. data/lib/fastly/models/api_discovery_response_links_links.rb +217 -0
  105. data/lib/fastly/models/api_discovery_response_product.rb +216 -0
  106. data/lib/fastly/models/api_discovery_response_product_product.rb +227 -0
  107. data/lib/fastly/models/api_discovery_response_service.rb +216 -0
  108. data/lib/fastly/models/{bot_management_response_service_service.rb → api_discovery_response_service_service.rb} +3 -3
  109. data/lib/fastly/models/bot_management_response_body_enable.rb +1 -1
  110. data/lib/fastly/models/bot_management_response_service.rb +1 -1
  111. data/lib/fastly/models/brotli_compression_response_body_enable.rb +1 -1
  112. data/lib/fastly/models/brotli_compression_response_service.rb +1 -1
  113. data/lib/fastly/models/ddos_protection_response_configure.rb +1 -1
  114. data/lib/fastly/models/ddos_protection_response_enable.rb +1 -1
  115. data/lib/fastly/models/ddos_protection_response_service.rb +1 -1
  116. data/lib/fastly/models/ddos_protection_rule_with_stats.rb +365 -0
  117. data/lib/fastly/models/ddos_protection_rule_with_stats_all_of.rb +216 -0
  118. data/lib/fastly/models/ddos_protection_traffic_stats.rb +20 -4
  119. data/lib/fastly/models/ddos_protection_traffic_stats_all_of.rb +20 -4
  120. data/lib/fastly/models/domain_inspector_response_body_enable.rb +1 -1
  121. data/lib/fastly/models/domain_inspector_response_service.rb +1 -1
  122. data/lib/fastly/models/fanout_response_body_enable.rb +1 -1
  123. data/lib/fastly/models/fanout_response_service.rb +1 -1
  124. data/lib/fastly/models/healthcheck.rb +25 -1
  125. data/lib/fastly/models/healthcheck_response.rb +25 -1
  126. data/lib/fastly/models/iam_v1_role_list_response.rb +240 -0
  127. data/lib/fastly/models/{iam_role_all_of.rb → iam_v1_role_response.rb} +14 -34
  128. data/lib/fastly/models/image_optimizer_response_body_enable.rb +1 -1
  129. data/lib/fastly/models/image_optimizer_response_service.rb +1 -1
  130. data/lib/fastly/models/inline_response20010.rb +218 -0
  131. data/lib/fastly/models/inline_response2003.rb +11 -1
  132. data/lib/fastly/models/inline_response2004.rb +20 -8
  133. data/lib/fastly/models/inline_response2005.rb +8 -18
  134. data/lib/fastly/models/inline_response2006.rb +1 -1
  135. data/lib/fastly/models/inline_response2007.rb +1 -1
  136. data/lib/fastly/models/inline_response2008.rb +1 -1
  137. data/lib/fastly/models/inline_response2009.rb +13 -4
  138. data/lib/fastly/models/invitation_data_attributes.rb +12 -1
  139. data/lib/fastly/models/log_explorer_insights_response_body_enable.rb +1 -1
  140. data/lib/fastly/models/log_explorer_insights_response_service.rb +1 -1
  141. data/lib/fastly/models/logging_https_additional.rb +16 -4
  142. data/lib/fastly/models/logging_https_response.rb +13 -1
  143. data/lib/fastly/models/ngwaf_response_configure.rb +1 -1
  144. data/lib/fastly/models/ngwaf_response_enable.rb +1 -1
  145. data/lib/fastly/models/ngwaf_response_service.rb +1 -1
  146. data/lib/fastly/models/origin_inspector_response_body_enable.rb +1 -1
  147. data/lib/fastly/models/origin_inspector_response_service.rb +1 -1
  148. data/lib/fastly/models/realtime_entry_aggregated.rb +14 -4
  149. data/lib/fastly/models/realtime_measurements.rb +14 -4
  150. data/lib/fastly/models/request_body_for_create.rb +244 -0
  151. data/lib/fastly/models/request_body_for_update.rb +229 -0
  152. data/lib/fastly/models/results.rb +11 -1
  153. data/lib/fastly/models/role_user.rb +2 -0
  154. data/lib/fastly/models/schemas_user_response.rb +13 -1
  155. data/lib/fastly/models/{iam_role.rb → successful_response_as_object.rb} +37 -35
  156. data/lib/fastly/models/successful_response_as_object_all_of.rb +268 -0
  157. data/lib/fastly/models/user.rb +13 -1
  158. data/lib/fastly/models/user_response.rb +13 -1
  159. data/lib/fastly/models/websockets_response_body_enable.rb +1 -1
  160. data/lib/fastly/models/websockets_response_service.rb +1 -1
  161. data/lib/fastly/version.rb +1 -1
  162. data/lib/fastly.rb +24 -3
  163. data/sig.json +1 -1
  164. metadata +50 -8
  165. data/docs/IamRole.md +0 -17
  166. data/docs/IamRoleAllOf.md +0 -15
@@ -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
 
@@ -19,7 +19,7 @@ Method | HTTP request | Description
19
19
  ## `list_domain_ownerships()`
20
20
 
21
21
  ```ruby
22
- list_domain_ownerships: <InlineResponse2004> # List domain-ownerships
22
+ list_domain_ownerships: <InlineResponse2005> # List domain-ownerships
23
23
  ```
24
24
 
25
25
  List all domain-ownerships.
@@ -44,7 +44,7 @@ This endpoint does not need any parameter.
44
44
 
45
45
  ### Return type
46
46
 
47
- [**InlineResponse2004**](InlineResponse2004.md)
47
+ [**InlineResponse2005**](InlineResponse2005.md)
48
48
 
49
49
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
50
50
  [[Back to README]](../../README.md)
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **product** | [**FanoutResponseProductProduct**](FanoutResponseProductProduct.md) | | [optional] |
8
- | **service** | [**BotManagementResponseServiceService**](BotManagementResponseServiceService.md) | | [optional] |
8
+ | **service** | [**ApiDiscoveryResponseServiceService**](ApiDiscoveryResponseServiceService.md) | | [optional] |
9
9
  | **_links** | [**FanoutResponseLinksLinks**](FanoutResponseLinksLinks.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
 
data/docs/Healthcheck.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **check_interval** | **Integer** | How often to run the health check in milliseconds. | [optional] |
7
+ | **check_interval** | **Integer** | How often to run the health check in milliseconds. Minimum 1 second, maximum 1 hour. | [optional] |
8
8
  | **comment** | **String** | A freeform descriptive note. | [optional] |
9
9
  | **expected_response** | **Integer** | The status code expected from the host. | [optional] |
10
10
  | **headers** | **Array&lt;String&gt;** | Array of custom headers that will be added to the health check probes. | [optional] |
@@ -35,7 +35,7 @@ api_instance = Fastly::HealthcheckApi.new
35
35
  opts = {
36
36
  service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
37
37
  version_id: 56, # Integer | Integer identifying a service version.
38
- check_interval: 56, # Integer | How often to run the health check in milliseconds.
38
+ check_interval: 56, # Integer | How often to run the health check in milliseconds. Minimum 1 second, maximum 1 hour.
39
39
  comment: 'comment_example', # String | A freeform descriptive note.
40
40
  expected_response: 56, # Integer | The status code expected from the host.
41
41
  headers: ['inner_example'], # Array<String> | Array of custom headers that will be added to the health check probes.
@@ -65,7 +65,7 @@ end
65
65
  | ---- | ---- | ----------- | ----- |
66
66
  | **service_id** | **String** | Alphanumeric string identifying the service. | |
67
67
  | **version_id** | **Integer** | Integer identifying a service version. | |
68
- | **check_interval** | **Integer** | How often to run the health check in milliseconds. | [optional] |
68
+ | **check_interval** | **Integer** | How often to run the health check in milliseconds. Minimum 1 second, maximum 1 hour. | [optional] |
69
69
  | **comment** | **String** | A freeform descriptive note. | [optional] |
70
70
  | **expected_response** | **Integer** | The status code expected from the host. | [optional] |
71
71
  | **headers** | [**Array&lt;String&gt;**](String.md) | Array of custom headers that will be added to the health check probes. | [optional] |
@@ -222,7 +222,7 @@ opts = {
222
222
  service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
223
223
  version_id: 56, # Integer | Integer identifying a service version.
224
224
  healthcheck_name: 'healthcheck_name_example', # String | The name of the health check.
225
- check_interval: 56, # Integer | How often to run the health check in milliseconds.
225
+ check_interval: 56, # Integer | How often to run the health check in milliseconds. Minimum 1 second, maximum 1 hour.
226
226
  comment: 'comment_example', # String | A freeform descriptive note.
227
227
  expected_response: 56, # Integer | The status code expected from the host.
228
228
  headers: ['inner_example'], # Array<String> | Array of custom headers that will be added to the health check probes.
@@ -253,7 +253,7 @@ end
253
253
  | **service_id** | **String** | Alphanumeric string identifying the service. | |
254
254
  | **version_id** | **Integer** | Integer identifying a service version. | |
255
255
  | **healthcheck_name** | **String** | The name of the health check. | |
256
- | **check_interval** | **Integer** | How often to run the health check in milliseconds. | [optional] |
256
+ | **check_interval** | **Integer** | How often to run the health check in milliseconds. Minimum 1 second, maximum 1 hour. | [optional] |
257
257
  | **comment** | **String** | A freeform descriptive note. | [optional] |
258
258
  | **expected_response** | **Integer** | The status code expected from the host. | [optional] |
259
259
  | **headers** | [**Array&lt;String&gt;**](String.md) | Array of custom headers that will be added to the health check probes. | [optional] |
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **check_interval** | **Integer** | How often to run the health check in milliseconds. | [optional] |
7
+ | **check_interval** | **Integer** | How often to run the health check in milliseconds. Minimum 1 second, maximum 1 hour. | [optional] |
8
8
  | **comment** | **String** | A freeform descriptive note. | [optional] |
9
9
  | **expected_response** | **Integer** | The status code expected from the host. | [optional] |
10
10
  | **headers** | **Array&lt;String&gt;** | Array of custom headers that will be added to the health check probes. | [optional] |
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,13 @@
1
+ # Fastly::IamV1RoleResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **name** | **String** | | [optional] |
9
+ | **description** | **String** | | [optional] |
10
+ | **permissions** | **Array&lt;String&gt;** | The set of permissions granted to this role. | [optional] |
11
+
12
+ [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
+
@@ -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,10 @@
1
+ # Fastly::InlineResponse20010
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,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | **Array&lt;String&gt;** | | [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;SecretStoreResponse&gt;**](SecretStoreResponse.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,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;SecretResponse&gt;**](SecretResponse.md) | | [optional] |
7
+ | **data** | [**Array&lt;SecretStoreResponse&gt;**](SecretStoreResponse.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,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;ServiceAuthorizationResponseData&gt;**](ServiceAuthorizationResponseData.md) | | [optional] |
7
+ | **data** | [**Array&lt;SecretResponse&gt;**](SecretResponse.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
@@ -134,7 +134,7 @@ end
134
134
  ## `kv_store_list()`
135
135
 
136
136
  ```ruby
137
- kv_store_list(opts): <InlineResponse2005> # List all KV stores.
137
+ kv_store_list(opts): <InlineResponse2006> # List all KV stores.
138
138
  ```
139
139
 
140
140
  List all KV stores.
@@ -168,7 +168,7 @@ end
168
168
 
169
169
  ### Return type
170
170
 
171
- [**InlineResponse2005**](InlineResponse2005.md)
171
+ [**InlineResponse2006**](InlineResponse2006.md)
172
172
 
173
173
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
174
174
  [[Back to README]](../../README.md)
@@ -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): <InlineResponse2007> # 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
+ [**InlineResponse2007**](InlineResponse2007.md)
145
145
 
146
146
  [[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
147
147
  [[Back to README]](../../README.md)
@@ -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