fastly 4.1.0 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +37 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +93 -11
  5. data/docs/Backend.md +1 -1
  6. data/docs/BackendApi.md +4 -4
  7. data/docs/BackendResponse.md +1 -1
  8. data/docs/DomainOwnershipsApi.md +47 -0
  9. data/docs/EnabledProductResponse.md +12 -0
  10. data/docs/EnabledProductResponseLinks.md +11 -0
  11. data/docs/{EnabledProductProduct.md → EnabledProductResponseProduct.md} +3 -3
  12. data/docs/EnabledProductResponseService.md +11 -0
  13. data/docs/EnabledProductsApi.md +7 -7
  14. data/docs/EventsApi.md +2 -0
  15. data/docs/HistoricalApi.md +10 -10
  16. data/docs/{EnabledProductLinks.md → InlineResponse2002.md} +2 -3
  17. data/docs/{GetStoresResponse.md → InlineResponse2003.md} +2 -2
  18. data/docs/{GetStoresResponseMeta.md → InlineResponse2003Meta.md} +1 -1
  19. data/docs/{KeyResponse.md → InlineResponse2004.md} +2 -2
  20. data/docs/{ResourceCreateAllOf.md → InlineResponse2004Meta.md} +3 -2
  21. data/docs/ObjectStoreApi.md +3 -166
  22. data/docs/ObjectStoreItemApi.md +177 -0
  23. data/docs/Pop.md +7 -4
  24. data/docs/PopCoordinates.md +2 -4
  25. data/docs/RealtimeMeasurements.md +10 -2
  26. data/docs/Resource.md +2 -1
  27. data/docs/ResourceApi.md +34 -32
  28. data/docs/ResourceResponse.md +3 -3
  29. data/docs/ResourceResponseAllOf.md +1 -1
  30. data/docs/Results.md +11 -3
  31. data/docs/TlsSubscriptionResponseAttributes.md +1 -1
  32. data/docs/TlsSubscriptionResponseAttributesAllOf.md +1 -1
  33. data/docs/TlsSubscriptionsApi.md +3 -3
  34. data/lib/fastly/api/backend_api.rb +4 -4
  35. data/lib/fastly/api/domain_ownerships_api.rb +76 -0
  36. data/lib/fastly/api/enabled_products_api.rb +12 -12
  37. data/lib/fastly/api/events_api.rb +3 -0
  38. data/lib/fastly/api/historical_api.rb +10 -10
  39. data/lib/fastly/api/object_store_api.rb +5 -289
  40. data/lib/fastly/api/object_store_item_api.rb +304 -0
  41. data/lib/fastly/api/purge_api.rb +2 -2
  42. data/lib/fastly/api/resource_api.rb +51 -48
  43. data/lib/fastly/api/tls_subscriptions_api.rb +4 -4
  44. data/lib/fastly/models/backend.rb +1 -1
  45. data/lib/fastly/models/backend_response.rb +1 -1
  46. data/lib/fastly/models/{enabled_product.rb → enabled_product_response.rb} +6 -6
  47. data/lib/fastly/models/{enabled_product_links.rb → enabled_product_response_links.rb} +5 -3
  48. data/lib/fastly/models/{enabled_product_product.rb → enabled_product_response_product.rb} +5 -3
  49. data/lib/fastly/models/enabled_product_response_service.rb +227 -0
  50. data/lib/fastly/models/{resource_create_all_of.rb → inline_response2002.rb} +11 -11
  51. data/lib/fastly/models/{get_stores_response.rb → inline_response2003.rb} +4 -4
  52. data/lib/fastly/models/{get_stores_response_meta.rb → inline_response2003_meta.rb} +3 -3
  53. data/lib/fastly/models/{key_response.rb → inline_response2004.rb} +4 -4
  54. data/lib/fastly/models/inline_response2004_meta.rb +225 -0
  55. data/lib/fastly/models/pop.rb +121 -1
  56. data/lib/fastly/models/pop_coordinates.rb +12 -19
  57. data/lib/fastly/models/realtime_measurements.rb +86 -6
  58. data/lib/fastly/models/resource.rb +12 -2
  59. data/lib/fastly/models/resource_response.rb +23 -23
  60. data/lib/fastly/models/resource_response_all_of.rb +1 -1
  61. data/lib/fastly/models/results.rb +87 -7
  62. data/lib/fastly/models/tls_subscription_response_attributes.rb +2 -2
  63. data/lib/fastly/models/tls_subscription_response_attributes_all_of.rb +2 -2
  64. data/lib/fastly/models/type_resource.rb +2 -0
  65. data/lib/fastly/version.rb +1 -1
  66. data/lib/fastly.rb +11 -8
  67. data/sig.json +1 -1
  68. metadata +24 -18
  69. data/docs/EnabledProduct.md +0 -12
  70. data/docs/ResourceCreate.md +0 -11
  71. data/lib/fastly/models/resource_create.rb +0 -235
