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
@@ -0,0 +1,263 @@
1
+ =begin
2
+ #Fastly API
3
+
4
+ #Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](https://www.fastly.com/documentation/reference/api/)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+ Contact: oss@fastly.com
8
+
9
+ =end
10
+
11
+ require 'cgi'
12
+
13
+ module Fastly
14
+ class ProductApiDiscoveryApi
15
+ attr_accessor :api_client
16
+
17
+ def initialize(api_client = ApiClient.default)
18
+ @api_client = api_client
19
+ end
20
+ # Disable product
21
+ # Disable the API Discovery product on a service.
22
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
23
+ # @return [nil]
24
+ def disable_product_api_discovery(opts = {})
25
+ disable_product_api_discovery_with_http_info(opts)
26
+ nil
27
+ end
28
+
29
+ # Disable product
30
+ # Disable the API Discovery product on a service.
31
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
32
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
33
+ def disable_product_api_discovery_with_http_info(opts = {})
34
+ if @api_client.config.debugging
35
+ @api_client.config.logger.debug 'Calling API: ProductApiDiscoveryApi.disable_product_api_discovery ...'
36
+ end
37
+ # unbox the parameters from the hash
38
+ service_id = opts[:'service_id']
39
+ # verify the required parameter 'service_id' is set
40
+ if @api_client.config.client_side_validation && service_id.nil?
41
+ fail ArgumentError, "Missing the required parameter 'service_id' when calling ProductApiDiscoveryApi.disable_product_api_discovery"
42
+ end
43
+ # resource path
44
+ local_var_path = '/enabled-products/v1/api_discovery/services/{service_id}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s))
45
+
46
+ # query parameters
47
+ query_params = opts[:query_params] || {}
48
+
49
+ # header parameters
50
+ header_params = opts[:header_params] || {}
51
+
52
+ # form parameters
53
+ form_params = opts[:form_params] || {}
54
+
55
+ # http body (model)
56
+ post_body = opts[:debug_body]
57
+
58
+ # return_type
59
+ return_type = opts[:debug_return_type]
60
+
61
+ # auth_names
62
+ auth_names = opts[:debug_auth_names] || ['token']
63
+
64
+ new_options = opts.merge(
65
+ :operation => :"ProductApiDiscoveryApi.disable_product_api_discovery",
66
+ :header_params => header_params,
67
+ :query_params => query_params,
68
+ :form_params => form_params,
69
+ :body => post_body,
70
+ :auth_names => auth_names,
71
+ :return_type => return_type
72
+ )
73
+
74
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
75
+ if @api_client.config.debugging
76
+ @api_client.config.logger.debug "API called: ProductApiDiscoveryApi#disable_product_api_discovery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
77
+ end
78
+ return data, status_code, headers
79
+ end
80
+
81
+ # Enable product
82
+ # Enable the API Discovery product on a service.
83
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
84
+ # @return [ApiDiscoveryResponseEnable]
85
+ def enable_product_api_discovery(opts = {})
86
+ data, _status_code, _headers = enable_product_api_discovery_with_http_info(opts)
87
+ data
88
+ end
89
+
90
+ # Enable product
91
+ # Enable the API Discovery product on a service.
92
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
93
+ # @return [Array<(ApiDiscoveryResponseEnable, Integer, Hash)>] ApiDiscoveryResponseEnable data, response status code and response headers
94
+ def enable_product_api_discovery_with_http_info(opts = {})
95
+ if @api_client.config.debugging
96
+ @api_client.config.logger.debug 'Calling API: ProductApiDiscoveryApi.enable_product_api_discovery ...'
97
+ end
98
+ # unbox the parameters from the hash
99
+ service_id = opts[:'service_id']
100
+ # verify the required parameter 'service_id' is set
101
+ if @api_client.config.client_side_validation && service_id.nil?
102
+ fail ArgumentError, "Missing the required parameter 'service_id' when calling ProductApiDiscoveryApi.enable_product_api_discovery"
103
+ end
104
+ # resource path
105
+ local_var_path = '/enabled-products/v1/api_discovery/services/{service_id}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s))
106
+
107
+ # query parameters
108
+ query_params = opts[:query_params] || {}
109
+
110
+ # header parameters
111
+ header_params = opts[:header_params] || {}
112
+ # HTTP header 'Accept' (if needed)
113
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
114
+
115
+ # form parameters
116
+ form_params = opts[:form_params] || {}
117
+
118
+ # http body (model)
119
+ post_body = opts[:debug_body]
120
+
121
+ # return_type
122
+ return_type = opts[:debug_return_type] || 'ApiDiscoveryResponseEnable'
123
+
124
+ # auth_names
125
+ auth_names = opts[:debug_auth_names] || ['token']
126
+
127
+ new_options = opts.merge(
128
+ :operation => :"ProductApiDiscoveryApi.enable_product_api_discovery",
129
+ :header_params => header_params,
130
+ :query_params => query_params,
131
+ :form_params => form_params,
132
+ :body => post_body,
133
+ :auth_names => auth_names,
134
+ :return_type => return_type
135
+ )
136
+
137
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
138
+ if @api_client.config.debugging
139
+ @api_client.config.logger.debug "API called: ProductApiDiscoveryApi#enable_product_api_discovery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
140
+ end
141
+ return data, status_code, headers
142
+ end
143
+
144
+ # Get product enablement status
145
+ # Get the enablement status of the API Discovery product on a service.
146
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
147
+ # @return [ApiDiscoveryResponseEnable]
148
+ def get_product_api_discovery(opts = {})
149
+ data, _status_code, _headers = get_product_api_discovery_with_http_info(opts)
150
+ data
151
+ end
152
+
153
+ # Get product enablement status
154
+ # Get the enablement status of the API Discovery product on a service.
155
+ # @option opts [String] :service_id Alphanumeric string identifying the service. (required)
156
+ # @return [Array<(ApiDiscoveryResponseEnable, Integer, Hash)>] ApiDiscoveryResponseEnable data, response status code and response headers
157
+ def get_product_api_discovery_with_http_info(opts = {})
158
+ if @api_client.config.debugging
159
+ @api_client.config.logger.debug 'Calling API: ProductApiDiscoveryApi.get_product_api_discovery ...'
160
+ end
161
+ # unbox the parameters from the hash
162
+ service_id = opts[:'service_id']
163
+ # verify the required parameter 'service_id' is set
164
+ if @api_client.config.client_side_validation && service_id.nil?
165
+ fail ArgumentError, "Missing the required parameter 'service_id' when calling ProductApiDiscoveryApi.get_product_api_discovery"
166
+ end
167
+ # resource path
168
+ local_var_path = '/enabled-products/v1/api_discovery/services/{service_id}'.sub('{' + 'service_id' + '}', CGI.escape(service_id.to_s))
169
+
170
+ # query parameters
171
+ query_params = opts[:query_params] || {}
172
+
173
+ # header parameters
174
+ header_params = opts[:header_params] || {}
175
+ # HTTP header 'Accept' (if needed)
176
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
177
+
178
+ # form parameters
179
+ form_params = opts[:form_params] || {}
180
+
181
+ # http body (model)
182
+ post_body = opts[:debug_body]
183
+
184
+ # return_type
185
+ return_type = opts[:debug_return_type] || 'ApiDiscoveryResponseEnable'
186
+
187
+ # auth_names
188
+ auth_names = opts[:debug_auth_names] || ['token']
189
+
190
+ new_options = opts.merge(
191
+ :operation => :"ProductApiDiscoveryApi.get_product_api_discovery",
192
+ :header_params => header_params,
193
+ :query_params => query_params,
194
+ :form_params => form_params,
195
+ :body => post_body,
196
+ :auth_names => auth_names,
197
+ :return_type => return_type
198
+ )
199
+
200
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
201
+ if @api_client.config.debugging
202
+ @api_client.config.logger.debug "API called: ProductApiDiscoveryApi#get_product_api_discovery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
203
+ end
204
+ return data, status_code, headers
205
+ end
206
+
207
+ # Get services with product enabled
208
+ # Get all the services for a customer that has the API Discovery product enabled.
209
+ # @return [ApiDiscoveryResponseBodyGetAllServices]
210
+ def get_services_product_api_discovery(opts = {})
211
+ data, _status_code, _headers = get_services_product_api_discovery_with_http_info(opts)
212
+ data
213
+ end
214
+
215
+ # Get services with product enabled
216
+ # Get all the services for a customer that has the API Discovery product enabled.
217
+ # @return [Array<(ApiDiscoveryResponseBodyGetAllServices, Integer, Hash)>] ApiDiscoveryResponseBodyGetAllServices data, response status code and response headers
218
+ def get_services_product_api_discovery_with_http_info(opts = {})
219
+ if @api_client.config.debugging
220
+ @api_client.config.logger.debug 'Calling API: ProductApiDiscoveryApi.get_services_product_api_discovery ...'
221
+ end
222
+ # unbox the parameters from the hash
223
+ # resource path
224
+ local_var_path = '/enabled-products/v1/api_discovery/services'
225
+
226
+ # query parameters
227
+ query_params = opts[:query_params] || {}
228
+
229
+ # header parameters
230
+ header_params = opts[:header_params] || {}
231
+ # HTTP header 'Accept' (if needed)
232
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
233
+
234
+ # form parameters
235
+ form_params = opts[:form_params] || {}
236
+
237
+ # http body (model)
238
+ post_body = opts[:debug_body]
239
+
240
+ # return_type
241
+ return_type = opts[:debug_return_type] || 'ApiDiscoveryResponseBodyGetAllServices'
242
+
243
+ # auth_names
244
+ auth_names = opts[:debug_auth_names] || ['token']
245
+
246
+ new_options = opts.merge(
247
+ :operation => :"ProductApiDiscoveryApi.get_services_product_api_discovery",
248
+ :header_params => header_params,
249
+ :query_params => query_params,
250
+ :form_params => form_params,
251
+ :body => post_body,
252
+ :auth_names => auth_names,
253
+ :return_type => return_type
254
+ )
255
+
256
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
257
+ if @api_client.config.debugging
258
+ @api_client.config.logger.debug "API called: ProductApiDiscoveryApi#get_services_product_api_discovery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
259
+ end
260
+ return data, status_code, headers
261
+ end
262
+ end
263
+ end
@@ -265,7 +265,7 @@ module Fastly
265
265
  # @option opts [String] :cursor Cursor value from the &#x60;next_cursor&#x60; field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
