fastly 7.2.2 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/Gemfile.lock +2 -2
  4. data/README.md +1 -1
  5. data/docs/HistoricalApi.md +12 -12
  6. data/docs/{HistoricalAggregateResponse.md → HistoricalStatsAggregatedResponse.md} +1 -1
  7. data/docs/{HistoricalAggregateResponseAllOf.md → HistoricalStatsAggregatedResponseAllOf.md} +1 -1
  8. data/docs/{HistoricalResponse.md → HistoricalStatsByServiceResponse.md} +1 -1
  9. data/docs/{HistoricalResponseDataField.md → HistoricalStatsByServiceResponseAllOf.md} +1 -1
  10. data/docs/{HistoricalFieldResponse.md → HistoricalUsageAggregatedResponse.md} +2 -2
  11. data/docs/{HistoricalFieldResponseDataField.md → HistoricalUsageAggregatedResponseAllOf.md} +2 -2
  12. data/docs/{HistoricalUsageResults.md → HistoricalUsageData.md} +1 -1
  13. data/docs/HistoricalUsageMonthResponseData.md +2 -2
  14. data/docs/{HistoricalService.md → HistoricalUsageService.md} +1 -1
  15. data/docs/HistoricalUsageServiceResponse.md +1 -1
  16. data/docs/HistoricalUsageServiceResponseAllOf.md +1 -1
  17. data/docs/Results.md +2 -0
  18. data/lib/fastly/api/historical_api.rb +18 -18
  19. data/lib/fastly/models/{historical_aggregate_response.rb → historical_stats_aggregated_response.rb} +4 -4
  20. data/lib/fastly/models/{historical_aggregate_response_all_of.rb → historical_stats_aggregated_response_all_of.rb} +3 -3
  21. data/lib/fastly/models/{historical_response.rb → historical_stats_by_service_response.rb} +4 -4
  22. data/lib/fastly/models/{historical_response_data_field.rb → historical_stats_by_service_response_all_of.rb} +3 -3
  23. data/lib/fastly/models/{historical_field_response.rb → historical_usage_aggregated_response.rb} +6 -5
  24. data/lib/fastly/models/{historical_field_response_data_field.rb → historical_usage_aggregated_response_all_of.rb} +5 -4
  25. data/lib/fastly/models/{historical_usage_results.rb → historical_usage_data.rb} +4 -3
  26. data/lib/fastly/models/historical_usage_month_response_data.rb +7 -3
  27. data/lib/fastly/models/{historical_service.rb → historical_usage_service.rb} +3 -3
  28. data/lib/fastly/models/historical_usage_service_response.rb +5 -2
  29. data/lib/fastly/models/historical_usage_service_response_all_of.rb +5 -2
  30. data/lib/fastly/models/relationship_mutual_authentication.rb +1 -1
  31. data/lib/fastly/models/relationship_tls_domain.rb +1 -1
  32. data/lib/fastly/models/results.rb +24 -5
  33. data/lib/fastly/version.rb +1 -1
  34. data/lib/fastly.rb +8 -14
  35. data/sig.json +1 -1
  36. metadata +18 -30
  37. data/docs/HistoricalFieldAggregateResponse.md +0 -13
  38. data/docs/HistoricalFieldAggregateResponseAllOf.md +0 -10
  39. data/docs/HistoricalFieldResultsAttributes.md +0 -236
  40. data/docs/HistoricalFieldResultsAttributesAdditional.md +0 -11
  41. data/docs/HistoricalUsageAggregateResponse.md +0 -13
  42. data/docs/ReadOnlyIdService.md +0 -9
  43. data/lib/fastly/models/historical_field_aggregate_response.rb +0 -256
  44. data/lib/fastly/models/historical_field_aggregate_response_all_of.rb +0 -218
  45. data/lib/fastly/models/historical_field_results_attributes.rb +0 -2484
  46. data/lib/fastly/models/historical_field_results_attributes_additional.rb +0 -225
  47. data/lib/fastly/models/historical_usage_aggregate_response.rb +0 -254
  48. data/lib/fastly/models/read_only_id_service.rb +0 -207