@@ -608,10 +608,16 @@ module Fastly
608
608
  # Total published messages sent to end users.
609
609
  attr_accessor :fanout_send_publishes
610
610
 
611
- # The total number of reads received for the object store.
611
+ # The total number of class a operations for the object store.
612
+ attr_accessor :object_store_class_a_operations
613
+
614
+ # The total number of class b operations for the object store.
615
+ attr_accessor :object_store_class_b_operations
616
+
617
+ # Use object_store_class_b_operations.
612
618
  attr_accessor :object_store_read_requests
613
619
 
614
- # The total number of writes received for the object store.
620
+ # Use object_store_class_a_operations.
615
621
  attr_accessor :object_store_write_requests
616
622
 
617
623
  # Total header bytes received from end users over Fanout connections.
@@ -641,6 +647,24 @@ module Fastly
641
647
  # Total duration of Fanout connections with end users.
642
648
  attr_accessor :fanout_conn_time_ms
643
649
 
650
+ # For HTTP/2, the number of connections the limit-streams action was applied to. The limit-streams action caps the allowed number of concurrent streams in a connection.
651
+ attr_accessor :ddos_action_limit_streams_connections
652
+
653
+ # For HTTP/2, the number of requests made on a connection for which the limit-streams action was taken. The limit-streams action caps the allowed number of concurrent streams in a connection.
654
+ attr_accessor :ddos_action_limit_streams_requests
655
+
656
+ # The number of times the tarpit-accept action was taken. The tarpit-accept action adds a delay when accepting future connections.
657
+ attr_accessor :ddos_action_tarpit_accept
658
+
659
+ # The number of times the tarpit action was taken. The tarpit action delays writing the response to the client.
660
+ attr_accessor :ddos_action_tarpit
661
+
662
+ # The number of times the close action was taken. The close action aborts the connection as soon as possible. The close action takes effect either right after accept, right after the client hello, or right after the response was sent.
663
+ attr_accessor :ddos_action_close
664
+
665
+ # The number of times the blackhole action was taken. The blackhole action quietly closes a TCP connection without sending a reset. The blackhole action quietly closes a TCP connection without notifying its peer (all TCP state is dropped).
666
+ attr_accessor :ddos_action_blackhole
667
+
644
668
  # Attribute mapping from ruby-style variable name to JSON key.
645
669
  def self.attribute_map
646
670
  {
@@ -842,6 +866,8 @@ module Fastly
842
866
  :'websocket_resp_body_bytes' => :'websocket_resp_body_bytes',
843
867
  :'fanout_recv_publishes' => :'fanout_recv_publishes',
844
868
  :'fanout_send_publishes' => :'fanout_send_publishes',
869
+ :'object_store_class_a_operations' => :'object_store_class_a_operations',
870
+ :'object_store_class_b_operations' => :'object_store_class_b_operations',
845
871
  :'object_store_read_requests' => :'object_store_read_requests',
846
872
  :'object_store_write_requests' => :'object_store_write_requests',
847
873
  :'fanout_req_header_bytes' => :'fanout_req_header_bytes',
@@ -852,7 +878,13 @@ module Fastly
852
878
  :'fanout_bereq_body_bytes' => :'fanout_bereq_body_bytes',
853
879
  :'fanout_beresp_header_bytes' => :'fanout_beresp_header_bytes',
854
880
  :'fanout_beresp_body_bytes' => :'fanout_beresp_body_bytes',
855
- :'fanout_conn_time_ms' => :'fanout_conn_time_ms'
881
+ :'fanout_conn_time_ms' => :'fanout_conn_time_ms',
882
+ :'ddos_action_limit_streams_connections' => :'ddos_action_limit_streams_connections',
883
+ :'ddos_action_limit_streams_requests' => :'ddos_action_limit_streams_requests',
884
+ :'ddos_action_tarpit_accept' => :'ddos_action_tarpit_accept',
885
+ :'ddos_action_tarpit' => :'ddos_action_tarpit',
886
+ :'ddos_action_close' => :'ddos_action_close',
887
+ :'ddos_action_blackhole' => :'ddos_action_blackhole'
856
888
  }
857
889
  end
858
890
 
@@ -1062,6 +1094,8 @@ module Fastly
1062
1094
  :'websocket_resp_body_bytes' => :'Integer',
1063
1095
  :'fanout_recv_publishes' => :'Integer',
1064
1096
  :'fanout_send_publishes' => :'Integer',