266
266
  # @option opts [String] :limit Number of results per page. The maximum is 200. (default to '100')
267
267
  # @option opts [String] :name Returns a one-element array containing the details for the named secret store.
268
- # @return [InlineResponse2007]
268
+ # @return [InlineResponse2008]
269
269
  def get_secret_stores(opts = {})
270
270
  data, _status_code, _headers = get_secret_stores_with_http_info(opts)
271
271
  data
@@ -276,7 +276,7 @@ module Fastly
276
276
  # @option opts [String] :cursor Cursor value from the &#x60;next_cursor&#x60; field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
277
277
  # @option opts [String] :limit Number of results per page. The maximum is 200. (default to '100')
278
278
  # @option opts [String] :name Returns a one-element array containing the details for the named secret store.
279
- # @return [Array<(InlineResponse2007, Integer, Hash)>] InlineResponse2007 data, response status code and response headers
279
+ # @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
280
280
  def get_secret_stores_with_http_info(opts = {})
281
281
  if @api_client.config.debugging
282
282
  @api_client.config.logger.debug 'Calling API: SecretStoreApi.get_secret_stores ...'
@@ -303,7 +303,7 @@ module Fastly
303
303
  post_body = opts[:debug_body]
304
304
 
305
305
  # return_type
306
- return_type = opts[:debug_return_type] || 'InlineResponse2007'
306
+ return_type = opts[:debug_return_type] || 'InlineResponse2008'
307
307
 
