fastly 4.3.0 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -7
- data/Gemfile.lock +1 -1
- data/README.md +1 -8
- data/docs/AclEntryApi.md +1 -1
- data/docs/ObjectStoreApi.md +4 -0
- data/docs/ObjectStoreItemApi.md +24 -6
- data/lib/fastly/api/acl_entry_api.rb +2 -2
- data/lib/fastly/api/object_store_api.rb +6 -0
- data/lib/fastly/api/object_store_item_api.rb +35 -8
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +0 -11
- data/sig.json +1 -1
- metadata +2 -24
- data/docs/ErrorResponse.md +0 -10
- data/docs/ErrorResponseData.md +0 -11
- data/docs/RelationshipsForTlsCsr.md +0 -10
- data/docs/TlsCsr.md +0 -10
- data/docs/TlsCsrData.md +0 -12
- data/docs/TlsCsrDataAttributes.md +0 -19
- data/docs/TlsCsrResponse.md +0 -10
- data/docs/TlsCsrResponseAttributes.md +0 -10
- data/docs/TlsCsrResponseData.md +0 -13
- data/docs/TlsCsrsApi.md +0 -52
- data/docs/TypeTlsCsr.md +0 -9
- data/lib/fastly/api/tls_csrs_api.rb +0 -83
- data/lib/fastly/models/error_response.rb +0 -218
- data/lib/fastly/models/error_response_data.rb +0 -225
- data/lib/fastly/models/relationships_for_tls_csr.rb +0 -235
- data/lib/fastly/models/tls_csr.rb +0 -216
- data/lib/fastly/models/tls_csr_data.rb +0 -236
- data/lib/fastly/models/tls_csr_data_attributes.rb +0 -314
- data/lib/fastly/models/tls_csr_response.rb +0 -216
- data/lib/fastly/models/tls_csr_response_attributes.rb +0 -217
- data/lib/fastly/models/tls_csr_response_data.rb +0 -245
- data/lib/fastly/models/type_tls_csr.rb +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9550e4397620cc86b032cacfc445ecef4238aee422e8235955525559d769e0c
|
4
|
+
data.tar.gz: 8f9d9076dbb779fd40d9918cbd06f0fc6f8691fbecefefee2b6e166ee69440a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 361b09ff58f4ce57d3820521018747c25a7610f7d1658cd2c42df0d5778dad79f284ff3cea53b9ee922eeec9a197fb507cebea529443e6054927770f407a750b
|
7
|
+
data.tar.gz: 7f0f6624b8d45addbeb78983a7912994e18105050c5450057a67cd85a101c0a01c6eec3c4ed8a45ee9ea4b8a668fe27d0e3e0fabba76028e9c27fd0b32927d00
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [v4.
|
3
|
+
## [v4.4.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v4.4.0) (2023-04-26)
|
4
|
+
|
5
|
+
**Bug fixes:**
|
6
|
+
|
7
|
+
- fix(object-store-item): use correct type for key value
|
8
|
+
- fix(tls-csrs): remove internal endpoint
|
9
|
+
|
10
|
+
**Enhancements:**
|
11
|
+
|
12
|
+
- feat(object-store): new fields 'location', 'force'
|
13
|
+
- feat(object-store-item): new fields 'force', 'prefix'
|
14
|
+
|
15
|
+
## [v4.3.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v4.3.0) (2023-04-03)
|
4
16
|
|
5
17
|
**Bug fixes:**
|
6
18
|
|
@@ -12,22 +24,20 @@
|
|
12
24
|
- feat(object-store): items API endpoints
|
13
25
|
- feat(realtime): additional DDoS properties
|
14
26
|
|
15
|
-
## [v4.2.0](https://github.com/fastly/fastly-ruby/releases/tag/v4.2.0) (2023-03-21)
|
16
|
-
|
17
|
-
[Full Changelog](https://github.com/fastly/fastly-ruby/compare/v4.1.0...v4.2.0)
|
27
|
+
## [v4.2.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v4.2.0) (2023-03-21)
|
18
28
|
|
19
|
-
|
29
|
+
**Bug fixes:**
|
20
30
|
|
21
31
|
- fix(purge): switch authentication type to 'token'
|
22
32
|
|
23
|
-
|
33
|
+
**Enhancements:**
|
24
34
|
|
25
35
|
- feat(events): implement 'filter_created_at' property
|
26
36
|
- feat(mutual-authentication): implement 'include' property
|
27
37
|
- feat(object-store): implement new Object Store API endpoints
|
28
38
|
- feat(settings): implement Service Settings 'update' endpoint
|
29
39
|
|
30
|
-
|
40
|
+
**Documentation:**
|
31
41
|
|
32
42
|
- docs(backend): keepalive_time
|
33
43
|
- docs(pop): region, shield, latitude, longitude
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -6,19 +6,13 @@ A Ruby client library for interacting with most facets of the [Fastly API](https
|
|
6
6
|
> The previous 3.x version is no longer supported, but can be found at https://github.com/fastly/fastly-ruby/tree/v3.x.
|
7
7
|
|
8
8
|
|
9
|
-
> ⚠️ This client library (`4.3.0`) is an early-access release. Features may change without notice. Use at your own risk.
|
10
|
-
|
11
|
-
**We strongly recommend that you do not install alpha and beta releases on live production services.** No official support is provided for such releases. Please try out the library in a test environment, see what breaks without worrying about consequences, and give us [feedback](#issues).
|
12
|
-
|
13
|
-
Read about the [Fastly Product Lifecycle](https://docs.fastly.com/products/fastly-product-lifecycle).
|
14
|
-
|
15
9
|
|
16
10
|
## Installation
|
17
11
|
|
18
12
|
To install via RubyGems, add the following to your project's `Gemfile`:
|
19
13
|
|
20
14
|
```ruby
|
21
|
-
gem 'fastly', '~> 4.
|
15
|
+
gem 'fastly', '~> 4.4.0'
|
22
16
|
```
|
23
17
|
|
24
18
|
Then run `bundle install`.
|
@@ -416,7 +410,6 @@ Class | Method | Description
|
|
416
410
|
[*Fastly::TlsConfigurationsApi*](docs/TlsConfigurationsApi.md) | [**get_tls_config**](docs/TlsConfigurationsApi.md#get_tls_config) | Get a TLS configuration
|
417
411
|
[*Fastly::TlsConfigurationsApi*](docs/TlsConfigurationsApi.md) | [**list_tls_configs**](docs/TlsConfigurationsApi.md#list_tls_configs) | List TLS configurations
|
418
412
|
[*Fastly::TlsConfigurationsApi*](docs/TlsConfigurationsApi.md) | [**update_tls_config**](docs/TlsConfigurationsApi.md#update_tls_config) | Update a TLS configuration
|
419
|
-
[*Fastly::TlsCsrsApi*](docs/TlsCsrsApi.md) | [**create_csr**](docs/TlsCsrsApi.md#create_csr) | Create CSR
|
420
413
|
[*Fastly::TlsDomainsApi*](docs/TlsDomainsApi.md) | [**list_tls_domains**](docs/TlsDomainsApi.md#list_tls_domains) | List TLS domains
|
421
414
|
[*Fastly::TlsPrivateKeysApi*](docs/TlsPrivateKeysApi.md) | [**create_tls_key**](docs/TlsPrivateKeysApi.md#create_tls_key) | Create a TLS private key
|
422
415
|
[*Fastly::TlsPrivateKeysApi*](docs/TlsPrivateKeysApi.md) | [**delete_tls_key**](docs/TlsPrivateKeysApi.md#delete_tls_key) | Delete a TLS private key
|
data/docs/AclEntryApi.md
CHANGED
@@ -20,7 +20,7 @@ api_instance = Fastly::AclEntryApi.new
|
|
20
20
|
bulk_update_acl_entries(opts): <InlineResponse200> # Update multiple ACL entries
|
21
21
|
```
|
22
22
|
|
23
|
-
Update multiple ACL entries on the same ACL.
|
23
|
+
Update multiple ACL entries on the same ACL. For faster updates to your service, group your changes into large batches. The maximum batch size is 1000 entries. [Contact support](https://support.fastly.com/) to discuss raising this limit.
|
24
24
|
|
25
25
|
### Examples
|
26
26
|
|
data/docs/ObjectStoreApi.md
CHANGED
@@ -29,6 +29,7 @@ Create a new object store.
|
|
29
29
|
```ruby
|
30
30
|
api_instance = Fastly::ObjectStoreApi.new
|
31
31
|
opts = {
|
32
|
+
location: 'location_example', # String |
|
32
33
|
store: Fastly::Store.new, # Store |
|
33
34
|
}
|
34
35
|
|
@@ -45,6 +46,7 @@ end
|
|
45
46
|
|
46
47
|
| Name | Type | Description | Notes |
|
47
48
|
| ---- | ---- | ----------- | ----- |
|
49
|
+
| **location** | **String** | | [optional] |
|
48
50
|
| **store** | [**Store**](Store.md) | | [optional] |
|
49
51
|
|
50
52
|
### Return type
|
@@ -67,6 +69,7 @@ An object store must be empty before it can be deleted. Deleting an object stor
|
|
67
69
|
api_instance = Fastly::ObjectStoreApi.new
|
68
70
|
opts = {
|
69
71
|
store_id: 'store_id_example', # String |
|
72
|
+
force: true, # Boolean |
|
70
73
|
}
|
71
74
|
|
72
75
|
begin
|
@@ -82,6 +85,7 @@ end
|
|
82
85
|
| Name | Type | Description | Notes |
|
83
86
|
| ---- | ---- | ----------- | ----- |
|
84
87
|
| **store_id** | **String** | | |
|
88
|
+
| **force** | **Boolean** | | [optional] |
|
85
89
|
|
86
90
|
### Return type
|
87
91
|
|
data/docs/ObjectStoreItemApi.md
CHANGED
@@ -31,6 +31,7 @@ api_instance = Fastly::ObjectStoreItemApi.new
|
|
31
31
|
opts = {
|
32
32
|
store_id: 'store_id_example', # String |
|
33
33
|
key_name: 'key_name_example', # String |
|
34
|
+
force: true, # Boolean |
|
34
35
|
}
|
35
36
|
|
36
37
|
begin
|
@@ -47,6 +48,7 @@ end
|
|
47
48
|
| ---- | ---- | ----------- | ----- |
|
48
49
|
| **store_id** | **String** | | |
|
49
50
|
| **key_name** | **String** | | |
|
51
|
+
| **force** | **Boolean** | | [optional] |
|
50
52
|
|
51
53
|
### Return type
|
52
54
|
|
@@ -70,6 +72,7 @@ opts = {
|
|
70
72
|
store_id: 'store_id_example', # String |
|
71
73
|
cursor: 'cursor_example', # String |
|
72
74
|
limit: 56, # Integer |
|
75
|
+
prefix: 'prefix_example', # String |
|
73
76
|
}
|
74
77
|
|
75
78
|
begin
|
@@ -88,6 +91,7 @@ end
|
|
88
91
|
| **store_id** | **String** | | |
|
89
92
|
| **cursor** | **String** | | [optional] |
|
90
93
|
| **limit** | **Integer** | | [optional][default to 100] |
|
94
|
+
| **prefix** | **String** | | [optional] |
|
91
95
|
|
92
96
|
### Return type
|
93
97
|
|
@@ -98,7 +102,7 @@ end
|
|
98
102
|
## `get_value_for_key()`
|
99
103
|
|
100
104
|
```ruby
|
101
|
-
get_value_for_key(opts):
|
105
|
+
get_value_for_key(opts): String # Get the value of an object store item
|
102
106
|
```
|
103
107
|
|
104
108
|
Get the value associated with a key.
|
@@ -130,14 +134,14 @@ end
|
|
130
134
|
|
131
135
|
### Return type
|
132
136
|
|
133
|
-
**
|
137
|
+
**String**
|
134
138
|
|
135
139
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
136
140
|
[[Back to README]](../../README.md)
|
137
141
|
## `set_value_for_key()`
|
138
142
|
|
139
143
|
```ruby
|
140
|
-
set_value_for_key(opts):
|
144
|
+
set_value_for_key(opts): String # Insert an item into an object store
|
141
145
|
```
|
142
146
|
|
143
147
|
Set a new value for a new or existing key in an object store.
|
@@ -149,7 +153,14 @@ api_instance = Fastly::ObjectStoreItemApi.new
|
|
149
153
|
opts = {
|
150
154
|
store_id: 'store_id_example', # String |
|
151
155
|
key_name: 'key_name_example', # String |
|
152
|
-
|
156
|
+
if_generation_match: 56, # Integer |
|
157
|
+
time_to_live_sec: 56, # Integer |
|
158
|
+
metadata: 'metadata_example', # String |
|
159
|
+
add: true, # Boolean |
|
160
|
+
append: true, # Boolean |
|
161
|
+
prepend: true, # Boolean |
|
162
|
+
background_fetch: true, # Boolean |
|
163
|
+
body: 'BYTE_ARRAY_DATA_HERE', # String |
|
153
164
|
}
|
154
165
|
|
155
166
|
begin
|
@@ -167,11 +178,18 @@ end
|
|
167
178
|
| ---- | ---- | ----------- | ----- |
|
168
179
|
| **store_id** | **String** | | |
|
169
180
|
| **key_name** | **String** | | |
|
170
|
-
| **
|
181
|
+
| **if_generation_match** | **Integer** | | [optional] |
|
182
|
+
| **time_to_live_sec** | **Integer** | | [optional] |
|
183
|
+
| **metadata** | **String** | | [optional] |
|
184
|
+
| **add** | **Boolean** | | [optional] |
|
185
|
+
| **append** | **Boolean** | | [optional] |
|
186
|
+
| **prepend** | **Boolean** | | [optional] |
|
187
|
+
| **background_fetch** | **Boolean** | | [optional] |
|
188
|
+
| **body** | **String** | | [optional] |
|
171
189
|
|
172
190
|
### Return type
|
173
191
|
|
174
|
-
**
|
192
|
+
**String**
|
175
193
|
|
176
194
|
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
|
177
195
|
[[Back to README]](../../README.md)
|
@@ -18,7 +18,7 @@ module Fastly
|
|
18
18
|
@api_client = api_client
|
19
19
|
end
|
20
20
|
# Update multiple ACL entries
|
21
|
-
# Update multiple ACL entries on the same ACL.
|
21
|
+
# Update multiple ACL entries on the same ACL. For faster updates to your service, group your changes into large batches. The maximum batch size is 1000 entries. [Contact support](https://support.fastly.com/) to discuss raising this limit.
|
22
22
|
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
23
23
|
# @option opts [String] :acl_id Alphanumeric string identifying a ACL. (required)
|
24
24
|
# @option opts [BulkUpdateAclEntriesRequest] :bulk_update_acl_entries_request
|
@@ -29,7 +29,7 @@ module Fastly
|
|
29
29
|
end
|
30
30
|
|
31
31
|
# Update multiple ACL entries
|
32
|
-
# Update multiple ACL entries on the same ACL.
|
32
|
+
# Update multiple ACL entries on the same ACL. For faster updates to your service, group your changes into large batches. The maximum batch size is 1000 entries. [Contact support](https://support.fastly.com/) to discuss raising this limit.
|
33
33
|
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
34
34
|
# @option opts [String] :acl_id Alphanumeric string identifying a ACL. (required)
|
35
35
|
# @option opts [BulkUpdateAclEntriesRequest] :bulk_update_acl_entries_request
|
@@ -19,6 +19,7 @@ module Fastly
|
|
19
19
|
end
|
20
20
|
# Create an object store.
|
21
21
|
# Create a new object store.
|
22
|
+
# @option opts [String] :location
|
22
23
|
# @option opts [Store] :store
|
23
24
|
# @return [StoreResponse]
|
24
25
|
def create_store(opts = {})
|
@@ -28,6 +29,7 @@ module Fastly
|
|
28
29
|
|
29
30
|
# Create an object store.
|
30
31
|
# Create a new object store.
|
32
|
+
# @option opts [String] :location
|
31
33
|
# @option opts [Store] :store
|
32
34
|
# @return [Array<(StoreResponse, Integer, Hash)>] StoreResponse data, response status code and response headers
|
33
35
|
def create_store_with_http_info(opts = {})
|
@@ -40,6 +42,7 @@ module Fastly
|
|
40
42
|
|
41
43
|
# query parameters
|
42
44
|
query_params = opts[:query_params] || {}
|
45
|
+
query_params[:'location'] = opts[:'location'] if !opts[:'location'].nil?
|
43
46
|
|
44
47
|
# header parameters
|
45
48
|
header_params = opts[:header_params] || {}
|
@@ -83,6 +86,7 @@ module Fastly
|
|
83
86
|
# Delete an object store.
|
84
87
|
# An object store must be empty before it can be deleted. Deleting an object store that still contains keys will result in a `409` (Conflict).
|
85
88
|
# @option opts [String] :store_id (required)
|
89
|
+
# @option opts [Boolean] :force
|
86
90
|
# @return [nil]
|
87
91
|
def delete_store(opts = {})
|
88
92
|
delete_store_with_http_info(opts)
|
@@ -92,6 +96,7 @@ module Fastly
|
|
92
96
|
# Delete an object store.
|
93
97
|
# An object store must be empty before it can be deleted. Deleting an object store that still contains keys will result in a `409` (Conflict).
|
94
98
|
# @option opts [String] :store_id (required)
|
99
|
+
# @option opts [Boolean] :force
|
95
100
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
96
101
|
def delete_store_with_http_info(opts = {})
|
97
102
|
if @api_client.config.debugging
|
@@ -111,6 +116,7 @@ module Fastly
|
|
111
116
|
|
112
117
|
# header parameters
|
113
118
|
header_params = opts[:header_params] || {}
|
119
|
+
header_params[:'force'] = opts[:'force'] if !opts[:'force'].nil?
|
114
120
|
|
115
121
|
# form parameters
|
116
122
|
form_params = opts[:form_params] || {}
|
@@ -21,6 +21,7 @@ module Fastly
|
|
21
21
|
# Delete an item from an object store
|
22
22
|
# @option opts [String] :store_id (required)
|
23
23
|
# @option opts [String] :key_name (required)
|
24
|
+
# @option opts [Boolean] :force
|
24
25
|
# @return [nil]
|
25
26
|
def delete_key_from_store(opts = {})
|
26
27
|
delete_key_from_store_with_http_info(opts)
|
@@ -31,6 +32,7 @@ module Fastly
|
|
31
32
|
# Delete an item from an object store
|
32
33
|
# @option opts [String] :store_id (required)
|
33
34
|
# @option opts [String] :key_name (required)
|
35
|
+
# @option opts [Boolean] :force
|
34
36
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
35
37
|
def delete_key_from_store_with_http_info(opts = {})
|
36
38
|
if @api_client.config.debugging
|
@@ -52,6 +54,7 @@ module Fastly
|
|
52
54
|
|
53
55
|
# query parameters
|
54
56
|
query_params = opts[:query_params] || {}
|
57
|
+
query_params[:'force'] = opts[:'force'] if !opts[:'force'].nil?
|
55
58
|
|
56
59
|
# header parameters
|
57
60
|
header_params = opts[:header_params] || {}
|
@@ -90,6 +93,7 @@ module Fastly
|
|
90
93
|
# @option opts [String] :store_id (required)
|
91
94
|
# @option opts [String] :cursor
|
92
95
|
# @option opts [Integer] :limit (default to 100)
|
96
|
+
# @option opts [String] :prefix
|
93
97
|
# @return [InlineResponse2004]
|
94
98
|
def get_keys(opts = {})
|
95
99
|
data, _status_code, _headers = get_keys_with_http_info(opts)
|
@@ -101,6 +105,7 @@ module Fastly
|
|
101
105
|
# @option opts [String] :store_id (required)
|
102
106
|
# @option opts [String] :cursor
|
103
107
|
# @option opts [Integer] :limit (default to 100)
|
108
|
+
# @option opts [String] :prefix
|
104
109
|
# @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
|
105
110
|
def get_keys_with_http_info(opts = {})
|
106
111
|
if @api_client.config.debugging
|
@@ -119,6 +124,7 @@ module Fastly
|
|
119
124
|
query_params = opts[:query_params] || {}
|
120
125
|
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
121
126
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
127
|
+
query_params[:'prefix'] = opts[:'prefix'] if !opts[:'prefix'].nil?
|
122
128
|
|
123
129
|
# header parameters
|
124
130
|
header_params = opts[:header_params] || {}
|
@@ -158,7 +164,7 @@ module Fastly
|
|
158
164
|
# Get the value associated with a key.
|
159
165
|
# @option opts [String] :store_id (required)
|
160
166
|
# @option opts [String] :key_name (required)
|
161
|
-
# @return [
|
167
|
+
# @return [String]
|
162
168
|
def get_value_for_key(opts = {})
|
163
169
|
data, _status_code, _headers = get_value_for_key_with_http_info(opts)
|
164
170
|
data
|
@@ -168,7 +174,7 @@ module Fastly
|
|
168
174
|
# Get the value associated with a key.
|
169
175
|
# @option opts [String] :store_id (required)
|
170
176
|
# @option opts [String] :key_name (required)
|
171
|
-
# @return [Array<(
|
177
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
172
178
|
def get_value_for_key_with_http_info(opts = {})
|
173
179
|
if @api_client.config.debugging
|
174
180
|
@api_client.config.logger.debug 'Calling API: ObjectStoreItemApi.get_value_for_key ...'
|
@@ -202,7 +208,7 @@ module Fastly
|
|
202
208
|
post_body = opts[:debug_body]
|
203
209
|
|
204
210
|
# return_type
|
205
|
-
return_type = opts[:debug_return_type] || '
|
211
|
+
return_type = opts[:debug_return_type] || 'String'
|
206
212
|
|
207
213
|
# auth_names
|
208
214
|
auth_names = opts[:debug_auth_names] || ['token']
|
@@ -228,8 +234,15 @@ module Fastly
|
|
228
234
|
# Set a new value for a new or existing key in an object store.
|
229
235
|
# @option opts [String] :store_id (required)
|
230
236
|
# @option opts [String] :key_name (required)
|
231
|
-
# @option opts [
|
232
|
-
# @
|
237
|
+
# @option opts [Integer] :if_generation_match
|
238
|
+
# @option opts [Integer] :time_to_live_sec
|
239
|
+
# @option opts [String] :metadata
|
240
|
+
# @option opts [Boolean] :add
|
241
|
+
# @option opts [Boolean] :append
|
242
|
+
# @option opts [Boolean] :prepend
|
243
|
+
# @option opts [Boolean] :background_fetch
|
244
|
+
# @option opts [String] :body
|
245
|
+
# @return [String]
|
233
246
|
def set_value_for_key(opts = {})
|
234
247
|
data, _status_code, _headers = set_value_for_key_with_http_info(opts)
|
235
248
|
data
|
@@ -239,8 +252,15 @@ module Fastly
|
|
239
252
|
# Set a new value for a new or existing key in an object store.
|
240
253
|
# @option opts [String] :store_id (required)
|
241
254
|
# @option opts [String] :key_name (required)
|
242
|
-
# @option opts [
|
243
|
-
# @
|
255
|
+
# @option opts [Integer] :if_generation_match
|
256
|
+
# @option opts [Integer] :time_to_live_sec
|
257
|
+
# @option opts [String] :metadata
|
258
|
+
# @option opts [Boolean] :add
|
259
|
+
# @option opts [Boolean] :append
|
260
|
+
# @option opts [Boolean] :prepend
|
261
|
+
# @option opts [Boolean] :background_fetch
|
262
|
+
# @option opts [String] :body
|
263
|
+
# @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
|
244
264
|
def set_value_for_key_with_http_info(opts = {})
|
245
265
|
if @api_client.config.debugging
|
246
266
|
@api_client.config.logger.debug 'Calling API: ObjectStoreItemApi.set_value_for_key ...'
|
@@ -261,6 +281,10 @@ module Fastly
|
|
261
281
|
|
262
282
|
# query parameters
|
263
283
|
query_params = opts[:query_params] || {}
|
284
|
+
query_params[:'add'] = opts[:'add'] if !opts[:'add'].nil?
|
285
|
+
query_params[:'append'] = opts[:'append'] if !opts[:'append'].nil?
|
286
|
+
query_params[:'prepend'] = opts[:'prepend'] if !opts[:'prepend'].nil?
|
287
|
+
query_params[:'background_fetch'] = opts[:'background_fetch'] if !opts[:'background_fetch'].nil?
|
264
288
|
|
265
289
|
# header parameters
|
266
290
|
header_params = opts[:header_params] || {}
|
@@ -271,6 +295,9 @@ module Fastly
|
|
271
295
|
if !content_type.nil?
|
272
296
|
header_params['Content-Type'] = content_type
|
273
297
|
end
|
298
|
+
header_params[:'if-generation-match'] = opts[:'if_generation_match'] if !opts[:'if_generation_match'].nil?
|
299
|
+
header_params[:'time_to_live_sec'] = opts[:'time_to_live_sec'] if !opts[:'time_to_live_sec'].nil?
|
300
|
+
header_params[:'metadata'] = opts[:'metadata'] if !opts[:'metadata'].nil?
|
274
301
|
|
275
302
|
# form parameters
|
276
303
|
form_params = opts[:form_params] || {}
|
@@ -279,7 +306,7 @@ module Fastly
|
|
279
306
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'body'])
|
280
307
|
|
281
308
|
# return_type
|
282
|
-
return_type = opts[:debug_return_type] || '
|
309
|
+
return_type = opts[:debug_return_type] || 'String'
|
283
310
|
|
284
311
|
# auth_names
|
285
312
|
auth_names = opts[:debug_auth_names] || ['token']
|
data/lib/fastly/version.rb
CHANGED
data/lib/fastly.rb
CHANGED
@@ -90,8 +90,6 @@ require 'fastly/models/enabled_product_response'
|
|
90
90
|
require 'fastly/models/enabled_product_response_links'
|
91
91
|
require 'fastly/models/enabled_product_response_product'
|
92
92
|
require 'fastly/models/enabled_product_response_service'
|
93
|
-
require 'fastly/models/error_response'
|
94
|
-
require 'fastly/models/error_response_data'
|
95
93
|
require 'fastly/models/event'
|
96
94
|
require 'fastly/models/event_attributes'
|
97
95
|
require 'fastly/models/event_response'
|
@@ -362,7 +360,6 @@ require 'fastly/models/relationships_for_star'
|
|
362
360
|
require 'fastly/models/relationships_for_tls_activation'
|
363
361
|
require 'fastly/models/relationships_for_tls_bulk_certificate'
|
364
362
|
require 'fastly/models/relationships_for_tls_configuration'
|
365
|
-
require 'fastly/models/relationships_for_tls_csr'
|
366
363
|
require 'fastly/models/relationships_for_tls_domain'
|
367
364
|
require 'fastly/models/relationships_for_tls_private_key'
|
368
365
|
require 'fastly/models/relationships_for_tls_subscription'
|
@@ -472,12 +469,6 @@ require 'fastly/models/tls_configuration_response_data'
|
|
472
469
|
require 'fastly/models/tls_configuration_response_data_all_of'
|
473
470
|
require 'fastly/models/tls_configurations_response'
|
474
471
|
require 'fastly/models/tls_configurations_response_all_of'
|
475
|
-
require 'fastly/models/tls_csr'
|
476
|
-
require 'fastly/models/tls_csr_data'
|
477
|
-
require 'fastly/models/tls_csr_data_attributes'
|
478
|
-
require 'fastly/models/tls_csr_response'
|
479
|
-
require 'fastly/models/tls_csr_response_attributes'
|
480
|
-
require 'fastly/models/tls_csr_response_data'
|
481
472
|
require 'fastly/models/tls_dns_record'
|
482
473
|
require 'fastly/models/tls_domain_data'
|
483
474
|
require 'fastly/models/tls_domains_response'
|
@@ -521,7 +512,6 @@ require 'fastly/models/type_tls_activation'
|
|
521
512
|
require 'fastly/models/type_tls_bulk_certificate'
|
522
513
|
require 'fastly/models/type_tls_certificate'
|
523
514
|
require 'fastly/models/type_tls_configuration'
|
524
|
-
require 'fastly/models/type_tls_csr'
|
525
515
|
require 'fastly/models/type_tls_dns_record'
|
526
516
|
require 'fastly/models/type_tls_domain'
|
527
517
|
require 'fastly/models/type_tls_private_key'
|
@@ -698,7 +688,6 @@ require 'fastly/api/tls_activations_api'
|
|
698
688
|
require 'fastly/api/tls_bulk_certificates_api'
|
699
689
|
require 'fastly/api/tls_certificates_api'
|
700
690
|
require 'fastly/api/tls_configurations_api'
|
701
|
-
require 'fastly/api/tls_csrs_api'
|
702
691
|
require 'fastly/api/tls_domains_api'
|
703
692
|
require 'fastly/api/tls_private_keys_api'
|
704
693
|
require 'fastly/api/tls_subscriptions_api'
|
data/sig.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"G": "
|
1
|
+
{"G": "6ded2172", "D": "dcbc61cf"}
|
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: 4.
|
4
|
+
version: 4.4.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-04-
|
11
|
+
date: 2023-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -147,8 +147,6 @@ files:
|
|
147
147
|
- docs/EnabledProductResponseProduct.md
|
148
148
|
- docs/EnabledProductResponseService.md
|
149
149
|
- docs/EnabledProductsApi.md
|
150
|
-
- docs/ErrorResponse.md
|
151
|
-
- docs/ErrorResponseData.md
|
152
150
|
- docs/Event.md
|
153
151
|
- docs/EventAttributes.md
|
154
152
|
- docs/EventResponse.md
|
@@ -467,7 +465,6 @@ files:
|
|
467
465
|
- docs/RelationshipsForTlsActivation.md
|
468
466
|
- docs/RelationshipsForTlsBulkCertificate.md
|
469
467
|
- docs/RelationshipsForTlsConfiguration.md
|
470
|
-
- docs/RelationshipsForTlsCsr.md
|
471
468
|
- docs/RelationshipsForTlsDomain.md
|
472
469
|
- docs/RelationshipsForTlsPrivateKey.md
|
473
470
|
- docs/RelationshipsForTlsSubscription.md
|
@@ -591,13 +588,6 @@ files:
|
|
591
588
|
- docs/TlsConfigurationsApi.md
|
592
589
|
- docs/TlsConfigurationsResponse.md
|
593
590
|
- docs/TlsConfigurationsResponseAllOf.md
|
594
|
-
- docs/TlsCsr.md
|
595
|
-
- docs/TlsCsrData.md
|
596
|
-
- docs/TlsCsrDataAttributes.md
|
597
|
-
- docs/TlsCsrResponse.md
|
598
|
-
- docs/TlsCsrResponseAttributes.md
|
599
|
-
- docs/TlsCsrResponseData.md
|
600
|
-
- docs/TlsCsrsApi.md
|
601
591
|
- docs/TlsDnsRecord.md
|
602
592
|
- docs/TlsDomainData.md
|
603
593
|
- docs/TlsDomainsApi.md
|
@@ -645,7 +635,6 @@ files:
|
|
645
635
|
- docs/TypeTlsBulkCertificate.md
|
646
636
|
- docs/TypeTlsCertificate.md
|
647
637
|
- docs/TypeTlsConfiguration.md
|
648
|
-
- docs/TypeTlsCsr.md
|
649
638
|
- docs/TypeTlsDnsRecord.md
|
650
639
|
- docs/TypeTlsDomain.md
|
651
640
|
- docs/TypeTlsPrivateKey.md
|
@@ -833,7 +822,6 @@ files:
|
|
833
822
|
- lib/fastly/api/tls_bulk_certificates_api.rb
|
834
823
|
- lib/fastly/api/tls_certificates_api.rb
|
835
824
|
- lib/fastly/api/tls_configurations_api.rb
|
836
|
-
- lib/fastly/api/tls_csrs_api.rb
|
837
825
|
- lib/fastly/api/tls_domains_api.rb
|
838
826
|
- lib/fastly/api/tls_private_keys_api.rb
|
839
827
|
- lib/fastly/api/tls_subscriptions_api.rb
|
@@ -927,8 +915,6 @@ files:
|
|
927
915
|
- lib/fastly/models/enabled_product_response_links.rb
|
928
916
|
- lib/fastly/models/enabled_product_response_product.rb
|
929
917
|
- lib/fastly/models/enabled_product_response_service.rb
|
930
|
-
- lib/fastly/models/error_response.rb
|
931
|
-
- lib/fastly/models/error_response_data.rb
|
932
918
|
- lib/fastly/models/event.rb
|
933
919
|
- lib/fastly/models/event_attributes.rb
|
934
920
|
- lib/fastly/models/event_response.rb
|
@@ -1199,7 +1185,6 @@ files:
|
|
1199
1185
|
- lib/fastly/models/relationships_for_tls_activation.rb
|
1200
1186
|
- lib/fastly/models/relationships_for_tls_bulk_certificate.rb
|
1201
1187
|
- lib/fastly/models/relationships_for_tls_configuration.rb
|
1202
|
-
- lib/fastly/models/relationships_for_tls_csr.rb
|
1203
1188
|
- lib/fastly/models/relationships_for_tls_domain.rb
|
1204
1189
|
- lib/fastly/models/relationships_for_tls_private_key.rb
|
1205
1190
|
- lib/fastly/models/relationships_for_tls_subscription.rb
|
@@ -1309,12 +1294,6 @@ files:
|
|
1309
1294
|
- lib/fastly/models/tls_configuration_response_data_all_of.rb
|
1310
1295
|
- lib/fastly/models/tls_configurations_response.rb
|
1311
1296
|
- lib/fastly/models/tls_configurations_response_all_of.rb
|
1312
|
-
- lib/fastly/models/tls_csr.rb
|
1313
|
-
- lib/fastly/models/tls_csr_data.rb
|
1314
|
-
- lib/fastly/models/tls_csr_data_attributes.rb
|
1315
|
-
- lib/fastly/models/tls_csr_response.rb
|
1316
|
-
- lib/fastly/models/tls_csr_response_attributes.rb
|
1317
|
-
- lib/fastly/models/tls_csr_response_data.rb
|
1318
1297
|
- lib/fastly/models/tls_dns_record.rb
|
1319
1298
|
- lib/fastly/models/tls_domain_data.rb
|
1320
1299
|
- lib/fastly/models/tls_domains_response.rb
|
@@ -1358,7 +1337,6 @@ files:
|
|
1358
1337
|
- lib/fastly/models/type_tls_bulk_certificate.rb
|
1359
1338
|
- lib/fastly/models/type_tls_certificate.rb
|
1360
1339
|
- lib/fastly/models/type_tls_configuration.rb
|
1361
|
-
- lib/fastly/models/type_tls_csr.rb
|
1362
1340
|
- lib/fastly/models/type_tls_dns_record.rb
|
1363
1341
|
- lib/fastly/models/type_tls_domain.rb
|
1364
1342
|
- lib/fastly/models/type_tls_private_key.rb
|
data/docs/ErrorResponse.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# Fastly::ErrorResponse
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **errors** | [**Array<ErrorResponseData>**](ErrorResponseData.md) | | [optional] |
|
8
|
-
|
9
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
|
-
|
data/docs/ErrorResponseData.md
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
# Fastly::ErrorResponseData
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **title** | **String** | | [optional] |
|
8
|
-
| **detail** | **String** | | [optional] |
|
9
|
-
|
10
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
|
-
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# Fastly::RelationshipsForTlsCsr
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **tls_private_key** | [**RelationshipTlsPrivateKeyTlsPrivateKey**](RelationshipTlsPrivateKeyTlsPrivateKey.md) | | [optional] |
|
8
|
-
|
9
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
|
-
|
data/docs/TlsCsr.md
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# Fastly::TlsCsr
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **data** | [**TlsCsrData**](TlsCsrData.md) | | [optional] |
|
8
|
-
|
9
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
10
|
-
|
data/docs/TlsCsrData.md
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# Fastly::TlsCsrData
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **type** | [**TypeTlsCsr**](TypeTlsCsr.md) | | [optional][default to 'csr'] |
|
8
|
-
| **attributes** | [**TlsCsrDataAttributes**](TlsCsrDataAttributes.md) | | [optional] |
|
9
|
-
| **relationships** | [**RelationshipsForTlsCsr**](RelationshipsForTlsCsr.md) | | [optional] |
|
10
|
-
|
11
|
-
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
12
|
-
|