1097
+ :'object_store_class_a_operations' => :'Integer',
1098
+ :'object_store_class_b_operations' => :'Integer',
1065
1099
  :'object_store_read_requests' => :'Integer',
1066
1100
  :'object_store_write_requests' => :'Integer',
1067
1101
  :'fanout_req_header_bytes' => :'Integer',
@@ -1072,7 +1106,13 @@ module Fastly
1072
1106
  :'fanout_bereq_body_bytes' => :'Integer',
1073
1107
  :'fanout_beresp_header_bytes' => :'Integer',
1074
1108
  :'fanout_beresp_body_bytes' => :'Integer',
1075
- :'fanout_conn_time_ms' => :'Integer'
1109
+ :'fanout_conn_time_ms' => :'Integer',
1110
+ :'ddos_action_limit_streams_connections' => :'Integer',
1111
+ :'ddos_action_limit_streams_requests' => :'Integer',
1112
+ :'ddos_action_tarpit_accept' => :'Integer',
1113
+ :'ddos_action_tarpit' => :'Integer',
1114
+ :'ddos_action_close' => :'Integer',
1115
+ :'ddos_action_blackhole' => :'Integer'
1076
1116
  }
1077
1117
  end
1078
1118
 
@@ -1889,6 +1929,14 @@ module Fastly
1889
1929
  self.fanout_send_publishes = attributes[:'fanout_send_publishes']
1890
1930
  end
1891
1931
 
1932
+ if attributes.key?(:'object_store_class_a_operations')
1933
+ self.object_store_class_a_operations = attributes[:'object_store_class_a_operations']
1934
+ end
1935
+
1936
+ if attributes.key?(:'object_store_class_b_operations')
1937
+ self.object_store_class_b_operations = attributes[:'object_store_class_b_operations']
1938
+ end
1939
+
1892
1940
  if attributes.key?(:'object_store_read_requests')
1893
1941
  self.object_store_read_requests = attributes[:'object_store_read_requests']
1894
1942
  end
@@ -1932,6 +1980,30 @@ module Fastly
1932
1980
  if attributes.key?(:'fanout_conn_time_ms')
1933
1981
  self.fanout_conn_time_ms = attributes[:'fanout_conn_time_ms']
1934
1982
  end
1983
+
1984
+ if attributes.key?(:'ddos_action_limit_streams_connections')
1985
+ self.ddos_action_limit_streams_connections = attributes[:'ddos_action_limit_streams_connections']
1986
+ end
1987
+
1988
+ if attributes.key?(:'ddos_action_limit_streams_requests')
1989
+ self.ddos_action_limit_streams_requests = attributes[:'ddos_action_limit_streams_requests']
1990
+ end
1991
+
1992
+ if attributes.key?(:'ddos_action_tarpit_accept')
1993
+ self.ddos_action_tarpit_accept = attributes[:'ddos_action_tarpit_accept']
1994
+ end
1995
+
1996
+ if attributes.key?(:'ddos_action_tarpit')
1997
+ self.ddos_action_tarpit = attributes[:'ddos_action_tarpit']
1998
+ end
1999
+
2000
+ if attributes.key?(:'ddos_action_close')
2001
+ self.ddos_action_close = attributes[:'ddos_action_close']
2002
+ end
2003
+
2004
+ if attributes.key?(:'ddos_action_blackhole')
2005
+ self.ddos_action_blackhole = attributes[:'ddos_action_blackhole']
2006
+ end
1935
2007
  end
1936
2008
 
1937
2009
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -2150,6 +2222,8 @@ module Fastly
2150
2222
  websocket_resp_body_bytes == o.websocket_resp_body_bytes &&
2151
2223
  fanout_recv_publishes == o.fanout_recv_publishes &&
2152
2224
  fanout_send_publishes == o.fanout_send_publishes &&
2225
+ object_store_class_a_operations == o.object_store_class_a_operations &&
2226
+ object_store_class_b_operations == o.object_store_class_b_operations &&
2153
2227
  object_store_read_requests == o.object_store_read_requests &&
2154
2228
  object_store_write_requests == o.object_store_write_requests &&
2155
2229
  fanout_req_header_bytes == o.fanout_req_header_bytes &&
@@ -2160,7 +2234,13 @@ module Fastly
2160
2234
  fanout_bereq_body_bytes == o.fanout_bereq_body_bytes &&
2161
2235
  fanout_beresp_header_bytes == o.fanout_beresp_header_bytes &&
2162
2236
  fanout_beresp_body_bytes == o.fanout_beresp_body_bytes &&