@@ -12,7 +12,8 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- class HistoricalFieldResponseDataField
15
+ class HistoricalUsageAggregatedResponseAllOf
16
+ # Organized by *region*.
16
17
  attr_accessor :data
17
18
 
18
19
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -30,7 +31,7 @@ module Fastly
30
31
  # Attribute type mapping.
31
32
  def self.fastly_types
32
33
  {
33
- :'data' => :'Hash<String, Array>'
34
+ :'data' => :'Hash<String, HistoricalUsageData>'
34
35
  }
35
36
  end
36
37
 
@@ -44,13 +45,13 @@ module Fastly
44
45
  # @param [Hash] attributes Model attributes in the form of hash
45
46
  def initialize(attributes = {})
46
47
  if (!attributes.is_a?(Hash))
47
- fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::HistoricalFieldResponseDataField` initialize method"
48
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::HistoricalUsageAggregatedResponseAllOf` initialize method"
48
49
  end
49
50
 
50
51
  # check to see if the attribute exists and convert string to symbol for hash key
51
52
  attributes = attributes.each_with_object({}) { |(k, v), h|
52
53
  if (!self.class.attribute_map.key?(k.to_sym))
53
- fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::HistoricalFieldResponseDataField`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
54
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::HistoricalUsageAggregatedResponseAllOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
54
55
  end
55
56
  h[k.to_sym] = v
56
57
  }
@@ -12,7 +12,8 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- class HistoricalUsageResults
15
+ # The results of usage related queries, grouped by service and/or region depending on endpoint, and aggregated over the appropriate time span.
16
+ class HistoricalUsageData
16
17
  attr_accessor :bandwidth
17
18
 
18
19
  attr_accessor :requests
@@ -52,13 +53,13 @@ module Fastly
52
53
  # @param [Hash] attributes Model attributes in the form of hash
53
54
  def initialize(attributes = {})
54
55
  if (!attributes.is_a?(Hash))
55
- fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::HistoricalUsageResults` initialize method"
56
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::HistoricalUsageData` initialize method"
56
57
  end
57
58
 
58
59
  # check to see if the attribute exists and convert string to symbol for hash key
59
60
  attributes = attributes.each_with_object({}) { |(k, v), h|
60
61
  if (!self.class.attribute_map.key?(k.to_sym))
61
- fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::HistoricalUsageResults`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::HistoricalUsageData`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
63
  end
63
64
  h[k.to_sym] = v
64
65
  }
@@ -15,8 +15,10 @@ module Fastly
15
15
  class HistoricalUsageMonthResponseData
16
16
  attr_accessor :customer_id
17
17
 
18
+ # Organized by *service id*.
18
19
  attr_accessor :services
19
20
 
21
+ # Organized by *region*.
20
22
  attr_accessor :total
21
23
 
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -37,8 +39,8 @@ module Fastly
37
39
  def self.fastly_types
38
40
  {
39
41
  :'customer_id' => :'String',
40
- :'services' => :'Hash<String, HistoricalService>',
41
- :'total' => :'HistoricalUsageResults'
42
+ :'services' => :'Hash<String, HistoricalUsageService>',
43
+ :'total' => :'Hash<String, HistoricalUsageData>'
42
44
  }
43
45
  end
44
46
 
@@ -74,7 +76,9 @@ module Fastly
74
76
  end
75
77
 
76
78
  if attributes.key?(:'total')
77
- self.total = attributes[:'total']
79
+ if (value = attributes[:'total']).is_a?(Hash)
80
+ self.total = value
81
+ end
78
82
  end
79
83
  end
80
84
 
@@ -12,7 +12,7 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- class HistoricalService
15
+ class HistoricalUsageService
16
16
  # The name of the service.
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::HistoricalService` initialize method"
48
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::HistoricalUsageService` 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::HistoricalService`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
54
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::HistoricalUsageService`. 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
  }
@@ -21,6 +21,7 @@ module Fastly
21
21
  # If the query was not successful, this will provide a string that explains why.
22
22
  attr_accessor :msg
23
23
 
24
+ # Organized by *region*.
24
25
  attr_accessor :data
25
26
 
26
27
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -44,7 +45,7 @@ module Fastly
44
45
  :'status' => :'String',
45
46
  :'meta' => :'HistoricalMeta',
46
47
  :'msg' => :'String',
47
- :'data' => :'HistoricalUsageResults'
48
+ :'data' => :'Hash<String, Hash<String, HistoricalUsageData>>'
48
49
  }
49
50
  end
50
51
 
@@ -91,7 +92,9 @@ module Fastly
91
92
  end
92
93
 
93
94
  if attributes.key?(:'data')
94
- self.data = attributes[:'data']
95
+ if (value = attributes[:'data']).is_a?(Hash)
96
+ self.data = value
97
+ end
95
98
  end
96
99
  end
97
100
 
@@ -13,6 +13,7 @@ require 'time'
13
13
 
14
14
  module Fastly
15
15
  class HistoricalUsageServiceResponseAllOf
16
+ # Organized by *region*.
16
17
  attr_accessor :data
17
18
 
18
19
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -30,7 +31,7 @@ module Fastly
30
31
  # Attribute type mapping.
31
32
  def self.fastly_types
32
33
  {
33
- :'data' => :'HistoricalUsageResults'
34
+ :'data' => :'Hash<String, Hash<String, HistoricalUsageData>>'
34
35
  }
35
36
  end
36
37
 
@@ -56,7 +57,9 @@ module Fastly
56
57
  }
57
58
 
58
59
  if attributes.key?(:'data')
59
- self.data = attributes[:'data']
60
+ if (value = attributes[:'data']).is_a?(Hash)
61
+ self.data = value
62
+ end
60
63
  end
61
64
  end
62
65
 
@@ -12,7 +12,7 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- # The [Mutual Authentication](/reference/api/tls/mutual-tls/authentication/) for client-to-server authentication. Optional.
15
+ # The Mutual Authentication for client-to-server authentication. Optional.
16
16
  class RelationshipMutualAuthentication
17
17
  attr_accessor :mutual_authentication
18
18
 
@@ -12,7 +12,7 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- # The [TLS domain](/reference/api/tls/custom-certs/domains/) being enabled for TLS traffic. Required.
15
+ # The TLS domain being enabled for TLS traffic. Required.
16
16
  class RelationshipTlsDomain
17
17
  attr_accessor :tls_domain
18
18
 
@@ -12,7 +12,7 @@ require 'date'
12
12
  require 'time'
13
13
 
14
14
  module Fastly
15
- # The [results](#results-data-model) of the query, grouped by service (and optionally, region), and aggregated over the appropriate time span.
15
+ # The results of stats queries, may be grouped by service depending on endpoint, and aggregated over the appropriate time span.
16
16
  class Results
17
17
  # Number of requests processed.
18
18
  attr_accessor :requests
@@ -689,6 +689,11 @@ module Fastly
689
689
  # The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution.
690
690
  attr_accessor :bot_challenges_failed
691
691
 
692
+ attr_accessor :service_id
693
+
694
+ # Timestamp for the start of the time period being reported
695
+ attr_accessor :start_time
696
+
692
697
  # Attribute mapping from ruby-style variable name to JSON key.
693
698
  def self.attribute_map
694
699
  {
@@ -916,7 +921,9 @@ module Fastly
916
921
  :'bot_challenge_complete_tokens_issued' => :'bot_challenge_complete_tokens_issued',
917
922
  :'bot_challenges_issued' => :'bot_challenges_issued',
918
923
  :'bot_challenges_succeeded' => :'bot_challenges_succeeded',
919
- :'bot_challenges_failed' => :'bot_challenges_failed'
924
+ :'bot_challenges_failed' => :'bot_challenges_failed',
925
+ :'service_id' => :'service_id',
926
+ :'start_time' => :'start_time'
920
927
  }
921
928
  end
922
929
 
@@ -1152,7 +1159,9 @@ module Fastly
1152
1159
  :'bot_challenge_complete_tokens_issued' => :'Integer',
1153
1160
  :'bot_challenges_issued' => :'Integer',
1154
1161
  :'bot_challenges_succeeded' => :'Integer',
1155
- :'bot_challenges_failed' => :'Integer'
1162
+ :'bot_challenges_failed' => :'Integer',
1163
+ :'service_id' => :'String',
1164
+ :'start_time' => :'Integer'
1156
1165
  }
1157
1166
  end
1158
1167
 
@@ -2077,6 +2086,14 @@ module Fastly
2077
2086
  if attributes.key?(:'bot_challenges_failed')
2078
2087
  self.bot_challenges_failed = attributes[:'bot_challenges_failed']
2079
2088
  end
2089
+
2090
+ if attributes.key?(:'service_id')
2091
+ self.service_id = attributes[:'service_id']
2092
+ end
2093
+
2094
+ if attributes.key?(:'start_time')
2095
+ self.start_time = attributes[:'start_time']
2096
+ end
2080
2097
  end
2081
2098
 
2082
2099
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -2321,7 +2338,9 @@ module Fastly
2321
2338
  bot_challenge_complete_tokens_issued == o.bot_challenge_complete_tokens_issued &&
2322
2339
  bot_challenges_issued == o.bot_challenges_issued &&
2323
2340
  bot_challenges_succeeded == o.bot_challenges_succeeded &&
2324
- bot_challenges_failed == o.bot_challenges_failed
2341
+ bot_challenges_failed == o.bot_challenges_failed &&
2342
+ service_id == o.service_id &&
2343
+ start_time == o.start_time
2325
2344
  end
2326
2345
 
2327
2346
  # @see the `==` method
@@ -2333,7 +2352,7 @@ module Fastly
2333
2352
  # Calculates hash code according to all attributes.
2334
2353
  # @return [Integer] Hash code
2335
2354
  def hash
2336
- [requests, hits, hits_time, miss, miss_time, pass, pass_time, errors, restarts, hit_ratio, bandwidth, body_size, header_size, req_body_bytes, req_header_bytes, resp_body_bytes, resp_header_bytes, bereq_body_bytes, bereq_header_bytes, uncacheable, pipe, synth, tls, tls_v10, tls_v11, tls_v12, tls_v13, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, origin_revalidations, origin_cache_fetches, shield, shield_resp_body_bytes, shield_resp_header_bytes, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, shield_revalidations, shield_cache_fetches, ipv6, otfp, otfp_resp_body_bytes, otfp_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_manifests, otfp_deliver_time, otfp_shield_time, video, pci, log, log_bytes, http2, http3, waf_logged, waf_blocked, waf_passed, attack_req_body_bytes, attack_req_header_bytes, attack_logged_req_body_bytes, attack_logged_req_header_bytes, attack_blocked_req_body_bytes, attack_blocked_req_header_bytes, attack_passed_req_body_bytes, attack_passed_req_header_bytes, attack_resp_synth_bytes, imgopto, imgopto_resp_body_bytes, imgopto_resp_header_bytes, imgopto_shield_resp_body_bytes, imgopto_shield_resp_header_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, tls_handshake_sent_bytes, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_requests, compute_request_time_ms, compute_request_time_billed_ms, compute_ram_used, compute_execution_time_ms, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_resp_body_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenge_complete_tokens_issued, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed].hash
2355
+ [requests, hits, hits_time, miss, miss_time, pass, pass_time, errors, restarts, hit_ratio, bandwidth, body_size, header_size, req_body_bytes, req_header_bytes, resp_body_bytes, resp_header_bytes, bereq_body_bytes, bereq_header_bytes, uncacheable, pipe, synth, tls, tls_v10, tls_v11, tls_v12, tls_v13, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, origin_revalidations, origin_cache_fetches, shield, shield_resp_body_bytes, shield_resp_header_bytes, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, shield_revalidations, shield_cache_fetches, ipv6, otfp, otfp_resp_body_bytes, otfp_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_manifests, otfp_deliver_time, otfp_shield_time, video, pci, log, log_bytes, http2, http3, waf_logged, waf_blocked, waf_passed, attack_req_body_bytes, attack_req_header_bytes, attack_logged_req_body_bytes, attack_logged_req_header_bytes, attack_blocked_req_body_bytes, attack_blocked_req_header_bytes, attack_passed_req_body_bytes, attack_passed_req_header_bytes, attack_resp_synth_bytes, imgopto, imgopto_resp_body_bytes, imgopto_resp_header_bytes, imgopto_shield_resp_body_bytes, imgopto_shield_resp_header_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, tls_handshake_sent_bytes, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_requests, compute_request_time_ms, compute_request_time_billed_ms, compute_ram_used, compute_execution_time_ms, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_resp_body_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenge_complete_tokens_issued, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, service_id, start_time].hash
2337
2356
  end
2338
2357
 
2339
2358
  # Builds the object from hash
@@ -9,5 +9,5 @@ Contact: oss@fastly.com
9
9
  =end
10
10
 
11
11
  module Fastly
12
- VERSION = '7.2.2'
12
+ VERSION = '8.0.0'
13
13
  end
data/lib/fastly.rb CHANGED
@@ -119,8 +119,6 @@ require 'fastly/models/header_response_additional'
119
119
  require 'fastly/models/healthcheck'
120
120
  require 'fastly/models/healthcheck_response'
121
121
  require 'fastly/models/historical'
122
- require 'fastly/models/historical_aggregate_response'
123
- require 'fastly/models/historical_aggregate_response_all_of'
124
122
  require 'fastly/models/historical_ddos'
125
123
  require 'fastly/models/historical_ddos_meta'
126
124
  require 'fastly/models/historical_domains'
@@ -129,25 +127,22 @@ require 'fastly/models/historical_domains_meta'
129
127
  require 'fastly/models/historical_domains_meta_filters'
130
128
  require 'fastly/models/historical_domains_response'
131
129
  require 'fastly/models/historical_domains_response_all_of'
132
- require 'fastly/models/historical_field_aggregate_response'
133
- require 'fastly/models/historical_field_aggregate_response_all_of'
134
- require 'fastly/models/historical_field_response'
135
- require 'fastly/models/historical_field_response_data_field'
136
- require 'fastly/models/historical_field_results_attributes'
137
- require 'fastly/models/historical_field_results_attributes_additional'
138
130
  require 'fastly/models/historical_meta'
139
131
  require 'fastly/models/historical_origins_response'
140
132
  require 'fastly/models/historical_origins_response_all_of'
141
133
  require 'fastly/models/historical_regions_response'
142
134
  require 'fastly/models/historical_regions_response_all_of'
143
- require 'fastly/models/historical_response'
144
- require 'fastly/models/historical_response_data_field'
145
- require 'fastly/models/historical_service'
146
- require 'fastly/models/historical_usage_aggregate_response'
135
+ require 'fastly/models/historical_stats_aggregated_response'
136
+ require 'fastly/models/historical_stats_aggregated_response_all_of'
137
+ require 'fastly/models/historical_stats_by_service_response'
138
+ require 'fastly/models/historical_stats_by_service_response_all_of'
139
+ require 'fastly/models/historical_usage_aggregated_response'
140
+ require 'fastly/models/historical_usage_aggregated_response_all_of'
141
+ require 'fastly/models/historical_usage_data'
147
142
  require 'fastly/models/historical_usage_month_response'
148
143
  require 'fastly/models/historical_usage_month_response_all_of'
149
144
  require 'fastly/models/historical_usage_month_response_data'
150
- require 'fastly/models/historical_usage_results'
145
+ require 'fastly/models/historical_usage_service'
151
146
  require 'fastly/models/historical_usage_service_response'
152
147
  require 'fastly/models/historical_usage_service_response_all_of'
153
148
  require 'fastly/models/http3'
@@ -324,7 +319,6 @@ require 'fastly/models/rate_limiter_response'
324
319
  require 'fastly/models/rate_limiter_response_all_of'
325
320
  require 'fastly/models/read_only_customer_id'
326
321
  require 'fastly/models/read_only_id'
327
- require 'fastly/models/read_only_id_service'
328
322
  require 'fastly/models/read_only_service_id'
329
323
  require 'fastly/models/read_only_user_id'
330
324
  require 'fastly/models/read_only_version'
data/sig.json CHANGED
@@ -1 +1 @@
1
- {"G": "5c91b697", "D": "e1e39f1b"}
1
+ {"G": "4ae2b660", "D": "2452c3f1"}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastly
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.2.2
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fastly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-07 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -185,8 +185,6 @@ files:
185
185
  - docs/HealthcheckApi.md
186
186
  - docs/HealthcheckResponse.md
187
187
  - docs/Historical.md
188
- - docs/HistoricalAggregateResponse.md
189
- - docs/HistoricalAggregateResponseAllOf.md
190
188
  - docs/HistoricalApi.md
191
189
  - docs/HistoricalDdos.md
192
190
  - docs/HistoricalDdosMeta.md
@@ -196,25 +194,22 @@ files:
196
194
  - docs/HistoricalDomainsMetaFilters.md
197
195
  - docs/HistoricalDomainsResponse.md
198
196
  - docs/HistoricalDomainsResponseAllOf.md
199
- - docs/HistoricalFieldAggregateResponse.md
200
- - docs/HistoricalFieldAggregateResponseAllOf.md
201
- - docs/HistoricalFieldResponse.md
202
- - docs/HistoricalFieldResponseDataField.md
203
- - docs/HistoricalFieldResultsAttributes.md
204
- - docs/HistoricalFieldResultsAttributesAdditional.md
205
197
  - docs/HistoricalMeta.md
206
198
  - docs/HistoricalOriginsResponse.md
207
199
  - docs/HistoricalOriginsResponseAllOf.md
208
200
  - docs/HistoricalRegionsResponse.md
209
201
  - docs/HistoricalRegionsResponseAllOf.md
210
- - docs/HistoricalResponse.md
211
- - docs/HistoricalResponseDataField.md
212
- - docs/HistoricalService.md
213
- - docs/HistoricalUsageAggregateResponse.md
202
+ - docs/HistoricalStatsAggregatedResponse.md
203
+ - docs/HistoricalStatsAggregatedResponseAllOf.md
204
+ - docs/HistoricalStatsByServiceResponse.md
205
+ - docs/HistoricalStatsByServiceResponseAllOf.md
206
+ - docs/HistoricalUsageAggregatedResponse.md
207
+ - docs/HistoricalUsageAggregatedResponseAllOf.md
208
+ - docs/HistoricalUsageData.md
214
209
  - docs/HistoricalUsageMonthResponse.md
215
210
  - docs/HistoricalUsageMonthResponseAllOf.md
216
211
  - docs/HistoricalUsageMonthResponseData.md
217
- - docs/HistoricalUsageResults.md
212
+ - docs/HistoricalUsageService.md
218
213
  - docs/HistoricalUsageServiceResponse.md
219
214
  - docs/HistoricalUsageServiceResponseAllOf.md
220
215
  - docs/Http3.md
@@ -444,7 +439,6 @@ files:
444
439
  - docs/RateLimiterResponseAllOf.md
445
440
  - docs/ReadOnlyCustomerId.md
446
441
  - docs/ReadOnlyId.md
447
- - docs/ReadOnlyIdService.md
448
442
  - docs/ReadOnlyServiceId.md
449
443
  - docs/ReadOnlyUserId.md
450
444
  - docs/ReadOnlyVersion.md
@@ -1068,8 +1062,6 @@ files:
1068
1062
  - lib/fastly/models/healthcheck.rb
1069
1063
  - lib/fastly/models/healthcheck_response.rb
1070
1064
  - lib/fastly/models/historical.rb
1071
- - lib/fastly/models/historical_aggregate_response.rb
1072
- - lib/fastly/models/historical_aggregate_response_all_of.rb
1073
1065
  - lib/fastly/models/historical_ddos.rb
1074
1066
  - lib/fastly/models/historical_ddos_meta.rb
1075
1067
  - lib/fastly/models/historical_domains.rb
@@ -1078,25 +1070,22 @@ files:
1078
1070
  - lib/fastly/models/historical_domains_meta_filters.rb
1079
1071
  - lib/fastly/models/historical_domains_response.rb
1080
1072
  - lib/fastly/models/historical_domains_response_all_of.rb
1081
- - lib/fastly/models/historical_field_aggregate_response.rb
1082
- - lib/fastly/models/historical_field_aggregate_response_all_of.rb
1083
- - lib/fastly/models/historical_field_response.rb
1084
- - lib/fastly/models/historical_field_response_data_field.rb
1085
- - lib/fastly/models/historical_field_results_attributes.rb
1086
- - lib/fastly/models/historical_field_results_attributes_additional.rb
1087
1073
  - lib/fastly/models/historical_meta.rb
1088
1074
  - lib/fastly/models/historical_origins_response.rb
1089
1075
  - lib/fastly/models/historical_origins_response_all_of.rb
1090
1076
  - lib/fastly/models/historical_regions_response.rb
1091
1077
  - lib/fastly/models/historical_regions_response_all_of.rb
1092
- - lib/fastly/models/historical_response.rb
1093
- - lib/fastly/models/historical_response_data_field.rb
1094
- - lib/fastly/models/historical_service.rb
1095
- - lib/fastly/models/historical_usage_aggregate_response.rb
1078
+ - lib/fastly/models/historical_stats_aggregated_response.rb
1079
+ - lib/fastly/models/historical_stats_aggregated_response_all_of.rb
1080
+ - lib/fastly/models/historical_stats_by_service_response.rb
1081
+ - lib/fastly/models/historical_stats_by_service_response_all_of.rb
1082
+ - lib/fastly/models/historical_usage_aggregated_response.rb
1083
+ - lib/fastly/models/historical_usage_aggregated_response_all_of.rb
1084
+ - lib/fastly/models/historical_usage_data.rb
1096
1085
  - lib/fastly/models/historical_usage_month_response.rb
1097
1086
  - lib/fastly/models/historical_usage_month_response_all_of.rb
1098
1087
  - lib/fastly/models/historical_usage_month_response_data.rb
1099
- - lib/fastly/models/historical_usage_results.rb
1088
+ - lib/fastly/models/historical_usage_service.rb
1100
1089
  - lib/fastly/models/historical_usage_service_response.rb
1101
1090
  - lib/fastly/models/historical_usage_service_response_all_of.rb
1102
1091
  - lib/fastly/models/http3.rb
@@ -1273,7 +1262,6 @@ files:
1273
1262
  - lib/fastly/models/rate_limiter_response_all_of.rb
1274
1263
  - lib/fastly/models/read_only_customer_id.rb
1275
1264
  - lib/fastly/models/read_only_id.rb
1276
- - lib/fastly/models/read_only_id_service.rb
1277
1265
  - lib/fastly/models/read_only_service_id.rb
1278
1266
  - lib/fastly/models/read_only_user_id.rb
1279
1267
  - lib/fastly/models/read_only_version.rb
@@ -1,13 +0,0 @@
1
- # Fastly::HistoricalFieldAggregateResponse
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **status** | **String** | Whether or not we were able to successfully execute the query. | [optional] |
8
- | **meta** | [**HistoricalMeta**](HistoricalMeta.md) | | [optional] |
9
- | **msg** | **String** | If the query was not successful, this will provide a string that explains why. | [optional] |
10
- | **data** | [**Array&lt;HistoricalFieldResultsAttributes&gt;**](HistoricalFieldResultsAttributes.md) | | [optional] |
11
-
12
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13
-
@@ -1,10 +0,0 @@
1
- # Fastly::HistoricalFieldAggregateResponseAllOf
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array&lt;HistoricalFieldResultsAttributes&gt;**](HistoricalFieldResultsAttributes.md) | | [optional] |
8
-
9
- [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10
-