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
@@ -24,7 +24,8 @@ module Fastly
|
|
24
24
|
# @option opts [String] :name The name for the real-time logging configuration.
|
25
25
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
26
26
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
27
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
27
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
28
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
28
29
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
29
30
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
30
31
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -56,7 +57,8 @@ module Fastly
|
|
56
57
|
# @option opts [String] :name The name for the real-time logging configuration.
|
57
58
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
58
59
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
59
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
60
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
61
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
60
62
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
61
63
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
62
64
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -95,6 +97,10 @@ module Fastly
|
|
95
97
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
96
98
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
97
99
|
end
|
100
|
+
allowable_values = ["none", "eu", "us"]
|
101
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
102
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
103
|
+
end
|
98
104
|
allowable_values = [1, 2]
|
99
105
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
100
106
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -133,6 +139,7 @@ module Fastly
|
|
133
139
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
134
140
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
135
141
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
142
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
136
143
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
137
144
|
form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
|
138
145
|
form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?
|
@@ -410,7 +417,8 @@ module Fastly
|
|
410
417
|
# @option opts [String] :name The name for the real-time logging configuration.
|
411
418
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
412
419
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
413
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
420
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
421
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
414
422
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
415
423
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
416
424
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -443,7 +451,8 @@ module Fastly
|
|
443
451
|
# @option opts [String] :name The name for the real-time logging configuration.
|
444
452
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
445
453
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
446
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
454
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
455
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
447
456
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
448
457
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
449
458
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -487,6 +496,10 @@ module Fastly
|
|
487
496
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
488
497
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
489
498
|
end
|
499
|
+
allowable_values = ["none", "eu", "us"]
|
500
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
501
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
502
|
+
end
|
490
503
|
allowable_values = [1, 2]
|
491
504
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
492
505
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -525,6 +538,7 @@ module Fastly
|
|
525
538
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
526
539
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
527
540
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
541
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
528
542
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
529
543
|
form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
|
530
544
|
form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?
|
@@ -24,7 +24,8 @@ module Fastly
|
|
24
24
|
# @option opts [String] :name The name for the real-time logging configuration.
|
25
25
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
26
26
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
27
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
27
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
28
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
28
29
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
29
30
|
# @option opts [String] :region The region that log data will be sent to. (default to 'US')
|
30
31
|
# @option opts [String] :token The token to use for authentication.
|
@@ -42,7 +43,8 @@ module Fastly
|
|
42
43
|
# @option opts [String] :name The name for the real-time logging configuration.
|
43
44
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
44
45
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
45
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
46
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
47
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
46
48
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
47
49
|
# @option opts [String] :region The region that log data will be sent to. (default to 'US')
|
48
50
|
# @option opts [String] :token The token to use for authentication.
|
@@ -67,6 +69,10 @@ module Fastly
|
|
67
69
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
68
70
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
69
71
|
end
|
72
|
+
allowable_values = ["none", "eu", "us"]
|
73
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
74
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
75
|
+
end
|
70
76
|
allowable_values = [1, 2]
|
71
77
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
72
78
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -97,6 +103,7 @@ module Fastly
|
|
97
103
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
98
104
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
99
105
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
106
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
100
107
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
101
108
|
form_params['region'] = opts[:'region'] if !opts[:'region'].nil?
|
102
109
|
form_params['token'] = opts[:'token'] if !opts[:'token'].nil?
|
@@ -360,7 +367,8 @@ module Fastly
|
|
360
367
|
# @option opts [String] :name The name for the real-time logging configuration.
|
361
368
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
362
369
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
363
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
370
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
371
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
364
372
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
365
373
|
# @option opts [String] :region The region that log data will be sent to. (default to 'US')
|
366
374
|
# @option opts [String] :token The token to use for authentication.
|
@@ -379,7 +387,8 @@ module Fastly
|
|
379
387
|
# @option opts [String] :name The name for the real-time logging configuration.
|
380
388
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
381
389
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
382
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
390
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
391
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
383
392
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
384
393
|
# @option opts [String] :region The region that log data will be sent to. (default to 'US')
|
385
394
|
# @option opts [String] :token The token to use for authentication.
|
@@ -409,6 +418,10 @@ module Fastly
|
|
409
418
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
410
419
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
411
420
|
end
|
421
|
+
allowable_values = ["none", "eu", "us"]
|
422
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
423
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
424
|
+
end
|
412
425
|
allowable_values = [1, 2]
|
413
426
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
414
427
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -439,6 +452,7 @@ module Fastly
|
|
439
452
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
440
453
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
441
454
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
455
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
442
456
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
443
457
|
form_params['region'] = opts[:'region'] if !opts[:'region'].nil?
|
444
458
|
form_params['token'] = opts[:'token'] if !opts[:'token'].nil?
|
@@ -24,7 +24,8 @@ module Fastly
|
|
24
24
|
# @option opts [String] :name The name for the real-time logging configuration.
|
25
25
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
26
26
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
27
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
27
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
28
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
28
29
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
29
30
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
30
31
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -52,7 +53,8 @@ module Fastly
|
|
52
53
|
# @option opts [String] :name The name for the real-time logging configuration.
|
53
54
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
54
55
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
55
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
56
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
57
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
56
58
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
57
59
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
58
60
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -87,6 +89,10 @@ module Fastly
|
|
87
89
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
88
90
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
89
91
|
end
|
92
|
+
allowable_values = ["none", "eu", "us"]
|
93
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
94
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
95
|
+
end
|
90
96
|
allowable_values = [1, 2]
|
91
97
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
92
98
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -121,6 +127,7 @@ module Fastly
|
|
121
127
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
122
128
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
123
129
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
130
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
124
131
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
125
132
|
form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
|
126
133
|
form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?
|
@@ -394,7 +401,8 @@ module Fastly
|
|
394
401
|
# @option opts [String] :name The name for the real-time logging configuration.
|
395
402
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
396
403
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
397
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
404
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
405
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
398
406
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
399
407
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
400
408
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -423,7 +431,8 @@ module Fastly
|
|
423
431
|
# @option opts [String] :name The name for the real-time logging configuration.
|
424
432
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
425
433
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
426
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
434
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
435
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
427
436
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
428
437
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
429
438
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -463,6 +472,10 @@ module Fastly
|
|
463
472
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
464
473
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
465
474
|
end
|
475
|
+
allowable_values = ["none", "eu", "us"]
|
476
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
477
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
478
|
+
end
|
466
479
|
allowable_values = [1, 2]
|
467
480
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
468
481
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -497,6 +510,7 @@ module Fastly
|
|
497
510
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
498
511
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
499
512
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
513
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
500
514
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
501
515
|
form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
|
502
516
|
form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?
|
@@ -24,7 +24,8 @@ module Fastly
|
|
24
24
|
# @option opts [String] :name The name for the real-time logging configuration.
|
25
25
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
26
26
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
27
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
27
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
28
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
28
29
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
29
30
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
30
31
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -48,7 +49,8 @@ module Fastly
|
|
48
49
|
# @option opts [String] :name The name for the real-time logging configuration.
|
49
50
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
50
51
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
51
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
52
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
53
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
52
54
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
53
55
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
54
56
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -79,6 +81,10 @@ module Fastly
|
|
79
81
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
80
82
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
81
83
|
end
|
84
|
+
allowable_values = ["none", "eu", "us"]
|
85
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
86
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
87
|
+
end
|
82
88
|
allowable_values = [1, 2]
|
83
89
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
84
90
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -105,6 +111,7 @@ module Fastly
|
|
105
111
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
106
112
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
107
113
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
114
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
108
115
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
109
116
|
form_params['tls_ca_cert'] = opts[:'tls_ca_cert'] if !opts[:'tls_ca_cert'].nil?
|
110
117
|
form_params['tls_client_cert'] = opts[:'tls_client_cert'] if !opts[:'tls_client_cert'].nil?
|
@@ -374,7 +381,8 @@ module Fastly
|
|
374
381
|
# @option opts [String] :name The name for the real-time logging configuration.
|
375
382
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
376
383
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
377
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
384
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
385
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
378
386
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
379
387
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
380
388
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -399,7 +407,8 @@ module Fastly
|
|
399
407
|
# @option opts [String] :name The name for the real-time logging configuration.
|
400
408
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
401
409
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
402
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
410
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
411
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
403
412
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
404
413
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
405
414
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -435,6 +444,10 @@ module Fastly
|
|
435
444
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
436
445
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
437
446
|
end
|
447
|
+
allowable_values = ["none", "eu", "us"]
|
448
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
449
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
450
|
+
end
|
438
451
|
allowable_values = [1, 2]
|
439
452
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
440
453
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -461,6 +474,7 @@ module Fastly
|
|
461
474
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
462
475
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
463
476
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
477
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
464
478
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
465
479
|
form_params['tls_ca_cert'] = opts[:'tls_ca_cert'] if !opts[:'tls_ca_cert'].nil?
|
466
480
|
form_params['tls_client_cert'] = opts[:'tls_client_cert'] if !opts[:'tls_client_cert'].nil?
|
@@ -24,7 +24,8 @@ module Fastly
|
|
24
24
|
# @option opts [String] :name The name for the real-time logging configuration.
|
25
25
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
26
26
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
27
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
27
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
28
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
28
29
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
29
30
|
# @option opts [LoggingMessageType] :message_type (default to 'classic')
|
30
31
|
# @option opts [String] :url The URL to post logs to.
|
@@ -41,7 +42,8 @@ module Fastly
|
|
41
42
|
# @option opts [String] :name The name for the real-time logging configuration.
|
42
43
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
43
44
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
44
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
45
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
46
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
45
47
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
46
48
|
# @option opts [LoggingMessageType] :message_type (default to 'classic')
|
47
49
|
# @option opts [String] :url The URL to post logs to.
|
@@ -65,6 +67,10 @@ module Fastly
|
|
65
67
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
66
68
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
67
69
|
end
|
70
|
+
allowable_values = ["none", "eu", "us"]
|
71
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
72
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
73
|
+
end
|
68
74
|
allowable_values = [1, 2]
|
69
75
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
70
76
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -91,6 +97,7 @@ module Fastly
|
|
91
97
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
92
98
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
93
99
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
100
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
94
101
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
95
102
|
form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
|
96
103
|
form_params['url'] = opts[:'url'] if !opts[:'url'].nil?
|
@@ -353,7 +360,8 @@ module Fastly
|
|
353
360
|
# @option opts [String] :name The name for the real-time logging configuration.
|
354
361
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
355
362
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
356
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
363
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
364
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
357
365
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
358
366
|
# @option opts [LoggingMessageType] :message_type (default to 'classic')
|
359
367
|
# @option opts [String] :url The URL to post logs to.
|
@@ -371,7 +379,8 @@ module Fastly
|
|
371
379
|
# @option opts [String] :name The name for the real-time logging configuration.
|
372
380
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
373
381
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
374
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
382
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
383
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
375
384
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
376
385
|
# @option opts [LoggingMessageType] :message_type (default to 'classic')
|
377
386
|
# @option opts [String] :url The URL to post logs to.
|
@@ -400,6 +409,10 @@ module Fastly
|
|
400
409
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
401
410
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
402
411
|
end
|
412
|
+
allowable_values = ["none", "eu", "us"]
|
413
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
414
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
415
|
+
end
|
403
416
|
allowable_values = [1, 2]
|
404
417
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
405
418
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -426,6 +439,7 @@ module Fastly
|
|
426
439
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
427
440
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
428
441
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
442
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
429
443
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
430
444
|
form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
|
431
445
|
form_params['url'] = opts[:'url'] if !opts[:'url'].nil?
|
@@ -24,7 +24,8 @@ module Fastly
|
|
24
24
|
# @option opts [String] :name The name for the real-time logging configuration.
|
25
25
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
26
26
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
27
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
27
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
28
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
28
29
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
29
30
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
30
31
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -50,7 +51,8 @@ module Fastly
|
|
50
51
|
# @option opts [String] :name The name for the real-time logging configuration.
|
51
52
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
52
53
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
53
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
54
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
55
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
54
56
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
55
57
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
56
58
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -83,6 +85,10 @@ module Fastly
|
|
83
85
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
84
86
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
85
87
|
end
|
88
|
+
allowable_values = ["none", "eu", "us"]
|
89
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
90
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
91
|
+
end
|
86
92
|
allowable_values = [1, 2]
|
87
93
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
88
94
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -109,6 +115,7 @@ module Fastly
|
|
109
115
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
110
116
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
111
117
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
118
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
112
119
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
113
120
|
form_params['tls_ca_cert'] = opts[:'tls_ca_cert'] if !opts[:'tls_ca_cert'].nil?
|
114
121
|
form_params['tls_client_cert'] = opts[:'tls_client_cert'] if !opts[:'tls_client_cert'].nil?
|
@@ -380,7 +387,8 @@ module Fastly
|
|
380
387
|
# @option opts [String] :name The name for the real-time logging configuration.
|
381
388
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
382
389
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
383
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
390
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
391
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
384
392
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
385
393
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
386
394
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -407,7 +415,8 @@ module Fastly
|
|
407
415
|
# @option opts [String] :name The name for the real-time logging configuration.
|
408
416
|
# @option opts [String] :placement Where in the generated VCL the logging call should be placed. If not set, endpoints with `format_version` of 2 are placed in `vcl_log` and those with `format_version` of 1 are placed in `vcl_deliver`.
|
409
417
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
410
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
418
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). (default to '%h %l %u %t \"%r\" %>s %b')
|
419
|
+
# @option opts [String] :log_processing_region The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. (default to 'none')
|
411
420
|
# @option opts [Integer] :format_version 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`. (default to FORMAT_VERSION::v2)
|
412
421
|
# @option opts [String] :tls_ca_cert A secure certificate to authenticate a server with. Must be in PEM format. (default to 'null')
|
413
422
|
# @option opts [String] :tls_client_cert The client certificate used to make authenticated requests. Must be in PEM format. (default to 'null')
|
@@ -445,6 +454,10 @@ module Fastly
|
|
445
454
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
446
455
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
447
456
|
end
|
457
|
+
allowable_values = ["none", "eu", "us"]
|
458
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
459
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
460
|
+
end
|
448
461
|
allowable_values = [1, 2]
|
449
462
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
450
463
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -471,6 +484,7 @@ module Fastly
|
|
471
484
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
472
485
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
473
486
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
487
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
474
488
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
475
489
|
form_params['tls_ca_cert'] = opts[:'tls_ca_cert'] if !opts[:'tls_ca_cert'].nil?
|
476
490
|
form_params['tls_client_cert'] = opts[:'tls_client_cert'] if !opts[:'tls_client_cert'].nil?
|
data/lib/fastly/api/pool_api.rb
CHANGED
@@ -41,7 +41,7 @@ module Fastly
|
|
41
41
|
# @option opts [String] :healthcheck Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
|
42
42
|
# @option opts [String] :comment A freeform descriptive note.
|
43
43
|
# @option opts [String] :type What type of load balance group to use.
|
44
|
-
# @option opts [String] :override_host The hostname to [override the Host header](https://
|
44
|
+
# @option opts [String] :override_host The hostname to [override the Host header](https://www.fastly.com/documentation/guides/full-site-delivery/domains-and-origins/specifying-an-override-host/). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. (default to 'null')
|
45
45
|
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. (default to 10000)
|
46
46
|
# @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
|
47
47
|
# @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
|
@@ -78,7 +78,7 @@ module Fastly
|
|
78
78
|
# @option opts [String] :healthcheck Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
|
79
79
|
# @option opts [String] :comment A freeform descriptive note.
|
80
80
|
# @option opts [String] :type What type of load balance group to use.
|
81
|
-
# @option opts [String] :override_host The hostname to [override the Host header](https://
|
81
|
+
# @option opts [String] :override_host The hostname to [override the Host header](https://www.fastly.com/documentation/guides/full-site-delivery/domains-and-origins/specifying-an-override-host/). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. (default to 'null')
|
82
82
|
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. (default to 10000)
|
83
83
|
# @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
|
84
84
|
# @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
|
@@ -438,7 +438,7 @@ module Fastly
|
|
438
438
|
# @option opts [String] :healthcheck Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
|
439
439
|
# @option opts [String] :comment A freeform descriptive note.
|
440
440
|
# @option opts [String] :type What type of load balance group to use.
|
441
|
-
# @option opts [String] :override_host The hostname to [override the Host header](https://
|
441
|
+
# @option opts [String] :override_host The hostname to [override the Host header](https://www.fastly.com/documentation/guides/full-site-delivery/domains-and-origins/specifying-an-override-host/). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. (default to 'null')
|
442
442
|
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. (default to 10000)
|
443
443
|
# @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
|
444
444
|
# @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
|
@@ -476,7 +476,7 @@ module Fastly
|
|
476
476
|
# @option opts [String] :healthcheck Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
|
477
477
|
# @option opts [String] :comment A freeform descriptive note.
|
478
478
|
# @option opts [String] :type What type of load balance group to use.
|
479
|
-
# @option opts [String] :override_host The hostname to [override the Host header](https://
|
479
|
+
# @option opts [String] :override_host The hostname to [override the Host header](https://www.fastly.com/documentation/guides/full-site-delivery/domains-and-origins/specifying-an-override-host/). Defaults to `null` meaning no override of the Host header will occur. This setting can also be added to a Server definition. If the field is set on a Server definition it will override the Pool setting. (default to 'null')
|
480
480
|
# @option opts [Integer] :between_bytes_timeout Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. (default to 10000)
|
481
481
|
# @option opts [Integer] :connect_timeout How long to wait for a timeout in milliseconds. Optional.
|
482
482
|
# @option opts [Integer] :first_byte_timeout How long to wait for the first byte in milliseconds. Optional.
|
data/lib/fastly/api/purge_api.rb
CHANGED
@@ -94,7 +94,7 @@ module Fastly
|
|
94
94
|
end
|
95
95
|
|
96
96
|
# Purge everything from a service
|
97
|
-
# Instant Purge everything from a service. Purge-all requests cannot be done in soft mode and will always immediately invalidate all cached content associated with the service. To do a soft-purge-all, consider applying a constant [surrogate key](https://
|
97
|
+
# Instant Purge everything from a service. Purge-all requests cannot be done in soft mode and will always immediately invalidate all cached content associated with the service. To do a soft-purge-all, consider applying a constant [surrogate key](https://www.fastly.com/documentation/guides/full-site-delivery/purging/working-with-surrogate-keys/) tag (e.g., `\"all\"`) to all objects.
|
98
98
|
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
99
99
|
# @return [InlineResponse200]
|
100
100
|
def purge_all(opts = {})
|
@@ -103,7 +103,7 @@ module Fastly
|
|
103
103
|
end
|
104
104
|
|
105
105
|
# Purge everything from a service
|
106
|
-
# Instant Purge everything from a service. Purge-all requests cannot be done in soft mode and will always immediately invalidate all cached content associated with the service. To do a soft-purge-all, consider applying a constant [surrogate key](https://
|
106
|
+
# Instant Purge everything from a service. Purge-all requests cannot be done in soft mode and will always immediately invalidate all cached content associated with the service. To do a soft-purge-all, consider applying a constant [surrogate key](https://www.fastly.com/documentation/guides/full-site-delivery/purging/working-with-surrogate-keys/) tag (e.g., `\"all\"`) to all objects.
|
107
107
|
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
|
108
108
|
# @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
|
109
109
|
def purge_all_with_http_info(opts = {})
|