2163
- fanout_conn_time_ms == o.fanout_conn_time_ms
2237
+ fanout_conn_time_ms == o.fanout_conn_time_ms &&
2238
+ ddos_action_limit_streams_connections == o.ddos_action_limit_streams_connections &&
2239
+ ddos_action_limit_streams_requests == o.ddos_action_limit_streams_requests &&
2240
+ ddos_action_tarpit_accept == o.ddos_action_tarpit_accept &&
2241
+ ddos_action_tarpit == o.ddos_action_tarpit &&
2242
+ ddos_action_close == o.ddos_action_close &&
2243
+ ddos_action_blackhole == o.ddos_action_blackhole
2164
2244
  end
2165
2245
 
2166
2246
  # @see the `==` method
@@ -2172,7 +2252,7 @@ module Fastly
2172
2252
  # Calculates hash code according to all attributes.
2173
2253
  # @return [Integer] Hash code
2174
2254
  def hash
2175
- [requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, 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, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, 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, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, 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_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, object_store_read_requests, object_store_write_requests, 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].hash
2255
+ [requests, logging, log, resp_header_bytes, header_size, resp_body_bytes, body_size, hits, miss, pass, synth, errors, hits_time, miss_time, miss_histogram, compute_requests, compute_execution_time_ms, compute_ram_used, compute_request_time_ms, shield, ipv6, imgopto, imgopto_shield, imgopto_transforms, otfp, otfp_shield, otfp_manifests, video, pci, http2, http3, restarts, req_header_bytes, req_body_bytes, bereq_header_bytes, bereq_body_bytes, waf_blocked, waf_logged, waf_passed, attack_req_header_bytes, attack_req_body_bytes, attack_resp_synth_bytes, attack_logged_req_header_bytes, attack_logged_req_body_bytes, attack_blocked_req_header_bytes, attack_blocked_req_body_bytes, attack_passed_req_header_bytes, attack_passed_req_body_bytes, shield_resp_header_bytes, shield_resp_body_bytes, otfp_resp_header_bytes, otfp_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_time, otfp_deliver_time, imgopto_resp_header_bytes, imgopto_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_shield_resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, 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, uncacheable, pass_time, tls, tls_v10, tls_v11, tls_v12, tls_v13, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, object_size_other, 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, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, log_bytes, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, origin_revalidations, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, shield_revalidations, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, edge_hit_requests, edge_miss_requests, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, origin_cache_fetches, shield_cache_fetches, 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_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, websocket_resp_body_bytes, fanout_recv_publishes, fanout_send_publishes, object_store_class_a_operations, object_store_class_b_operations, object_store_read_requests, object_store_write_requests, 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].hash
2176
2256
  end
2177
2257
 
2178
2258
  # Builds the object from hash
@@ -13,12 +13,16 @@ require 'time'
13
13
 
14
14
  module Fastly
15
15
  class Resource
16
- # The name of the resource.
16
+ # The ID of the underlying linked resource.
17
+ attr_accessor :resource_id
18
+
19
+ # The name of the resource link.
17
20
  attr_accessor :name
18
21
 
19
22
  # Attribute mapping from ruby-style variable name to JSON key.
20
23
  def self.attribute_map
21
24
  {
25
+ :'resource_id' => :'resource_id',
22
26
  :'name' => :'name'
23
27
  }
24
28
  end
@@ -31,6 +35,7 @@ module Fastly
31
35
  # Attribute type mapping.
32
36
  def self.fastly_types
33
37
  {
38
+ :'resource_id' => :'String',
34
39
  :'name' => :'String'
35
40
  }
36
41
  end
@@ -56,6 +61,10 @@ module Fastly
56
61
  h[k.to_sym] = v
57
62
  }
58
63
 
64
+ if attributes.key?(:'resource_id')
65
+ self.resource_id = attributes[:'resource_id']
66
+ end
67
+
59
68
  if attributes.key?(:'name')
60
69
  self.name = attributes[:'name']
61
70
  end
@@ -79,6 +88,7 @@ module Fastly
79
88
  def ==(o)
80
89
  return true if self.equal?(o)
81
90
  self.class == o.class &&
91
+ resource_id == o.resource_id &&
82
92
  name == o.name
83
93
  end
84
94
 
@@ -91,7 +101,7 @@ module Fastly
91
101
  # Calculates hash code according to all attributes.
92
102
  # @return [Integer] Hash code
93
103
  def hash
94
- [name].hash
104
+ [resource_id, name].hash
95
105
  end
96
106
 
97
107
  # Builds the object from hash
@@ -13,6 +13,12 @@ require 'time'
13
13
 
14
14
  module Fastly
15
15
  class ResourceResponse
16
+ # The ID of the underlying linked resource.
17
+ attr_accessor :resource_id
18
+
19
+ # The name of the resource link.
20
+ attr_accessor :name
21
+
16
22
  # Date and time in ISO 8601 format.
17
23
  attr_accessor :created_at
