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
|
@@ -13,15 +13,13 @@ require 'time'
|
|
|
13
13
|
|
|
14
14
|
module Fastly
|
|
15
15
|
class InlineResponse2005
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
attr_accessor :meta
|
|
16
|
+
# Time-stamp (GMT) when the domain_ownership validation will expire.
|
|
17
|
+
attr_accessor :expires_at
|
|
19
18
|
|
|
20
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
20
|
def self.attribute_map
|
|
22
21
|
{
|
|
23
|
-
:'
|
|
24
|
-
:'meta' => :'meta'
|
|
22
|
+
:'expires_at' => :'expires_at'
|
|
25
23
|
}
|
|
26
24
|
end
|
|
27
25
|
|
|
@@ -33,8 +31,7 @@ module Fastly
|
|
|
33
31
|
# Attribute type mapping.
|
|
34
32
|
def self.fastly_types
|
|
35
33
|
{
|
|
36
|
-
:'
|
|
37
|
-
:'meta' => :'PaginationCursorMeta'
|
|
34
|
+
:'expires_at' => :'String'
|
|
38
35
|
}
|
|
39
36
|
end
|
|
40
37
|
|
|
@@ -59,14 +56,8 @@ module Fastly
|
|
|
59
56
|
h[k.to_sym] = v
|
|
60
57
|
}
|
|
61
58
|
|
|
62
|
-
if attributes.key?(:'
|
|
63
|
-
|
|
64
|
-
self.data = value
|
|
65
|
-
end
|
|
66
|
-
end
|
|
67
|
-
|
|
68
|
-
if attributes.key?(:'meta')
|
|
69
|
-
self.meta = attributes[:'meta']
|
|
59
|
+
if attributes.key?(:'expires_at')
|
|
60
|
+
self.expires_at = attributes[:'expires_at']
|
|
70
61
|
end
|
|
71
62
|
end
|
|
72
63
|
|
|
@@ -88,8 +79,7 @@ module Fastly
|
|
|
88
79
|
def ==(o)
|
|
89
80
|
return true if self.equal?(o)
|
|
90
81
|
self.class == o.class &&
|
|
91
|
-
|
|
92
|
-
meta == o.meta
|
|
82
|
+
expires_at == o.expires_at
|
|
93
83
|
end
|
|
94
84
|
|
|
95
85
|
# @see the `==` method
|
|
@@ -101,7 +91,7 @@ module Fastly
|
|
|
101
91
|
# Calculates hash code according to all attributes.
|
|
102
92
|
# @return [Integer] Hash code
|
|
103
93
|
def hash
|
|
104
|
-
[
|
|
94
|
+
[expires_at].hash
|
|
105
95
|
end
|
|
106
96
|
|
|
107
97
|
# Builds the object from hash
|
|
@@ -13,15 +13,12 @@ require 'time'
|
|
|
13
13
|
|
|
14
14
|
module Fastly
|
|
15
15
|
class InlineResponse2006
|
|
16
|
-
attr_accessor :
|
|
17
|
-
|
|
18
|
-
attr_accessor :meta
|
|
16
|
+
attr_accessor :results
|
|
19
17
|
|
|
20
18
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
19
|
def self.attribute_map
|
|
22
20
|
{
|
|
23
|
-
:'
|
|
24
|
-
:'meta' => :'meta'
|
|
21
|
+
:'results' => :'results'
|
|
25
22
|
}
|
|
26
23
|
end
|
|
27
24
|
|
|
@@ -33,8 +30,7 @@ module Fastly
|
|
|
33
30
|
# Attribute type mapping.
|
|
34
31
|
def self.fastly_types
|
|
35
32
|
{
|
|
36
|
-
:'
|
|
37
|
-
:'meta' => :'PaginationCursorMeta'
|
|
33
|
+
:'results' => :'Array<Suggestion>'
|
|
38
34
|
}
|
|
39
35
|
end
|
|
40
36
|
|
|
@@ -59,15 +55,11 @@ module Fastly
|
|
|
59
55
|
h[k.to_sym] = v
|
|
60
56
|
}
|
|
61
57
|
|
|
62
|
-
if attributes.key?(:'
|
|
63
|
-
if (value = attributes[:'
|
|
64
|
-
self.
|
|
58
|
+
if attributes.key?(:'results')
|
|
59
|
+
if (value = attributes[:'results']).is_a?(Array)
|
|
60
|
+
self.results = value
|
|
65
61
|
end
|
|
66
62
|
end
|
|
67
|
-
|
|
68
|
-
if attributes.key?(:'meta')
|
|
69
|
-
self.meta = attributes[:'meta']
|
|
70
|
-
end
|
|
71
63
|
end
|
|
72
64
|
|
|
73
65
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -88,8 +80,7 @@ module Fastly
|
|
|
88
80
|
def ==(o)
|
|
89
81
|
return true if self.equal?(o)
|
|
90
82
|
self.class == o.class &&
|
|
91
|
-
|
|
92
|
-
meta == o.meta
|
|
83
|
+
results == o.results
|
|
93
84
|
end
|
|
94
85
|
|
|
95
86
|
# @see the `==` method
|
|
@@ -101,7 +92,7 @@ module Fastly
|
|
|
101
92
|
# Calculates hash code according to all attributes.
|
|
102
93
|
# @return [Integer] Hash code
|
|
103
94
|
def hash
|
|
104
|
-
[
|
|
95
|
+
[results].hash
|
|
105
96
|
end
|
|
106
97
|
|
|
107
98
|
# Builds the object from hash
|
|
@@ -15,10 +15,13 @@ module Fastly
|
|
|
15
15
|
class InlineResponse2009
|
|
16
16
|
attr_accessor :data
|
|
17
17
|
|
|
18
|
+
attr_accessor :meta
|
|
19
|
+
|
|
18
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
19
21
|
def self.attribute_map
|
|
20
22
|
{
|
|
21
|
-
:'data' => :'data'
|
|
23
|
+
:'data' => :'data',
|
|
24
|
+
:'meta' => :'meta'
|
|
22
25
|
}
|
|
23
26
|
end
|
|
24
27
|
|
|
@@ -30,7 +33,8 @@ module Fastly
|
|
|
30
33
|
# Attribute type mapping.
|
|
31
34
|
def self.fastly_types
|
|
32
35
|
{
|
|
33
|
-
:'data' => :'Array<
|
|
36
|
+
:'data' => :'Array<SecretStoreResponse>',
|
|
37
|
+
:'meta' => :'PaginationCursorMeta'
|
|
34
38
|
}
|
|
35
39
|
end
|
|
36
40
|
|
|
@@ -60,6 +64,10 @@ module Fastly
|
|
|
60
64
|
self.data = value
|
|
61
65
|
end
|
|
62
66
|
end
|
|
67
|
+
|
|
68
|
+
if attributes.key?(:'meta')
|
|
69
|
+
self.meta = attributes[:'meta']
|
|
70
|
+
end
|
|
63
71
|
end
|
|
64
72
|
|
|
65
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -80,7 +88,8 @@ module Fastly
|
|
|
80
88
|
def ==(o)
|
|
81
89
|
return true if self.equal?(o)
|
|
82
90
|
self.class == o.class &&
|
|
83
|
-
data == o.data
|
|
91
|
+
data == o.data &&
|
|
92
|
+
meta == o.meta
|
|
84
93
|
end
|
|
85
94
|
|
|
86
95
|
# @see the `==` method
|
|
@@ -92,7 +101,7 @@ module Fastly
|
|
|
92
101
|
# Calculates hash code according to all attributes.
|
|
93
102
|
# @return [Integer] Hash code
|
|
94
103
|
def hash
|
|
95
|
-
[data].hash
|
|
104
|
+
[data, meta].hash
|
|
96
105
|
end
|
|
97
106
|
|
|
98
107
|
# Builds the object from hash
|
|
@@ -21,6 +21,8 @@ module Fastly
|
|
|
21
21
|
|
|
22
22
|
attr_accessor :role
|
|
23
23
|
|
|
24
|
+
attr_accessor :roles
|
|
25
|
+
|
|
24
26
|
# Indicates whether or not the invitation is active.
|
|
25
27
|
attr_accessor :status_code
|
|
26
28
|
|
|
@@ -52,6 +54,7 @@ module Fastly
|
|
|
52
54
|
:'email' => :'email',
|
|
53
55
|
:'limit_services' => :'limit_services',
|
|
54
56
|
:'role' => :'role',
|
|
57
|
+
:'roles' => :'roles',
|
|
55
58
|
:'status_code' => :'status_code'
|
|
56
59
|
}
|
|
57
60
|
end
|
|
@@ -67,6 +70,7 @@ module Fastly
|
|
|
67
70
|
:'email' => :'String',
|
|
68
71
|
:'limit_services' => :'Boolean',
|
|
69
72
|
:'role' => :'RoleUser',
|
|
73
|
+
:'roles' => :'Array<String>',
|
|
70
74
|
:'status_code' => :'Integer'
|
|
71
75
|
}
|
|
72
76
|
end
|
|
@@ -104,6 +108,12 @@ module Fastly
|
|
|
104
108
|
self.role = attributes[:'role']
|
|
105
109
|
end
|
|
106
110
|
|
|
111
|
+
if attributes.key?(:'roles')
|
|
112
|
+
if (value = attributes[:'roles']).is_a?(Array)
|
|
113
|
+
self.roles = value
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
|
|
107
117
|
if attributes.key?(:'status_code')
|
|
108
118
|
self.status_code = attributes[:'status_code']
|
|
109
119
|
end
|
|
@@ -142,6 +152,7 @@ module Fastly
|
|
|
142
152
|
email == o.email &&
|
|
143
153
|
limit_services == o.limit_services &&
|
|
144
154
|
role == o.role &&
|
|
155
|
+
roles == o.roles &&
|
|
145
156
|
status_code == o.status_code
|
|
146
157
|
end
|
|
147
158
|
|
|
@@ -154,7 +165,7 @@ module Fastly
|
|
|
154
165
|
# Calculates hash code according to all attributes.
|
|
155
166
|
# @return [Integer] Hash code
|
|
156
167
|
def hash
|
|
157
|
-
[email, limit_services, role, status_code].hash
|
|
168
|
+
[email, limit_services, role, roles, status_code].hash
|
|
158
169
|
end
|
|
159
170
|
|
|
160
171
|
# Builds the object from hash
|
|
@@ -19,11 +19,19 @@ module Fastly
|
|
|
19
19
|
# Name of the store.
|
|
20
20
|
attr_accessor :name
|
|
21
21
|
|
|
22
|
+
# Timestamp at which the store was created.
|
|
23
|
+
attr_accessor :created_at
|
|
24
|
+
|
|
25
|
+
# Timestamp at which the store was last updated.
|
|
26
|
+
attr_accessor :updated_at
|
|
27
|
+
|
|
22
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
29
|
def self.attribute_map
|
|
24
30
|
{
|
|
25
31
|
:'id' => :'id',
|
|
26
|
-
:'name' => :'name'
|
|
32
|
+
:'name' => :'name',
|
|
33
|
+
:'created_at' => :'created_at',
|
|
34
|
+
:'updated_at' => :'updated_at'
|
|
27
35
|
}
|
|
28
36
|
end
|
|
29
37
|
|
|
@@ -36,7 +44,9 @@ module Fastly
|
|
|
36
44
|
def self.fastly_types
|
|
37
45
|
{
|
|
38
46
|
:'id' => :'String',
|
|
39
|
-
:'name' => :'String'
|
|
47
|
+
:'name' => :'String',
|
|
48
|
+
:'created_at' => :'String',
|
|
49
|
+
:'updated_at' => :'String'
|
|
40
50
|
}
|
|
41
51
|
end
|
|
42
52
|
|
|
@@ -68,6 +78,14 @@ module Fastly
|
|
|
68
78
|
if attributes.key?(:'name')
|
|
69
79
|
self.name = attributes[:'name']
|
|
70
80
|
end
|
|
81
|
+
|
|
82
|
+
if attributes.key?(:'created_at')
|
|
83
|
+
self.created_at = attributes[:'created_at']
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
if attributes.key?(:'updated_at')
|
|
87
|
+
self.updated_at = attributes[:'updated_at']
|
|
88
|
+
end
|
|
71
89
|
end
|
|
72
90
|
|
|
73
91
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -89,7 +107,9 @@ module Fastly
|
|
|
89
107
|
return true if self.equal?(o)
|
|
90
108
|
self.class == o.class &&
|
|
91
109
|
id == o.id &&
|
|
92
|
-
name == o.name
|
|
110
|
+
name == o.name &&
|
|
111
|
+
created_at == o.created_at &&
|
|
112
|
+
updated_at == o.updated_at
|
|
93
113
|
end
|
|
94
114
|
|
|
95
115
|
# @see the `==` method
|
|
@@ -101,7 +121,7 @@ module Fastly
|
|
|
101
121
|
# Calculates hash code according to all attributes.
|
|
102
122
|
# @return [Integer] Hash code
|
|
103
123
|
def hash
|
|
104
|
-
[id, name].hash
|
|
124
|
+
[id, name, created_at, updated_at].hash
|
|
105
125
|
end
|
|
106
126
|
|
|
107
127
|
# Builds the object from hash
|
|
@@ -12,7 +12,7 @@ require 'date'
|
|
|
12
12
|
require 'time'
|
|
13
13
|
|
|
14
14
|
module Fastly
|
|
15
|
-
class
|
|
15
|
+
class KvStoreRequestCreateOrUpdate
|
|
16
16
|
# A human-readable name for the store. Refer to https://docs.fastly.com/products/compute-resource-limits#kv-store for limitations on the KV store name.
|
|
17
17
|
attr_accessor :name
|
|
18
18
|
|
|
@@ -45,13 +45,13 @@ module Fastly
|
|
|
45
45
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
46
46
|
def initialize(attributes = {})
|
|
47
47
|
if (!attributes.is_a?(Hash))
|
|
48
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::
|
|
48
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::KvStoreRequestCreateOrUpdate` initialize method"
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
52
52
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
53
53
|
if (!self.class.attribute_map.key?(k.to_sym))
|
|
54
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::
|
|
54
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::KvStoreRequestCreateOrUpdate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
55
55
|
end
|
|
56
56
|
h[k.to_sym] = v
|
|
57
57
|
}
|
|
@@ -37,7 +37,7 @@ module Fastly
|
|
|
37
37
|
def self.fastly_types
|
|
38
38
|
{
|
|
39
39
|
:'product' => :'LogExplorerInsightsResponseProductProduct',
|
|
40
|
-
:'service' => :'
|
|
40
|
+
:'service' => :'ApiDiscoveryResponseServiceService',
|
|
41
41
|
:'_links' => :'LogExplorerInsightsResponseLinksLinks'
|
|
42
42
|
}
|
|
43
43
|
end
|
|
@@ -42,6 +42,9 @@ module Fastly
|
|
|
42
42
|
# A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/).
|
|
43
43
|
attr_accessor :format
|
|
44
44
|
|
|
45
|
+
# 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.
|
|
46
|
+
attr_accessor :period
|
|
47
|
+
|
|
45
48
|
class EnumAttributeValidator
|
|
46
49
|
attr_reader :datatype
|
|
47
50
|
attr_reader :allowable_values
|
|
@@ -76,7 +79,8 @@ module Fastly
|
|
|
76
79
|
:'header_value' => :'header_value',
|
|
77
80
|
:'method' => :'method',
|
|
78
81
|
:'json_format' => :'json_format',
|
|
79
|
-
:'format' => :'format'
|
|
82
|
+
:'format' => :'format',
|
|
83
|
+
:'period' => :'period'
|
|
80
84
|
}
|
|
81
85
|
end
|
|
82
86
|
|
|
@@ -97,7 +101,8 @@ module Fastly
|
|
|
97
101
|
:'header_value' => :'String',
|
|
98
102
|
:'method' => :'String',
|
|
99
103
|
:'json_format' => :'String',
|
|
100
|
-
:'format' => :'String'
|
|
104
|
+
:'format' => :'String',
|
|
105
|
+
:'period' => :'Integer'
|
|
101
106
|
}
|
|
102
107
|
end
|
|
103
108
|
|
|
@@ -180,6 +185,12 @@ module Fastly
|
|
|
180
185
|
else
|
|
181
186
|
self.format = '%h %l %u %t \"%r\" %>s %b'
|
|
182
187
|
end
|
|
188
|
+
|
|
189
|
+
if attributes.key?(:'period')
|
|
190
|
+
self.period = attributes[:'period']
|
|
191
|
+
else
|
|
192
|
+
self.period = 5
|
|
193
|
+
end
|
|
183
194
|
end
|
|
184
195
|
|
|
185
196
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -233,7 +244,8 @@ module Fastly
|
|
|
233
244
|
header_value == o.header_value &&
|
|
234
245
|
method == o.method &&
|
|
235
246
|
json_format == o.json_format &&
|
|
236
|
-
format == o.format
|
|
247
|
+
format == o.format &&
|
|
248
|
+
period == o.period
|
|
237
249
|
end
|
|
238
250
|
|
|
239
251
|
# @see the `==` method
|
|
@@ -245,7 +257,7 @@ module Fastly
|
|
|
245
257
|
# Calculates hash code according to all attributes.
|
|
246
258
|
# @return [Integer] Hash code
|
|
247
259
|
def hash
|
|
248
|
-
[url, request_max_entries, request_max_bytes, content_type, header_name, message_type, header_value, method, json_format, format].hash
|
|
260
|
+
[url, request_max_entries, request_max_bytes, content_type, header_name, message_type, header_value, method, json_format, format, period].hash
|
|
249
261
|
end
|
|
250
262
|
|
|
251
263
|
# Builds the object from hash
|
|
@@ -69,6 +69,9 @@ module Fastly
|
|
|
69
69
|
# Enforces valid JSON formatting for log entries.
|
|
70
70
|
attr_accessor :json_format
|
|
71
71
|
|
|
72
|
+
# 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.
|
|
73
|
+
attr_accessor :period
|
|
74
|
+
|
|
72
75
|
# Date and time in ISO 8601 format.
|
|
73
76
|
attr_accessor :created_at
|
|
74
77
|
|
|
@@ -126,6 +129,7 @@ module Fastly
|
|
|
126
129
|
:'header_value' => :'header_value',
|
|
127
130
|
:'method' => :'method',
|
|
128
131
|
:'json_format' => :'json_format',
|
|
132
|
+
:'period' => :'period',
|
|
129
133
|
:'created_at' => :'created_at',
|
|
130
134
|
:'deleted_at' => :'deleted_at',
|
|
131
135
|
:'updated_at' => :'updated_at',
|
|
@@ -161,6 +165,7 @@ module Fastly
|
|
|
161
165
|
:'header_value' => :'String',
|
|
162
166
|
:'method' => :'String',
|
|
163
167
|
:'json_format' => :'String',
|
|
168
|
+
:'period' => :'Integer',
|
|
164
169
|
:'created_at' => :'Time',
|
|
165
170
|
:'deleted_at' => :'Time',
|
|
166
171
|
:'updated_at' => :'Time',
|
|
@@ -318,6 +323,12 @@ module Fastly
|
|
|
318
323
|
self.json_format = attributes[:'json_format']
|
|
319
324
|
end
|
|
320
325
|
|
|
326
|
+
if attributes.key?(:'period')
|
|
327
|
+
self.period = attributes[:'period']
|
|
328
|
+
else
|
|
329
|
+
self.period = 5
|
|
330
|
+
end
|
|
331
|
+
|
|
321
332
|
if attributes.key?(:'created_at')
|
|
322
333
|
self.created_at = attributes[:'created_at']
|
|
323
334
|
end
|
|
@@ -436,6 +447,7 @@ module Fastly
|
|
|
436
447
|
header_value == o.header_value &&
|
|
437
448
|
method == o.method &&
|
|
438
449
|
json_format == o.json_format &&
|
|
450
|
+
period == o.period &&
|
|
439
451
|
created_at == o.created_at &&
|
|
440
452
|
deleted_at == o.deleted_at &&
|
|
441
453
|
updated_at == o.updated_at &&
|
|
@@ -452,7 +464,7 @@ module Fastly
|
|
|
452
464
|
# Calculates hash code according to all attributes.
|
|
453
465
|
# @return [Integer] Hash code
|
|
454
466
|
def hash
|
|
455
|
-
[name, placement, response_condition, format, log_processing_region, format_version, tls_ca_cert, tls_client_cert, tls_client_key, tls_hostname, request_max_entries, request_max_bytes, url, content_type, header_name, message_type, header_value, method, json_format, created_at, deleted_at, updated_at, service_id, version].hash
|
|
467
|
+
[name, placement, response_condition, format, log_processing_region, format_version, tls_ca_cert, tls_client_cert, tls_client_key, tls_hostname, request_max_entries, request_max_bytes, url, content_type, header_name, message_type, header_value, method, json_format, period, created_at, deleted_at, updated_at, service_id, version].hash
|
|
456
468
|
end
|
|
457
469
|
|
|
458
470
|
# Builds the object from hash
|
|
@@ -16,10 +16,14 @@ module Fastly
|
|
|
16
16
|
# The workspace to link.
|
|
17
17
|
attr_accessor :workspace_id
|
|
18
18
|
|
|
19
|
+
# The percentage of traffic to inspect.
|
|
20
|
+
attr_accessor :traffic_ramp
|
|
21
|
+
|
|
19
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
20
23
|
def self.attribute_map
|
|
21
24
|
{
|
|
22
|
-
:'workspace_id' => :'workspace_id'
|
|
25
|
+
:'workspace_id' => :'workspace_id',
|
|
26
|
+
:'traffic_ramp' => :'traffic_ramp'
|
|
23
27
|
}
|
|
24
28
|
end
|
|
25
29
|
|
|
@@ -31,7 +35,8 @@ module Fastly
|
|
|
31
35
|
# Attribute type mapping.
|
|
32
36
|
def self.fastly_types
|
|
33
37
|
{
|
|
34
|
-
:'workspace_id' => :'String'
|
|
38
|
+
:'workspace_id' => :'String',
|
|
39
|
+
:'traffic_ramp' => :'String'
|
|
35
40
|
}
|
|
36
41
|
end
|
|
37
42
|
|
|
@@ -59,6 +64,10 @@ module Fastly
|
|
|
59
64
|
if attributes.key?(:'workspace_id')
|
|
60
65
|
self.workspace_id = attributes[:'workspace_id']
|
|
61
66
|
end
|
|
67
|
+
|
|
68
|
+
if attributes.key?(:'traffic_ramp')
|
|
69
|
+
self.traffic_ramp = attributes[:'traffic_ramp']
|
|
70
|
+
end
|
|
62
71
|
end
|
|
63
72
|
|
|
64
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -84,7 +93,8 @@ module Fastly
|
|
|
84
93
|
def ==(o)
|
|
85
94
|
return true if self.equal?(o)
|
|
86
95
|
self.class == o.class &&
|
|
87
|
-
workspace_id == o.workspace_id
|
|
96
|
+
workspace_id == o.workspace_id &&
|
|
97
|
+
traffic_ramp == o.traffic_ramp
|
|
88
98
|
end
|
|
89
99
|
|
|
90
100
|
# @see the `==` method
|
|
@@ -96,7 +106,7 @@ module Fastly
|
|
|
96
106
|
# Calculates hash code according to all attributes.
|
|
97
107
|
# @return [Integer] Hash code
|
|
98
108
|
def hash
|
|
99
|
-
[workspace_id].hash
|
|
109
|
+
[workspace_id, traffic_ramp].hash
|
|
100
110
|
end
|
|
101
111
|
|
|
102
112
|
# Builds the object from hash
|
|
@@ -40,7 +40,7 @@ module Fastly
|
|
|
40
40
|
def self.fastly_types
|
|
41
41
|
{
|
|
42
42
|
:'product' => :'NgwafResponseProductProduct',
|
|
43
|
-
:'service' => :'
|
|
43
|
+
:'service' => :'ApiDiscoveryResponseServiceService',
|
|
44
44
|
:'configuration' => :'NgwafResponseConfigurationConfiguration',
|
|
45
45
|
:'_links' => :'NgwafResponseLinksLinks'
|
|
46
46
|
}
|
|
@@ -37,7 +37,7 @@ module Fastly
|
|
|
37
37
|
def self.fastly_types
|
|
38
38
|
{
|
|
39
39
|
:'product' => :'NgwafResponseProductProduct',
|
|
40
|
-
:'service' => :'
|
|
40
|
+
:'service' => :'ApiDiscoveryResponseServiceService',
|
|
41
41
|
:'_links' => :'NgwafResponseLinksLinks'
|
|
42
42
|
}
|
|
43
43
|
end
|