308
308
  # auth_names
309
309
  auth_names = opts[:debug_auth_names] || ['token']
@@ -230,7 +230,7 @@ module Fastly
230
230
  # @option opts [String] :store_id (required)
231
231
  # @option opts [String] :cursor Cursor value from the &#x60;next_cursor&#x60; field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
232
232
  # @option opts [String] :limit Number of results per page. The maximum is 200. (default to '100')
233
- # @return [InlineResponse2008]
233
+ # @return [InlineResponse2009]
234
234
  def get_secrets(opts = {})
235
235
  data, _status_code, _headers = get_secrets_with_http_info(opts)
236
236
  data
@@ -241,7 +241,7 @@ module Fastly
241
241
  # @option opts [String] :store_id (required)
242
242
  # @option opts [String] :cursor Cursor value from the &#x60;next_cursor&#x60; field of a previous response, used to retrieve the next page. To request the first page, this should be empty.
243
243
  # @option opts [String] :limit Number of results per page. The maximum is 200. (default to '100')
244
- # @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
244
+ # @return [Array<(InlineResponse2009, Integer, Hash)>] InlineResponse2009 data, response status code and response headers
245
245
  def get_secrets_with_http_info(opts = {})
246
246
  if @api_client.config.debugging
247
247
  @api_client.config.logger.debug 'Calling API: SecretStoreItemApi.get_secrets ...'
