fastly 13.0.0 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/Gemfile.lock +1 -1
- data/README.md +6 -3
- data/docs/Backend.md +2 -2
- data/docs/BackendApi.md +8 -8
- data/docs/BackendResponse.md +2 -2
- data/docs/Invitation.md +1 -1
- data/docs/InvitationCreateData.md +12 -0
- data/docs/InvitationCreateDataAllOf.md +10 -0
- data/docs/{InvitationResponse.md → InvitationCreateResponse.md} +1 -1
- data/docs/{InvitationResponseAllOf.md → InvitationCreateResponseAllOf.md} +1 -1
- data/docs/InvitationData.md +0 -1
- data/docs/InvitationResponseData.md +1 -1
- data/docs/InvitationsApi.md +2 -2
- data/docs/LoggingAzureblobApi.md +8 -4
- data/docs/LoggingAzureblobResponse.md +2 -1
- data/docs/LoggingBigqueryAdditional.md +1 -1
- data/docs/LoggingBigqueryApi.md +8 -4
- data/docs/LoggingBigqueryResponse.md +2 -1
- data/docs/LoggingCloudfilesApi.md +8 -4
- data/docs/LoggingCloudfilesResponse.md +2 -1
- data/docs/LoggingCommon.md +2 -1
- data/docs/LoggingCommonResponse.md +2 -1
- data/docs/LoggingCommonResponseAllOf.md +2 -1
- data/docs/LoggingDatadogAdditional.md +1 -1
- data/docs/LoggingDatadogApi.md +8 -4
- data/docs/LoggingDatadogResponse.md +2 -1
- data/docs/LoggingDigitaloceanApi.md +8 -4
- data/docs/LoggingDigitaloceanResponse.md +2 -1
- data/docs/LoggingElasticsearchAdditional.md +1 -1
- data/docs/LoggingElasticsearchApi.md +8 -4
- data/docs/LoggingElasticsearchResponse.md +2 -1
- data/docs/LoggingFtpApi.md +8 -4
- data/docs/LoggingFtpResponse.md +2 -1
- data/docs/LoggingGcsApi.md +8 -4
- data/docs/LoggingGcsResponse.md +2 -1
- data/docs/LoggingGooglePubsubAdditional.md +1 -1
- data/docs/LoggingGooglePubsubResponse.md +2 -1
- data/docs/LoggingGrafanacloudlogsAdditional.md +1 -1
- data/docs/LoggingGrafanacloudlogsApi.md +8 -4
- data/docs/LoggingGrafanacloudlogsResponse.md +2 -1
- data/docs/LoggingHerokuApi.md +8 -4
- data/docs/LoggingHerokuResponse.md +2 -1
- data/docs/LoggingHoneycombAdditional.md +1 -1
- data/docs/LoggingHoneycombApi.md +8 -4
- data/docs/LoggingHoneycombResponse.md +2 -1
- data/docs/LoggingHttpsAdditional.md +1 -1
- data/docs/LoggingHttpsApi.md +8 -4
- data/docs/LoggingHttpsResponse.md +2 -1
- data/docs/LoggingKafkaApi.md +4 -2
- data/docs/LoggingKafkaResponse.md +2 -1
- data/docs/LoggingKafkaResponsePost.md +2 -1
- data/docs/LoggingKinesisAdditional.md +1 -1
- data/docs/LoggingKinesisApi.md +2 -2
- data/docs/LoggingKinesisResponse.md +1 -1
- data/docs/LoggingLogentriesApi.md +8 -4
- data/docs/LoggingLogentriesResponse.md +2 -1
- data/docs/LoggingLogglyApi.md +8 -4
- data/docs/LoggingLogglyResponse.md +2 -1
- data/docs/LoggingLogshuttleApi.md +8 -4
- data/docs/LoggingLogshuttleResponse.md +2 -1
- data/docs/LoggingNewrelicAdditional.md +1 -1
- data/docs/LoggingNewrelicApi.md +8 -4
- data/docs/LoggingNewrelicResponse.md +2 -1
- data/docs/LoggingNewrelicotlpAdditional.md +1 -1
- data/docs/LoggingNewrelicotlpApi.md +8 -4
- data/docs/LoggingNewrelicotlpResponse.md +2 -1
- data/docs/LoggingOpenstackApi.md +8 -4
- data/docs/LoggingOpenstackResponse.md +2 -1
- data/docs/LoggingPapertrailApi.md +8 -4
- data/docs/LoggingPapertrailResponse.md +2 -1
- data/docs/LoggingPubsubApi.md +8 -4
- data/docs/LoggingS3Api.md +8 -4
- data/docs/LoggingS3Response.md +2 -1
- data/docs/LoggingScalyrApi.md +8 -4
- data/docs/LoggingScalyrResponse.md +2 -1
- data/docs/LoggingSftpApi.md +8 -4
- data/docs/LoggingSftpResponse.md +2 -1
- data/docs/LoggingSplunkApi.md +8 -4
- data/docs/LoggingSplunkResponse.md +2 -1
- data/docs/LoggingSumologicApi.md +8 -4
- data/docs/LoggingSumologicResponse.md +2 -1
- data/docs/LoggingSyslogApi.md +8 -4
- data/docs/LoggingSyslogResponse.md +2 -1
- data/docs/PoolAdditional.md +1 -1
- data/docs/PoolApi.md +4 -4
- data/docs/PoolResponse.md +1 -1
- data/docs/PoolResponsePost.md +1 -1
- data/docs/PurgeApi.md +1 -1
- data/docs/TlsCertificateDataAttributes.md +1 -0
- data/docs/TlsCsrData.md +0 -1
- data/docs/TlsCsrDataAttributes.md +1 -0
- data/lib/fastly/api/backend_api.rb +8 -8
- data/lib/fastly/api/invitations_api.rb +3 -3
- data/lib/fastly/api/logging_azureblob_api.rb +18 -4
- data/lib/fastly/api/logging_bigquery_api.rb +18 -4
- data/lib/fastly/api/logging_cloudfiles_api.rb +18 -4
- data/lib/fastly/api/logging_datadog_api.rb +18 -4
- data/lib/fastly/api/logging_digitalocean_api.rb +18 -4
- data/lib/fastly/api/logging_elasticsearch_api.rb +18 -4
- data/lib/fastly/api/logging_ftp_api.rb +18 -4
- data/lib/fastly/api/logging_gcs_api.rb +18 -4
- data/lib/fastly/api/logging_grafanacloudlogs_api.rb +18 -4
- data/lib/fastly/api/logging_heroku_api.rb +18 -4
- data/lib/fastly/api/logging_honeycomb_api.rb +18 -4
- data/lib/fastly/api/logging_https_api.rb +18 -4
- data/lib/fastly/api/logging_kafka_api.rb +9 -2
- data/lib/fastly/api/logging_kinesis_api.rb +2 -2
- data/lib/fastly/api/logging_logentries_api.rb +18 -4
- data/lib/fastly/api/logging_loggly_api.rb +18 -4
- data/lib/fastly/api/logging_logshuttle_api.rb +18 -4
- data/lib/fastly/api/logging_newrelic_api.rb +18 -4
- data/lib/fastly/api/logging_newrelicotlp_api.rb +18 -4
- data/lib/fastly/api/logging_openstack_api.rb +18 -4
- data/lib/fastly/api/logging_papertrail_api.rb +18 -4
- data/lib/fastly/api/logging_pubsub_api.rb +18 -4
- data/lib/fastly/api/logging_s3_api.rb +18 -4
- data/lib/fastly/api/logging_scalyr_api.rb +18 -4
- data/lib/fastly/api/logging_sftp_api.rb +18 -4
- data/lib/fastly/api/logging_splunk_api.rb +18 -4
- data/lib/fastly/api/logging_sumologic_api.rb +18 -4
- data/lib/fastly/api/logging_syslog_api.rb +18 -4
- data/lib/fastly/api/pool_api.rb +4 -4
- data/lib/fastly/api/purge_api.rb +2 -2
- data/lib/fastly/models/backend.rb +2 -3
- data/lib/fastly/models/backend_response.rb +2 -3
- data/lib/fastly/models/invitation.rb +1 -1
- data/lib/fastly/models/invitation_create_data.rb +244 -0
- data/lib/fastly/models/invitation_create_data_all_of.rb +216 -0
- data/lib/fastly/models/{invitation_response.rb → invitation_create_response.rb} +4 -4
- data/lib/fastly/models/{invitation_response_all_of.rb → invitation_create_response_all_of.rb} +3 -3
- data/lib/fastly/models/invitation_data.rb +4 -13
- data/lib/fastly/models/invitation_response_data.rb +13 -13
- data/lib/fastly/models/logging_azureblob_response.rb +26 -2
- data/lib/fastly/models/logging_bigquery_additional.rb +1 -1
- data/lib/fastly/models/logging_bigquery_response.rb +26 -2
- data/lib/fastly/models/logging_cloudfiles_response.rb +26 -2
- data/lib/fastly/models/logging_common.rb +29 -5
- data/lib/fastly/models/logging_common_response.rb +26 -2
- data/lib/fastly/models/logging_common_response_all_of.rb +29 -5
- data/lib/fastly/models/logging_datadog_additional.rb +1 -1
- data/lib/fastly/models/logging_datadog_response.rb +26 -2
- data/lib/fastly/models/logging_digitalocean_response.rb +26 -2
- data/lib/fastly/models/logging_elasticsearch_additional.rb +1 -1
- data/lib/fastly/models/logging_elasticsearch_response.rb +26 -2
- data/lib/fastly/models/logging_ftp_response.rb +26 -2
- data/lib/fastly/models/logging_gcs_response.rb +26 -2
- data/lib/fastly/models/logging_google_pubsub_additional.rb +1 -1
- data/lib/fastly/models/logging_google_pubsub_response.rb +26 -2
- data/lib/fastly/models/logging_grafanacloudlogs_additional.rb +1 -1
- data/lib/fastly/models/logging_grafanacloudlogs_response.rb +26 -2
- data/lib/fastly/models/logging_heroku_response.rb +26 -2
- data/lib/fastly/models/logging_honeycomb_additional.rb +1 -1
- data/lib/fastly/models/logging_honeycomb_response.rb +26 -2
- data/lib/fastly/models/logging_https_additional.rb +1 -1
- data/lib/fastly/models/logging_https_response.rb +26 -2
- data/lib/fastly/models/logging_kafka_response.rb +26 -2
- data/lib/fastly/models/logging_kafka_response_post.rb +26 -2
- data/lib/fastly/models/logging_kinesis_additional.rb +1 -1
- data/lib/fastly/models/logging_kinesis_response.rb +1 -1
- data/lib/fastly/models/logging_logentries_response.rb +26 -2
- data/lib/fastly/models/logging_loggly_response.rb +26 -2
- data/lib/fastly/models/logging_logshuttle_response.rb +26 -2
- data/lib/fastly/models/logging_newrelic_additional.rb +1 -1
- data/lib/fastly/models/logging_newrelic_response.rb +26 -2
- data/lib/fastly/models/logging_newrelicotlp_additional.rb +1 -1
- data/lib/fastly/models/logging_newrelicotlp_response.rb +26 -2
- data/lib/fastly/models/logging_openstack_response.rb +26 -2
- data/lib/fastly/models/logging_papertrail_response.rb +26 -2
- data/lib/fastly/models/logging_s3_response.rb +26 -2
- data/lib/fastly/models/logging_scalyr_response.rb +26 -2
- data/lib/fastly/models/logging_sftp_response.rb +26 -2
- data/lib/fastly/models/logging_splunk_response.rb +26 -2
- data/lib/fastly/models/logging_sumologic_response.rb +26 -2
- data/lib/fastly/models/logging_syslog_response.rb +26 -2
- data/lib/fastly/models/pool_additional.rb +1 -1
- data/lib/fastly/models/pool_response.rb +1 -1
- data/lib/fastly/models/pool_response_post.rb +1 -1
- data/lib/fastly/models/relationship_service_invitations.rb +1 -0
- data/lib/fastly/models/relationship_service_invitations_service_invitations.rb +1 -0
- data/lib/fastly/models/relationships_for_invitation.rb +1 -0
- data/lib/fastly/models/tls_certificate_data_attributes.rb +14 -4
- data/lib/fastly/models/tls_csr_data.rb +4 -13
- data/lib/fastly/models/tls_csr_data_attributes.rb +14 -4
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +4 -2
- data/sig.json +1 -1
- metadata +10 -6
@@ -22,9 +22,12 @@ module Fastly
|
|
22
22
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
23
23
|
attr_accessor :response_condition
|
24
24
|
|
25
|
-
# A Fastly [log format string](https://
|
25
|
+
# A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/).
|
26
26
|
attr_accessor :format
|
27
27
|
|
28
|
+
# The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global.
|
29
|
+
attr_accessor :log_processing_region
|
30
|
+
|
28
31
|
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
29
32
|
attr_accessor :format_version
|
30
33
|
|
@@ -76,6 +79,7 @@ module Fastly
|
|
76
79
|
:'placement' => :'placement',
|
77
80
|
:'response_condition' => :'response_condition',
|
78
81
|
:'format' => :'format',
|
82
|
+
:'log_processing_region' => :'log_processing_region',
|
79
83
|
:'format_version' => :'format_version',
|
80
84
|
:'token' => :'token',
|
81
85
|
:'url' => :'url',
|
@@ -99,6 +103,7 @@ module Fastly
|
|
99
103
|
:'placement' => :'String',
|
100
104
|
:'response_condition' => :'String',
|
101
105
|
:'format' => :'String',
|
106
|
+
:'log_processing_region' => :'String',
|
102
107
|
:'format_version' => :'String',
|
103
108
|
:'token' => :'String',
|
104
109
|
:'url' => :'String',
|
@@ -164,6 +169,12 @@ module Fastly
|
|
164
169
|
self.format = '%h %l %u %t \"%r\" %>s %b'
|
165
170
|
end
|
166
171
|
|
172
|
+
if attributes.key?(:'log_processing_region')
|
173
|
+
self.log_processing_region = attributes[:'log_processing_region']
|
174
|
+
else
|
175
|
+
self.log_processing_region = 'none'
|
176
|
+
end
|
177
|
+
|
167
178
|
if attributes.key?(:'format_version')
|
168
179
|
self.format_version = attributes[:'format_version']
|
169
180
|
else
|
@@ -211,6 +222,8 @@ module Fastly
|
|
211
222
|
def valid?
|
212
223
|
placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
|
213
224
|
return false unless placement_validator.valid?(@placement)
|
225
|
+
log_processing_region_validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
226
|
+
return false unless log_processing_region_validator.valid?(@log_processing_region)
|
214
227
|
format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
|
215
228
|
return false unless format_version_validator.valid?(@format_version)
|
216
229
|
true
|
@@ -226,6 +239,16 @@ module Fastly
|
|
226
239
|
@placement = placement
|
227
240
|
end
|
228
241
|
|
242
|
+
# Custom attribute writer method checking allowed values (enum).
|
243
|
+
# @param [Object] log_processing_region Object to be assigned
|
244
|
+
def log_processing_region=(log_processing_region)
|
245
|
+
validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
246
|
+
unless validator.valid?(log_processing_region)
|
247
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{validator.allowable_values}."
|
248
|
+
end
|
249
|
+
@log_processing_region = log_processing_region
|
250
|
+
end
|
251
|
+
|
229
252
|
# Custom attribute writer method checking allowed values (enum).
|
230
253
|
# @param [Object] format_version Object to be assigned
|
231
254
|
def format_version=(format_version)
|
@@ -245,6 +268,7 @@ module Fastly
|
|
245
268
|
placement == o.placement &&
|
246
269
|
response_condition == o.response_condition &&
|
247
270
|
format == o.format &&
|
271
|
+
log_processing_region == o.log_processing_region &&
|
248
272
|
format_version == o.format_version &&
|
249
273
|
token == o.token &&
|
250
274
|
url == o.url &&
|
@@ -264,7 +288,7 @@ module Fastly
|
|
264
288
|
# Calculates hash code according to all attributes.
|
265
289
|
# @return [Integer] Hash code
|
266
290
|
def hash
|
267
|
-
[name, placement, response_condition, format, format_version, token, url, created_at, deleted_at, updated_at, service_id, version].hash
|
291
|
+
[name, placement, response_condition, format, log_processing_region, format_version, token, url, created_at, deleted_at, updated_at, service_id, version].hash
|
268
292
|
end
|
269
293
|
|
270
294
|
# Builds the object from hash
|
@@ -13,7 +13,7 @@ require 'time'
|
|
13
13
|
|
14
14
|
module Fastly
|
15
15
|
class LoggingHoneycombAdditional
|
16
|
-
# A Fastly [log format string](https://
|
16
|
+
# A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). Must produce valid JSON that Honeycomb can ingest.
|
17
17
|
attr_accessor :format
|
18
18
|
|
19
19
|
# The Honeycomb Dataset you want to log to.
|
@@ -22,9 +22,12 @@ module Fastly
|
|
22
22
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
23
23
|
attr_accessor :response_condition
|
24
24
|
|
25
|
-
# A Fastly [log format string](https://
|
25
|
+
# A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). Must produce valid JSON that Honeycomb can ingest.
|
26
26
|
attr_accessor :format
|
27
27
|
|
28
|
+
# The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global.
|
29
|
+
attr_accessor :log_processing_region
|
30
|
+
|
28
31
|
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
29
32
|
attr_accessor :format_version
|
30
33
|
|
@@ -76,6 +79,7 @@ module Fastly
|
|
76
79
|
:'placement' => :'placement',
|
77
80
|
:'response_condition' => :'response_condition',
|
78
81
|
:'format' => :'format',
|
82
|
+
:'log_processing_region' => :'log_processing_region',
|
79
83
|
:'format_version' => :'format_version',
|
80
84
|
:'dataset' => :'dataset',
|
81
85
|
:'token' => :'token',
|
@@ -99,6 +103,7 @@ module Fastly
|
|
99
103
|
:'placement' => :'String',
|
100
104
|
:'response_condition' => :'String',
|
101
105
|
:'format' => :'String',
|
106
|
+
:'log_processing_region' => :'String',
|
102
107
|
:'format_version' => :'String',
|
103
108
|
:'dataset' => :'String',
|
104
109
|
:'token' => :'String',
|
@@ -162,6 +167,12 @@ module Fastly
|
|
162
167
|
self.format = attributes[:'format']
|
163
168
|
end
|
164
169
|
|
170
|
+
if attributes.key?(:'log_processing_region')
|
171
|
+
self.log_processing_region = attributes[:'log_processing_region']
|
172
|
+
else
|
173
|
+
self.log_processing_region = 'none'
|
174
|
+
end
|
175
|
+
|
165
176
|
if attributes.key?(:'format_version')
|
166
177
|
self.format_version = attributes[:'format_version']
|
167
178
|
else
|
@@ -209,6 +220,8 @@ module Fastly
|
|
209
220
|
def valid?
|
210
221
|
placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
|
211
222
|
return false unless placement_validator.valid?(@placement)
|
223
|
+
log_processing_region_validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
224
|
+
return false unless log_processing_region_validator.valid?(@log_processing_region)
|
212
225
|
format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
|
213
226
|
return false unless format_version_validator.valid?(@format_version)
|
214
227
|
true
|
@@ -224,6 +237,16 @@ module Fastly
|
|
224
237
|
@placement = placement
|
225
238
|
end
|
226
239
|
|
240
|
+
# Custom attribute writer method checking allowed values (enum).
|
241
|
+
# @param [Object] log_processing_region Object to be assigned
|
242
|
+
def log_processing_region=(log_processing_region)
|
243
|
+
validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
244
|
+
unless validator.valid?(log_processing_region)
|
245
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{validator.allowable_values}."
|
246
|
+
end
|
247
|
+
@log_processing_region = log_processing_region
|
248
|
+
end
|
249
|
+
|
227
250
|
# Custom attribute writer method checking allowed values (enum).
|
228
251
|
# @param [Object] format_version Object to be assigned
|
229
252
|
def format_version=(format_version)
|
@@ -243,6 +266,7 @@ module Fastly
|
|
243
266
|
placement == o.placement &&
|
244
267
|
response_condition == o.response_condition &&
|
245
268
|
format == o.format &&
|
269
|
+
log_processing_region == o.log_processing_region &&
|
246
270
|
format_version == o.format_version &&
|
247
271
|
dataset == o.dataset &&
|
248
272
|
token == o.token &&
|
@@ -262,7 +286,7 @@ module Fastly
|
|
262
286
|
# Calculates hash code according to all attributes.
|
263
287
|
# @return [Integer] Hash code
|
264
288
|
def hash
|
265
|
-
[name, placement, response_condition, format, format_version, dataset, token, created_at, deleted_at, updated_at, service_id, version].hash
|
289
|
+
[name, placement, response_condition, format, log_processing_region, format_version, dataset, token, created_at, deleted_at, updated_at, service_id, version].hash
|
266
290
|
end
|
267
291
|
|
268
292
|
# Builds the object from hash
|
@@ -39,7 +39,7 @@ module Fastly
|
|
39
39
|
# Enforces valid JSON formatting for log entries.
|
40
40
|
attr_accessor :json_format
|
41
41
|
|
42
|
-
# A Fastly [log format string](https://
|
42
|
+
# A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/).
|
43
43
|
attr_accessor :format
|
44
44
|
|
45
45
|
class EnumAttributeValidator
|
@@ -22,9 +22,12 @@ module Fastly
|
|
22
22
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
23
23
|
attr_accessor :response_condition
|
24
24
|
|
25
|
-
# A Fastly [log format string](https://
|
25
|
+
# A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/).
|
26
26
|
attr_accessor :format
|
27
27
|
|
28
|
+
# The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global.
|
29
|
+
attr_accessor :log_processing_region
|
30
|
+
|
28
31
|
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
29
32
|
attr_accessor :format_version
|
30
33
|
|
@@ -108,6 +111,7 @@ module Fastly
|
|
108
111
|
:'placement' => :'placement',
|
109
112
|
:'response_condition' => :'response_condition',
|
110
113
|
:'format' => :'format',
|
114
|
+
:'log_processing_region' => :'log_processing_region',
|
111
115
|
:'format_version' => :'format_version',
|
112
116
|
:'tls_ca_cert' => :'tls_ca_cert',
|
113
117
|
:'tls_client_cert' => :'tls_client_cert',
|
@@ -142,6 +146,7 @@ module Fastly
|
|
142
146
|
:'placement' => :'String',
|
143
147
|
:'response_condition' => :'String',
|
144
148
|
:'format' => :'String',
|
149
|
+
:'log_processing_region' => :'String',
|
145
150
|
:'format_version' => :'String',
|
146
151
|
:'tls_ca_cert' => :'String',
|
147
152
|
:'tls_client_cert' => :'String',
|
@@ -227,6 +232,12 @@ module Fastly
|
|
227
232
|
self.format = '%h %l %u %t \"%r\" %>s %b'
|
228
233
|
end
|
229
234
|
|
235
|
+
if attributes.key?(:'log_processing_region')
|
236
|
+
self.log_processing_region = attributes[:'log_processing_region']
|
237
|
+
else
|
238
|
+
self.log_processing_region = 'none'
|
239
|
+
end
|
240
|
+
|
230
241
|
if attributes.key?(:'format_version')
|
231
242
|
self.format_version = attributes[:'format_version']
|
232
243
|
else
|
@@ -340,6 +351,8 @@ module Fastly
|
|
340
351
|
def valid?
|
341
352
|
placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
|
342
353
|
return false unless placement_validator.valid?(@placement)
|
354
|
+
log_processing_region_validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
355
|
+
return false unless log_processing_region_validator.valid?(@log_processing_region)
|
343
356
|
format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
|
344
357
|
return false unless format_version_validator.valid?(@format_version)
|
345
358
|
method_validator = EnumAttributeValidator.new('String', ["POST", "PUT"])
|
@@ -359,6 +372,16 @@ module Fastly
|
|
359
372
|
@placement = placement
|
360
373
|
end
|
361
374
|
|
375
|
+
# Custom attribute writer method checking allowed values (enum).
|
376
|
+
# @param [Object] log_processing_region Object to be assigned
|
377
|
+
def log_processing_region=(log_processing_region)
|
378
|
+
validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
379
|
+
unless validator.valid?(log_processing_region)
|
380
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{validator.allowable_values}."
|
381
|
+
end
|
382
|
+
@log_processing_region = log_processing_region
|
383
|
+
end
|
384
|
+
|
362
385
|
# Custom attribute writer method checking allowed values (enum).
|
363
386
|
# @param [Object] format_version Object to be assigned
|
364
387
|
def format_version=(format_version)
|
@@ -398,6 +421,7 @@ module Fastly
|
|
398
421
|
placement == o.placement &&
|
399
422
|
response_condition == o.response_condition &&
|
400
423
|
format == o.format &&
|
424
|
+
log_processing_region == o.log_processing_region &&
|
401
425
|
format_version == o.format_version &&
|
402
426
|
tls_ca_cert == o.tls_ca_cert &&
|
403
427
|
tls_client_cert == o.tls_client_cert &&
|
@@ -428,7 +452,7 @@ module Fastly
|
|
428
452
|
# Calculates hash code according to all attributes.
|
429
453
|
# @return [Integer] Hash code
|
430
454
|
def hash
|
431
|
-
[name, placement, response_condition, format, format_version, tls_ca_cert, tls_client_cert, tls_client_key, tls_hostname, request_max_entries, request_max_bytes, url, content_type, header_name, message_type, header_value, method, json_format, created_at, deleted_at, updated_at, service_id, version].hash
|
455
|
+
[name, placement, response_condition, format, log_processing_region, format_version, tls_ca_cert, tls_client_cert, tls_client_key, tls_hostname, request_max_entries, request_max_bytes, url, content_type, header_name, message_type, header_value, method, json_format, created_at, deleted_at, updated_at, service_id, version].hash
|
432
456
|
end
|
433
457
|
|
434
458
|
# Builds the object from hash
|
@@ -22,9 +22,12 @@ module Fastly
|
|
22
22
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
23
23
|
attr_accessor :response_condition
|
24
24
|
|
25
|
-
# A Fastly [log format string](https://
|
25
|
+
# A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/).
|
26
26
|
attr_accessor :format
|
27
27
|
|
28
|
+
# The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global.
|
29
|
+
attr_accessor :log_processing_region
|
30
|
+
|
28
31
|
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
29
32
|
attr_accessor :format_version
|
30
33
|
|
@@ -111,6 +114,7 @@ module Fastly
|
|
111
114
|
:'placement' => :'placement',
|
112
115
|
:'response_condition' => :'response_condition',
|
113
116
|
:'format' => :'format',
|
117
|
+
:'log_processing_region' => :'log_processing_region',
|
114
118
|
:'format_version' => :'format_version',
|
115
119
|
:'tls_ca_cert' => :'tls_ca_cert',
|
116
120
|
:'tls_client_cert' => :'tls_client_cert',
|
@@ -146,6 +150,7 @@ module Fastly
|
|
146
150
|
:'placement' => :'String',
|
147
151
|
:'response_condition' => :'String',
|
148
152
|
:'format' => :'String',
|
153
|
+
:'log_processing_region' => :'String',
|
149
154
|
:'format_version' => :'String',
|
150
155
|
:'tls_ca_cert' => :'String',
|
151
156
|
:'tls_client_cert' => :'String',
|
@@ -229,6 +234,12 @@ module Fastly
|
|
229
234
|
self.format = '%h %l %u %t \"%r\" %>s %b'
|
230
235
|
end
|
231
236
|
|
237
|
+
if attributes.key?(:'log_processing_region')
|
238
|
+
self.log_processing_region = attributes[:'log_processing_region']
|
239
|
+
else
|
240
|
+
self.log_processing_region = 'none'
|
241
|
+
end
|
242
|
+
|
232
243
|
if attributes.key?(:'format_version')
|
233
244
|
self.format_version = attributes[:'format_version']
|
234
245
|
else
|
@@ -338,6 +349,8 @@ module Fastly
|
|
338
349
|
def valid?
|
339
350
|
placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
|
340
351
|
return false unless placement_validator.valid?(@placement)
|
352
|
+
log_processing_region_validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
353
|
+
return false unless log_processing_region_validator.valid?(@log_processing_region)
|
341
354
|
format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
|
342
355
|
return false unless format_version_validator.valid?(@format_version)
|
343
356
|
compression_codec_validator = EnumAttributeValidator.new('String', ["gzip", "snappy", "lz4", "null"])
|
@@ -359,6 +372,16 @@ module Fastly
|
|
359
372
|
@placement = placement
|
360
373
|
end
|
361
374
|
|
375
|
+
# Custom attribute writer method checking allowed values (enum).
|
376
|
+
# @param [Object] log_processing_region Object to be assigned
|
377
|
+
def log_processing_region=(log_processing_region)
|
378
|
+
validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
379
|
+
unless validator.valid?(log_processing_region)
|
380
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{validator.allowable_values}."
|
381
|
+
end
|
382
|
+
@log_processing_region = log_processing_region
|
383
|
+
end
|
384
|
+
|
362
385
|
# Custom attribute writer method checking allowed values (enum).
|
363
386
|
# @param [Object] format_version Object to be assigned
|
364
387
|
def format_version=(format_version)
|
@@ -408,6 +431,7 @@ module Fastly
|
|
408
431
|
placement == o.placement &&
|
409
432
|
response_condition == o.response_condition &&
|
410
433
|
format == o.format &&
|
434
|
+
log_processing_region == o.log_processing_region &&
|
411
435
|
format_version == o.format_version &&
|
412
436
|
tls_ca_cert == o.tls_ca_cert &&
|
413
437
|
tls_client_cert == o.tls_client_cert &&
|
@@ -439,7 +463,7 @@ module Fastly
|
|
439
463
|
# Calculates hash code according to all attributes.
|
440
464
|
# @return [Integer] Hash code
|
441
465
|
def hash
|
442
|
-
[name, placement, response_condition, format, format_version, tls_ca_cert, tls_client_cert, tls_client_key, tls_hostname, created_at, deleted_at, updated_at, service_id, version, topic, brokers, compression_codec, required_acks, request_max_bytes, parse_log_keyvals, auth_method, user, password, use_tls].hash
|
466
|
+
[name, placement, response_condition, format, log_processing_region, format_version, tls_ca_cert, tls_client_cert, tls_client_key, tls_hostname, created_at, deleted_at, updated_at, service_id, version, topic, brokers, compression_codec, required_acks, request_max_bytes, parse_log_keyvals, auth_method, user, password, use_tls].hash
|
443
467
|
end
|
444
468
|
|
445
469
|
# Builds the object from hash
|
@@ -22,9 +22,12 @@ module Fastly
|
|
22
22
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
23
23
|
attr_accessor :response_condition
|
24
24
|
|
25
|
-
# A Fastly [log format string](https://
|
25
|
+
# A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/).
|
26
26
|
attr_accessor :format
|
27
27
|
|
28
|
+
# The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global.
|
29
|
+
attr_accessor :log_processing_region
|
30
|
+
|
28
31
|
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
29
32
|
attr_accessor :format_version
|
30
33
|
|
@@ -111,6 +114,7 @@ module Fastly
|
|
111
114
|
:'placement' => :'placement',
|
112
115
|
:'response_condition' => :'response_condition',
|
113
116
|
:'format' => :'format',
|
117
|
+
:'log_processing_region' => :'log_processing_region',
|
114
118
|
:'format_version' => :'format_version',
|
115
119
|
:'tls_ca_cert' => :'tls_ca_cert',
|
116
120
|
:'tls_client_cert' => :'tls_client_cert',
|
@@ -146,6 +150,7 @@ module Fastly
|
|
146
150
|
:'placement' => :'String',
|
147
151
|
:'response_condition' => :'String',
|
148
152
|
:'format' => :'String',
|
153
|
+
:'log_processing_region' => :'String',
|
149
154
|
:'format_version' => :'Integer',
|
150
155
|
:'tls_ca_cert' => :'String',
|
151
156
|
:'tls_client_cert' => :'String',
|
@@ -230,6 +235,12 @@ module Fastly
|
|
230
235
|
self.format = '%h %l %u %t \"%r\" %>s %b'
|
231
236
|
end
|
232
237
|
|
238
|
+
if attributes.key?(:'log_processing_region')
|
239
|
+
self.log_processing_region = attributes[:'log_processing_region']
|
240
|
+
else
|
241
|
+
self.log_processing_region = 'none'
|
242
|
+
end
|
243
|
+
|
233
244
|
if attributes.key?(:'format_version')
|
234
245
|
self.format_version = attributes[:'format_version']
|
235
246
|
else
|
@@ -339,6 +350,8 @@ module Fastly
|
|
339
350
|
def valid?
|
340
351
|
placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
|
341
352
|
return false unless placement_validator.valid?(@placement)
|
353
|
+
log_processing_region_validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
354
|
+
return false unless log_processing_region_validator.valid?(@log_processing_region)
|
342
355
|
format_version_validator = EnumAttributeValidator.new('Integer', [1, 2])
|
343
356
|
return false unless format_version_validator.valid?(@format_version)
|
344
357
|
compression_codec_validator = EnumAttributeValidator.new('String', ["gzip", "snappy", "lz4", "null"])
|
@@ -360,6 +373,16 @@ module Fastly
|
|
360
373
|
@placement = placement
|
361
374
|
end
|
362
375
|
|
376
|
+
# Custom attribute writer method checking allowed values (enum).
|
377
|
+
# @param [Object] log_processing_region Object to be assigned
|
378
|
+
def log_processing_region=(log_processing_region)
|
379
|
+
validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
380
|
+
unless validator.valid?(log_processing_region)
|
381
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{validator.allowable_values}."
|
382
|
+
end
|
383
|
+
@log_processing_region = log_processing_region
|
384
|
+
end
|
385
|
+
|
363
386
|
# Custom attribute writer method checking allowed values (enum).
|
364
387
|
# @param [Object] format_version Object to be assigned
|
365
388
|
def format_version=(format_version)
|
@@ -409,6 +432,7 @@ module Fastly
|
|
409
432
|
placement == o.placement &&
|
410
433
|
response_condition == o.response_condition &&
|
411
434
|
format == o.format &&
|
435
|
+
log_processing_region == o.log_processing_region &&
|
412
436
|
format_version == o.format_version &&
|
413
437
|
tls_ca_cert == o.tls_ca_cert &&
|
414
438
|
tls_client_cert == o.tls_client_cert &&
|
@@ -440,7 +464,7 @@ module Fastly
|
|
440
464
|
# Calculates hash code according to all attributes.
|
441
465
|
# @return [Integer] Hash code
|
442
466
|
def hash
|
443
|
-
[name, placement, response_condition, format, format_version, tls_ca_cert, tls_client_cert, tls_client_key, tls_hostname, created_at, deleted_at, updated_at, service_id, version, topic, brokers, compression_codec, required_acks, request_max_bytes, parse_log_keyvals, auth_method, user, password, use_tls].hash
|
467
|
+
[name, placement, response_condition, format, log_processing_region, format_version, tls_ca_cert, tls_client_cert, tls_client_key, tls_hostname, created_at, deleted_at, updated_at, service_id, version, topic, brokers, compression_codec, required_acks, request_max_bytes, parse_log_keyvals, auth_method, user, password, use_tls].hash
|
444
468
|
end
|
445
469
|
|
446
470
|
# Builds the object from hash
|
@@ -18,7 +18,7 @@ module Fastly
|
|
18
18
|
|
19
19
|
attr_accessor :placement
|
20
20
|
|
21
|
-
# A Fastly [log format string](https://
|
21
|
+
# A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/).
|
22
22
|
attr_accessor :format
|
23
23
|
|
24
24
|
# The Amazon Kinesis stream to send logs to. Required.
|
@@ -18,7 +18,7 @@ module Fastly
|
|
18
18
|
|
19
19
|
attr_accessor :placement
|
20
20
|
|
21
|
-
# A Fastly [log format string](https://
|
21
|
+
# A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/).
|
22
22
|
attr_accessor :format
|
23
23
|
|
24
24
|
# The Amazon Kinesis stream to send logs to. Required.
|
@@ -22,9 +22,12 @@ module Fastly
|
|
22
22
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
23
23
|
attr_accessor :response_condition
|
24
24
|
|
25
|
-
# A Fastly [log format string](https://
|
25
|
+
# A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/).
|
26
26
|
attr_accessor :format
|
27
27
|
|
28
|
+
# The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global.
|
29
|
+
attr_accessor :log_processing_region
|
30
|
+
|
28
31
|
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
29
32
|
attr_accessor :format_version
|
30
33
|
|
@@ -81,6 +84,7 @@ module Fastly
|
|
81
84
|
:'placement' => :'placement',
|
82
85
|
:'response_condition' => :'response_condition',
|
83
86
|
:'format' => :'format',
|
87
|
+
:'log_processing_region' => :'log_processing_region',
|
84
88
|
:'format_version' => :'format_version',
|
85
89
|
:'port' => :'port',
|
86
90
|
:'token' => :'token',
|
@@ -106,6 +110,7 @@ module Fastly
|
|
106
110
|
:'placement' => :'String',
|
107
111
|
:'response_condition' => :'String',
|
108
112
|
:'format' => :'String',
|
113
|
+
:'log_processing_region' => :'String',
|
109
114
|
:'format_version' => :'String',
|
110
115
|
:'port' => :'Integer',
|
111
116
|
:'token' => :'String',
|
@@ -173,6 +178,12 @@ module Fastly
|
|
173
178
|
self.format = '%h %l %u %t \"%r\" %>s %b'
|
174
179
|
end
|
175
180
|
|
181
|
+
if attributes.key?(:'log_processing_region')
|
182
|
+
self.log_processing_region = attributes[:'log_processing_region']
|
183
|
+
else
|
184
|
+
self.log_processing_region = 'none'
|
185
|
+
end
|
186
|
+
|
176
187
|
if attributes.key?(:'format_version')
|
177
188
|
self.format_version = attributes[:'format_version']
|
178
189
|
else
|
@@ -232,6 +243,8 @@ module Fastly
|
|
232
243
|
def valid?
|
233
244
|
placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
|
234
245
|
return false unless placement_validator.valid?(@placement)
|
246
|
+
log_processing_region_validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
247
|
+
return false unless log_processing_region_validator.valid?(@log_processing_region)
|
235
248
|
format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
|
236
249
|
return false unless format_version_validator.valid?(@format_version)
|
237
250
|
region_validator = EnumAttributeValidator.new('String', ["US", "US-2", "US-3", "EU", "CA", "AU", "AP"])
|
@@ -249,6 +262,16 @@ module Fastly
|
|
249
262
|
@placement = placement
|
250
263
|
end
|
251
264
|
|
265
|
+
# Custom attribute writer method checking allowed values (enum).
|
266
|
+
# @param [Object] log_processing_region Object to be assigned
|
267
|
+
def log_processing_region=(log_processing_region)
|
268
|
+
validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
269
|
+
unless validator.valid?(log_processing_region)
|
270
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{validator.allowable_values}."
|
271
|
+
end
|
272
|
+
@log_processing_region = log_processing_region
|
273
|
+
end
|
274
|
+
|
252
275
|
# Custom attribute writer method checking allowed values (enum).
|
253
276
|
# @param [Object] format_version Object to be assigned
|
254
277
|
def format_version=(format_version)
|
@@ -278,6 +301,7 @@ module Fastly
|
|
278
301
|
placement == o.placement &&
|
279
302
|
response_condition == o.response_condition &&
|
280
303
|
format == o.format &&
|
304
|
+
log_processing_region == o.log_processing_region &&
|
281
305
|
format_version == o.format_version &&
|
282
306
|
port == o.port &&
|
283
307
|
token == o.token &&
|
@@ -299,7 +323,7 @@ module Fastly
|
|
299
323
|
# Calculates hash code according to all attributes.
|
300
324
|
# @return [Integer] Hash code
|
301
325
|
def hash
|
302
|
-
[name, placement, response_condition, format, format_version, port, token, use_tls, region, created_at, deleted_at, updated_at, service_id, version].hash
|
326
|
+
[name, placement, response_condition, format, log_processing_region, format_version, port, token, use_tls, region, created_at, deleted_at, updated_at, service_id, version].hash
|
303
327
|
end
|
304
328
|
|
305
329
|
# Builds the object from hash
|
@@ -22,9 +22,12 @@ module Fastly
|
|
22
22
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
23
23
|
attr_accessor :response_condition
|
24
24
|
|
25
|
-
# A Fastly [log format string](https://
|
25
|
+
# A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/).
|
26
26
|
attr_accessor :format
|
27
27
|
|
28
|
+
# The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global.
|
29
|
+
attr_accessor :log_processing_region
|
30
|
+
|
28
31
|
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
29
32
|
attr_accessor :format_version
|
30
33
|
|
@@ -73,6 +76,7 @@ module Fastly
|
|
73
76
|
:'placement' => :'placement',
|
74
77
|
:'response_condition' => :'response_condition',
|
75
78
|
:'format' => :'format',
|
79
|
+
:'log_processing_region' => :'log_processing_region',
|
76
80
|
:'format_version' => :'format_version',
|
77
81
|
:'token' => :'token',
|
78
82
|
:'created_at' => :'created_at',
|
@@ -95,6 +99,7 @@ module Fastly
|
|
95
99
|
:'placement' => :'String',
|
96
100
|
:'response_condition' => :'String',
|
97
101
|
:'format' => :'String',
|
102
|
+
:'log_processing_region' => :'String',
|
98
103
|
:'format_version' => :'String',
|
99
104
|
:'token' => :'String',
|
100
105
|
:'created_at' => :'Time',
|
@@ -159,6 +164,12 @@ module Fastly
|
|
159
164
|
self.format = '%h %l %u %t \"%r\" %>s %b'
|
160
165
|
end
|
161
166
|
|
167
|
+
if attributes.key?(:'log_processing_region')
|
168
|
+
self.log_processing_region = attributes[:'log_processing_region']
|
169
|
+
else
|
170
|
+
self.log_processing_region = 'none'
|
171
|
+
end
|
172
|
+
|
162
173
|
if attributes.key?(:'format_version')
|
163
174
|
self.format_version = attributes[:'format_version']
|
164
175
|
else
|
@@ -202,6 +213,8 @@ module Fastly
|
|
202
213
|
def valid?
|
203
214
|
placement_validator = EnumAttributeValidator.new('String', ["none", "null"])
|
204
215
|
return false unless placement_validator.valid?(@placement)
|
216
|
+
log_processing_region_validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
217
|
+
return false unless log_processing_region_validator.valid?(@log_processing_region)
|
205
218
|
format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
|
206
219
|
return false unless format_version_validator.valid?(@format_version)
|
207
220
|
true
|
@@ -217,6 +230,16 @@ module Fastly
|
|
217
230
|
@placement = placement
|
218
231
|
end
|
219
232
|
|
233
|
+
# Custom attribute writer method checking allowed values (enum).
|
234
|
+
# @param [Object] log_processing_region Object to be assigned
|
235
|
+
def log_processing_region=(log_processing_region)
|
236
|
+
validator = EnumAttributeValidator.new('String', ["none", "eu", "us"])
|
237
|
+
unless validator.valid?(log_processing_region)
|
238
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{validator.allowable_values}."
|
239
|
+
end
|
240
|
+
@log_processing_region = log_processing_region
|
241
|
+
end
|
242
|
+
|
220
243
|
# Custom attribute writer method checking allowed values (enum).
|
221
244
|
# @param [Object] format_version Object to be assigned
|
222
245
|
def format_version=(format_version)
|
@@ -236,6 +259,7 @@ module Fastly
|
|
236
259
|
placement == o.placement &&
|
237
260
|
response_condition == o.response_condition &&
|
238
261
|
format == o.format &&
|
262
|
+
log_processing_region == o.log_processing_region &&
|
239
263
|
format_version == o.format_version &&
|
240
264
|
token == o.token &&
|
241
265
|
created_at == o.created_at &&
|
@@ -254,7 +278,7 @@ module Fastly
|
|
254
278
|
# Calculates hash code according to all attributes.
|
255
279
|
# @return [Integer] Hash code
|
256
280
|
def hash
|
257
|
-
[name, placement, response_condition, format, format_version, token, created_at, deleted_at, updated_at, service_id, version].hash
|
281
|
+
[name, placement, response_condition, format, log_processing_region, format_version, token, created_at, deleted_at, updated_at, service_id, version].hash
|
258
282
|
end
|
259
283
|
|
260
284
|
# Builds the object from hash
|