fastly 6.0.2 → 7.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 +32 -0
- data/Gemfile.lock +1 -1
- data/README.md +7 -2
- data/docs/Backend.md +1 -0
- data/docs/BackendApi.md +4 -0
- data/docs/BackendResponse.md +1 -0
- data/docs/CacheSetting.md +2 -2
- data/docs/CacheSettingResponse.md +3 -3
- data/docs/CacheSettingsApi.md +8 -8
- data/docs/DomainApi.md +2 -2
- data/docs/GzipResponse.md +1 -1
- data/docs/Header.md +0 -2
- data/docs/HeaderApi.md +8 -8
- data/docs/HeaderResponse.md +3 -3
- data/docs/HeaderResponseAdditional.md +11 -0
- data/docs/{LoggingAzureblobAllOf.md → LoggingAzureblobAdditional.md} +1 -1
- data/docs/LoggingAzureblobApi.md +8 -8
- data/docs/LoggingAzureblobResponse.md +8 -8
- data/docs/{LoggingBigqueryAllOf.md → LoggingBigqueryAdditional.md} +1 -1
- data/docs/LoggingBigqueryApi.md +4 -4
- data/docs/LoggingBigqueryResponse.md +2 -2
- data/docs/{LoggingCloudfilesAllOf.md → LoggingCloudfilesAdditional.md} +1 -1
- data/docs/LoggingCloudfilesApi.md +8 -8
- data/docs/LoggingCloudfilesResponse.md +8 -8
- data/docs/LoggingCommon.md +0 -1
- data/docs/{LoggingPapertrail.md → LoggingCommonResponse.md} +2 -4
- data/docs/{LoggingLogshuttle.md → LoggingCommonResponseAllOf.md} +1 -4
- data/docs/LoggingCommonResponseAllOf1.md +10 -0
- data/docs/{LoggingDatadogAllOf.md → LoggingDatadogAdditional.md} +1 -1
- data/docs/LoggingDatadogApi.md +4 -4
- data/docs/LoggingDatadogResponse.md +2 -2
- data/docs/{LoggingDigitaloceanAllOf.md → LoggingDigitaloceanAdditional.md} +1 -1
- data/docs/LoggingDigitaloceanApi.md +8 -8
- data/docs/LoggingDigitaloceanResponse.md +8 -8
- data/docs/{LoggingElasticsearchAllOf.md → LoggingElasticsearchAdditional.md} +1 -1
- data/docs/LoggingElasticsearchApi.md +4 -4
- data/docs/LoggingElasticsearchResponse.md +2 -2
- data/docs/LoggingFormatVersionInteger.md +10 -0
- data/docs/LoggingFormatVersionString.md +10 -0
- data/docs/{LoggingFtpAllOf.md → LoggingFtpAdditional.md} +1 -2
- data/docs/LoggingFtpApi.md +12 -12
- data/docs/LoggingFtpResponse.md +9 -9
- data/docs/{LoggingFormatVersion.md → LoggingFtpResponseAllOf.md} +2 -1
- data/docs/{LoggingGcsAllOf.md → LoggingGcsAdditional.md} +1 -1
- data/docs/LoggingGcsApi.md +8 -8
- data/docs/LoggingGcsResponse.md +8 -8
- data/docs/LoggingGenericCommon.md +0 -2
- data/docs/LoggingGenericCommonResponse.md +14 -0
- data/docs/LoggingGenericCommonResponseAllOf.md +12 -0
- data/docs/LoggingGenericCommonResponseAllOf1.md +11 -0
- data/docs/{LoggingGooglePubsubAllOf.md → LoggingGooglePubsubAdditional.md} +1 -1
- data/docs/LoggingGooglePubsubResponse.md +2 -2
- data/docs/{LoggingHerokuAllOf.md → LoggingHerokuAdditional.md} +1 -1
- data/docs/LoggingHerokuApi.md +4 -4
- data/docs/LoggingHerokuResponse.md +2 -2
- data/docs/{LoggingHoneycombAllOf.md → LoggingHoneycombAdditional.md} +1 -1
- data/docs/LoggingHoneycombApi.md +8 -8
- data/docs/LoggingHoneycombResponse.md +2 -2
- data/docs/{LoggingHttpsAllOf.md → LoggingHttpsAdditional.md} +1 -1
- data/docs/LoggingHttpsApi.md +4 -4
- data/docs/LoggingHttpsResponse.md +2 -2
- data/docs/{LoggingKafkaAllOf.md → LoggingKafkaAdditional.md} +1 -1
- data/docs/LoggingKafkaApi.md +4 -4
- data/docs/LoggingKafkaResponse.md +6 -6
- data/docs/{LoggingKafka.md → LoggingKafkaResponsePost.md} +7 -2
- data/docs/{LoggingKinesis.md → LoggingKinesisAdditional.md} +1 -2
- data/docs/LoggingKinesisApi.md +2 -2
- data/docs/LoggingKinesisResponse.md +2 -2
- data/docs/{LoggingLogentriesAllOf.md → LoggingLogentriesAdditional.md} +1 -1
- data/docs/LoggingLogentriesApi.md +4 -4
- data/docs/LoggingLogentriesResponse.md +2 -2
- data/docs/{LoggingLogglyAllOf.md → LoggingLogglyAdditional.md} +1 -1
- data/docs/LoggingLogglyApi.md +4 -4
- data/docs/LoggingLogglyResponse.md +2 -2
- data/docs/{LoggingLogshuttleAllOf.md → LoggingLogshuttleAdditional.md} +1 -1
- data/docs/LoggingLogshuttleApi.md +4 -4
- data/docs/LoggingLogshuttleResponse.md +2 -2
- data/docs/{LoggingNewrelicAllOf.md → LoggingNewrelicAdditional.md} +1 -1
- data/docs/LoggingNewrelicApi.md +4 -4
- data/docs/LoggingNewrelicResponse.md +2 -2
- data/docs/LoggingNewrelicotlpAdditional.md +13 -0
- data/docs/LoggingNewrelicotlpApi.md +252 -0
- data/docs/LoggingNewrelicotlpResponse.md +22 -0
- data/docs/{LoggingOpenstackAllOf.md → LoggingOpenstackAdditional.md} +1 -1
- data/docs/LoggingOpenstackApi.md +8 -8
- data/docs/LoggingOpenstackResponse.md +8 -8
- data/docs/LoggingPapertrailApi.md +4 -4
- data/docs/LoggingPapertrailResponse.md +2 -2
- data/docs/LoggingPubsubApi.md +4 -4
- data/docs/{LoggingS3AllOf.md → LoggingS3Additional.md} +1 -1
- data/docs/LoggingS3Api.md +8 -8
- data/docs/LoggingS3Response.md +8 -8
- data/docs/{LoggingScalyrAllOf.md → LoggingScalyrAdditional.md} +1 -1
- data/docs/LoggingScalyrApi.md +4 -4
- data/docs/LoggingScalyrResponse.md +2 -2
- data/docs/{LoggingSftpAllOf.md → LoggingSftpAdditional.md} +1 -2
- data/docs/LoggingSftpApi.md +8 -8
- data/docs/LoggingSftpResponse.md +10 -10
- data/docs/LoggingSftpResponseAllOf.md +13 -0
- data/docs/{LoggingSplunkAllOf.md → LoggingSplunkAdditional.md} +1 -1
- data/docs/LoggingSplunkApi.md +4 -4
- data/docs/LoggingSplunkResponse.md +2 -2
- data/docs/{LoggingSumologicAllOf.md → LoggingSumologicAdditional.md} +1 -1
- data/docs/LoggingSumologicApi.md +4 -4
- data/docs/LoggingSumologicResponse.md +2 -2
- data/docs/{LoggingSyslogAllOf.md → LoggingSyslogAdditional.md} +1 -1
- data/docs/LoggingSyslogApi.md +4 -4
- data/docs/LoggingSyslogResponse.md +2 -2
- data/docs/{PoolAllOf.md → PoolAdditional.md} +1 -6
- data/docs/PoolApi.md +46 -22
- data/docs/PoolResponse.md +12 -11
- data/docs/PoolResponseAllOf.md +1 -1
- data/docs/PoolResponseCommon.md +15 -0
- data/docs/{Pool.md → PoolResponsePost.md} +14 -7
- data/docs/PoolResponsePostAllOf.md +10 -0
- data/docs/RequestSettingsAdditional.md +15 -0
- data/docs/RequestSettingsApi.md +10 -10
- data/docs/RequestSettingsResponse.md +11 -11
- data/docs/RequestSettingsResponseAllOf.md +15 -0
- data/docs/ResponseObject.md +1 -1
- data/docs/ResponseObjectResponse.md +2 -2
- data/docs/SecretStoreApi.md +3 -3
- data/docs/ServiceIdAndVersionString.md +11 -0
- data/docs/TlsCommonResponse.md +14 -0
- data/docs/{TlsCommon.md → TlsCommonResponseAllOf.md} +1 -2
- data/docs/TlsCommonResponseAllOf1.md +10 -0
- data/docs/TlsDomainsApi.md +2 -2
- data/docs/TlsSubscriptionsApi.md +4 -4
- data/lib/fastly/api/backend_api.rb +16 -0
- data/lib/fastly/api/cache_settings_api.rb +8 -8
- data/lib/fastly/api/domain_api.rb +3 -3
- data/lib/fastly/api/header_api.rb +12 -12
- data/lib/fastly/api/logging_azureblob_api.rb +12 -12
- data/lib/fastly/api/logging_bigquery_api.rb +6 -6
- data/lib/fastly/api/logging_cloudfiles_api.rb +12 -12
- data/lib/fastly/api/logging_datadog_api.rb +6 -6
- data/lib/fastly/api/logging_digitalocean_api.rb +12 -12
- data/lib/fastly/api/logging_elasticsearch_api.rb +6 -6
- data/lib/fastly/api/logging_ftp_api.rb +18 -18
- data/lib/fastly/api/logging_gcs_api.rb +12 -12
- data/lib/fastly/api/logging_heroku_api.rb +6 -6
- data/lib/fastly/api/logging_honeycomb_api.rb +12 -12
- data/lib/fastly/api/logging_https_api.rb +6 -6
- data/lib/fastly/api/logging_kafka_api.rb +6 -6
- data/lib/fastly/api/logging_kinesis_api.rb +7 -3
- data/lib/fastly/api/logging_logentries_api.rb +6 -6
- data/lib/fastly/api/logging_loggly_api.rb +6 -6
- data/lib/fastly/api/logging_logshuttle_api.rb +6 -6
- data/lib/fastly/api/logging_newrelic_api.rb +6 -6
- data/lib/fastly/api/logging_newrelicotlp_api.rb +473 -0
- data/lib/fastly/api/logging_openstack_api.rb +12 -12
- data/lib/fastly/api/logging_papertrail_api.rb +6 -6
- data/lib/fastly/api/logging_pubsub_api.rb +6 -6
- data/lib/fastly/api/logging_s3_api.rb +12 -12
- data/lib/fastly/api/logging_scalyr_api.rb +6 -6
- data/lib/fastly/api/logging_sftp_api.rb +12 -12
- data/lib/fastly/api/logging_splunk_api.rb +6 -6
- data/lib/fastly/api/logging_sumologic_api.rb +6 -6
- data/lib/fastly/api/logging_syslog_api.rb +6 -6
- data/lib/fastly/api/pool_api.rb +77 -41
- data/lib/fastly/api/rate_limiter_api.rb +2 -2
- data/lib/fastly/api/request_settings_api.rb +15 -15
- data/lib/fastly/api/secret_store_api.rb +2 -2
- data/lib/fastly/api/tls_domains_api.rb +2 -2
- data/lib/fastly/api/tls_subscriptions_api.rb +4 -4
- data/lib/fastly/configuration.rb +30 -0
- data/lib/fastly/models/backend.rb +29 -1
- data/lib/fastly/models/backend_response.rb +29 -1
- data/lib/fastly/models/cache_setting.rb +2 -2
- data/lib/fastly/models/cache_setting_response.rb +4 -4
- data/lib/fastly/models/gzip_response.rb +2 -2
- data/lib/fastly/models/header.rb +1 -23
- data/lib/fastly/models/header_response.rb +26 -25
- data/lib/fastly/models/header_response_additional.rb +229 -0
- data/lib/fastly/models/{logging_azureblob_all_of.rb → logging_azureblob_additional.rb} +3 -3
- data/lib/fastly/models/logging_azureblob_response.rb +82 -80
- data/lib/fastly/models/{logging_bigquery_all_of.rb → logging_bigquery_additional.rb} +3 -3
- data/lib/fastly/models/logging_bigquery_response.rb +20 -18
- data/lib/fastly/models/{logging_cloudfiles_all_of.rb → logging_cloudfiles_additional.rb} +3 -3
- data/lib/fastly/models/logging_cloudfiles_response.rb +83 -81
- data/lib/fastly/models/logging_common.rb +1 -25
- data/lib/fastly/models/{logging_loggly.rb → logging_common_response.rb} +17 -27
- data/lib/fastly/models/{logging_logshuttle.rb → logging_common_response_all_of.rb} +7 -60
- data/lib/fastly/models/logging_common_response_all_of1.rb +253 -0
- data/lib/fastly/models/{logging_datadog_all_of.rb → logging_datadog_additional.rb} +3 -3
- data/lib/fastly/models/logging_datadog_response.rb +19 -18
- data/lib/fastly/models/{logging_digitalocean_all_of.rb → logging_digitalocean_additional.rb} +3 -3
- data/lib/fastly/models/logging_digitalocean_response.rb +82 -80
- data/lib/fastly/models/{logging_elasticsearch_all_of.rb → logging_elasticsearch_additional.rb} +3 -3
- data/lib/fastly/models/logging_elasticsearch_response.rb +21 -18
- data/lib/fastly/models/logging_format_version_integer.rb +253 -0
- data/lib/fastly/models/logging_format_version_string.rb +253 -0
- data/lib/fastly/models/{logging_ftp_all_of.rb → logging_ftp_additional.rb} +4 -16
- data/lib/fastly/models/logging_ftp_response.rb +88 -85
- data/lib/fastly/models/logging_ftp_response_all_of.rb +219 -0
- data/lib/fastly/models/{logging_gcs_all_of.rb → logging_gcs_additional.rb} +3 -3
- data/lib/fastly/models/logging_gcs_response.rb +80 -77
- data/lib/fastly/models/logging_generic_common.rb +1 -25
- data/lib/fastly/models/{logging_sumologic.rb → logging_generic_common_response.rb} +60 -80
- data/lib/fastly/models/logging_generic_common_response_all_of.rb +286 -0
- data/lib/fastly/models/logging_generic_common_response_all_of1.rb +231 -0
- data/lib/fastly/models/{logging_google_pubsub_all_of.rb → logging_google_pubsub_additional.rb} +3 -3
- data/lib/fastly/models/logging_google_pubsub_response.rb +20 -18
- data/lib/fastly/models/{logging_heroku_all_of.rb → logging_heroku_additional.rb} +3 -3
- data/lib/fastly/models/logging_heroku_response.rb +19 -18
- data/lib/fastly/models/{logging_honeycomb_all_of.rb → logging_honeycomb_additional.rb} +3 -3
- data/lib/fastly/models/logging_honeycomb_response.rb +19 -18
- data/lib/fastly/models/{logging_https_all_of.rb → logging_https_additional.rb} +3 -3
- data/lib/fastly/models/logging_https_response.rb +21 -18
- data/lib/fastly/models/{logging_kafka_all_of.rb → logging_kafka_additional.rb} +3 -3
- data/lib/fastly/models/logging_kafka_response.rb +71 -69
- data/lib/fastly/models/{logging_kafka.rb → logging_kafka_response_post.rb} +72 -18
- data/lib/fastly/models/{logging_kinesis.rb → logging_kinesis_additional.rb} +4 -15
- data/lib/fastly/models/logging_kinesis_response.rb +51 -15
- data/lib/fastly/models/{logging_logentries_all_of.rb → logging_logentries_additional.rb} +3 -3
- data/lib/fastly/models/logging_logentries_response.rb +19 -18
- data/lib/fastly/models/{logging_loggly_all_of.rb → logging_loggly_additional.rb} +3 -3
- data/lib/fastly/models/logging_loggly_response.rb +19 -18
- data/lib/fastly/models/{logging_logshuttle_all_of.rb → logging_logshuttle_additional.rb} +3 -3
- data/lib/fastly/models/logging_logshuttle_response.rb +19 -18
- data/lib/fastly/models/{logging_newrelic_all_of.rb → logging_newrelic_additional.rb} +3 -3
- data/lib/fastly/models/logging_newrelic_response.rb +19 -18
- data/lib/fastly/models/logging_newrelicotlp_additional.rb +288 -0
- data/lib/fastly/models/{logging_newrelic.rb → logging_newrelicotlp_response.rb} +90 -24
- data/lib/fastly/models/{logging_openstack_all_of.rb → logging_openstack_additional.rb} +3 -3
- data/lib/fastly/models/logging_openstack_response.rb +82 -80
- data/lib/fastly/models/logging_papertrail_response.rb +19 -18
- data/lib/fastly/models/{logging_s3_all_of.rb → logging_s3_additional.rb} +3 -3
- data/lib/fastly/models/logging_s3_response.rb +84 -82
- data/lib/fastly/models/{logging_scalyr_all_of.rb → logging_scalyr_additional.rb} +3 -3
- data/lib/fastly/models/logging_scalyr_response.rb +19 -18
- data/lib/fastly/models/{logging_sftp_all_of.rb → logging_sftp_additional.rb} +4 -16
- data/lib/fastly/models/logging_sftp_response.rb +97 -94
- data/lib/fastly/models/{domain_check_item.rb → logging_sftp_response_all_of.rb} +44 -40
- data/lib/fastly/models/{logging_splunk_all_of.rb → logging_splunk_additional.rb} +3 -3
- data/lib/fastly/models/logging_splunk_response.rb +21 -18
- data/lib/fastly/models/{logging_sumologic_all_of.rb → logging_sumologic_additional.rb} +3 -3
- data/lib/fastly/models/logging_sumologic_response.rb +19 -18
- data/lib/fastly/models/{logging_syslog_all_of.rb → logging_syslog_additional.rb} +3 -3
- data/lib/fastly/models/logging_syslog_response.rb +21 -18
- data/lib/fastly/models/{pool_all_of.rb → pool_additional.rb} +4 -83
- data/lib/fastly/models/pool_response.rb +113 -125
- data/lib/fastly/models/pool_response_all_of.rb +10 -7
- data/lib/fastly/models/pool_response_common.rb +269 -0
- data/lib/fastly/models/{pool.rb → pool_response_post.rb} +142 -92
- data/lib/fastly/models/pool_response_post_all_of.rb +219 -0
- data/lib/fastly/models/rate_limiter.rb +2 -2
- data/lib/fastly/models/rate_limiter_response.rb +2 -2
- data/lib/fastly/models/{request_settings.rb → request_settings_additional.rb} +4 -64
- data/lib/fastly/models/request_settings_response.rb +96 -95
- data/lib/fastly/models/request_settings_response_all_of.rb +267 -0
- data/lib/fastly/models/response_object.rb +2 -2
- data/lib/fastly/models/response_object_response.rb +4 -4
- data/lib/fastly/models/{tls_subscription_response_data_all_of.rb → service_id_and_version_string.rb} +16 -16
- data/lib/fastly/models/{tls_common.rb → tls_common_response.rb} +15 -7
- data/lib/fastly/models/tls_common_response_all_of.rb +259 -0
- data/lib/fastly/models/tls_common_response_all_of1.rb +253 -0
- data/lib/fastly/models/tls_subscription_response_data.rb +0 -7
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +50 -57
- data/sig.json +1 -1
- metadata +102 -116
- data/docs/DomainCheckItem.md +0 -11
- data/docs/LoggingAzureblob.md +0 -25
- data/docs/LoggingBigquery.md +0 -21
- data/docs/LoggingCloudfiles.md +0 -25
- data/docs/LoggingDatadog.md +0 -16
- data/docs/LoggingDigitalocean.md +0 -25
- data/docs/LoggingElasticsearch.md +0 -25
- data/docs/LoggingFtp.md +0 -27
- data/docs/LoggingGcs.md +0 -26
- data/docs/LoggingGooglePubsub.md +0 -19
- data/docs/LoggingHeroku.md +0 -16
- data/docs/LoggingHoneycomb.md +0 -16
- data/docs/LoggingHttps.md +0 -27
- data/docs/LoggingLogentries.md +0 -18
- data/docs/LoggingLoggly.md +0 -15
- data/docs/LoggingNewrelic.md +0 -16
- data/docs/LoggingOpenstack.md +0 -25
- data/docs/LoggingS3.md +0 -30
- data/docs/LoggingScalyr.md +0 -17
- data/docs/LoggingSftp.md +0 -27
- data/docs/LoggingSplunk.md +0 -23
- data/docs/LoggingSumologic.md +0 -16
- data/docs/LoggingSyslog.md +0 -25
- data/docs/RequestSettings.md +0 -21
- data/docs/TlsSubscriptionResponseDataAllOf.md +0 -11
- data/lib/fastly/models/logging_azureblob.rb +0 -480
- data/lib/fastly/models/logging_bigquery.rb +0 -387
- data/lib/fastly/models/logging_cloudfiles.rb +0 -478
- data/lib/fastly/models/logging_datadog.rb +0 -351
- data/lib/fastly/models/logging_digitalocean.rb +0 -467
- data/lib/fastly/models/logging_elasticsearch.rb +0 -446
- data/lib/fastly/models/logging_format_version.rb +0 -35
- data/lib/fastly/models/logging_ftp.rb +0 -484
- data/lib/fastly/models/logging_gcs.rb +0 -474
- data/lib/fastly/models/logging_google_pubsub.rb +0 -368
- data/lib/fastly/models/logging_heroku.rb +0 -337
- data/lib/fastly/models/logging_honeycomb.rb +0 -335
- data/lib/fastly/models/logging_https.rb +0 -501
- data/lib/fastly/models/logging_logentries.rb +0 -372
- data/lib/fastly/models/logging_openstack.rb +0 -465
- data/lib/fastly/models/logging_papertrail.rb +0 -339
- data/lib/fastly/models/logging_s3.rb +0 -527
- data/lib/fastly/models/logging_scalyr.rb +0 -363
- data/lib/fastly/models/logging_sftp.rb +0 -491
- data/lib/fastly/models/logging_splunk.rb +0 -426
- data/lib/fastly/models/logging_syslog.rb +0 -449
@@ -19,15 +19,15 @@ module Fastly
|
|
19
19
|
# 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`.
|
20
20
|
attr_accessor :placement
|
21
21
|
|
22
|
-
# 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`.
|
23
|
-
attr_accessor :format_version
|
24
|
-
|
25
22
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
26
23
|
attr_accessor :response_condition
|
27
24
|
|
28
25
|
# A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
|
29
26
|
attr_accessor :format
|
30
27
|
|
28
|
+
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
29
|
+
attr_accessor :format_version
|
30
|
+
|
31
31
|
# The token to use for authentication ([https://devcenter.heroku.com/articles/add-on-partner-log-integration](https://devcenter.heroku.com/articles/add-on-partner-log-integration)).
|
32
32
|
attr_accessor :token
|
33
33
|
|
@@ -74,9 +74,9 @@ module Fastly
|
|
74
74
|
{
|
75
75
|
:'name' => :'name',
|
76
76
|
:'placement' => :'placement',
|
77
|
-
:'format_version' => :'format_version',
|
78
77
|
:'response_condition' => :'response_condition',
|
79
78
|
:'format' => :'format',
|
79
|
+
:'format_version' => :'format_version',
|
80
80
|
:'token' => :'token',
|
81
81
|
:'url' => :'url',
|
82
82
|
:'created_at' => :'created_at',
|
@@ -97,16 +97,16 @@ module Fastly
|
|
97
97
|
{
|
98
98
|
:'name' => :'String',
|
99
99
|
:'placement' => :'String',
|
100
|
-
:'format_version' => :'Integer',
|
101
100
|
:'response_condition' => :'String',
|
102
101
|
:'format' => :'String',
|
102
|
+
:'format_version' => :'String',
|
103
103
|
:'token' => :'String',
|
104
104
|
:'url' => :'String',
|
105
105
|
:'created_at' => :'Time',
|
106
106
|
:'deleted_at' => :'Time',
|
107
107
|
:'updated_at' => :'Time',
|
108
108
|
:'service_id' => :'String',
|
109
|
-
:'version' => :'
|
109
|
+
:'version' => :'String'
|
110
110
|
}
|
111
111
|
end
|
112
112
|
|
@@ -124,8 +124,9 @@ module Fastly
|
|
124
124
|
# List of class defined in allOf (OpenAPI v3)
|
125
125
|
def self.fastly_all_of
|
126
126
|
[
|
127
|
-
:'
|
128
|
-
:'
|
127
|
+
:'LoggingCommonResponse',
|
128
|
+
:'LoggingHerokuAdditional',
|
129
|
+
:'ServiceIdAndVersionString',
|
129
130
|
:'Timestamps'
|
130
131
|
]
|
131
132
|
end
|
@@ -153,12 +154,6 @@ module Fastly
|
|
153
154
|
self.placement = attributes[:'placement']
|
154
155
|
end
|
155
156
|
|
156
|
-
if attributes.key?(:'format_version')
|
157
|
-
self.format_version = attributes[:'format_version']
|
158
|
-
else
|
159
|
-
self.format_version = FORMAT_VERSION::v2
|
160
|
-
end
|
161
|
-
|
162
157
|
if attributes.key?(:'response_condition')
|
163
158
|
self.response_condition = attributes[:'response_condition']
|
164
159
|
end
|
@@ -169,6 +164,12 @@ module Fastly
|
|
169
164
|
self.format = '%h %l %u %t \"%r\" %>s %b'
|
170
165
|
end
|
171
166
|
|
167
|
+
if attributes.key?(:'format_version')
|
168
|
+
self.format_version = attributes[:'format_version']
|
169
|
+
else
|
170
|
+
self.format_version = '2'
|
171
|
+
end
|
172
|
+
|
172
173
|
if attributes.key?(:'token')
|
173
174
|
self.token = attributes[:'token']
|
174
175
|
end
|
@@ -210,7 +211,7 @@ module Fastly
|
|
210
211
|
def valid?
|
211
212
|
placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
|
212
213
|
return false unless placement_validator.valid?(@placement)
|
213
|
-
format_version_validator = EnumAttributeValidator.new('
|
214
|
+
format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
|
214
215
|
return false unless format_version_validator.valid?(@format_version)
|
215
216
|
true
|
216
217
|
end
|
@@ -228,7 +229,7 @@ module Fastly
|
|
228
229
|
# Custom attribute writer method checking allowed values (enum).
|
229
230
|
# @param [Object] format_version Object to be assigned
|
230
231
|
def format_version=(format_version)
|
231
|
-
validator = EnumAttributeValidator.new('
|
232
|
+
validator = EnumAttributeValidator.new('String', ["1", "2"])
|
232
233
|
unless validator.valid?(format_version)
|
233
234
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{validator.allowable_values}."
|
234
235
|
end
|
@@ -242,9 +243,9 @@ module Fastly
|
|
242
243
|
self.class == o.class &&
|
243
244
|
name == o.name &&
|
244
245
|
placement == o.placement &&
|
245
|
-
format_version == o.format_version &&
|
246
246
|
response_condition == o.response_condition &&
|
247
247
|
format == o.format &&
|
248
|
+
format_version == o.format_version &&
|
248
249
|
token == o.token &&
|
249
250
|
url == o.url &&
|
250
251
|
created_at == o.created_at &&
|
@@ -263,7 +264,7 @@ module Fastly
|
|
263
264
|
# Calculates hash code according to all attributes.
|
264
265
|
# @return [Integer] Hash code
|
265
266
|
def hash
|
266
|
-
[name, placement,
|
267
|
+
[name, placement, response_condition, format, format_version, token, url, created_at, deleted_at, updated_at, service_id, version].hash
|
267
268
|
end
|
268
269
|
|
269
270
|
# Builds the object from hash
|
@@ -12,7 +12,7 @@ require 'date'
|
|
12
12
|
require 'time'
|
13
13
|
|
14
14
|
module Fastly
|
15
|
-
class
|
15
|
+
class LoggingHoneycombAdditional
|
16
16
|
# A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest.
|
17
17
|
attr_accessor :format
|
18
18
|
|
@@ -55,13 +55,13 @@ module Fastly
|
|
55
55
|
# @param [Hash] attributes Model attributes in the form of hash
|
56
56
|
def initialize(attributes = {})
|
57
57
|
if (!attributes.is_a?(Hash))
|
58
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::
|
58
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::LoggingHoneycombAdditional` initialize method"
|
59
59
|
end
|
60
60
|
|
61
61
|
# check to see if the attribute exists and convert string to symbol for hash key
|
62
62
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
63
63
|
if (!self.class.attribute_map.key?(k.to_sym))
|
64
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::
|
64
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::LoggingHoneycombAdditional`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
65
65
|
end
|
66
66
|
h[k.to_sym] = v
|
67
67
|
}
|
@@ -19,15 +19,15 @@ module Fastly
|
|
19
19
|
# 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`.
|
20
20
|
attr_accessor :placement
|
21
21
|
|
22
|
-
# 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`.
|
23
|
-
attr_accessor :format_version
|
24
|
-
|
25
22
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
26
23
|
attr_accessor :response_condition
|
27
24
|
|
28
25
|
# A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce valid JSON that Honeycomb can ingest.
|
29
26
|
attr_accessor :format
|
30
27
|
|
28
|
+
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
29
|
+
attr_accessor :format_version
|
30
|
+
|
31
31
|
# The Honeycomb Dataset you want to log to.
|
32
32
|
attr_accessor :dataset
|
33
33
|
|
@@ -74,9 +74,9 @@ module Fastly
|
|
74
74
|
{
|
75
75
|
:'name' => :'name',
|
76
76
|
:'placement' => :'placement',
|
77
|
-
:'format_version' => :'format_version',
|
78
77
|
:'response_condition' => :'response_condition',
|
79
78
|
:'format' => :'format',
|
79
|
+
:'format_version' => :'format_version',
|
80
80
|
:'dataset' => :'dataset',
|
81
81
|
:'token' => :'token',
|
82
82
|
:'created_at' => :'created_at',
|
@@ -97,16 +97,16 @@ module Fastly
|
|
97
97
|
{
|
98
98
|
:'name' => :'String',
|
99
99
|
:'placement' => :'String',
|
100
|
-
:'format_version' => :'Integer',
|
101
100
|
:'response_condition' => :'String',
|
102
101
|
:'format' => :'String',
|
102
|
+
:'format_version' => :'String',
|
103
103
|
:'dataset' => :'String',
|
104
104
|
:'token' => :'String',
|
105
105
|
:'created_at' => :'Time',
|
106
106
|
:'deleted_at' => :'Time',
|
107
107
|
:'updated_at' => :'Time',
|
108
108
|
:'service_id' => :'String',
|
109
|
-
:'version' => :'
|
109
|
+
:'version' => :'String'
|
110
110
|
}
|
111
111
|
end
|
112
112
|
|
@@ -124,8 +124,9 @@ module Fastly
|
|
124
124
|
# List of class defined in allOf (OpenAPI v3)
|
125
125
|
def self.fastly_all_of
|
126
126
|
[
|
127
|
-
:'
|
128
|
-
:'
|
127
|
+
:'LoggingCommonResponse',
|
128
|
+
:'LoggingHoneycombAdditional',
|
129
|
+
:'ServiceIdAndVersionString',
|
129
130
|
:'Timestamps'
|
130
131
|
]
|
131
132
|
end
|
@@ -153,12 +154,6 @@ module Fastly
|
|
153
154
|
self.placement = attributes[:'placement']
|
154
155
|
end
|
155
156
|
|
156
|
-
if attributes.key?(:'format_version')
|
157
|
-
self.format_version = attributes[:'format_version']
|
158
|
-
else
|
159
|
-
self.format_version = FORMAT_VERSION::v2
|
160
|
-
end
|
161
|
-
|
162
157
|
if attributes.key?(:'response_condition')
|
163
158
|
self.response_condition = attributes[:'response_condition']
|
164
159
|
end
|
@@ -167,6 +162,12 @@ module Fastly
|
|
167
162
|
self.format = attributes[:'format']
|
168
163
|
end
|
169
164
|
|
165
|
+
if attributes.key?(:'format_version')
|
166
|
+
self.format_version = attributes[:'format_version']
|
167
|
+
else
|
168
|
+
self.format_version = '2'
|
169
|
+
end
|
170
|
+
|
170
171
|
if attributes.key?(:'dataset')
|
171
172
|
self.dataset = attributes[:'dataset']
|
172
173
|
end
|
@@ -208,7 +209,7 @@ module Fastly
|
|
208
209
|
def valid?
|
209
210
|
placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
|
210
211
|
return false unless placement_validator.valid?(@placement)
|
211
|
-
format_version_validator = EnumAttributeValidator.new('
|
212
|
+
format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
|
212
213
|
return false unless format_version_validator.valid?(@format_version)
|
213
214
|
true
|
214
215
|
end
|
@@ -226,7 +227,7 @@ module Fastly
|
|
226
227
|
# Custom attribute writer method checking allowed values (enum).
|
227
228
|
# @param [Object] format_version Object to be assigned
|
228
229
|
def format_version=(format_version)
|
229
|
-
validator = EnumAttributeValidator.new('
|
230
|
+
validator = EnumAttributeValidator.new('String', ["1", "2"])
|
230
231
|
unless validator.valid?(format_version)
|
231
232
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{validator.allowable_values}."
|
232
233
|
end
|
@@ -240,9 +241,9 @@ module Fastly
|
|
240
241
|
self.class == o.class &&
|
241
242
|
name == o.name &&
|
242
243
|
placement == o.placement &&
|
243
|
-
format_version == o.format_version &&
|
244
244
|
response_condition == o.response_condition &&
|
245
245
|
format == o.format &&
|
246
|
+
format_version == o.format_version &&
|
246
247
|
dataset == o.dataset &&
|
247
248
|
token == o.token &&
|
248
249
|
created_at == o.created_at &&
|
@@ -261,7 +262,7 @@ module Fastly
|
|
261
262
|
# Calculates hash code according to all attributes.
|
262
263
|
# @return [Integer] Hash code
|
263
264
|
def hash
|
264
|
-
[name, placement,
|
265
|
+
[name, placement, response_condition, format, format_version, dataset, token, created_at, deleted_at, updated_at, service_id, version].hash
|
265
266
|
end
|
266
267
|
|
267
268
|
# Builds the object from hash
|
@@ -12,7 +12,7 @@ require 'date'
|
|
12
12
|
require 'time'
|
13
13
|
|
14
14
|
module Fastly
|
15
|
-
class
|
15
|
+
class LoggingHttpsAdditional
|
16
16
|
# The URL to send logs to. Must use HTTPS. Required.
|
17
17
|
attr_accessor :url
|
18
18
|
|
@@ -114,13 +114,13 @@ module Fastly
|
|
114
114
|
# @param [Hash] attributes Model attributes in the form of hash
|
115
115
|
def initialize(attributes = {})
|
116
116
|
if (!attributes.is_a?(Hash))
|
117
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::
|
117
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::LoggingHttpsAdditional` initialize method"
|
118
118
|
end
|
119
119
|
|
120
120
|
# check to see if the attribute exists and convert string to symbol for hash key
|
121
121
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
122
122
|
if (!self.class.attribute_map.key?(k.to_sym))
|
123
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::
|
123
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::LoggingHttpsAdditional`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
124
124
|
end
|
125
125
|
h[k.to_sym] = v
|
126
126
|
}
|
@@ -19,15 +19,15 @@ module Fastly
|
|
19
19
|
# 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`.
|
20
20
|
attr_accessor :placement
|
21
21
|
|
22
|
-
# 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`.
|
23
|
-
attr_accessor :format_version
|
24
|
-
|
25
22
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
26
23
|
attr_accessor :response_condition
|
27
24
|
|
28
25
|
# A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats).
|
29
26
|
attr_accessor :format
|
30
27
|
|
28
|
+
# The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in `vcl_log` if `format_version` is set to `2` and in `vcl_deliver` if `format_version` is set to `1`.
|
29
|
+
attr_accessor :format_version
|
30
|
+
|
31
31
|
# A secure certificate to authenticate a server with. Must be in PEM format.
|
32
32
|
attr_accessor :tls_ca_cert
|
33
33
|
|
@@ -106,9 +106,9 @@ module Fastly
|
|
106
106
|
{
|
107
107
|
:'name' => :'name',
|
108
108
|
:'placement' => :'placement',
|
109
|
-
:'format_version' => :'format_version',
|
110
109
|
:'response_condition' => :'response_condition',
|
111
110
|
:'format' => :'format',
|
111
|
+
:'format_version' => :'format_version',
|
112
112
|
:'tls_ca_cert' => :'tls_ca_cert',
|
113
113
|
:'tls_client_cert' => :'tls_client_cert',
|
114
114
|
:'tls_client_key' => :'tls_client_key',
|
@@ -140,9 +140,9 @@ module Fastly
|
|
140
140
|
{
|
141
141
|
:'name' => :'String',
|
142
142
|
:'placement' => :'String',
|
143
|
-
:'format_version' => :'Integer',
|
144
143
|
:'response_condition' => :'String',
|
145
144
|
:'format' => :'String',
|
145
|
+
:'format_version' => :'String',
|
146
146
|
:'tls_ca_cert' => :'String',
|
147
147
|
:'tls_client_cert' => :'String',
|
148
148
|
:'tls_client_key' => :'String',
|
@@ -160,7 +160,7 @@ module Fastly
|
|
160
160
|
:'deleted_at' => :'Time',
|
161
161
|
:'updated_at' => :'Time',
|
162
162
|
:'service_id' => :'String',
|
163
|
-
:'version' => :'
|
163
|
+
:'version' => :'String'
|
164
164
|
}
|
165
165
|
end
|
166
166
|
|
@@ -185,8 +185,11 @@ module Fastly
|
|
185
185
|
# List of class defined in allOf (OpenAPI v3)
|
186
186
|
def self.fastly_all_of
|
187
187
|
[
|
188
|
-
:'
|
189
|
-
:'
|
188
|
+
:'LoggingCommonResponse',
|
189
|
+
:'LoggingHttpsAdditional',
|
190
|
+
:'LoggingRequestCapsCommon',
|
191
|
+
:'LoggingTlsCommon',
|
192
|
+
:'ServiceIdAndVersionString',
|
190
193
|
:'Timestamps'
|
191
194
|
]
|
192
195
|
end
|
@@ -214,12 +217,6 @@ module Fastly
|
|
214
217
|
self.placement = attributes[:'placement']
|
215
218
|
end
|
216
219
|
|
217
|
-
if attributes.key?(:'format_version')
|
218
|
-
self.format_version = attributes[:'format_version']
|
219
|
-
else
|
220
|
-
self.format_version = FORMAT_VERSION::v2
|
221
|
-
end
|
222
|
-
|
223
220
|
if attributes.key?(:'response_condition')
|
224
221
|
self.response_condition = attributes[:'response_condition']
|
225
222
|
end
|
@@ -230,6 +227,12 @@ module Fastly
|
|
230
227
|
self.format = '%h %l %u %t \"%r\" %>s %b'
|
231
228
|
end
|
232
229
|
|
230
|
+
if attributes.key?(:'format_version')
|
231
|
+
self.format_version = attributes[:'format_version']
|
232
|
+
else
|
233
|
+
self.format_version = '2'
|
234
|
+
end
|
235
|
+
|
233
236
|
if attributes.key?(:'tls_ca_cert')
|
234
237
|
self.tls_ca_cert = attributes[:'tls_ca_cert']
|
235
238
|
else
|
@@ -337,7 +340,7 @@ module Fastly
|
|
337
340
|
def valid?
|
338
341
|
placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"])
|
339
342
|
return false unless placement_validator.valid?(@placement)
|
340
|
-
format_version_validator = EnumAttributeValidator.new('
|
343
|
+
format_version_validator = EnumAttributeValidator.new('String', ["1", "2"])
|
341
344
|
return false unless format_version_validator.valid?(@format_version)
|
342
345
|
method_validator = EnumAttributeValidator.new('String', ["POST", "PUT"])
|
343
346
|
return false unless method_validator.valid?(@method)
|
@@ -359,7 +362,7 @@ module Fastly
|
|
359
362
|
# Custom attribute writer method checking allowed values (enum).
|
360
363
|
# @param [Object] format_version Object to be assigned
|
361
364
|
def format_version=(format_version)
|
362
|
-
validator = EnumAttributeValidator.new('
|
365
|
+
validator = EnumAttributeValidator.new('String', ["1", "2"])
|
363
366
|
unless validator.valid?(format_version)
|
364
367
|
fail ArgumentError, "invalid value for \"format_version\", must be one of #{validator.allowable_values}."
|
365
368
|
end
|
@@ -393,9 +396,9 @@ module Fastly
|
|
393
396
|
self.class == o.class &&
|
394
397
|
name == o.name &&
|
395
398
|
placement == o.placement &&
|
396
|
-
format_version == o.format_version &&
|
397
399
|
response_condition == o.response_condition &&
|
398
400
|
format == o.format &&
|
401
|
+
format_version == o.format_version &&
|
399
402
|
tls_ca_cert == o.tls_ca_cert &&
|
400
403
|
tls_client_cert == o.tls_client_cert &&
|
401
404
|
tls_client_key == o.tls_client_key &&
|
@@ -425,7 +428,7 @@ module Fastly
|
|
425
428
|
# Calculates hash code according to all attributes.
|
426
429
|
# @return [Integer] Hash code
|
427
430
|
def hash
|
428
|
-
[name, placement,
|
431
|
+
[name, placement, response_condition, format, format_version, tls_ca_cert, tls_client_cert, tls_client_key, tls_hostname, request_max_entries, request_max_bytes, url, content_type, header_name, message_type, header_value, method, json_format, created_at, deleted_at, updated_at, service_id, version].hash
|
429
432
|
end
|
430
433
|
|
431
434
|
# Builds the object from hash
|
@@ -12,7 +12,7 @@ require 'date'
|
|
12
12
|
require 'time'
|
13
13
|
|
14
14
|
module Fastly
|
15
|
-
class
|
15
|
+
class LoggingKafkaAdditional
|
16
16
|
# The Kafka topic to send logs to. Required.
|
17
17
|
attr_accessor :topic
|
18
18
|
|
@@ -112,13 +112,13 @@ module Fastly
|
|
112
112
|
# @param [Hash] attributes Model attributes in the form of hash
|
113
113
|
def initialize(attributes = {})
|
114
114
|
if (!attributes.is_a?(Hash))
|
115
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::
|
115
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::LoggingKafkaAdditional` initialize method"
|
116
116
|
end
|
117
117
|
|
118
118
|
# check to see if the attribute exists and convert string to symbol for hash key
|
119
119
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
120
120
|
if (!self.class.attribute_map.key?(k.to_sym))
|
121
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::
|
121
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::LoggingKafkaAdditional`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
122
122
|
end
|
123
123
|
h[k.to_sym] = v
|
124
124
|
}
|