@@ -272,7 +272,7 @@ module Fastly
272
272
  post_body = opts[:debug_body]
273
273
 
274
274
  # return_type
275
- return_type = opts[:debug_return_type] || 'InlineResponse2008'
275
+ return_type = opts[:debug_return_type] || 'InlineResponse2009'
276
276
 
277
277
  # auth_names
278
278
  auth_names = opts[:debug_auth_names] || ['token']
@@ -144,7 +144,7 @@ module Fastly
144
144
  # Delete service authorizations
145
145
  # Delete service authorizations.
146
146
  # @option opts [Hash<String, Object>] :request_body
147
- # @return [InlineResponse2009]
147
+ # @return [InlineResponse20010]
148
148
  def delete_service_authorization2(opts = {})
149
149
  data, _status_code, _headers = delete_service_authorization2_with_http_info(opts)
150
150
  data
@@ -153,7 +153,7 @@ module Fastly
153
153
  # Delete service authorizations
154
154
  # Delete service authorizations.
155
155
  # @option opts [Hash<String, Object>] :request_body
156
- # @return [Array<(InlineResponse2009, Integer, Hash)>] InlineResponse2009 data, response status code and response headers
156
+ # @return [Array<(InlineResponse20010, Integer, Hash)>] InlineResponse20010 data, response status code and response headers
157
157
  def delete_service_authorization2_with_http_info(opts = {})
158
158
  if @api_client.config.debugging
159
159
  @api_client.config.logger.debug 'Calling API: ServiceAuthorizationsApi.delete_service_authorization2 ...'
@@ -182,7 +182,7 @@ module Fastly
182
182
  post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'request_body'])
183
183
 
184
184
  # return_type
185
- return_type = opts[:debug_return_type] || 'InlineResponse2009'
185
+ return_type = opts[:debug_return_type] || 'InlineResponse20010'
186
186
 
187
187
  # auth_names
188
188
  auth_names = opts[:debug_auth_names] || ['token']
@@ -25,6 +25,7 @@ module Fastly
25
25
  # @option opts [Boolean] :locked Indicates whether the is account is locked for editing or not.
26
26
  # @option opts [Boolean] :require_new_password Indicates if a new password is required at next login.
27
27
  # @option opts [RoleUser] :role
28
+ # @option opts [Array<String>] :roles A list of role IDs assigned to the user.
28
29
  # @option opts [Boolean] :two_factor_auth_enabled Indicates if 2FA is enabled on the user.
