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
data/docs/LoggingSyslogApi.md
CHANGED
@@ -38,7 +38,8 @@ opts = {
|
|
38
38
|
name: 'name_example', # String | The name for the real-time logging configuration.
|
39
39
|
placement: 'none', # String | 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`.
|
40
40
|
response_condition: 'response_condition_example', # String | The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
41
|
-
format: 'format_example', # String | A Fastly [log format string](https://
|
41
|
+
format: 'format_example', # String | A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/).
|
42
|
+
log_processing_region: 'none', # String | The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global.
|
42
43
|
format_version: 1, # Integer | 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`.
|
43
44
|
tls_ca_cert: 'tls_ca_cert_example', # String | A secure certificate to authenticate a server with. Must be in PEM format.
|
44
45
|
tls_client_cert: 'tls_client_cert_example', # String | The client certificate used to make authenticated requests. Must be in PEM format.
|
@@ -71,7 +72,8 @@ end
|
|
71
72
|
| **name** | **String** | The name for the real-time logging configuration. | [optional] |
|
72
73
|
| **placement** | **String** | 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`. | [optional] |
|
73
74
|
| **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] |
|
74
|
-
| **format** | **String** | A Fastly [log format string](https://
|
75
|
+
| **format** | **String** | A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). | [optional][default to '%h %l %u %t \"%r\" %>s %b'] |
|
76
|
+
| **log_processing_region** | **String** | The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. | [optional][default to 'none'] |
|
75
77
|
| **format_version** | **Integer** | 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`. | [optional][default to FORMAT_VERSION::v2] |
|
76
78
|
| **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional][default to 'null'] |
|
77
79
|
| **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional][default to 'null'] |
|
@@ -231,7 +233,8 @@ opts = {
|
|
231
233
|
name: 'name_example', # String | The name for the real-time logging configuration.
|
232
234
|
placement: 'none', # String | 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`.
|
233
235
|
response_condition: 'response_condition_example', # String | The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
234
|
-
format: 'format_example', # String | A Fastly [log format string](https://
|
236
|
+
format: 'format_example', # String | A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/).
|
237
|
+
log_processing_region: 'none', # String | The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global.
|
235
238
|
format_version: 1, # Integer | 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`.
|
236
239
|
tls_ca_cert: 'tls_ca_cert_example', # String | A secure certificate to authenticate a server with. Must be in PEM format.
|
237
240
|
tls_client_cert: 'tls_client_cert_example', # String | The client certificate used to make authenticated requests. Must be in PEM format.
|
@@ -265,7 +268,8 @@ end
|
|
265
268
|
| **name** | **String** | The name for the real-time logging configuration. | [optional] |
|
266
269
|
| **placement** | **String** | 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`. | [optional] |
|
267
270
|
| **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] |
|
268
|
-
| **format** | **String** | A Fastly [log format string](https://
|
271
|
+
| **format** | **String** | A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). | [optional][default to '%h %l %u %t \"%r\" %>s %b'] |
|
272
|
+
| **log_processing_region** | **String** | The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. | [optional][default to 'none'] |
|
269
273
|
| **format_version** | **Integer** | 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`. | [optional][default to FORMAT_VERSION::v2] |
|
270
274
|
| **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional][default to 'null'] |
|
271
275
|
| **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional][default to 'null'] |
|
@@ -7,7 +7,8 @@
|
|
7
7
|
| **name** | **String** | The name for the real-time logging configuration. | [optional] |
|
8
8
|
| **placement** | **String** | 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`. | [optional] |
|
9
9
|
| **response_condition** | **String** | The name of an existing condition in the configured endpoint, or leave blank to always execute. | [optional] |
|
10
|
-
| **format** | **String** | A Fastly [log format string](https://
|
10
|
+
| **format** | **String** | A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). | [optional][default to '%h %l %u %t \"%r\" %>s %b'] |
|
11
|
+
| **log_processing_region** | **String** | The geographic region where the logs will be processed before streaming. Valid values are `us`, `eu`, and `none` for global. | [optional][default to 'none'] |
|
11
12
|
| **format_version** | **String** | 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`. | [optional][default to '2'] |
|
12
13
|
| **tls_ca_cert** | **String** | A secure certificate to authenticate a server with. Must be in PEM format. | [optional][default to 'null'] |
|
13
14
|
| **tls_client_cert** | **String** | The client certificate used to make authenticated requests. Must be in PEM format. | [optional][default to 'null'] |
|
data/docs/PoolAdditional.md
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
| **healthcheck** | **String** | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. | [optional] |
|
15
15
|
| **comment** | **String** | A freeform descriptive note. | [optional] |
|
16
16
|
| **type** | **String** | What type of load balance group to use. | [optional] |
|
17
|
-
| **override_host** | **String** | The hostname to [override the Host header](https://
|
17
|
+
| **override_host** | **String** | 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. | [optional][default to 'null'] |
|
18
18
|
|
19
19
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
20
20
|
|
data/docs/PoolApi.md
CHANGED
@@ -55,7 +55,7 @@ opts = {
|
|
55
55
|
healthcheck: 'healthcheck_example', # String | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
|
56
56
|
comment: 'comment_example', # String | A freeform descriptive note.
|
57
57
|
type: 'random', # String | What type of load balance group to use.
|
58
|
-
override_host: 'override_host_example', # String | The hostname to [override the Host header](https://
|
58
|
+
override_host: 'override_host_example', # String | 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.
|
59
59
|
between_bytes_timeout: 56, # Integer | 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`.
|
60
60
|
connect_timeout: 56, # Integer | How long to wait for a timeout in milliseconds. Optional.
|
61
61
|
first_byte_timeout: 56, # Integer | How long to wait for the first byte in milliseconds. Optional.
|
@@ -99,7 +99,7 @@ end
|
|
99
99
|
| **healthcheck** | **String** | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. | [optional] |
|
100
100
|
| **comment** | **String** | A freeform descriptive note. | [optional] |
|
101
101
|
| **type** | **String** | What type of load balance group to use. | [optional] |
|
102
|
-
| **override_host** | **String** | The hostname to [override the Host header](https://
|
102
|
+
| **override_host** | **String** | 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. | [optional][default to 'null'] |
|
103
103
|
| **between_bytes_timeout** | **Integer** | 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`. | [optional][default to 10000] |
|
104
104
|
| **connect_timeout** | **Integer** | How long to wait for a timeout in milliseconds. Optional. | [optional] |
|
105
105
|
| **first_byte_timeout** | **Integer** | How long to wait for the first byte in milliseconds. Optional. | [optional] |
|
@@ -270,7 +270,7 @@ opts = {
|
|
270
270
|
healthcheck: 'healthcheck_example', # String | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools.
|
271
271
|
comment: 'comment_example', # String | A freeform descriptive note.
|
272
272
|
type: 'random', # String | What type of load balance group to use.
|
273
|
-
override_host: 'override_host_example', # String | The hostname to [override the Host header](https://
|
273
|
+
override_host: 'override_host_example', # String | 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.
|
274
274
|
between_bytes_timeout: 56, # Integer | 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`.
|
275
275
|
connect_timeout: 56, # Integer | How long to wait for a timeout in milliseconds. Optional.
|
276
276
|
first_byte_timeout: 56, # Integer | How long to wait for the first byte in milliseconds. Optional.
|
@@ -315,7 +315,7 @@ end
|
|
315
315
|
| **healthcheck** | **String** | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. | [optional] |
|
316
316
|
| **comment** | **String** | A freeform descriptive note. | [optional] |
|
317
317
|
| **type** | **String** | What type of load balance group to use. | [optional] |
|
318
|
-
| **override_host** | **String** | The hostname to [override the Host header](https://
|
318
|
+
| **override_host** | **String** | 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. | [optional][default to 'null'] |
|
319
319
|
| **between_bytes_timeout** | **Integer** | 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`. | [optional][default to 10000] |
|
320
320
|
| **connect_timeout** | **Integer** | How long to wait for a timeout in milliseconds. Optional. | [optional] |
|
321
321
|
| **first_byte_timeout** | **Integer** | How long to wait for the first byte in milliseconds. Optional. | [optional] |
|
data/docs/PoolResponse.md
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
| **healthcheck** | **String** | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. | [optional] |
|
25
25
|
| **comment** | **String** | A freeform descriptive note. | [optional] |
|
26
26
|
| **type** | **String** | What type of load balance group to use. | [optional] |
|
27
|
-
| **override_host** | **String** | The hostname to [override the Host header](https://
|
27
|
+
| **override_host** | **String** | 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. | [optional][default to 'null'] |
|
28
28
|
| **between_bytes_timeout** | **String** | 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`. | [optional] |
|
29
29
|
| **connect_timeout** | **String** | How long to wait for a timeout in milliseconds. | [optional] |
|
30
30
|
| **first_byte_timeout** | **String** | How long to wait for the first byte in milliseconds. | [optional] |
|
data/docs/PoolResponsePost.md
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
| **healthcheck** | **String** | Name of the healthcheck to use with this pool. Can be empty and could be reused across multiple backend and pools. | [optional] |
|
25
25
|
| **comment** | **String** | A freeform descriptive note. | [optional] |
|
26
26
|
| **type** | **String** | What type of load balance group to use. | [optional] |
|
27
|
-
| **override_host** | **String** | The hostname to [override the Host header](https://
|
27
|
+
| **override_host** | **String** | 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. | [optional][default to 'null'] |
|
28
28
|
| **between_bytes_timeout** | **String** | 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`. | [optional] |
|
29
29
|
| **connect_timeout** | **String** | How long to wait for a timeout in milliseconds. | [optional] |
|
30
30
|
| **first_byte_timeout** | **String** | How long to wait for the first byte in milliseconds. | [optional] |
|
data/docs/PurgeApi.md
CHANGED
@@ -68,7 +68,7 @@ end
|
|
68
68
|
purge_all(opts): <InlineResponse200> # Purge everything from a service
|
69
69
|
```
|
70
70
|
|
71
|
-
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://
|
71
|
+
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.
|
72
72
|
|
73
73
|
### Examples
|
74
74
|
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **cert_blob** | **String** | The PEM-formatted certificate blob. Required. | [optional] |
|
8
8
|
| **name** | **String** | A customizable name for your certificate. Defaults to the certificate's Common Name or first Subject Alternative Names (SAN) entry. Optional. | [optional] |
|
9
|
+
| **allow_untrusted_root** | **Boolean** | Indicates that the supplied certificate was not signed by a trusted CA. | [optional] |
|
9
10
|
|
10
11
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
11
12
|
|
data/docs/TlsCsrData.md
CHANGED
@@ -6,7 +6,6 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **type** | [**TypeTlsCsr**](TypeTlsCsr.md) | | [optional][default to 'csr'] |
|
8
8
|
| **attributes** | [**TlsCsrDataAttributes**](TlsCsrDataAttributes.md) | | [optional] |
|
9
|
-
| **relationships** | [**RelationshipTlsPrivateKey**](RelationshipTlsPrivateKey.md) | | [optional] |
|
10
9
|
|
11
10
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
12
11
|
|
@@ -15,6 +15,7 @@
|
|
15
15
|
| **organizational_unit** | **String** | Organizational Unit (OU) - The internal division of the organization managing the certificate. | [optional] |
|
16
16
|
| **email** | **String** | Email Address (EMAIL) - The organizational contact for this. | [optional] |
|
17
17
|
| **key_type** | **String** | CSR Key Type. | [optional] |
|
18
|
+
| **relationships_tls_private_key_id** | **String** | Optional. An alphanumeric string identifying the private key you've uploaded for use with your TLS certificate. If left blank, Fastly will create and manage a key for you. | [optional] |
|
18
19
|
|
19
20
|
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
|
20
21
|
|
@@ -39,10 +39,10 @@ module Fastly
|
|
39
39
|
# @option opts [String] :name The name of the backend.
|
40
40
|
# @option opts [String] :override_host If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
|
41
41
|
# @option opts [Integer] :port Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
|
42
|
-
# @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends.
|
42
|
+
# @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends. Default is 'false' for Delivery services and 'true' for Compute services.
|
43
43
|
# @option opts [String] :request_condition Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
|
44
44
|
# @option opts [String] :share_key Value that when shared across backends will enable those backends to share the same health check.
|
45
|
-
# @option opts [String] :shield Identifier of the POP to use as a [shield](https://
|
45
|
+
# @option opts [String] :shield Identifier of the POP to use as a [shield](https://www.fastly.com/documentation/guides/getting-started/hosts/shielding/).
|
46
46
|
# @option opts [String] :ssl_ca_cert CA certificate attached to origin.
|
47
47
|
# @option opts [String] :ssl_cert_hostname Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
|
48
48
|
# @option opts [Boolean] :ssl_check_cert Be strict on checking SSL certs. (default to true)
|
@@ -85,10 +85,10 @@ module Fastly
|
|
85
85
|
# @option opts [String] :name The name of the backend.
|
86
86
|
# @option opts [String] :override_host If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
|
87
87
|
# @option opts [Integer] :port Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
|
88
|
-
# @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends.
|
88
|
+
# @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends. Default is 'false' for Delivery services and 'true' for Compute services.
|
89
89
|
# @option opts [String] :request_condition Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
|
90
90
|
# @option opts [String] :share_key Value that when shared across backends will enable those backends to share the same health check.
|
91
|
-
# @option opts [String] :shield Identifier of the POP to use as a [shield](https://
|
91
|
+
# @option opts [String] :shield Identifier of the POP to use as a [shield](https://www.fastly.com/documentation/guides/getting-started/hosts/shielding/).
|
92
92
|
# @option opts [String] :ssl_ca_cert CA certificate attached to origin.
|
93
93
|
# @option opts [String] :ssl_cert_hostname Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
|
94
94
|
# @option opts [Boolean] :ssl_check_cert Be strict on checking SSL certs. (default to true)
|
@@ -452,10 +452,10 @@ module Fastly
|
|
452
452
|
# @option opts [String] :name The name of the backend.
|
453
453
|
# @option opts [String] :override_host If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
|
454
454
|
# @option opts [Integer] :port Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
|
455
|
-
# @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends.
|
455
|
+
# @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends. Default is 'false' for Delivery services and 'true' for Compute services.
|
456
456
|
# @option opts [String] :request_condition Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
|
457
457
|
# @option opts [String] :share_key Value that when shared across backends will enable those backends to share the same health check.
|
458
|
-
# @option opts [String] :shield Identifier of the POP to use as a [shield](https://
|
458
|
+
# @option opts [String] :shield Identifier of the POP to use as a [shield](https://www.fastly.com/documentation/guides/getting-started/hosts/shielding/).
|
459
459
|
# @option opts [String] :ssl_ca_cert CA certificate attached to origin.
|
460
460
|
# @option opts [String] :ssl_cert_hostname Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
|
461
461
|
# @option opts [Boolean] :ssl_check_cert Be strict on checking SSL certs. (default to true)
|
@@ -499,10 +499,10 @@ module Fastly
|
|
499
499
|
# @option opts [String] :name The name of the backend.
|
500
500
|
# @option opts [String] :override_host If set, will replace the client-supplied HTTP `Host` header on connections to this backend. Applied after VCL has been processed, so this setting will take precedence over changing `bereq.http.Host` in VCL.
|
501
501
|
# @option opts [Integer] :port Port on which the backend server is listening for connections from Fastly. Setting `port` to 80 or 443 will also set `use_ssl` automatically (to false and true respectively), unless explicitly overridden by setting `use_ssl` in the same request.
|
502
|
-
# @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends.
|
502
|
+
# @option opts [Boolean] :prefer_ipv6 Prefer IPv6 connections to origins for hostname backends. Default is 'false' for Delivery services and 'true' for Compute services.
|
503
503
|
# @option opts [String] :request_condition Name of a Condition, which if satisfied, will select this backend during a request. If set, will override any `auto_loadbalance` setting. By default, the first backend added to a service is selected for all requests.
|
504
504
|
# @option opts [String] :share_key Value that when shared across backends will enable those backends to share the same health check.
|
505
|
-
# @option opts [String] :shield Identifier of the POP to use as a [shield](https://
|
505
|
+
# @option opts [String] :shield Identifier of the POP to use as a [shield](https://www.fastly.com/documentation/guides/getting-started/hosts/shielding/).
|
506
506
|
# @option opts [String] :ssl_ca_cert CA certificate attached to origin.
|
507
507
|
# @option opts [String] :ssl_cert_hostname Overrides `ssl_hostname`, but only for cert verification. Does not affect SNI at all.
|
508
508
|
# @option opts [Boolean] :ssl_check_cert Be strict on checking SSL certs. (default to true)
|
@@ -20,7 +20,7 @@ module Fastly
|
|
20
20
|
# Create an invitation
|
21
21
|
# Create an invitation.
|
22
22
|
# @option opts [Invitation] :invitation
|
23
|
-
# @return [
|
23
|
+
# @return [InvitationCreateResponse]
|
24
24
|
def create_invitation(opts = {})
|
25
25
|
data, _status_code, _headers = create_invitation_with_http_info(opts)
|
26
26
|
data
|
@@ -29,7 +29,7 @@ module Fastly
|
|
29
29
|
# Create an invitation
|
30
30
|
# Create an invitation.
|
31
31
|
# @option opts [Invitation] :invitation
|
32
|
-
# @return [Array<(
|
32
|
+
# @return [Array<(InvitationCreateResponse, Integer, Hash)>] InvitationCreateResponse data, response status code and response headers
|
33
33
|
def create_invitation_with_http_info(opts = {})
|
34
34
|
if @api_client.config.debugging
|
35
35
|
@api_client.config.logger.debug 'Calling API: InvitationsApi.create_invitation ...'
|
@@ -58,7 +58,7 @@ module Fastly
|
|
58
58
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'invitation'])
|
59
59
|
|
60
60
|
# return_type
|
61
|
-
return_type = opts[:debug_return_type] || '
|
61
|
+
return_type = opts[:debug_return_type] || 'InvitationCreateResponse'
|
62
62
|
|
63
63
|
# auth_names
|
64
64
|
auth_names = opts[:debug_auth_names] || ['token']
|
@@ -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 2)
|
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
|
@@ -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 2)
|
55
57
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
56
58
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -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}"
|
@@ -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?
|
@@ -392,7 +399,8 @@ module Fastly
|
|
392
399
|
# @option opts [String] :name The name for the real-time logging configuration.
|
393
400
|
# @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`.
|
394
401
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
395
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
402
|
+
# @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')
|
403
|
+
# @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')
|
396
404
|
# @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)
|
397
405
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
398
406
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -419,7 +427,8 @@ module Fastly
|
|
419
427
|
# @option opts [String] :name The name for the real-time logging configuration.
|
420
428
|
# @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`.
|
421
429
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
422
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
430
|
+
# @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')
|
431
|
+
# @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')
|
423
432
|
# @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)
|
424
433
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
425
434
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -457,6 +466,10 @@ module Fastly
|
|
457
466
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
458
467
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
459
468
|
end
|
469
|
+
allowable_values = ["none", "eu", "us"]
|
470
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
471
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
472
|
+
end
|
460
473
|
allowable_values = [1, 2]
|
461
474
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
462
475
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -495,6 +508,7 @@ module Fastly
|
|
495
508
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
496
509
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
497
510
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
511
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
498
512
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
499
513
|
form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
|
500
514
|
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 of the BigQuery logging object. Used as a primary key for API access.
|
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/). Must produce JSON that matches the schema of your BigQuery table.
|
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] :user Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
|
30
31
|
# @option opts [String] :secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
@@ -46,7 +47,8 @@ module Fastly
|
|
46
47
|
# @option opts [String] :name The name of the BigQuery logging object. Used as a primary key for API access.
|
47
48
|
# @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`.
|
48
49
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
49
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
50
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). Must produce JSON that matches the schema of your BigQuery table.
|
51
|
+
# @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')
|
50
52
|
# @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)
|
51
53
|
# @option opts [String] :user Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
|
52
54
|
# @option opts [String] :secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
@@ -75,6 +77,10 @@ module Fastly
|
|
75
77
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
76
78
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
77
79
|
end
|
80
|
+
allowable_values = ["none", "eu", "us"]
|
81
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
82
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
83
|
+
end
|
78
84
|
allowable_values = [1, 2]
|
79
85
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
80
86
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -101,6 +107,7 @@ module Fastly
|
|
101
107
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
102
108
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
103
109
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
110
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
104
111
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
105
112
|
form_params['user'] = opts[:'user'] if !opts[:'user'].nil?
|
106
113
|
form_params['secret_key'] = opts[:'secret_key'] if !opts[:'secret_key'].nil?
|
@@ -368,7 +375,8 @@ module Fastly
|
|
368
375
|
# @option opts [String] :name The name of the BigQuery logging object. Used as a primary key for API access.
|
369
376
|
# @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`.
|
370
377
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
371
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
378
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). Must produce JSON that matches the schema of your BigQuery table.
|
379
|
+
# @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')
|
372
380
|
# @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)
|
373
381
|
# @option opts [String] :user Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
|
374
382
|
# @option opts [String] :secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
@@ -391,7 +399,8 @@ module Fastly
|
|
391
399
|
# @option opts [String] :name The name of the BigQuery logging object. Used as a primary key for API access.
|
392
400
|
# @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`.
|
393
401
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
394
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
402
|
+
# @option opts [String] :format A Fastly [log format string](https://www.fastly.com/documentation/guides/integrations/streaming-logs/custom-log-formats/). Must produce JSON that matches the schema of your BigQuery table.
|
403
|
+
# @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')
|
395
404
|
# @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)
|
396
405
|
# @option opts [String] :user Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
|
397
406
|
# @option opts [String] :secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
@@ -425,6 +434,10 @@ module Fastly
|
|
425
434
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
426
435
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
427
436
|
end
|
437
|
+
allowable_values = ["none", "eu", "us"]
|
438
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
439
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
440
|
+
end
|
428
441
|
allowable_values = [1, 2]
|
429
442
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
430
443
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -451,6 +464,7 @@ module Fastly
|
|
451
464
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
452
465
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
453
466
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
467
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
454
468
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
455
469
|
form_params['user'] = opts[:'user'] if !opts[:'user'].nil?
|
456
470
|
form_params['secret_key'] = opts[:'secret_key'] if !opts[:'secret_key'].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
|
@@ -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] :message_type How the message should be formatted. (default to 'classic')
|
56
58
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -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}"
|
@@ -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?
|
@@ -392,7 +399,8 @@ module Fastly
|
|
392
399
|
# @option opts [String] :name The name for the real-time logging configuration.
|
393
400
|
# @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`.
|
394
401
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
395
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
402
|
+
# @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')
|
403
|
+
# @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')
|
396
404
|
# @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)
|
397
405
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
398
406
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -419,7 +427,8 @@ module Fastly
|
|
419
427
|
# @option opts [String] :name The name for the real-time logging configuration.
|
420
428
|
# @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`.
|
421
429
|
# @option opts [String] :response_condition The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
422
|
-
# @option opts [String] :format A Fastly [log format string](https://
|
430
|
+
# @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')
|
431
|
+
# @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')
|
423
432
|
# @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)
|
424
433
|
# @option opts [String] :message_type How the message should be formatted. (default to 'classic')
|
425
434
|
# @option opts [String] :timestamp_format A timestamp format
|
@@ -457,6 +466,10 @@ module Fastly
|
|
457
466
|
if @api_client.config.client_side_validation && opts[:'placement'] && !allowable_values.include?(opts[:'placement'])
|
458
467
|
fail ArgumentError, "invalid value for \"placement\", must be one of #{allowable_values}"
|
459
468
|
end
|
469
|
+
allowable_values = ["none", "eu", "us"]
|
470
|
+
if @api_client.config.client_side_validation && opts[:'log_processing_region'] && !allowable_values.include?(opts[:'log_processing_region'])
|
471
|
+
fail ArgumentError, "invalid value for \"log_processing_region\", must be one of #{allowable_values}"
|
472
|
+
end
|
460
473
|
allowable_values = [1, 2]
|
461
474
|
if @api_client.config.client_side_validation && opts[:'format_version'] && !allowable_values.include?(opts[:'format_version'])
|
462
475
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{allowable_values}"
|
@@ -495,6 +508,7 @@ module Fastly
|
|
495
508
|
form_params['placement'] = opts[:'placement'] if !opts[:'placement'].nil?
|
496
509
|
form_params['response_condition'] = opts[:'response_condition'] if !opts[:'response_condition'].nil?
|
497
510
|
form_params['format'] = opts[:'format'] if !opts[:'format'].nil?
|
511
|
+
form_params['log_processing_region'] = opts[:'log_processing_region'] if !opts[:'log_processing_region'].nil?
|
498
512
|
form_params['format_version'] = opts[:'format_version'] if !opts[:'format_version'].nil?
|
499
513
|
form_params['message_type'] = opts[:'message_type'] if !opts[:'message_type'].nil?
|
500
514
|
form_params['timestamp_format'] = opts[:'timestamp_format'] if !opts[:'timestamp_format'].nil?
|