18
24
 
@@ -22,13 +28,7 @@ module Fastly
22
28
  # Date and time in ISO 8601 format.
23
29
  attr_accessor :updated_at
24
30
 
25
- # The name of the resource.
26
- attr_accessor :name
27
-
28
- # The ID of the linked resource.
29
- attr_accessor :resource_id
30
-
31
- # An alphanumeric string identifying the resource.
31
+ # An alphanumeric string identifying the resource link.
32
32
  attr_accessor :id
33
33
 
34
34
  # The path to the resource.
@@ -45,11 +45,11 @@ module Fastly
45
45
  # Attribute mapping from ruby-style variable name to JSON key.
46
46
  def self.attribute_map
47
47
  {
48
+ :'resource_id' => :'resource_id',
49
+ :'name' => :'name',
48
50
  :'created_at' => :'created_at',
49
51
  :'deleted_at' => :'deleted_at',
50
52
  :'updated_at' => :'updated_at',
51
- :'name' => :'name',
52
- :'resource_id' => :'resource_id',
53
53
  :'id' => :'id',
54
54
  :'href' => :'href',
55
55
  :'service_id' => :'service_id',
@@ -66,11 +66,11 @@ module Fastly
66
66
  # Attribute type mapping.
67
67
  def self.fastly_types
68
68
  {
69
+ :'resource_id' => :'String',
70
+ :'name' => :'String',
69
71
  :'created_at' => :'Time',
70
72
  :'deleted_at' => :'Time',
71
73
  :'updated_at' => :'Time',
72
- :'name' => :'String',
73
- :'resource_id' => :'String',
74
74
  :'id' => :'String',
75
75
  :'href' => :'String',
76
76
  :'service_id' => :'String',
@@ -91,7 +91,7 @@ module Fastly
91
91
  # List of class defined in allOf (OpenAPI v3)
92
92
  def self.fastly_all_of
93
93
  [
94
- :'ResourceCreate',
94
+ :'Resource',
95
95
  :'ResourceResponseAllOf',
96
96
  :'Timestamps'
97
97
  ]
@@ -112,6 +112,14 @@ module Fastly
112
112
  h[k.to_sym] = v
113
113
  }
114
114
 
115
+ if attributes.key?(:'resource_id')
116
+ self.resource_id = attributes[:'resource_id']
117
+ end
118
+
119
+ if attributes.key?(:'name')
120
+ self.name = attributes[:'name']
121
+ end
122
+
115
123
  if attributes.key?(:'created_at')
116
124
  self.created_at = attributes[:'created_at']
117
125
  end
@@ -124,14 +132,6 @@ module Fastly
124
132
  self.updated_at = attributes[:'updated_at']
125
133
  end
126
134
 
127
- if attributes.key?(:'name')
128
- self.name = attributes[:'name']
129
- end
130
-
131
- if attributes.key?(:'resource_id')
132
- self.resource_id = attributes[:'resource_id']
133
- end
134
-
135
135
  if attributes.key?(:'id')
136
136
  self.id = attributes[:'id']
137
137
  end
@@ -173,11 +173,11 @@ module Fastly
173
173
  def ==(o)
174
174
  return true if self.equal?(o)
175
175
  self.class == o.class &&
176
+ resource_id == o.resource_id &&
177
+ name == o.name &&
176
178
  created_at == o.created_at &&
177
179
  deleted_at == o.deleted_at &&
178
180
  updated_at == o.updated_at &&
179
- name == o.name &&
180
- resource_id == o.resource_id &&
181
181
  id == o.id &&
182
182
  href == o.href &&
183
183
  service_id == o.service_id &&
@@ -194,7 +194,7 @@ module Fastly
194
194
  # Calculates hash code according to all attributes.
195
195
  # @return [Integer] Hash code
196
196
  def hash
197
- [created_at, deleted_at, updated_at, name, resource_id, id, href, service_id, version, resource_type].hash
197
+ [resource_id, name, created_at, deleted_at, updated_at, id, href, service_id, version, resource_type].hash
198
198
  end
199
199
 
200
200
  # Builds the object from hash
@@ -13,7 +13,7 @@ require 'time'
13
13
 
14
14
  module Fastly
15
15
  class ResourceResponseAllOf
16
- # An alphanumeric string identifying the resource.
16
+ # An alphanumeric string identifying the resource link.
17
17
  attr_accessor :id
18
18
 
19
19
  # The path to the resource.
@@ -44,7 +44,7 @@ module Fastly
44
44
  # Ratio of cache hits to cache misses (between 0 and 1).
45
45
  attr_accessor :hit_ratio
46
46
 
47
- # Total bytes delivered (`resp_header_bytes` + `resp_body_bytes` + `bereq_header_bytes` + `bereq_body_bytes` + `compute_resp_header_bytes` + `compute_resp_body_bytes` + `compute_bereq_header_bytes` + `compute_bereq_body_bytes` + `websocket_resp_header_bytes` + `websocket_resp_body_bytes` + `websocket_bereq_header_bytes` + `websocket_bereq_body_bytes`).
47
+ # Total bytes delivered (`resp_header_bytes` + `resp_body_bytes` + `bereq_header_bytes` + `bereq_body_bytes` + `compute_resp_header_bytes` + `compute_resp_body_bytes` + `compute_bereq_header_bytes` + `compute_bereq_body_bytes` + `websocket_resp_header_bytes` + `websocket_resp_body_bytes` + `websocket_bereq_header_bytes` + `websocket_bereq_body_bytes` + `fanout_resp_header_bytes` + `fanout_resp_body_bytes` + `fanout_bereq_header_bytes` + `fanout_bereq_body_bytes`).
48
48
  attr_accessor :bandwidth
49
49
 
50
50
  # Total body bytes delivered (alias for resp_body_bytes).
@@ -602,10 +602,16 @@ module Fastly
602
602
  # Total published messages sent to end users.
603
603
  attr_accessor :fanout_send_publishes
604
604
 
605
- # The total number of reads received for the object store.
605
+ # The total number of class a operations for the object store.
606
+ attr_accessor :object_store_class_a_operations
607
+
608
+ # The total number of class b operations for the object store.
609
+ attr_accessor :object_store_class_b_operations
610
+
611
+ # Use object_store_class_b_operations.
606
612
  attr_accessor :object_store_read_requests
607
613
 
608
- # The total number of writes received for the object store.
614
+ # Use object_store_class_a_operations.
609
615
  attr_accessor :object_store_write_requests
610
616
 
611
617
  # Total header bytes received from end users over Fanout connections.
@@ -635,6 +641,24 @@ module Fastly
635
641
  # Total duration of Fanout connections with end users.
636
642
  attr_accessor :fanout_conn_time_ms
637
643
 
644
+ # For HTTP/2, the number of connections the limit-streams action was applied to. The limit-streams action caps the allowed number of concurrent streams in a connection.
645
+ attr_accessor :ddos_action_limit_streams_connections
646
+
647
+ # For HTTP/2, the number of requests made on a connection for which the limit-streams action was taken. The limit-streams action caps the allowed number of concurrent streams in a connection.
648
+ attr_accessor :ddos_action_limit_streams_requests
649
+
650
+ # The number of times the tarpit-accept action was taken. The tarpit-accept action adds a delay when accepting future connections.
651
+ attr_accessor :ddos_action_tarpit_accept
652
+
653
+ # The number of times the tarpit action was taken. The tarpit action delays writing the response to the client.
654
+ attr_accessor :ddos_action_tarpit
655
+
656
+ # The number of times the close action was taken. The close action aborts the connection as soon as possible. The close action takes effect either right after accept, right after the client hello, or right after the response was sent.
657
+ attr_accessor :ddos_action_close
658
+
659
+ # The number of times the blackhole action was taken. The blackhole action quietly closes a TCP connection without sending a reset. The blackhole action quietly closes a TCP connection without notifying its peer (all TCP state is dropped).
660
+ attr_accessor :ddos_action_blackhole
661
+
638
662
  # Attribute mapping from ruby-style variable name to JSON key.
639
663
  def self.attribute_map
640
664
  {
@@ -834,6 +858,8 @@ module Fastly
834
858
  :'websocket_conn_time_ms' => :'websocket_conn_time_ms',
835
859
  :'fanout_recv_publishes' => :'fanout_recv_publishes',
836
860
  :'fanout_send_publishes' => :'fanout_send_publishes',
861
+ :'object_store_class_a_operations' => :'object_store_class_a_operations',
862
+ :'object_store_class_b_operations' => :'object_store_class_b_operations',
837
863
  :'object_store_read_requests' => :'object_store_read_requests',
838
864
  :'object_store_write_requests' => :'object_store_write_requests',
839
865
  :'fanout_req_header_bytes' => :'fanout_req_header_bytes',
@@ -844,7 +870,13 @@ module Fastly
844
870
  :'fanout_bereq_body_bytes' => :'fanout_bereq_body_bytes',
845
871
  :'fanout_beresp_header_bytes' => :'fanout_beresp_header_bytes',
846
872
  :'fanout_beresp_body_bytes' => :'fanout_beresp_body_bytes',
847
- :'fanout_conn_time_ms' => :'fanout_conn_time_ms'
873
+ :'fanout_conn_time_ms' => :'fanout_conn_time_ms',
874
+ :'ddos_action_limit_streams_connections' => :'ddos_action_limit_streams_connections',
875
+ :'ddos_action_limit_streams_requests' => :'ddos_action_limit_streams_requests',
876
+ :'ddos_action_tarpit_accept' => :'ddos_action_tarpit_accept',
877
+ :'ddos_action_tarpit' => :'ddos_action_tarpit',
878
+ :'ddos_action_close' => :'ddos_action_close',
879
+ :'ddos_action_blackhole' => :'ddos_action_blackhole'
848
880
  }
849
881
  end
850
882
 
@@ -1052,6 +1084,8 @@ module Fastly
1052
1084
  :'websocket_conn_time_ms' => :'Integer',
1053
1085
  :'fanout_recv_publishes' => :'Integer',
1054
1086
  :'fanout_send_publishes' => :'Integer',
1087
+ :'object_store_class_a_operations' => :'Integer',
1088
+ :'object_store_class_b_operations' => :'Integer',
1055
1089
  :'object_store_read_requests' => :'Integer',
1056
1090
  :'object_store_write_requests' => :'Integer',
1057
1091
  :'fanout_req_header_bytes' => :'Integer',
@@ -1062,7 +1096,13 @@ module Fastly
1062
1096
  :'fanout_bereq_body_bytes' => :'Integer',
1063
1097
  :'fanout_beresp_header_bytes' => :'Integer',
1064
1098
  :'fanout_beresp_body_bytes' => :'Integer',
1065
- :'fanout_conn_time_ms' => :'Integer'
1099
+ :'fanout_conn_time_ms' => :'Integer',
1100
+ :'ddos_action_limit_streams_connections' => :'Integer',
1101
+ :'ddos_action_limit_streams_requests' => :'Integer',
1102
+ :'ddos_action_tarpit_accept' => :'Integer',
1103
+ :'ddos_action_tarpit' => :'Integer',
1104
+ :'ddos_action_close' => :'Integer',
1105
+ :'ddos_action_blackhole' => :'Integer'
1066
1106
  }
