fastly 4.0.0.alpha4 → 4.0.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/Gemfile.lock +1 -1
- data/README.md +100 -21
- data/docs/AclEntry.md +1 -1
- data/docs/AclEntryApi.md +0 -176
- data/docs/AclEntryResponse.md +1 -1
- data/docs/ApexRedirectApi.md +4 -4
- data/docs/AutomationToken.md +14 -0
- data/docs/AutomationTokenCreateRequest.md +10 -0
- data/docs/AutomationTokenCreateRequestAttributes.md +15 -0
- data/docs/AutomationTokenCreateResponse.md +24 -0
- data/docs/AutomationTokenCreateResponseAllOf.md +17 -0
- data/docs/AutomationTokenResponse.md +23 -0
- data/docs/AutomationTokenResponseAllOf.md +18 -0
- data/docs/AutomationTokensApi.md +209 -0
- data/docs/AwsRegion.md +9 -0
- data/docs/Backend.md +1 -0
- data/docs/BackendApi.md +4 -0
- data/docs/BackendResponse.md +1 -0
- data/docs/Billing.md +2 -1
- data/docs/BillingAddressRequest.md +1 -0
- data/docs/BillingAddressVerificationErrorResponse.md +10 -0
- data/docs/BillingAddressVerificationErrorResponseErrors.md +14 -0
- data/docs/BillingEstimateResponse.md +2 -1
- data/docs/BillingResponse.md +2 -1
- data/docs/BulkUpdateAclEntry.md +1 -1
- data/docs/ConditionApi.md +4 -4
- data/docs/EnabledProduct.md +12 -0
- data/docs/EnabledProductLinks.md +11 -0
- data/docs/EnabledProductProduct.md +11 -0
- data/docs/EnabledProductsApi.md +133 -0
- data/docs/ErrorResponse.md +10 -0
- data/docs/ErrorResponseData.md +11 -0
- data/docs/EventAttributes.md +1 -0
- data/docs/EventsApi.md +4 -2
- data/docs/HeaderApi.md +4 -4
- data/docs/Healthcheck.md +5 -4
- data/docs/HealthcheckApi.md +46 -42
- data/docs/HealthcheckResponse.md +5 -4
- data/docs/Http3Api.md +4 -4
- data/docs/HttpResponseFormat.md +14 -0
- data/docs/HttpStreamFormat.md +11 -0
- data/docs/InlineObject.md +10 -0
- data/docs/InlineObject1.md +10 -0
- data/docs/InlineResponse2001.md +1 -1
- data/docs/LoggingAzureblob.md +3 -3
- data/docs/LoggingAzureblobApi.md +12 -12
- data/docs/LoggingAzureblobResponse.md +3 -3
- data/docs/LoggingBigquery.md +4 -3
- data/docs/LoggingBigqueryApi.md +16 -12
- data/docs/LoggingBigqueryResponse.md +4 -3
- data/docs/LoggingCloudfiles.md +3 -3
- data/docs/LoggingCloudfilesApi.md +12 -12
- data/docs/LoggingCloudfilesResponse.md +3 -3
- data/docs/LoggingCommon.md +1 -1
- data/docs/LoggingDatadog.md +1 -1
- data/docs/LoggingDatadogApi.md +4 -4
- data/docs/LoggingDatadogResponse.md +1 -1
- data/docs/LoggingDigitalocean.md +3 -3
- data/docs/LoggingDigitaloceanApi.md +12 -12
- data/docs/LoggingDigitaloceanResponse.md +3 -3
- data/docs/LoggingElasticsearch.md +1 -1
- data/docs/LoggingElasticsearchApi.md +4 -4
- data/docs/LoggingElasticsearchResponse.md +1 -1
- data/docs/LoggingFtp.md +3 -3
- data/docs/LoggingFtpApi.md +12 -12
- data/docs/LoggingFtpResponse.md +3 -3
- data/docs/LoggingGcs.md +7 -5
- data/docs/LoggingGcsAllOf.md +1 -0
- data/docs/LoggingGcsApi.md +32 -24
- data/docs/LoggingGcsCommon.md +3 -2
- data/docs/LoggingGcsResponse.md +7 -5
- data/docs/LoggingGenericCommon.md +2 -2
- data/docs/LoggingGooglePubsub.md +4 -3
- data/docs/LoggingGooglePubsubResponse.md +4 -3
- data/docs/LoggingHeroku.md +1 -1
- data/docs/LoggingHerokuApi.md +4 -4
- data/docs/LoggingHerokuResponse.md +1 -1
- data/docs/LoggingHoneycomb.md +1 -1
- data/docs/LoggingHoneycombApi.md +4 -4
- data/docs/LoggingHoneycombResponse.md +1 -1
- data/docs/LoggingHttps.md +1 -1
- data/docs/LoggingHttpsApi.md +4 -4
- data/docs/LoggingHttpsResponse.md +1 -1
- data/docs/LoggingKafka.md +1 -1
- data/docs/LoggingKafkaApi.md +2 -2
- data/docs/LoggingKafkaResponse.md +1 -1
- data/docs/LoggingKinesis.md +1 -1
- data/docs/LoggingKinesisApi.md +2 -2
- data/docs/LoggingKinesisResponse.md +1 -1
- data/docs/LoggingLogentries.md +1 -1
- data/docs/LoggingLogentriesApi.md +4 -4
- data/docs/LoggingLogentriesResponse.md +1 -1
- data/docs/LoggingLoggly.md +1 -1
- data/docs/LoggingLogglyApi.md +4 -4
- data/docs/LoggingLogglyResponse.md +1 -1
- data/docs/LoggingLogshuttle.md +1 -1
- data/docs/LoggingLogshuttleApi.md +4 -4
- data/docs/LoggingLogshuttleResponse.md +1 -1
- data/docs/LoggingNewrelic.md +2 -2
- data/docs/LoggingNewrelicAllOf.md +1 -1
- data/docs/LoggingNewrelicApi.md +8 -8
- data/docs/LoggingNewrelicResponse.md +2 -2
- data/docs/LoggingOpenstack.md +3 -3
- data/docs/LoggingOpenstackApi.md +12 -12
- data/docs/LoggingOpenstackResponse.md +3 -3
- data/docs/LoggingPapertrail.md +1 -1
- data/docs/LoggingPapertrailApi.md +4 -4
- data/docs/LoggingPapertrailResponse.md +1 -1
- data/docs/LoggingPubsubApi.md +16 -12
- data/docs/LoggingS3.md +3 -3
- data/docs/LoggingS3Api.md +12 -12
- data/docs/LoggingS3Response.md +3 -3
- data/docs/LoggingScalyr.md +1 -1
- data/docs/LoggingScalyrApi.md +4 -4
- data/docs/LoggingScalyrResponse.md +1 -1
- data/docs/LoggingSftp.md +4 -4
- data/docs/LoggingSftpAllOf.md +1 -1
- data/docs/LoggingSftpApi.md +16 -16
- data/docs/LoggingSftpResponse.md +4 -4
- data/docs/LoggingSplunk.md +1 -1
- data/docs/LoggingSplunkApi.md +4 -4
- data/docs/LoggingSplunkResponse.md +1 -1
- data/docs/LoggingSumologic.md +1 -1
- data/docs/LoggingSumologicApi.md +4 -4
- data/docs/LoggingSumologicResponse.md +1 -1
- data/docs/LoggingSyslog.md +1 -1
- data/docs/LoggingSyslogApi.md +4 -4
- data/docs/LoggingSyslogResponse.md +1 -1
- data/docs/MutualAuthentication.md +10 -0
- data/docs/MutualAuthenticationApi.md +207 -0
- data/docs/MutualAuthenticationData.md +12 -0
- data/docs/MutualAuthenticationDataAttributes.md +12 -0
- data/docs/MutualAuthenticationResponse.md +10 -0
- data/docs/MutualAuthenticationResponseAttributes.md +13 -0
- data/docs/MutualAuthenticationResponseAttributesAllOf.md +10 -0
- data/docs/MutualAuthenticationResponseData.md +13 -0
- data/docs/MutualAuthenticationResponseDataAllOf.md +11 -0
- data/docs/MutualAuthenticationsResponse.md +12 -0
- data/docs/MutualAuthenticationsResponseAllOf.md +10 -0
- data/docs/PublishApi.md +54 -0
- data/docs/PublishItem.md +13 -0
- data/docs/PublishItemFormats.md +12 -0
- data/docs/PublishRequest.md +10 -0
- data/docs/PurgeApi.md +9 -9
- data/docs/RealtimeMeasurements.md +23 -0
- data/docs/RelationshipCommonName.md +1 -1
- data/docs/RelationshipMemberMutualAuthentication.md +11 -0
- data/docs/RelationshipMutualAuthentication.md +10 -0
- data/docs/RelationshipMutualAuthenticationMutualAuthentication.md +10 -0
- data/docs/RelationshipMutualAuthentications.md +10 -0
- data/docs/RelationshipMutualAuthenticationsMutualAuthentications.md +10 -0
- data/docs/RelationshipService.md +1 -1
- data/docs/RelationshipServices.md +1 -1
- data/docs/{RelationshipServiceService.md → RelationshipServicesServices.md} +1 -1
- data/docs/RelationshipTlsCertificateTlsCertificate.md +1 -1
- data/docs/RelationshipTlsCertificates.md +1 -1
- data/docs/RelationshipTlsCertificatesTlsCertificates.md +10 -0
- data/docs/RelationshipTlsConfigurationTlsConfiguration.md +1 -1
- data/docs/RelationshipTlsConfigurations.md +1 -1
- data/docs/RelationshipTlsConfigurationsTlsConfigurations.md +10 -0
- data/docs/RelationshipTlsDomainTlsDomain.md +1 -1
- data/docs/RelationshipTlsDomains.md +1 -1
- data/docs/RelationshipTlsDomainsTlsDomains.md +10 -0
- data/docs/RelationshipTlsPrivateKeyTlsPrivateKey.md +1 -1
- data/docs/RelationshipTlsPrivateKeys.md +1 -1
- data/docs/RelationshipTlsPrivateKeysTlsPrivateKeys.md +10 -0
- data/docs/RelationshipUserUser.md +1 -1
- data/docs/RelationshipsForMutualAuthentication.md +10 -0
- data/docs/RelationshipsForStar.md +1 -1
- data/docs/RelationshipsForTlsBulkCertificate.md +2 -2
- data/docs/RelationshipsForTlsConfiguration.md +1 -1
- data/docs/RelationshipsForTlsCsr.md +10 -0
- data/docs/RelationshipsForTlsPrivateKey.md +1 -1
- data/docs/RelationshipsForTlsSubscription.md +2 -2
- data/docs/Results.md +24 -1
- data/docs/SchemasUserResponse.md +2 -2
- data/docs/Service.md +1 -1
- data/docs/ServiceApi.md +4 -4
- data/docs/ServiceAuthorizationData.md +1 -1
- data/docs/ServiceAuthorizationDataRelationships.md +11 -0
- data/docs/ServiceAuthorizationDataRelationshipsUser.md +10 -0
- data/docs/{RelationshipUserUserData.md → ServiceAuthorizationDataRelationshipsUserData.md} +1 -1
- data/docs/ServiceAuthorizationResponseData.md +1 -1
- data/docs/ServiceCreate.md +1 -1
- data/docs/ServiceDetail.md +1 -1
- data/docs/ServiceInvitationData.md +1 -1
- data/docs/ServiceInvitationDataRelationships.md +10 -0
- data/docs/ServiceListResponse.md +1 -1
- data/docs/ServiceResponse.md +1 -1
- data/docs/ServiceVersionDetail.md +1 -1
- data/docs/ServiceVersionDetailOrNull.md +1 -1
- data/docs/TlsCsr.md +10 -0
- data/docs/TlsCsrData.md +12 -0
- data/docs/TlsCsrDataAttributes.md +19 -0
- data/docs/TlsCsrResponse.md +10 -0
- data/docs/TlsCsrResponseAttributes.md +10 -0
- data/docs/TlsCsrResponseData.md +13 -0
- data/docs/TlsCsrsApi.md +52 -0
- data/docs/TypeMutualAuthentication.md +9 -0
- data/docs/TypeTlsCsr.md +9 -0
- data/docs/UpdateBillingAddressRequest.md +1 -0
- data/docs/User.md +1 -1
- data/docs/UserApi.md +4 -4
- data/docs/UserResponse.md +2 -2
- data/docs/UserResponseAllOf.md +1 -1
- data/docs/ValidatorResult.md +14 -0
- data/docs/ValidatorResultMessages.md +13 -0
- data/docs/VclApi.md +78 -0
- data/docs/VersionDetail.md +1 -1
- data/docs/VersionDetailSettings.md +13 -0
- data/docs/WafFirewallVersionDataAttributes.md +1 -1
- data/docs/WsMessageFormat.md +11 -0
- data/lib/fastly/api/acl_entry_api.rb +0 -332
- data/lib/fastly/api/automation_tokens_api.rb +340 -0
- data/lib/fastly/api/backend_api.rb +6 -0
- data/lib/fastly/api/cache_settings_api.rb +2 -2
- data/lib/fastly/api/enabled_products_api.rb +228 -0
- data/lib/fastly/api/events_api.rb +6 -3
- data/lib/fastly/api/healthcheck_api.rb +48 -42
- data/lib/fastly/api/logging_azureblob_api.rb +12 -12
- data/lib/fastly/api/logging_bigquery_api.rb +18 -12
- data/lib/fastly/api/logging_cloudfiles_api.rb +12 -12
- data/lib/fastly/api/logging_datadog_api.rb +4 -4
- data/lib/fastly/api/logging_digitalocean_api.rb +12 -12
- data/lib/fastly/api/logging_elasticsearch_api.rb +4 -4
- data/lib/fastly/api/logging_ftp_api.rb +12 -12
- data/lib/fastly/api/logging_gcs_api.rb +32 -20
- data/lib/fastly/api/logging_heroku_api.rb +4 -4
- data/lib/fastly/api/logging_honeycomb_api.rb +4 -4
- data/lib/fastly/api/logging_https_api.rb +4 -4
- data/lib/fastly/api/logging_kafka_api.rb +2 -2
- data/lib/fastly/api/logging_kinesis_api.rb +2 -6
- data/lib/fastly/api/logging_logentries_api.rb +4 -4
- data/lib/fastly/api/logging_loggly_api.rb +4 -4
- data/lib/fastly/api/logging_logshuttle_api.rb +4 -4
- data/lib/fastly/api/logging_newrelic_api.rb +8 -8
- data/lib/fastly/api/logging_openstack_api.rb +12 -12
- data/lib/fastly/api/logging_papertrail_api.rb +4 -4
- data/lib/fastly/api/logging_pubsub_api.rb +18 -12
- data/lib/fastly/api/logging_s3_api.rb +12 -12
- data/lib/fastly/api/logging_scalyr_api.rb +4 -4
- data/lib/fastly/api/logging_sftp_api.rb +16 -16
- data/lib/fastly/api/logging_splunk_api.rb +4 -4
- data/lib/fastly/api/logging_sumologic_api.rb +4 -4
- data/lib/fastly/api/logging_syslog_api.rb +4 -4
- data/lib/fastly/api/mutual_authentication_api.rb +347 -0
- data/lib/fastly/api/publish_api.rb +90 -0
- data/lib/fastly/api/purge_api.rb +14 -15
- data/lib/fastly/api/service_api.rb +4 -4
- data/lib/fastly/api/{domain_ownerships_api.rb → tls_csrs_api.rb} +24 -17
- data/lib/fastly/api/user_api.rb +4 -4
- data/lib/fastly/api/vcl_api.rb +143 -0
- data/lib/fastly/api_client.rb +16 -0
- data/lib/fastly/models/acl_entry.rb +1 -1
- data/lib/fastly/models/acl_entry_response.rb +1 -4
- data/lib/fastly/models/acl_entry_response_all_of.rb +0 -3
- data/lib/fastly/models/acl_response.rb +0 -3
- data/lib/fastly/models/acl_response_all_of.rb +0 -1
- data/lib/fastly/models/apex_redirect.rb +0 -2
- data/lib/fastly/models/automation_token.rb +307 -0
- data/lib/fastly/models/automation_token_create_request.rb +216 -0
- data/lib/fastly/models/automation_token_create_request_attributes.rb +317 -0
- data/lib/fastly/models/automation_token_create_response.rb +416 -0
- data/lib/fastly/models/automation_token_create_response_all_of.rb +285 -0
- data/lib/fastly/models/automation_token_response.rb +394 -0
- data/lib/fastly/models/automation_token_response_all_of.rb +295 -0
- data/lib/fastly/models/aws_region.rb +56 -0
- data/lib/fastly/models/backend.rb +12 -1
- data/lib/fastly/models/backend_response.rb +12 -3
- data/lib/fastly/models/billing.rb +12 -3
- data/lib/fastly/models/billing_address_attributes.rb +4 -1
- data/lib/fastly/models/billing_address_request.rb +11 -1
- data/lib/fastly/models/billing_address_verification_error_response.rb +218 -0
- data/lib/fastly/models/billing_address_verification_error_response_errors.rb +275 -0
- data/lib/fastly/models/billing_estimate_response.rb +12 -3
- data/lib/fastly/models/billing_response.rb +12 -3
- data/lib/fastly/models/billing_response_line_item.rb +0 -1
- data/lib/fastly/models/billing_response_line_item_all_of.rb +0 -1
- data/lib/fastly/models/billing_status.rb +0 -1
- data/lib/fastly/models/billing_total.rb +1 -0
- data/lib/fastly/models/bulk_update_acl_entry.rb +1 -2
- data/lib/fastly/models/bulk_update_acl_entry_all_of.rb +0 -1
- data/lib/fastly/models/cache_setting.rb +2 -2
- data/lib/fastly/models/cache_setting_response.rb +2 -4
- data/lib/fastly/models/condition.rb +0 -1
- data/lib/fastly/models/condition_response.rb +0 -1
- data/lib/fastly/models/contact_response.rb +0 -1
- data/lib/fastly/models/contact_response_all_of.rb +0 -1
- data/lib/fastly/models/customer_response.rb +0 -1
- data/lib/fastly/models/customer_response_all_of.rb +0 -1
- data/lib/fastly/models/dictionary_item_response.rb +0 -2
- data/lib/fastly/models/dictionary_item_response_all_of.rb +0 -2
- data/lib/fastly/models/dictionary_response.rb +0 -3
- data/lib/fastly/models/dictionary_response_all_of.rb +0 -1
- data/lib/fastly/models/director_backend.rb +0 -2
- data/lib/fastly/models/director_response.rb +0 -2
- data/lib/fastly/models/domain_response.rb +0 -2
- data/lib/fastly/models/enabled_product.rb +234 -0
- data/lib/fastly/models/enabled_product_links.rb +225 -0
- data/lib/fastly/models/enabled_product_product.rb +225 -0
- data/lib/fastly/models/error_response.rb +218 -0
- data/lib/fastly/models/error_response_data.rb +225 -0
- data/lib/fastly/models/event.rb +0 -1
- data/lib/fastly/models/event_attributes.rb +13 -7
- data/lib/fastly/models/gzip_response.rb +0 -2
- data/lib/fastly/models/header_response.rb +0 -2
- data/lib/fastly/models/healthcheck.rb +17 -5
- data/lib/fastly/models/healthcheck_response.rb +17 -7
- data/lib/fastly/models/historical_usage_month_response_all_of_data.rb +0 -1
- data/lib/fastly/models/http3.rb +0 -2
- data/lib/fastly/models/http_response_format.rb +262 -0
- data/lib/fastly/models/http_stream_format.rb +228 -0
- data/lib/fastly/models/inline_object.rb +221 -0
- data/lib/fastly/models/inline_object1.rb +221 -0
- data/lib/fastly/models/inline_response2001.rb +10 -8
- data/lib/fastly/models/invitation_response_data.rb +0 -1
- data/lib/fastly/models/invitation_response_data_all_of.rb +0 -1
- data/lib/fastly/models/logging_azureblob.rb +3 -3
- data/lib/fastly/models/logging_azureblob_response.rb +3 -5
- data/lib/fastly/models/logging_bigquery.rb +14 -4
- data/lib/fastly/models/logging_bigquery_response.rb +14 -6
- data/lib/fastly/models/logging_cloudfiles.rb +3 -3
- data/lib/fastly/models/logging_cloudfiles_response.rb +3 -5
- data/lib/fastly/models/logging_common.rb +1 -1
- data/lib/fastly/models/logging_datadog.rb +1 -1
- data/lib/fastly/models/logging_datadog_response.rb +1 -3
- data/lib/fastly/models/logging_digitalocean.rb +3 -3
- data/lib/fastly/models/logging_digitalocean_response.rb +3 -5
- data/lib/fastly/models/logging_elasticsearch.rb +1 -1
- data/lib/fastly/models/logging_elasticsearch_response.rb +1 -3
- data/lib/fastly/models/logging_ftp.rb +3 -3
- data/lib/fastly/models/logging_ftp_response.rb +3 -5
- data/lib/fastly/models/logging_gcs.rb +30 -11
- data/lib/fastly/models/logging_gcs_all_of.rb +15 -6
- data/lib/fastly/models/logging_gcs_common.rb +16 -6
- data/lib/fastly/models/logging_gcs_response.rb +26 -9
- data/lib/fastly/models/logging_generic_common.rb +2 -2
- data/lib/fastly/models/logging_google_pubsub.rb +14 -4
- data/lib/fastly/models/logging_google_pubsub_response.rb +14 -6
- data/lib/fastly/models/logging_heroku.rb +1 -1
- data/lib/fastly/models/logging_heroku_response.rb +1 -3
- data/lib/fastly/models/logging_honeycomb.rb +1 -1
- data/lib/fastly/models/logging_honeycomb_response.rb +1 -3
- data/lib/fastly/models/logging_https.rb +1 -1
- data/lib/fastly/models/logging_https_response.rb +1 -3
- data/lib/fastly/models/logging_kafka.rb +1 -1
- data/lib/fastly/models/logging_kafka_response.rb +1 -3
- data/lib/fastly/models/logging_kinesis.rb +1 -36
- data/lib/fastly/models/logging_kinesis_response.rb +1 -38
- data/lib/fastly/models/logging_logentries.rb +1 -1
- data/lib/fastly/models/logging_logentries_response.rb +1 -3
- data/lib/fastly/models/logging_loggly.rb +1 -1
- data/lib/fastly/models/logging_loggly_response.rb +1 -3
- data/lib/fastly/models/logging_logshuttle.rb +1 -1
- data/lib/fastly/models/logging_logshuttle_response.rb +1 -3
- data/lib/fastly/models/logging_newrelic.rb +4 -3
- data/lib/fastly/models/logging_newrelic_all_of.rb +3 -2
- data/lib/fastly/models/logging_newrelic_response.rb +4 -5
- data/lib/fastly/models/logging_openstack.rb +3 -3
- data/lib/fastly/models/logging_openstack_response.rb +3 -5
- data/lib/fastly/models/logging_papertrail.rb +1 -1
- data/lib/fastly/models/logging_papertrail_response.rb +1 -3
- data/lib/fastly/models/logging_s3.rb +3 -3
- data/lib/fastly/models/logging_s3_response.rb +3 -5
- data/lib/fastly/models/logging_scalyr.rb +1 -1
- data/lib/fastly/models/logging_scalyr_response.rb +1 -3
- data/lib/fastly/models/logging_sftp.rb +6 -5
- data/lib/fastly/models/logging_sftp_all_of.rb +3 -2
- data/lib/fastly/models/logging_sftp_response.rb +6 -7
- data/lib/fastly/models/logging_splunk.rb +1 -1
- data/lib/fastly/models/logging_splunk_response.rb +1 -3
- data/lib/fastly/models/logging_sumologic.rb +1 -1
- data/lib/fastly/models/logging_sumologic_response.rb +1 -3
- data/lib/fastly/models/logging_syslog.rb +1 -1
- data/lib/fastly/models/logging_syslog_response.rb +1 -3
- data/lib/fastly/models/mutual_authentication.rb +216 -0
- data/lib/fastly/models/mutual_authentication_data.rb +236 -0
- data/lib/fastly/models/mutual_authentication_data_attributes.rb +237 -0
- data/lib/fastly/models/mutual_authentication_response.rb +216 -0
- data/lib/fastly/models/mutual_authentication_response_attributes.rb +258 -0
- data/lib/fastly/models/mutual_authentication_response_attributes_all_of.rb +217 -0
- data/lib/fastly/models/mutual_authentication_response_data.rb +253 -0
- data/lib/fastly/models/mutual_authentication_response_data_all_of.rb +225 -0
- data/lib/fastly/models/mutual_authentications_response.rb +244 -0
- data/lib/fastly/models/mutual_authentications_response_all_of.rb +218 -0
- data/lib/fastly/models/package_response.rb +0 -2
- data/lib/fastly/models/pool_response.rb +0 -3
- data/lib/fastly/models/pool_response_all_of.rb +0 -1
- data/lib/fastly/models/publish_item.rb +257 -0
- data/lib/fastly/models/publish_item_formats.rb +235 -0
- data/lib/fastly/models/publish_request.rb +225 -0
- data/lib/fastly/models/purge_response.rb +0 -1
- data/lib/fastly/models/rate_limiter_response.rb +0 -2
- data/lib/fastly/models/realtime.rb +0 -1
- data/lib/fastly/models/realtime_entry.rb +3 -2
- data/lib/fastly/models/realtime_measurements.rb +234 -4
- data/lib/fastly/models/relationship_common_name.rb +1 -1
- data/lib/fastly/models/relationship_member_customer.rb +0 -1
- data/lib/fastly/models/relationship_member_mutual_authentication.rb +227 -0
- data/lib/fastly/models/relationship_member_service.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_activation.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_bulk_certificate.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_certificate.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_configuration.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_dns_record.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_private_key.rb +0 -1
- data/lib/fastly/models/relationship_member_tls_subscription.rb +0 -1
- data/lib/fastly/models/relationship_member_waf_active_rule.rb +0 -1
- data/lib/fastly/models/relationship_member_waf_firewall.rb +0 -1
- data/lib/fastly/models/relationship_member_waf_rule.rb +0 -1
- data/lib/fastly/models/relationship_mutual_authentication.rb +216 -0
- data/lib/fastly/models/relationship_mutual_authentication_mutual_authentication.rb +216 -0
- data/lib/fastly/models/relationship_mutual_authentications.rb +216 -0
- data/lib/fastly/models/relationship_mutual_authentications_mutual_authentications.rb +218 -0
- data/lib/fastly/models/relationship_service.rb +1 -1
- data/lib/fastly/models/relationship_services.rb +1 -1
- data/lib/fastly/models/{relationship_service_service.rb → relationship_services_services.rb} +3 -3
- data/lib/fastly/models/relationship_tls_certificate_tls_certificate.rb +2 -4
- data/lib/fastly/models/relationship_tls_certificates.rb +1 -1
- data/lib/fastly/models/relationship_tls_certificates_tls_certificates.rb +218 -0
- data/lib/fastly/models/relationship_tls_configuration_tls_configuration.rb +2 -4
- data/lib/fastly/models/relationship_tls_configurations.rb +1 -1
- data/lib/fastly/models/relationship_tls_configurations_tls_configurations.rb +218 -0
- data/lib/fastly/models/relationship_tls_domain_tls_domain.rb +2 -4
- data/lib/fastly/models/relationship_tls_domains.rb +1 -1
- data/lib/fastly/models/relationship_tls_domains_tls_domains.rb +218 -0
- data/lib/fastly/models/relationship_tls_private_key_tls_private_key.rb +2 -4
- data/lib/fastly/models/relationship_tls_private_keys.rb +1 -1
- data/lib/fastly/models/relationship_tls_private_keys_tls_private_keys.rb +218 -0
- data/lib/fastly/models/relationship_user_user.rb +1 -1
- data/lib/fastly/models/relationships_for_mutual_authentication.rb +235 -0
- data/lib/fastly/models/relationships_for_star.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_bulk_certificate.rb +2 -2
- data/lib/fastly/models/relationships_for_tls_configuration.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_csr.rb +235 -0
- data/lib/fastly/models/relationships_for_tls_private_key.rb +1 -1
- data/lib/fastly/models/relationships_for_tls_subscription.rb +2 -2
- data/lib/fastly/models/request_settings_response.rb +0 -2
- data/lib/fastly/models/response_object_response.rb +0 -2
- data/lib/fastly/models/results.rb +235 -5
- data/lib/fastly/models/schemas_contact_response.rb +0 -1
- data/lib/fastly/models/schemas_snippet_response.rb +0 -3
- data/lib/fastly/models/schemas_user_response.rb +0 -3
- data/lib/fastly/models/schemas_vcl_response.rb +0 -2
- data/lib/fastly/models/schemas_version_response.rb +0 -1
- data/lib/fastly/models/server_response.rb +0 -3
- data/lib/fastly/models/server_response_all_of.rb +0 -3
- data/lib/fastly/models/service.rb +1 -1
- data/lib/fastly/models/service_authorization_data.rb +1 -2
- data/lib/fastly/models/service_authorization_data_relationships.rb +225 -0
- data/lib/fastly/models/service_authorization_data_relationships_user.rb +217 -0
- data/lib/fastly/models/{relationship_user_user_data.rb → service_authorization_data_relationships_user_data.rb} +3 -4
- data/lib/fastly/models/service_authorization_response_data.rb +1 -3
- data/lib/fastly/models/service_authorization_response_data_all_of.rb +0 -1
- data/lib/fastly/models/service_create.rb +1 -1
- data/lib/fastly/models/service_detail.rb +2 -2
- data/lib/fastly/models/service_detail_all_of.rb +1 -0
- data/lib/fastly/models/service_id_and_version.rb +0 -2
- data/lib/fastly/models/service_invitation_data.rb +1 -3
- data/lib/fastly/models/service_invitation_data_relationships.rb +217 -0
- data/lib/fastly/models/service_invitation_response_all_of_data.rb +0 -1
- data/lib/fastly/models/service_list_response.rb +1 -2
- data/lib/fastly/models/service_list_response_all_of.rb +0 -1
- data/lib/fastly/models/service_response.rb +1 -2
- data/lib/fastly/models/service_response_all_of.rb +0 -1
- data/lib/fastly/models/service_version_detail.rb +1 -4
- data/lib/fastly/models/service_version_detail_or_null.rb +5 -20
- data/lib/fastly/models/settings_response.rb +0 -2
- data/lib/fastly/models/snippet_response.rb +0 -3
- data/lib/fastly/models/snippet_response_all_of.rb +0 -1
- data/lib/fastly/models/tls_activation_response_data.rb +0 -1
- data/lib/fastly/models/tls_activation_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_bulk_certificate_response_data.rb +0 -1
- data/lib/fastly/models/tls_bulk_certificate_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_certificate_response_data.rb +0 -1
- data/lib/fastly/models/tls_certificate_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_configuration_response_data.rb +0 -1
- data/lib/fastly/models/tls_configuration_response_data_all_of.rb +0 -1
- data/lib/fastly/models/tls_csr.rb +216 -0
- data/lib/fastly/models/tls_csr_data.rb +236 -0
- data/lib/fastly/models/tls_csr_data_attributes.rb +314 -0
- data/lib/fastly/models/tls_csr_response.rb +216 -0
- data/lib/fastly/models/tls_csr_response_attributes.rb +217 -0
- data/lib/fastly/models/tls_csr_response_data.rb +245 -0
- data/lib/fastly/models/tls_private_key_response_data.rb +0 -1
- data/lib/fastly/models/tls_subscription_response_data.rb +0 -1
- data/lib/fastly/models/tls_subscription_response_data_all_of.rb +0 -1
- data/lib/fastly/models/token_created_response.rb +0 -2
- data/lib/fastly/models/token_response.rb +0 -2
- data/lib/fastly/models/token_response_all_of.rb +0 -2
- data/lib/fastly/models/type_mutual_authentication.rb +34 -0
- data/lib/fastly/models/type_tls_csr.rb +34 -0
- data/lib/fastly/models/update_billing_address_request.rb +11 -1
- data/lib/fastly/models/user.rb +0 -1
- data/lib/fastly/models/user_response.rb +0 -3
- data/lib/fastly/models/user_response_all_of.rb +0 -2
- data/lib/fastly/models/validator_result.rb +294 -0
- data/lib/fastly/models/validator_result_messages.rb +265 -0
- data/lib/fastly/models/vcl_response.rb +0 -2
- data/lib/fastly/models/version_create_response.rb +0 -2
- data/lib/fastly/models/version_detail.rb +1 -3
- data/lib/fastly/models/version_detail_settings.rb +252 -0
- data/lib/fastly/models/version_response.rb +0 -1
- data/lib/fastly/models/version_response_all_of.rb +0 -1
- data/lib/fastly/models/waf_active_rule_response_data.rb +0 -1
- data/lib/fastly/models/waf_active_rule_response_data_all_of.rb +0 -1
- data/lib/fastly/models/waf_firewall_data_attributes.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data_all_of.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data_attributes.rb +0 -1
- data/lib/fastly/models/waf_firewall_response_data_attributes_all_of.rb +0 -1
- data/lib/fastly/models/waf_firewall_version_data_attributes.rb +1 -2
- data/lib/fastly/models/waf_rule.rb +0 -1
- data/lib/fastly/models/waf_rule_response_data.rb +0 -1
- data/lib/fastly/models/waf_tag_attributes.rb +0 -1
- data/lib/fastly/models/ws_message_format.rb +228 -0
- data/lib/fastly/version.rb +1 -1
- data/lib/fastly.rb +65 -5
- data/pkg/fastly-4.0.0.gem +0 -0
- data/sig.json +1 -0
- metadata +137 -15
- data/docs/ContentApi.md +0 -52
- data/docs/DocsApi.md +0 -123
- data/docs/DomainOwnershipsApi.md +0 -47
- data/lib/fastly/api/content_api.rb +0 -79
- data/lib/fastly/api/docs_api.rb +0 -210
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -28,12 +28,15 @@ module Fastly
|
|
|
28
28
|
# A Fastly [log format string](https://docs.fastly.com/en/guides/custom-log-formats). Must produce JSON that matches the schema of your BigQuery table.
|
|
29
29
|
attr_accessor :format
|
|
30
30
|
|
|
31
|
-
# Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON.
|
|
31
|
+
# 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.
|
|
32
32
|
attr_accessor :user
|
|
33
33
|
|
|
34
|
-
# Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON.
|
|
34
|
+
# Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
|
35
35
|
attr_accessor :secret_key
|
|
36
36
|
|
|
37
|
+
# The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
|
|
38
|
+
attr_accessor :account_name
|
|
39
|
+
|
|
37
40
|
# Your BigQuery dataset.
|
|
38
41
|
attr_accessor :dataset
|
|
39
42
|
|
|
@@ -91,6 +94,7 @@ module Fastly
|
|
|
91
94
|
:'format' => :'format',
|
|
92
95
|
:'user' => :'user',
|
|
93
96
|
:'secret_key' => :'secret_key',
|
|
97
|
+
:'account_name' => :'account_name',
|
|
94
98
|
:'dataset' => :'dataset',
|
|
95
99
|
:'table' => :'table',
|
|
96
100
|
:'template_suffix' => :'template_suffix',
|
|
@@ -118,6 +122,7 @@ module Fastly
|
|
|
118
122
|
:'format' => :'String',
|
|
119
123
|
:'user' => :'String',
|
|
120
124
|
:'secret_key' => :'String',
|
|
125
|
+
:'account_name' => :'String',
|
|
121
126
|
:'dataset' => :'String',
|
|
122
127
|
:'table' => :'String',
|
|
123
128
|
:'template_suffix' => :'String',
|
|
@@ -139,8 +144,6 @@ module Fastly
|
|
|
139
144
|
:'created_at',
|
|
140
145
|
:'deleted_at',
|
|
141
146
|
:'updated_at',
|
|
142
|
-
:'service_id',
|
|
143
|
-
:'version'
|
|
144
147
|
])
|
|
145
148
|
end
|
|
146
149
|
|
|
@@ -198,6 +201,10 @@ module Fastly
|
|
|
198
201
|
self.secret_key = attributes[:'secret_key']
|
|
199
202
|
end
|
|
200
203
|
|
|
204
|
+
if attributes.key?(:'account_name')
|
|
205
|
+
self.account_name = attributes[:'account_name']
|
|
206
|
+
end
|
|
207
|
+
|
|
201
208
|
if attributes.key?(:'dataset')
|
|
202
209
|
self.dataset = attributes[:'dataset']
|
|
203
210
|
end
|
|
@@ -284,6 +291,7 @@ module Fastly
|
|
|
284
291
|
format == o.format &&
|
|
285
292
|
user == o.user &&
|
|
286
293
|
secret_key == o.secret_key &&
|
|
294
|
+
account_name == o.account_name &&
|
|
287
295
|
dataset == o.dataset &&
|
|
288
296
|
table == o.table &&
|
|
289
297
|
template_suffix == o.template_suffix &&
|
|
@@ -304,7 +312,7 @@ module Fastly
|
|
|
304
312
|
# Calculates hash code according to all attributes.
|
|
305
313
|
# @return [Integer] Hash code
|
|
306
314
|
def hash
|
|
307
|
-
[name, placement, format_version, response_condition, format, user, secret_key, dataset, table, template_suffix, project_id, created_at, deleted_at, updated_at, service_id, version].hash
|
|
315
|
+
[name, placement, format_version, response_condition, format, user, secret_key, account_name, dataset, table, template_suffix, project_id, created_at, deleted_at, updated_at, service_id, version].hash
|
|
308
316
|
end
|
|
309
317
|
|
|
310
318
|
# Builds the object from hash
|
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -37,10 +37,10 @@ module Fastly
|
|
|
37
37
|
# How frequently log files are finalized so they can be available for reading (in seconds).
|
|
38
38
|
attr_accessor :period
|
|
39
39
|
|
|
40
|
-
#
|
|
40
|
+
# The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
41
41
|
attr_accessor :gzip_level
|
|
42
42
|
|
|
43
|
-
# The codec used for
|
|
43
|
+
# The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
44
44
|
attr_accessor :compression_codec
|
|
45
45
|
|
|
46
46
|
# Your Cloud Files account access key.
|
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -37,10 +37,10 @@ module Fastly
|
|
|
37
37
|
# How frequently log files are finalized so they can be available for reading (in seconds).
|
|
38
38
|
attr_accessor :period
|
|
39
39
|
|
|
40
|
-
#
|
|
40
|
+
# The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
41
41
|
attr_accessor :gzip_level
|
|
42
42
|
|
|
43
|
-
# The codec used for
|
|
43
|
+
# The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
44
44
|
attr_accessor :compression_codec
|
|
45
45
|
|
|
46
46
|
# Your Cloud Files account access key.
|
|
@@ -167,8 +167,6 @@ module Fastly
|
|
|
167
167
|
:'created_at',
|
|
168
168
|
:'deleted_at',
|
|
169
169
|
:'updated_at',
|
|
170
|
-
:'service_id',
|
|
171
|
-
:'version'
|
|
172
170
|
])
|
|
173
171
|
end
|
|
174
172
|
|
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -118,8 +118,6 @@ module Fastly
|
|
|
118
118
|
:'created_at',
|
|
119
119
|
:'deleted_at',
|
|
120
120
|
:'updated_at',
|
|
121
|
-
:'service_id',
|
|
122
|
-
:'version'
|
|
123
121
|
])
|
|
124
122
|
end
|
|
125
123
|
|
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -37,10 +37,10 @@ module Fastly
|
|
|
37
37
|
# How frequently log files are finalized so they can be available for reading (in seconds).
|
|
38
38
|
attr_accessor :period
|
|
39
39
|
|
|
40
|
-
#
|
|
40
|
+
# The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
41
41
|
attr_accessor :gzip_level
|
|
42
42
|
|
|
43
|
-
# The codec used for
|
|
43
|
+
# The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
44
44
|
attr_accessor :compression_codec
|
|
45
45
|
|
|
46
46
|
# The name of the DigitalOcean Space.
|
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -37,10 +37,10 @@ module Fastly
|
|
|
37
37
|
# How frequently log files are finalized so they can be available for reading (in seconds).
|
|
38
38
|
attr_accessor :period
|
|
39
39
|
|
|
40
|
-
#
|
|
40
|
+
# The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
41
41
|
attr_accessor :gzip_level
|
|
42
42
|
|
|
43
|
-
# The codec used for
|
|
43
|
+
# The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
44
44
|
attr_accessor :compression_codec
|
|
45
45
|
|
|
46
46
|
# The name of the DigitalOcean Space.
|
|
@@ -166,8 +166,6 @@ module Fastly
|
|
|
166
166
|
:'created_at',
|
|
167
167
|
:'deleted_at',
|
|
168
168
|
:'updated_at',
|
|
169
|
-
:'service_id',
|
|
170
|
-
:'version'
|
|
171
169
|
])
|
|
172
170
|
end
|
|
173
171
|
|
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -170,8 +170,6 @@ module Fastly
|
|
|
170
170
|
:'created_at',
|
|
171
171
|
:'deleted_at',
|
|
172
172
|
:'updated_at',
|
|
173
|
-
:'service_id',
|
|
174
|
-
:'version'
|
|
175
173
|
])
|
|
176
174
|
end
|
|
177
175
|
|
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -37,10 +37,10 @@ module Fastly
|
|
|
37
37
|
# How frequently log files are finalized so they can be available for reading (in seconds).
|
|
38
38
|
attr_accessor :period
|
|
39
39
|
|
|
40
|
-
#
|
|
40
|
+
# The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
41
41
|
attr_accessor :gzip_level
|
|
42
42
|
|
|
43
|
-
# The codec used for
|
|
43
|
+
# The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
44
44
|
attr_accessor :compression_codec
|
|
45
45
|
|
|
46
46
|
# An hostname or IPv4 address.
|
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -37,10 +37,10 @@ module Fastly
|
|
|
37
37
|
# How frequently log files are finalized so they can be available for reading (in seconds).
|
|
38
38
|
attr_accessor :period
|
|
39
39
|
|
|
40
|
-
#
|
|
40
|
+
# The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
41
41
|
attr_accessor :gzip_level
|
|
42
42
|
|
|
43
|
-
# The codec used for
|
|
43
|
+
# The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
44
44
|
attr_accessor :compression_codec
|
|
45
45
|
|
|
46
46
|
# An hostname or IPv4 address.
|
|
@@ -175,8 +175,6 @@ module Fastly
|
|
|
175
175
|
:'created_at',
|
|
176
176
|
:'deleted_at',
|
|
177
177
|
:'updated_at',
|
|
178
|
-
:'service_id',
|
|
179
|
-
:'version'
|
|
180
178
|
])
|
|
181
179
|
end
|
|
182
180
|
|
|
@@ -19,7 +19,7 @@ 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`.
|
|
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
23
|
attr_accessor :format_version
|
|
24
24
|
|
|
25
25
|
# The name of an existing condition in the configured endpoint, or leave blank to always execute.
|
|
@@ -37,18 +37,21 @@ module Fastly
|
|
|
37
37
|
# How frequently log files are finalized so they can be available for reading (in seconds).
|
|
38
38
|
attr_accessor :period
|
|
39
39
|
|
|
40
|
-
#
|
|
40
|
+
# The level of gzip encoding when sending logs (default `0`, no compression). Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
41
41
|
attr_accessor :gzip_level
|
|
42
42
|
|
|
43
|
-
# The codec used for
|
|
43
|
+
# The codec used for compressing your logs. Valid values are `zstd`, `snappy`, and `gzip`. Specifying both `compression_codec` and `gzip_level` in the same API request will result in an error.
|
|
44
44
|
attr_accessor :compression_codec
|
|
45
45
|
|
|
46
|
-
# Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON.
|
|
46
|
+
# 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.
|
|
47
47
|
attr_accessor :user
|
|
48
48
|
|
|
49
|
-
# Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON.
|
|
49
|
+
# Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
|
50
50
|
attr_accessor :secret_key
|
|
51
51
|
|
|
52
|
+
# The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
|
|
53
|
+
attr_accessor :account_name
|
|
54
|
+
|
|
52
55
|
# The name of the GCS bucket.
|
|
53
56
|
attr_accessor :bucket_name
|
|
54
57
|
|
|
@@ -58,6 +61,9 @@ module Fastly
|
|
|
58
61
|
# A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
|
|
59
62
|
attr_accessor :public_key
|
|
60
63
|
|
|
64
|
+
# Your Google Cloud Platform project ID. Required
|
|
65
|
+
attr_accessor :project_id
|
|
66
|
+
|
|
61
67
|
class EnumAttributeValidator
|
|
62
68
|
attr_reader :datatype
|
|
63
69
|
attr_reader :allowable_values
|
|
@@ -95,9 +101,11 @@ module Fastly
|
|
|
95
101
|
:'compression_codec' => :'compression_codec',
|
|
96
102
|
:'user' => :'user',
|
|
97
103
|
:'secret_key' => :'secret_key',
|
|
104
|
+
:'account_name' => :'account_name',
|
|
98
105
|
:'bucket_name' => :'bucket_name',
|
|
99
106
|
:'path' => :'path',
|
|
100
|
-
:'public_key' => :'public_key'
|
|
107
|
+
:'public_key' => :'public_key',
|
|
108
|
+
:'project_id' => :'project_id'
|
|
101
109
|
}
|
|
102
110
|
end
|
|
103
111
|
|
|
@@ -121,9 +129,11 @@ module Fastly
|
|
|
121
129
|
:'compression_codec' => :'String',
|
|
122
130
|
:'user' => :'String',
|
|
123
131
|
:'secret_key' => :'String',
|
|
132
|
+
:'account_name' => :'String',
|
|
124
133
|
:'bucket_name' => :'String',
|
|
125
134
|
:'path' => :'String',
|
|
126
|
-
:'public_key' => :'String'
|
|
135
|
+
:'public_key' => :'String',
|
|
136
|
+
:'project_id' => :'String'
|
|
127
137
|
}
|
|
128
138
|
end
|
|
129
139
|
|
|
@@ -133,8 +143,7 @@ module Fastly
|
|
|
133
143
|
:'placement',
|
|
134
144
|
:'response_condition',
|
|
135
145
|
:'timestamp_format',
|
|
136
|
-
:'
|
|
137
|
-
:'public_key'
|
|
146
|
+
:'public_key',
|
|
138
147
|
])
|
|
139
148
|
end
|
|
140
149
|
|
|
@@ -221,6 +230,10 @@ module Fastly
|
|
|
221
230
|
self.secret_key = attributes[:'secret_key']
|
|
222
231
|
end
|
|
223
232
|
|
|
233
|
+
if attributes.key?(:'account_name')
|
|
234
|
+
self.account_name = attributes[:'account_name']
|
|
235
|
+
end
|
|
236
|
+
|
|
224
237
|
if attributes.key?(:'bucket_name')
|
|
225
238
|
self.bucket_name = attributes[:'bucket_name']
|
|
226
239
|
end
|
|
@@ -234,6 +247,10 @@ module Fastly
|
|
|
234
247
|
else
|
|
235
248
|
self.public_key = 'null'
|
|
236
249
|
end
|
|
250
|
+
|
|
251
|
+
if attributes.key?(:'project_id')
|
|
252
|
+
self.project_id = attributes[:'project_id']
|
|
253
|
+
end
|
|
237
254
|
end
|
|
238
255
|
|
|
239
256
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -314,9 +331,11 @@ module Fastly
|
|
|
314
331
|
compression_codec == o.compression_codec &&
|
|
315
332
|
user == o.user &&
|
|
316
333
|
secret_key == o.secret_key &&
|
|
334
|
+
account_name == o.account_name &&
|
|
317
335
|
bucket_name == o.bucket_name &&
|
|
318
336
|
path == o.path &&
|
|
319
|
-
public_key == o.public_key
|
|
337
|
+
public_key == o.public_key &&
|
|
338
|
+
project_id == o.project_id
|
|
320
339
|
end
|
|
321
340
|
|
|
322
341
|
# @see the `==` method
|
|
@@ -328,7 +347,7 @@ module Fastly
|
|
|
328
347
|
# Calculates hash code according to all attributes.
|
|
329
348
|
# @return [Integer] Hash code
|
|
330
349
|
def hash
|
|
331
|
-
[name, placement, format_version, response_condition, format, message_type, timestamp_format, period, gzip_level, compression_codec, user, secret_key, bucket_name, path, public_key].hash
|
|
350
|
+
[name, placement, format_version, response_condition, format, message_type, timestamp_format, period, gzip_level, compression_codec, user, secret_key, account_name, bucket_name, path, public_key, project_id].hash
|
|
332
351
|
end
|
|
333
352
|
|
|
334
353
|
# Builds the object from hash
|
|
@@ -22,12 +22,16 @@ module Fastly
|
|
|
22
22
|
# A PGP public key that Fastly will use to encrypt your log files before writing them to disk.
|
|
23
23
|
attr_accessor :public_key
|
|
24
24
|
|
|
25
|
+
# Your Google Cloud Platform project ID. Required
|
|
26
|
+
attr_accessor :project_id
|
|
27
|
+
|
|
25
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
29
|
def self.attribute_map
|
|
27
30
|
{
|
|
28
31
|
:'bucket_name' => :'bucket_name',
|
|
29
32
|
:'path' => :'path',
|
|
30
|
-
:'public_key' => :'public_key'
|
|
33
|
+
:'public_key' => :'public_key',
|
|
34
|
+
:'project_id' => :'project_id'
|
|
31
35
|
}
|
|
32
36
|
end
|
|
33
37
|
|
|
@@ -41,15 +45,15 @@ module Fastly
|
|
|
41
45
|
{
|
|
42
46
|
:'bucket_name' => :'String',
|
|
43
47
|
:'path' => :'String',
|
|
44
|
-
:'public_key' => :'String'
|
|
48
|
+
:'public_key' => :'String',
|
|
49
|
+
:'project_id' => :'String'
|
|
45
50
|
}
|
|
46
51
|
end
|
|
47
52
|
|
|
48
53
|
# List of attributes with nullable: true
|
|
49
54
|
def self.fastly_nullable
|
|
50
55
|
Set.new([
|
|
51
|
-
:'
|
|
52
|
-
:'public_key'
|
|
56
|
+
:'public_key',
|
|
53
57
|
])
|
|
54
58
|
end
|
|
55
59
|
|
|
@@ -81,6 +85,10 @@ module Fastly
|
|
|
81
85
|
else
|
|
82
86
|
self.public_key = 'null'
|
|
83
87
|
end
|
|
88
|
+
|
|
89
|
+
if attributes.key?(:'project_id')
|
|
90
|
+
self.project_id = attributes[:'project_id']
|
|
91
|
+
end
|
|
84
92
|
end
|
|
85
93
|
|
|
86
94
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -103,7 +111,8 @@ module Fastly
|
|
|
103
111
|
self.class == o.class &&
|
|
104
112
|
bucket_name == o.bucket_name &&
|
|
105
113
|
path == o.path &&
|
|
106
|
-
public_key == o.public_key
|
|
114
|
+
public_key == o.public_key &&
|
|
115
|
+
project_id == o.project_id
|
|
107
116
|
end
|
|
108
117
|
|
|
109
118
|
# @see the `==` method
|
|
@@ -115,7 +124,7 @@ module Fastly
|
|
|
115
124
|
# Calculates hash code according to all attributes.
|
|
116
125
|
# @return [Integer] Hash code
|
|
117
126
|
def hash
|
|
118
|
-
[bucket_name, path, public_key].hash
|
|
127
|
+
[bucket_name, path, public_key, project_id].hash
|
|
119
128
|
end
|
|
120
129
|
|
|
121
130
|
# Builds the object from hash
|
|
@@ -13,17 +13,21 @@ require 'time'
|
|
|
13
13
|
|
|
14
14
|
module Fastly
|
|
15
15
|
class LoggingGcsCommon
|
|
16
|
-
# Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON.
|
|
16
|
+
# 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.
|
|
17
17
|
attr_accessor :user
|
|
18
18
|
|
|
19
|
-
# Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON.
|
|
19
|
+
# Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
|
|
20
20
|
attr_accessor :secret_key
|
|
21
21
|
|
|
22
|
+
# The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided.
|
|
23
|
+
attr_accessor :account_name
|
|
24
|
+
|
|
22
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
26
|
def self.attribute_map
|
|
24
27
|
{
|
|
25
28
|
:'user' => :'user',
|
|
26
|
-
:'secret_key' => :'secret_key'
|
|
29
|
+
:'secret_key' => :'secret_key',
|
|
30
|
+
:'account_name' => :'account_name'
|
|
27
31
|
}
|
|
28
32
|
end
|
|
29
33
|
|
|
@@ -36,7 +40,8 @@ module Fastly
|
|
|
36
40
|
def self.fastly_types
|
|
37
41
|
{
|
|
38
42
|
:'user' => :'String',
|
|
39
|
-
:'secret_key' => :'String'
|
|
43
|
+
:'secret_key' => :'String',
|
|
44
|
+
:'account_name' => :'String'
|
|
40
45
|
}
|
|
41
46
|
end
|
|
42
47
|
|
|
@@ -68,6 +73,10 @@ module Fastly
|
|
|
68
73
|
if attributes.key?(:'secret_key')
|
|
69
74
|
self.secret_key = attributes[:'secret_key']
|
|
70
75
|
end
|
|
76
|
+
|
|
77
|
+
if attributes.key?(:'account_name')
|
|
78
|
+
self.account_name = attributes[:'account_name']
|
|
79
|
+
end
|
|
71
80
|
end
|
|
72
81
|
|
|
73
82
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -89,7 +98,8 @@ module Fastly
|
|
|
89
98
|
return true if self.equal?(o)
|
|
90
99
|
self.class == o.class &&
|
|
91
100
|
user == o.user &&
|
|
92
|
-
secret_key == o.secret_key
|
|
101
|
+
secret_key == o.secret_key &&
|
|
102
|
+
account_name == o.account_name
|
|
93
103
|
end
|
|
94
104
|
|
|
95
105
|
# @see the `==` method
|
|
@@ -101,7 +111,7 @@ module Fastly
|
|
|
101
111
|
# Calculates hash code according to all attributes.
|
|
102
112
|
# @return [Integer] Hash code
|
|
103
113
|
def hash
|
|
104
|
-
[user, secret_key].hash
|
|
114
|
+
[user, secret_key, account_name].hash
|
|
105
115
|
end
|
|
106
116
|
|
|
107
117
|
# Builds the object from hash
|