lib/fastly/api/logging_gcs_api.rb in fastly-6.0.1 vs lib/fastly/api/logging_gcs_api.rb in fastly-6.0.2
- old
+ new
@@ -33,11 +33,11 @@
# @option opts [String] :compression_codec 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.
# @option opts [String] :user Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
# @option opts [String] :secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
# @option opts [String] :account_name 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.
# @option opts [String] :bucket_name The name of the GCS bucket.
- # @option opts [String] :path The path to upload logs to.
+ # @option opts [String] :path (default to '/')
# @option opts [String] :public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (default to 'null')
# @option opts [String] :project_id Your Google Cloud Platform project ID. Required
# @return [LoggingGcsResponse]
def create_log_gcs(opts = {})
data, _status_code, _headers = create_log_gcs_with_http_info(opts)
@@ -60,11 +60,11 @@
# @option opts [String] :compression_codec 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.
# @option opts [String] :user Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
# @option opts [String] :secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
# @option opts [String] :account_name 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.
# @option opts [String] :bucket_name The name of the GCS bucket.
- # @option opts [String] :path The path to upload logs to.
+ # @option opts [String] :path (default to '/')
# @option opts [String] :public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (default to 'null')
# @option opts [String] :project_id Your Google Cloud Platform project ID. Required
# @return [Array<(LoggingGcsResponse, Integer, Hash)>] LoggingGcsResponse data, response status code and response headers
def create_log_gcs_with_http_info(opts = {})
if @api_client.config.debugging
@@ -400,11 +400,11 @@
# @option opts [String] :compression_codec 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.
# @option opts [String] :user Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
# @option opts [String] :secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
# @option opts [String] :account_name 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.
# @option opts [String] :bucket_name The name of the GCS bucket.
- # @option opts [String] :path The path to upload logs to.
+ # @option opts [String] :path (default to '/')
# @option opts [String] :public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (default to 'null')
# @option opts [String] :project_id Your Google Cloud Platform project ID. Required
# @return [LoggingGcsResponse]
def update_log_gcs(opts = {})
data, _status_code, _headers = update_log_gcs_with_http_info(opts)
@@ -428,10 +428,10 @@
# @option opts [String] :compression_codec 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.
# @option opts [String] :user Your Google Cloud Platform service account email address. The `client_email` field in your service account authentication JSON. Not required if `account_name` is specified.
# @option opts [String] :secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified.
# @option opts [String] :account_name 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.
# @option opts [String] :bucket_name The name of the GCS bucket.
- # @option opts [String] :path The path to upload logs to.
+ # @option opts [String] :path (default to '/')
# @option opts [String] :public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (default to 'null')
# @option opts [String] :project_id Your Google Cloud Platform project ID. Required
# @return [Array<(LoggingGcsResponse, Integer, Hash)>] LoggingGcsResponse data, response status code and response headers
def update_log_gcs_with_http_info(opts = {})
if @api_client.config.debugging