1067
1107
  end
1068
1108
 
@@ -1872,6 +1912,14 @@ module Fastly
1872
1912
  self.fanout_send_publishes = attributes[:'fanout_send_publishes']
1873
1913
  end
1874
1914
 
1915
+ if attributes.key?(:'object_store_class_a_operations')
1916
+ self.object_store_class_a_operations = attributes[:'object_store_class_a_operations']
1917
+ end
1918
+
1919
+ if attributes.key?(:'object_store_class_b_operations')
1920
+ self.object_store_class_b_operations = attributes[:'object_store_class_b_operations']
1921
+ end
1922
+
1875
1923
  if attributes.key?(:'object_store_read_requests')
1876
1924
  self.object_store_read_requests = attributes[:'object_store_read_requests']
1877
1925
  end
@@ -1915,6 +1963,30 @@ module Fastly
1915
1963
  if attributes.key?(:'fanout_conn_time_ms')
1916
1964
  self.fanout_conn_time_ms = attributes[:'fanout_conn_time_ms']
1917
1965
  end
1966
+
1967
+ if attributes.key?(:'ddos_action_limit_streams_connections')
1968
+ self.ddos_action_limit_streams_connections = attributes[:'ddos_action_limit_streams_connections']
1969
+ end
1970
+
1971
+ if attributes.key?(:'ddos_action_limit_streams_requests')
1972
+ self.ddos_action_limit_streams_requests = attributes[:'ddos_action_limit_streams_requests']
1973
+ end
1974
+
1975
+ if attributes.key?(:'ddos_action_tarpit_accept')
1976
+ self.ddos_action_tarpit_accept = attributes[:'ddos_action_tarpit_accept']
1977
+ end
1978
+
1979
+ if attributes.key?(:'ddos_action_tarpit')
1980
+ self.ddos_action_tarpit = attributes[:'ddos_action_tarpit']
1981
+ end
1982
+
1983
+ if attributes.key?(:'ddos_action_close')
1984
+ self.ddos_action_close = attributes[:'ddos_action_close']
1985
+ end
1986
+
1987
+ if attributes.key?(:'ddos_action_blackhole')
1988
+ self.ddos_action_blackhole = attributes[:'ddos_action_blackhole']
1989
+ end
1918
1990
  end
