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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/Gemfile.lock +1 -1
- data/README.md +22 -13
- data/docs/ApiDiscoveryResponseBodyGetAllServices.md +13 -0
- data/docs/ApiDiscoveryResponseCustomer.md +10 -0
- data/docs/ApiDiscoveryResponseCustomerCustomer.md +11 -0
- data/docs/ApiDiscoveryResponseEnable.md +12 -0
- data/docs/ApiDiscoveryResponseEnabledServices.md +10 -0
- data/docs/ApiDiscoveryResponseLinks.md +10 -0
- data/docs/ApiDiscoveryResponseLinksGetAllServices.md +10 -0
- data/docs/ApiDiscoveryResponseLinksGetAllServicesLinks.md +10 -0
- data/docs/ApiDiscoveryResponseLinksLinks.md +10 -0
- data/docs/ApiDiscoveryResponseProduct.md +10 -0
- data/docs/ApiDiscoveryResponseProductProduct.md +11 -0
- data/docs/ApiDiscoveryResponseService.md +10 -0
- data/docs/{BotManagementResponseServiceService.md → ApiDiscoveryResponseServiceService.md} +1 -1
- data/docs/BotManagementResponseBodyEnable.md +1 -1
- data/docs/BotManagementResponseService.md +1 -1
- data/docs/BrotliCompressionResponseBodyEnable.md +1 -1
- data/docs/BrotliCompressionResponseService.md +1 -1
- data/docs/DdosProtectionApi.md +2 -0
- data/docs/DdosProtectionEvent.md +2 -0
- data/docs/DdosProtectionEventAllOf.md +2 -0
- data/docs/DdosProtectionRequestEnableMode.md +10 -0
- data/docs/DdosProtectionResponseConfigure.md +1 -1
- data/docs/DdosProtectionResponseEnable.md +1 -1
- data/docs/DdosProtectionResponseService.md +1 -1
- data/docs/DdosProtectionRuleWithStats.md +23 -0
- data/docs/DdosProtectionRuleWithStatsAllOf.md +10 -0
- data/docs/DdosProtectionTrafficStats.md +1 -0
- data/docs/DdosProtectionTrafficStatsAllOf.md +1 -0
- data/docs/DmDomainsApi.md +220 -0
- data/docs/DomainInspectorHistoricalApi.md +1 -1
- data/docs/DomainInspectorResponseBodyEnable.md +1 -1
- data/docs/DomainInspectorResponseService.md +1 -1
- data/docs/DomainOwnershipsApi.md +2 -2
- data/docs/DomainResearchApi.md +103 -0
- data/docs/DomainResearchResponseBodyEnable.md +12 -0
- data/docs/DomainResearchResponseCustomer.md +10 -0
- data/docs/DomainResearchResponseLinks.md +10 -0
- data/docs/DomainResearchResponseLinksLinks.md +10 -0
- data/docs/DomainResearchResponseProduct.md +10 -0
- data/docs/DomainResearchResponseProductProduct.md +11 -0
- data/docs/FanoutResponseBodyEnable.md +1 -1
- data/docs/FanoutResponseService.md +1 -1
- data/docs/Healthcheck.md +1 -1
- data/docs/HealthcheckApi.md +4 -4
- data/docs/HealthcheckResponse.md +1 -1
- data/docs/IamRolesApi.md +23 -253
- data/docs/IamV1RoleListResponse.md +12 -0
- data/docs/IamV1RoleResponse.md +14 -0
- data/docs/ImageOptimizerResponseBodyEnable.md +1 -1
- data/docs/ImageOptimizerResponseService.md +1 -1
- data/docs/InlineResponse20010.md +11 -0
- data/docs/InlineResponse20011.md +10 -0
- data/docs/InlineResponse2003.md +2 -2
- data/docs/InlineResponse2004.md +2 -1
- data/docs/InlineResponse2005.md +1 -2
- data/docs/InlineResponse2006.md +1 -2
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +2 -1
- data/docs/InvitationDataAttributes.md +1 -0
- data/docs/KvStoreApi.md +43 -4
- data/docs/KvStoreDetails.md +2 -0
- data/docs/KvStoreItemApi.md +2 -2
- data/docs/{KvStoreRequestCreate.md → KvStoreRequestCreateOrUpdate.md} +1 -1
- data/docs/LogExplorerInsightsResponseBodyEnable.md +1 -1
- data/docs/LogExplorerInsightsResponseService.md +1 -1
- data/docs/LoggingHttpsAdditional.md +1 -0
- data/docs/LoggingHttpsApi.md +4 -0
- data/docs/LoggingHttpsResponse.md +1 -0
- data/docs/MetricsPlatformApi.md +75 -0
- data/docs/NgwafRequestEnable.md +1 -0
- data/docs/NgwafResponseConfigure.md +1 -1
- data/docs/NgwafResponseEnable.md +1 -1
- data/docs/NgwafResponseService.md +1 -1
- data/docs/Offer.md +12 -0
- data/docs/OfferAllOf.md +12 -0
- data/docs/OriginInspectorHistoricalApi.md +1 -1
- data/docs/OriginInspectorResponseBodyEnable.md +1 -1
- data/docs/OriginInspectorResponseService.md +1 -1
- data/docs/PlatformMetadata.md +14 -0
- data/docs/PlatformMetricsResponse.md +11 -0
- data/docs/PlatformValues.md +25 -0
- data/docs/ProductApiDiscoveryApi.md +163 -0
- data/docs/ProductDdosProtectionApi.md +3 -1
- data/docs/ProductDomainResearchApi.md +115 -0
- data/docs/RealtimeEntryAggregated.md +5 -0
- data/docs/RealtimeMeasurements.md +5 -0
- data/docs/RequestBodyForCreate.md +12 -0
- data/docs/RequestBodyForUpdate.md +11 -0
- data/docs/Results.md +5 -0
- data/docs/SchemasUserResponse.md +1 -0
- data/docs/SecretStoreApi.md +2 -2
- data/docs/SecretStoreItemApi.md +2 -2
- data/docs/ServiceAuthorizationsApi.md +2 -2
- data/docs/Status.md +15 -0
- data/docs/StatusAllOf.md +15 -0
- data/docs/SuccessfulResponseAsObject.md +17 -0
- data/docs/SuccessfulResponseAsObjectAllOf.md +15 -0
- data/docs/Suggestion.md +13 -0
- data/docs/SuggestionAllOf.md +13 -0
- data/docs/User.md +1 -0
- data/docs/UserApi.md +4 -0
- data/docs/UserResponse.md +1 -0
- data/docs/WebsocketsResponseBodyEnable.md +1 -1
- data/docs/WebsocketsResponseService.md +1 -1
- data/lib/fastly/api/ddos_protection_api.rb +3 -0
- data/lib/fastly/api/dm_domains_api.rb +362 -0
- data/lib/fastly/api/domain_inspector_historical_api.rb +1 -1
- data/lib/fastly/api/domain_ownerships_api.rb +3 -3
- data/lib/fastly/api/domain_research_api.rb +163 -0
- data/lib/fastly/api/healthcheck_api.rb +20 -4
- data/lib/fastly/api/iam_roles_api.rb +43 -435
- data/lib/fastly/api/kv_store_api.rb +74 -6
- data/lib/fastly/api/kv_store_item_api.rb +3 -3
- data/lib/fastly/api/logging_https_api.rb +6 -0
- data/lib/fastly/api/metrics_platform_api.rb +134 -0
- data/lib/fastly/api/origin_inspector_historical_api.rb +1 -1
- data/lib/fastly/api/product_api_discovery_api.rb +263 -0
- data/lib/fastly/api/product_ddos_protection_api.rb +10 -3
- data/lib/fastly/api/product_domain_research_api.rb +186 -0
- data/lib/fastly/api/secret_store_api.rb +3 -3
- data/lib/fastly/api/secret_store_item_api.rb +3 -3
- data/lib/fastly/api/service_authorizations_api.rb +3 -3
- data/lib/fastly/api/user_api.rb +6 -0
- data/lib/fastly/configuration.rb +98 -38
- data/lib/fastly/models/api_discovery_response_body_get_all_services.rb +256 -0
- data/lib/fastly/models/api_discovery_response_customer.rb +216 -0
- data/lib/fastly/models/api_discovery_response_customer_customer.rb +227 -0
- data/lib/fastly/models/api_discovery_response_enable.rb +243 -0
- data/lib/fastly/models/api_discovery_response_enabled_services.rb +219 -0
- data/lib/fastly/models/api_discovery_response_links.rb +216 -0
- data/lib/fastly/models/api_discovery_response_links_get_all_services.rb +216 -0
- data/lib/fastly/models/api_discovery_response_links_get_all_services_links.rb +217 -0
- data/lib/fastly/models/api_discovery_response_links_links.rb +217 -0
- data/lib/fastly/models/api_discovery_response_product.rb +216 -0
- data/lib/fastly/models/api_discovery_response_product_product.rb +227 -0
- data/lib/fastly/models/api_discovery_response_service.rb +216 -0
- data/lib/fastly/models/{bot_management_response_service_service.rb → api_discovery_response_service_service.rb} +3 -3
- data/lib/fastly/models/bot_management_response_body_enable.rb +1 -1
- data/lib/fastly/models/bot_management_response_service.rb +1 -1
- data/lib/fastly/models/brotli_compression_response_body_enable.rb +1 -1
- data/lib/fastly/models/brotli_compression_response_service.rb +1 -1
- data/lib/fastly/models/ddos_protection_event.rb +21 -1
- data/lib/fastly/models/ddos_protection_event_all_of.rb +21 -1
- data/lib/fastly/models/ddos_protection_request_enable_mode.rb +251 -0
- data/lib/fastly/models/ddos_protection_response_configure.rb +1 -1
- data/lib/fastly/models/ddos_protection_response_enable.rb +1 -1
- data/lib/fastly/models/ddos_protection_response_service.rb +1 -1
- data/lib/fastly/models/ddos_protection_rule_with_stats.rb +365 -0
- data/lib/fastly/models/ddos_protection_rule_with_stats_all_of.rb +216 -0
- data/lib/fastly/models/ddos_protection_traffic_stats.rb +20 -4
- data/lib/fastly/models/ddos_protection_traffic_stats_all_of.rb +20 -4
- data/lib/fastly/models/domain_inspector_response_body_enable.rb +1 -1
- data/lib/fastly/models/domain_inspector_response_service.rb +1 -1
- data/lib/fastly/models/domain_research_response_body_enable.rb +243 -0
- data/lib/fastly/models/domain_research_response_customer.rb +216 -0
- data/lib/fastly/models/domain_research_response_links.rb +216 -0
- data/lib/fastly/models/domain_research_response_links_links.rb +217 -0
- data/lib/fastly/models/domain_research_response_product.rb +216 -0
- data/lib/fastly/models/domain_research_response_product_product.rb +227 -0
- data/lib/fastly/models/fanout_response_body_enable.rb +1 -1
- data/lib/fastly/models/fanout_response_service.rb +1 -1
- data/lib/fastly/models/healthcheck.rb +25 -1
- data/lib/fastly/models/healthcheck_response.rb +25 -1
- data/lib/fastly/models/iam_v1_role_list_response.rb +240 -0
- data/lib/fastly/models/{iam_role_all_of.rb → iam_v1_role_response.rb} +23 -34
- data/lib/fastly/models/image_optimizer_response_body_enable.rb +1 -1
- data/lib/fastly/models/image_optimizer_response_service.rb +1 -1
- data/lib/fastly/models/inline_response20010.rb +227 -0
- data/lib/fastly/models/inline_response20011.rb +218 -0
- data/lib/fastly/models/inline_response2003.rb +11 -1
- data/lib/fastly/models/inline_response2004.rb +20 -8
- data/lib/fastly/models/inline_response2005.rb +8 -18
- data/lib/fastly/models/inline_response2006.rb +8 -17
- data/lib/fastly/models/inline_response2007.rb +1 -1
- data/lib/fastly/models/inline_response2008.rb +1 -1
- data/lib/fastly/models/inline_response2009.rb +13 -4
- data/lib/fastly/models/invitation_data_attributes.rb +12 -1
- data/lib/fastly/models/kv_store_details.rb +24 -4
- data/lib/fastly/models/{kv_store_request_create.rb → kv_store_request_create_or_update.rb} +3 -3
- data/lib/fastly/models/log_explorer_insights_response_body_enable.rb +1 -1
- data/lib/fastly/models/log_explorer_insights_response_service.rb +1 -1
- data/lib/fastly/models/logging_https_additional.rb +16 -4
- data/lib/fastly/models/logging_https_response.rb +13 -1
- data/lib/fastly/models/ngwaf_request_enable.rb +14 -4
- data/lib/fastly/models/ngwaf_response_configure.rb +1 -1
- data/lib/fastly/models/ngwaf_response_enable.rb +1 -1
- data/lib/fastly/models/ngwaf_response_service.rb +1 -1
- data/lib/fastly/models/offer.rb +245 -0
- data/lib/fastly/models/offer_all_of.rb +237 -0
- data/lib/fastly/models/origin_inspector_response_body_enable.rb +1 -1
- data/lib/fastly/models/origin_inspector_response_service.rb +1 -1
- data/lib/fastly/models/platform_metadata.rb +258 -0
- data/lib/fastly/models/platform_metrics_response.rb +228 -0
- data/lib/fastly/models/platform_values.rb +368 -0
- data/lib/fastly/models/realtime_entry_aggregated.rb +54 -4
- data/lib/fastly/models/realtime_measurements.rb +54 -4
- data/lib/fastly/models/request_body_for_create.rb +244 -0
- data/lib/fastly/models/request_body_for_update.rb +229 -0
- data/lib/fastly/models/results.rb +51 -1
- data/lib/fastly/models/role_user.rb +2 -0
- data/lib/fastly/models/schemas_user_response.rb +13 -1
- data/lib/fastly/models/status.rb +276 -0
- data/lib/fastly/models/status_all_of.rb +268 -0
- data/lib/fastly/models/{iam_role.rb → successful_response_as_object.rb} +37 -35
- data/lib/fastly/models/successful_response_as_object_all_of.rb +268 -0
- data/lib/fastly/models/suggestion.rb +255 -0
- data/lib/fastly/models/suggestion_all_of.rb +247 -0
- data/lib/fastly/models/user.rb +13 -1
- data/lib/fastly/models/user_response.rb +13 -1
- data/lib/fastly/models/websockets_response_body_enable.rb +1 -1
- data/lib/fastly/models/websockets_response_service.rb +1 -1
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +45 -4
- data/sig.json +1 -1
- metadata +92 -10
- data/docs/IamRole.md +0 -17
- data/docs/IamRoleAllOf.md +0 -15
|
@@ -0,0 +1,186 @@
|
|
|
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 ProductDomainResearchApi
|
|
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 Domain Research product.
|
|
22
|
+
# @return [nil]
|
|
23
|
+
def disable_product_domain_research(opts = {})
|
|
24
|
+
disable_product_domain_research_with_http_info(opts)
|
|
25
|
+
nil
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Disable product
|
|
29
|
+
# Disable the Domain Research product.
|
|
30
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
31
|
+
def disable_product_domain_research_with_http_info(opts = {})
|
|
32
|
+
if @api_client.config.debugging
|
|
33
|
+
@api_client.config.logger.debug 'Calling API: ProductDomainResearchApi.disable_product_domain_research ...'
|
|
34
|
+
end
|
|
35
|
+
# unbox the parameters from the hash
|
|
36
|
+
# resource path
|
|
37
|
+
local_var_path = '/enabled-products/v1/domain_research'
|
|
38
|
+
|
|
39
|
+
# query parameters
|
|
40
|
+
query_params = opts[:query_params] || {}
|
|
41
|
+
|
|
42
|
+
# header parameters
|
|
43
|
+
header_params = opts[:header_params] || {}
|
|
44
|
+
|
|
45
|
+
# form parameters
|
|
46
|
+
form_params = opts[:form_params] || {}
|
|
47
|
+
|
|
48
|
+
# http body (model)
|
|
49
|
+
post_body = opts[:debug_body]
|
|
50
|
+
|
|
51
|
+
# return_type
|
|
52
|
+
return_type = opts[:debug_return_type]
|
|
53
|
+
|
|
54
|
+
# auth_names
|
|
55
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
|
56
|
+
|
|
57
|
+
new_options = opts.merge(
|
|
58
|
+
:operation => :"ProductDomainResearchApi.disable_product_domain_research",
|
|
59
|
+
:header_params => header_params,
|
|
60
|
+
:query_params => query_params,
|
|
61
|
+
:form_params => form_params,
|
|
62
|
+
:body => post_body,
|
|
63
|
+
:auth_names => auth_names,
|
|
64
|
+
:return_type => return_type
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
68
|
+
if @api_client.config.debugging
|
|
69
|
+
@api_client.config.logger.debug "API called: ProductDomainResearchApi#disable_product_domain_research\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
70
|
+
end
|
|
71
|
+
return data, status_code, headers
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Enable product
|
|
75
|
+
# Enable the Domain Research product.
|
|
76
|
+
# @return [DomainResearchResponseBodyEnable]
|
|
77
|
+
def enable_domain_research(opts = {})
|
|
78
|
+
data, _status_code, _headers = enable_domain_research_with_http_info(opts)
|
|
79
|
+
data
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Enable product
|
|
83
|
+
# Enable the Domain Research product.
|
|
84
|
+
# @return [Array<(DomainResearchResponseBodyEnable, Integer, Hash)>] DomainResearchResponseBodyEnable data, response status code and response headers
|
|
85
|
+
def enable_domain_research_with_http_info(opts = {})
|
|
86
|
+
if @api_client.config.debugging
|
|
87
|
+
@api_client.config.logger.debug 'Calling API: ProductDomainResearchApi.enable_domain_research ...'
|
|
88
|
+
end
|
|
89
|
+
# unbox the parameters from the hash
|
|
90
|
+
# resource path
|
|
91
|
+
local_var_path = '/enabled-products/v1/domain_research'
|
|
92
|
+
|
|
93
|
+
# query parameters
|
|
94
|
+
query_params = opts[:query_params] || {}
|
|
95
|
+
|
|
96
|
+
# header parameters
|
|
97
|
+
header_params = opts[:header_params] || {}
|
|
98
|
+
# HTTP header 'Accept' (if needed)
|
|
99
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
100
|
+
|
|
101
|
+
# form parameters
|
|
102
|
+
form_params = opts[:form_params] || {}
|
|
103
|
+
|
|
104
|
+
# http body (model)
|
|
105
|
+
post_body = opts[:debug_body]
|
|
106
|
+
|
|
107
|
+
# return_type
|
|
108
|
+
return_type = opts[:debug_return_type] || 'DomainResearchResponseBodyEnable'
|
|
109
|
+
|
|
110
|
+
# auth_names
|
|
111
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
|
112
|
+
|
|
113
|
+
new_options = opts.merge(
|
|
114
|
+
:operation => :"ProductDomainResearchApi.enable_domain_research",
|
|
115
|
+
:header_params => header_params,
|
|
116
|
+
:query_params => query_params,
|
|
117
|
+
:form_params => form_params,
|
|
118
|
+
:body => post_body,
|
|
119
|
+
:auth_names => auth_names,
|
|
120
|
+
:return_type => return_type
|
|
121
|
+
)
|
|
122
|
+
|
|
123
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
124
|
+
if @api_client.config.debugging
|
|
125
|
+
@api_client.config.logger.debug "API called: ProductDomainResearchApi#enable_domain_research\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
126
|
+
end
|
|
127
|
+
return data, status_code, headers
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
# Get product enablement status
|
|
131
|
+
# Get the enablement status of the Domain Research product.
|
|
132
|
+
# @return [DomainResearchResponseBodyEnable]
|
|
133
|
+
def get_domain_research(opts = {})
|
|
134
|
+
data, _status_code, _headers = get_domain_research_with_http_info(opts)
|
|
135
|
+
data
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# Get product enablement status
|
|
139
|
+
# Get the enablement status of the Domain Research product.
|
|
140
|
+
# @return [Array<(DomainResearchResponseBodyEnable, Integer, Hash)>] DomainResearchResponseBodyEnable data, response status code and response headers
|
|
141
|
+
def get_domain_research_with_http_info(opts = {})
|
|
142
|
+
if @api_client.config.debugging
|
|
143
|
+
@api_client.config.logger.debug 'Calling API: ProductDomainResearchApi.get_domain_research ...'
|
|
144
|
+
end
|
|
145
|
+
# unbox the parameters from the hash
|
|
146
|
+
# resource path
|
|
147
|
+
local_var_path = '/enabled-products/v1/domain_research'
|
|
148
|
+
|
|
149
|
+
# query parameters
|
|
150
|
+
query_params = opts[:query_params] || {}
|
|
151
|
+
|
|
152
|
+
# header parameters
|
|
153
|
+
header_params = opts[:header_params] || {}
|
|
154
|
+
# HTTP header 'Accept' (if needed)
|
|
155
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
156
|
+
|
|
157
|
+
# form parameters
|
|
158
|
+
form_params = opts[:form_params] || {}
|
|
159
|
+
|
|
160
|
+
# http body (model)
|
|
161
|
+
post_body = opts[:debug_body]
|
|
162
|
+
|
|
163
|
+
# return_type
|
|
164
|
+
return_type = opts[:debug_return_type] || 'DomainResearchResponseBodyEnable'
|
|
165
|
+
|
|
166
|
+
# auth_names
|
|
167
|
+
auth_names = opts[:debug_auth_names] || ['token']
|
|
168
|
+
|
|
169
|
+
new_options = opts.merge(
|
|
170
|
+
:operation => :"ProductDomainResearchApi.get_domain_research",
|
|
171
|
+
:header_params => header_params,
|
|
172
|
+
:query_params => query_params,
|
|
173
|
+
:form_params => form_params,
|
|
174
|
+
:body => post_body,
|
|
175
|
+
:auth_names => auth_names,
|
|
176
|
+
:return_type => return_type
|
|
177
|
+
)
|
|
178
|
+
|
|
179
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
180
|
+
if @api_client.config.debugging
|
|
181
|
+
@api_client.config.logger.debug "API called: ProductDomainResearchApi#get_domain_research\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
182
|
+
end
|
|
183
|
+
return data, status_code, headers
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
end
|
|
@@ -265,7 +265,7 @@ module Fastly
|
|
|
265
265
|
# @option opts [String] :cursor 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.
|
|
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 [
|
|
268
|
+
# @return [InlineResponse2009]
|
|
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 `next_cursor` 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<(
|
|
279
|
+
# @return [Array<(InlineResponse2009, Integer, Hash)>] InlineResponse2009 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] || '
|
|
306
|
+
return_type = opts[:debug_return_type] || 'InlineResponse2009'
|
|
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 `next_cursor` 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 [
|
|
233
|
+
# @return [InlineResponse20010]
|
|
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 `next_cursor` 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<(
|
|
244
|
+
# @return [Array<(InlineResponse20010, Integer, Hash)>] InlineResponse20010 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] || '
|
|
275
|
+
return_type = opts[:debug_return_type] || 'InlineResponse20010'
|
|
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 [
|
|
147
|
+
# @return [InlineResponse20011]
|
|
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<(
|
|
156
|
+
# @return [Array<(InlineResponse20011, Integer, Hash)>] InlineResponse20011 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] || '
|
|
185
|
+
return_type = opts[:debug_return_type] || 'InlineResponse20011'
|
|
186
186
|
|
|
187
187
|
# auth_names
|
|
188
188
|
auth_names = opts[:debug_auth_names] || ['token']
|
data/lib/fastly/api/user_api.rb
CHANGED
|
@@ -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'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'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'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'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
|
|
data/lib/fastly/configuration.rb
CHANGED
|
@@ -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",
|
|
@@ -986,6 +1016,18 @@ module Fastly
|
|
|
986
1016
|
description: "No description provided",
|
|
987
1017
|
}
|
|
988
1018
|
],
|
|
1019
|
+
"DomainResearchApi.domain_status": [
|
|
1020
|
+
{
|
|
1021
|
+
url: "https://api.fastly.com",
|
|
1022
|
+
description: "No description provided",
|
|
1023
|
+
}
|
|
1024
|
+
],
|
|
1025
|
+
"DomainResearchApi.suggest_domains": [
|
|
1026
|
+
{
|
|
1027
|
+
url: "https://api.fastly.com",
|
|
1028
|
+
description: "No description provided",
|
|
1029
|
+
}
|
|
1030
|
+
],
|
|
989
1031
|
"EventsApi.get_event": [
|
|
990
1032
|
{
|
|
991
1033
|
url: "https://api.fastly.com",
|
|
@@ -1166,49 +1208,13 @@ module Fastly
|
|
|
1166
1208
|
description: "No description provided",
|
|
1167
1209
|
}
|
|
1168
1210
|
],
|
|
1169
|
-
"IamRolesApi.
|
|
1170
|
-
{
|
|
1171
|
-
url: "https://api.fastly.com",
|
|
1172
|
-
description: "No description provided",
|
|
1173
|
-
}
|
|
1174
|
-
],
|
|
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": [
|
|
1211
|
+
"IamRolesApi.iam_v1_roles_get": [
|
|
1194
1212
|
{
|
|
1195
1213
|
url: "https://api.fastly.com",
|
|
1196
1214
|
description: "No description provided",
|
|
1197
1215
|
}
|
|
1198
1216
|
],
|
|
1199
|
-
"IamRolesApi.
|
|
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": [
|
|
1217
|
+
"IamRolesApi.iam_v1_roles_list": [
|
|
1212
1218
|
{
|
|
1213
1219
|
url: "https://api.fastly.com",
|
|
1214
1220
|
description: "No description provided",
|
|
@@ -1406,6 +1412,12 @@ module Fastly
|
|
|
1406
1412
|
description: "No description provided",
|
|
1407
1413
|
}
|
|
1408
1414
|
],
|
|
1415
|
+
"KvStoreApi.kv_store_put": [
|
|
1416
|
+
{
|
|
1417
|
+
url: "https://api.fastly.com",
|
|
1418
|
+
description: "No description provided",
|
|
1419
|
+
}
|
|
1420
|
+
],
|
|
1409
1421
|
"KvStoreItemApi.kv_store_delete_item": [
|
|
1410
1422
|
{
|
|
1411
1423
|
url: "https://api.fastly.com",
|
|
@@ -2276,6 +2288,12 @@ module Fastly
|
|
|
2276
2288
|
description: "No description provided",
|
|
2277
2289
|
}
|
|
2278
2290
|
],
|
|
2291
|
+
"MetricsPlatformApi.get_platform_metrics_service_historical": [
|
|
2292
|
+
{
|
|
2293
|
+
url: "https://api.fastly.com",
|
|
2294
|
+
description: "No description provided",
|
|
2295
|
+
}
|
|
2296
|
+
],
|
|
2279
2297
|
"MutualAuthenticationApi.create_mutual_tls_authentication": [
|
|
2280
2298
|
{
|
|
2281
2299
|
url: "https://api.fastly.com",
|
|
@@ -2474,6 +2492,30 @@ module Fastly
|
|
|
2474
2492
|
description: "No description provided",
|
|
2475
2493
|
}
|
|
2476
2494
|
],
|
|
2495
|
+
"ProductApiDiscoveryApi.disable_product_api_discovery": [
|
|
2496
|
+
{
|
|
2497
|
+
url: "https://api.fastly.com",
|
|
2498
|
+
description: "No description provided",
|
|
2499
|
+
}
|
|
2500
|
+
],
|
|
2501
|
+
"ProductApiDiscoveryApi.enable_product_api_discovery": [
|
|
2502
|
+
{
|
|
2503
|
+
url: "https://api.fastly.com",
|
|
2504
|
+
description: "No description provided",
|
|
2505
|
+
}
|
|
2506
|
+
],
|
|
2507
|
+
"ProductApiDiscoveryApi.get_product_api_discovery": [
|
|
2508
|
+
{
|
|
2509
|
+
url: "https://api.fastly.com",
|
|
2510
|
+
description: "No description provided",
|
|
2511
|
+
}
|
|
2512
|
+
],
|
|
2513
|
+
"ProductApiDiscoveryApi.get_services_product_api_discovery": [
|
|
2514
|
+
{
|
|
2515
|
+
url: "https://api.fastly.com",
|
|
2516
|
+
description: "No description provided",
|
|
2517
|
+
}
|
|
2518
|
+
],
|
|
2477
2519
|
"ProductBotManagementApi.disable_product_bot_management": [
|
|
2478
2520
|
{
|
|
2479
2521
|
url: "https://api.fastly.com",
|
|
@@ -2582,6 +2624,24 @@ module Fastly
|
|
|
2582
2624
|
description: "No description provided",
|
|
2583
2625
|
}
|
|
2584
2626
|
],
|
|
2627
|
+
"ProductDomainResearchApi.disable_product_domain_research": [
|
|
2628
|
+
{
|
|
2629
|
+
url: "https://api.fastly.com",
|
|
2630
|
+
description: "No description provided",
|
|
2631
|
+
}
|
|
2632
|
+
],
|
|
2633
|
+
"ProductDomainResearchApi.enable_domain_research": [
|
|
2634
|
+
{
|
|
2635
|
+
url: "https://api.fastly.com",
|
|
2636
|
+
description: "No description provided",
|
|
2637
|
+
}
|
|
2638
|
+
],
|
|
2639
|
+
"ProductDomainResearchApi.get_domain_research": [
|
|
2640
|
+
{
|
|
2641
|
+
url: "https://api.fastly.com",
|
|
2642
|
+
description: "No description provided",
|
|
2643
|
+
}
|
|
2644
|
+
],
|
|
2585
2645
|
"ProductFanoutApi.disable_product_fanout": [
|
|
2586
2646
|
{
|
|
2587
2647
|
url: "https://api.fastly.com",
|