29
30
  # @option opts [Boolean] :two_factor_setup_required Indicates if 2FA is required by the user&#39;s customer account.
30
31
  # @return [UserResponse]
@@ -41,6 +42,7 @@ module Fastly
41
42
  # @option opts [Boolean] :locked Indicates whether the is account is locked for editing or not.
42
43
  # @option opts [Boolean] :require_new_password Indicates if a new password is required at next login.
43
44
  # @option opts [RoleUser] :role
45
+ # @option opts [Array<String>] :roles A list of role IDs assigned to the user.
44
46
  # @option opts [Boolean] :two_factor_auth_enabled Indicates if 2FA is enabled on the user.
45
47
  # @option opts [Boolean] :two_factor_setup_required Indicates if 2FA is required by the user&#39;s customer account.
46
48
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
@@ -73,6 +75,7 @@ module Fastly
73
75
  form_params['locked'] = opts[:'locked'] if !opts[:'locked'].nil?
74
76
  form_params['require_new_password'] = opts[:'require_new_password'] if !opts[:'require_new_password'].nil?
75
77
  form_params['role'] = opts[:'role'] if !opts[:'role'].nil?
78
+ form_params['roles'] = @api_client.build_collection_param(opts[:'roles'], :csv) if !opts[:'roles'].nil?
76
79
  form_params['two_factor_auth_enabled'] = opts[:'two_factor_auth_enabled'] if !opts[:'two_factor_auth_enabled'].nil?
77
80
  form_params['two_factor_setup_required'] = opts[:'two_factor_setup_required'] if !opts[:'two_factor_setup_required'].nil?
78
81
 
@@ -356,6 +359,7 @@ module Fastly
356
359
  # @option opts [Boolean] :locked Indicates whether the is account is locked for editing or not.
357
360
  # @option opts [Boolean] :require_new_password Indicates if a new password is required at next login.
358
361
  # @option opts [RoleUser] :role
362
+ # @option opts [Array<String>] :roles A list of role IDs assigned to the user.
359
363
  # @option opts [Boolean] :two_factor_auth_enabled Indicates if 2FA is enabled on the user.
360
364
  # @option opts [Boolean] :two_factor_setup_required Indicates if 2FA is required by the user&#39;s customer account.
361
365
  # @return [UserResponse]
@@ -373,6 +377,7 @@ module Fastly
373
377
  # @option opts [Boolean] :locked Indicates whether the is account is locked for editing or not.
374
378
  # @option opts [Boolean] :require_new_password Indicates if a new password is required at next login.
375
379
  # @option opts [RoleUser] :role
380
+ # @option opts [Array<String>] :roles A list of role IDs assigned to the user.
376
381
  # @option opts [Boolean] :two_factor_auth_enabled Indicates if 2FA is enabled on the user.
377
382
  # @option opts [Boolean] :two_factor_setup_required Indicates if 2FA is required by the user&#39;s customer account.
378
383
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
@@ -410,6 +415,7 @@ module Fastly
410
415
  form_params['locked'] = opts[:'locked'] if !opts[:'locked'].nil?
411
416
  form_params['require_new_password'] = opts[:'require_new_password'] if !opts[:'require_new_password'].nil?
412
417
  form_params['role'] = opts[:'role'] if !opts[:'role'].nil?
418
+ form_params['roles'] = @api_client.build_collection_param(opts[:'roles'], :csv) if !opts[:'roles'].nil?
413
419
  form_params['two_factor_auth_enabled'] = opts[:'two_factor_auth_enabled'] if !opts[:'two_factor_auth_enabled'].nil?
414
420
  form_params['two_factor_setup_required'] = opts[:'two_factor_setup_required'] if !opts[:'two_factor_setup_required'].nil?
415
421
 
@@ -914,6 +914,36 @@ module Fastly
914
914
  description: "No description provided",
915
915
  }
916
916
  ],