1919
1991
 
1920
1992
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -2131,6 +2203,8 @@ module Fastly
2131
2203
  websocket_conn_time_ms == o.websocket_conn_time_ms &&
2132
2204
  fanout_recv_publishes == o.fanout_recv_publishes &&
2133
2205
  fanout_send_publishes == o.fanout_send_publishes &&
2206
+ object_store_class_a_operations == o.object_store_class_a_operations &&
2207
+ object_store_class_b_operations == o.object_store_class_b_operations &&
2134
2208
  object_store_read_requests == o.object_store_read_requests &&
2135
2209
  object_store_write_requests == o.object_store_write_requests &&
2136
2210
  fanout_req_header_bytes == o.fanout_req_header_bytes &&
@@ -2141,7 +2215,13 @@ module Fastly
2141
2215
  fanout_bereq_body_bytes == o.fanout_bereq_body_bytes &&
2142
2216
  fanout_beresp_header_bytes == o.fanout_beresp_header_bytes &&
2143
2217
  fanout_beresp_body_bytes == o.fanout_beresp_body_bytes &&
2144
- fanout_conn_time_ms == o.fanout_conn_time_ms
2218
+ fanout_conn_time_ms == o.fanout_conn_time_ms &&
2219
+ ddos_action_limit_streams_connections == o.ddos_action_limit_streams_connections &&
2220
+ ddos_action_limit_streams_requests == o.ddos_action_limit_streams_requests &&
2221
+ ddos_action_tarpit_accept == o.ddos_action_tarpit_accept &&
2222
+ ddos_action_tarpit == o.ddos_action_tarpit &&
2223
+ ddos_action_close == o.ddos_action_close &&
2224
+ ddos_action_blackhole == o.ddos_action_blackhole
2145
2225
  end