917
+ "DmDomainsApi.create_dm_domain": [
918
+ {
919
+ url: "https://api.fastly.com",
920
+ description: "No description provided",
921
+ }
922
+ ],
923
+ "DmDomainsApi.delete_dm_domain": [
924
+ {
925
+ url: "https://api.fastly.com",
926
+ description: "No description provided",
927
+ }
928
+ ],
929
+ "DmDomainsApi.get_dm_domain": [
930
+ {
931
+ url: "https://api.fastly.com",
932
+ description: "No description provided",
933
+ }
934
+ ],
935
+ "DmDomainsApi.list_dm_domains": [
936
+ {
937
+ url: "https://api.fastly.com",
938
+ description: "No description provided",
939
+ }
940
+ ],
941
+ "DmDomainsApi.update_dm_domain": [
942
+ {
943
+ url: "https://api.fastly.com",
944
+ description: "No description provided",
945
+ }
946
+ ],
917
947
  "DomainApi.check_domain": [
918
948
  {
919
949
  url: "https://api.fastly.com",
@@ -1166,49 +1196,13 @@ module Fastly
1166
1196
  description: "No description provided",
1167
1197
  }
1168
1198
  ],
1169
- "IamRolesApi.add_role_permissions": [
1199
+ "IamRolesApi.iam_v1_roles_get": [
1170
1200
  {
1171
1201
  url: "https://api.fastly.com",
1172
1202
  description: "No description provided",
1173
1203
  }
1174
1204
  ],
1175
- "IamRolesApi.create_a_role": [
1176
- {
1177
- url: "https://api.fastly.com",
1178
- description: "No description provided",
1179
- }
1180
- ],
1181
- "IamRolesApi.delete_a_role": [
1182
- {
1183
- url: "https://api.fastly.com",
1184
- description: "No description provided",
1185
- }
1186
- ],
1187
- "IamRolesApi.get_a_role": [
1188
- {
1189
- url: "https://api.fastly.com",
1190
- description: "No description provided",
1191
- }
1192
- ],
1193
- "IamRolesApi.list_role_permissions": [
1194
- {
1195
- url: "https://api.fastly.com",
1196
- description: "No description provided",
1197
- }
1198
- ],
1199
- "IamRolesApi.list_roles": [
1200
- {
1201
- url: "https://api.fastly.com",
1202
- description: "No description provided",
1203
- }
1204
- ],
1205
- "IamRolesApi.remove_role_permissions": [
1206
- {
1207
- url: "https://api.fastly.com",
1208
- description: "No description provided",
1209
- }
1210
- ],
1211
- "IamRolesApi.update_a_role": [
1205
+ "IamRolesApi.iam_v1_roles_list": [
1212
1206
  {
1213
1207
  url: "https://api.fastly.com",
1214
1208
  description: "No description provided",
@@ -2474,6 +2468,30 @@ module Fastly
2474
2468
  description: "No description provided",
2475
2469
  }
2476
2470
  ],
2471
+ "ProductApiDiscoveryApi.disable_product_api_discovery": [
2472
+ {
2473
+ url: "https://api.fastly.com",
2474
+ description: "No description provided",
2475
+ }
2476
+ ],
2477
+ "ProductApiDiscoveryApi.enable_product_api_discovery": [
2478
+ {
2479
+ url: "https://api.fastly.com",
2480
+ description: "No description provided",
2481
+ }
2482
+ ],
2483
+ "ProductApiDiscoveryApi.get_product_api_discovery": [
2484
+ {
2485
+ url: "https://api.fastly.com",
2486
+ description: "No description provided",
2487
+ }
2488
+ ],
2489
+ "ProductApiDiscoveryApi.get_services_product_api_discovery": [
2490
+ {
2491
+ url: "https://api.fastly.com",
2492
+ description: "No description provided",
2493
+ }
2494
+ ],
2477
2495
  "ProductBotManagementApi.disable_product_bot_management": [
2478
2496
  {
2479
2497
  url: "https://api.fastly.com",