2146
2226
 
2147
2227
  # @see the `==` method
@@ -2153,7 +2233,7 @@ module Fastly
2153
2233
  # Calculates hash code according to all attributes.
2154
2234
  # @return [Integer] Hash code
2155
2235
  def hash
2156
- [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_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, object_store_read_requests, object_store_write_requests, 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].hash
2236
+ [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_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, object_store_class_a_operations, object_store_class_b_operations, object_store_read_requests, object_store_write_requests, 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].hash
2157
2237
  end
2158
2238
 
2159
2239
  # Builds the object from hash
@@ -131,7 +131,7 @@ module Fastly
131
131
  # Check to see if the all the properties in the model are valid
132
132
  # @return true if the model is valid
133
133
  def valid?
134
- state_validator = EnumAttributeValidator.new('String', ["pending", "processing", "issued", "renewing"])
134
+ state_validator = EnumAttributeValidator.new('String', ["pending", "processing", "issued", "renewing", "failed"])
135
135
  return false unless state_validator.valid?(@state)
136
136
  true
137
137
  end
@@ -139,7 +139,7 @@ module Fastly
139
139
  # Custom attribute writer method checking allowed values (enum).
140
140
  # @param [Object] state Object to be assigned
141
141
  def state=(state)
142
- validator = EnumAttributeValidator.new('String', ["pending", "processing", "issued", "renewing"])
142
+ validator = EnumAttributeValidator.new('String', ["pending", "processing", "issued", "renewing", "failed"])
143
143
  unless validator.valid?(state)
144
144
  fail ArgumentError, "invalid value for \"state\", must be one of #{validator.allowable_values}."
145
145
  end
@@ -93,7 +93,7 @@ module Fastly
93
93
  # Check to see if the all the properties in the model are valid
94
94
  # @return true if the model is valid
95
95
  def valid?
96
- state_validator = EnumAttributeValidator.new('String', ["pending", "processing", "issued", "renewing"])
96
+ state_validator = EnumAttributeValidator.new('String', ["pending", "processing", "issued", "renewing", "failed"])
97
97
  return false unless state_validator.valid?(@state)
98
98
  true
99
99
  end
@@ -101,7 +101,7 @@ module Fastly
101
101
  # Custom attribute writer method checking allowed values (enum).
102
102
  # @param [Object] state Object to be assigned
103
103
  def state=(state)
104
- validator = EnumAttributeValidator.new('String', ["pending", "processing", "issued", "renewing"])
104
+ validator = EnumAttributeValidator.new('String', ["pending", "processing", "issued", "renewing", "failed"])
105
105
  unless validator.valid?(state)
106
106
  fail ArgumentError, "invalid value for \"state\", must be one of #{validator.allowable_values}."
107
107
  end
@@ -14,6 +14,8 @@ require 'time'
14
14
  module Fastly
15
15
  class TypeResource
16
16
  OBJECT_STORE = "object-store".freeze
17
+ SECRET_STORE = "secret-store".freeze
18
+ CONFIG_STORE = "config-store".freeze
17
19
 
18
20
  # Builds the enum from string
19
21
  # @param [String] The enum value in the form of the string
@@ -9,5 +9,5 @@ Contact: oss@fastly.com
9
9
  =end
10
10
 
11
11
  module Fastly
12
- VERSION = '4.1.0'
12
+ VERSION = '4.3.0'
13
13
  end