Class: Fastly::S3Logging

Inherits:
BelongsToServiceAndVersion show all
Defined in:
lib/fastly/s3_logging.rb

Overview

An s3 endpoint to stream logs to

Instance Attribute Summary collapse

Attributes inherited from BelongsToServiceAndVersion

#version

Attributes inherited from Base

#fetcher

Class Method Summary collapse

Methods inherited from BelongsToServiceAndVersion

#as_hash, delete_path, get_path, post_path, put_path, #service, #version_number

Methods inherited from Base

#as_hash, #delete!, delete_path, get_path, #initialize, list_path, post_path, put_path, #require_api_key!, #save!

Constructor Details

This class inherits a constructor from Fastly::Base

Instance Attribute Details

#access_keyObject

Returns the value of attribute access_key.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def access_key
  @access_key
end

#bucket_nameObject

Returns the value of attribute bucket_name.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def bucket_name
  @bucket_name
end

#formatObject

Returns the value of attribute format.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def format
  @format
end

#gzip_levelObject

Returns the value of attribute gzip_level.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def gzip_level
  @gzip_level
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def name
  @name
end

#pathObject

Returns the value of attribute path.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def path
  @path
end

#periodObject

Returns the value of attribute period.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def period
  @period
end

#response_conditionObject

Returns the value of attribute response_condition.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def response_condition
  @response_condition
end

#secret_keyObject

Returns the value of attribute secret_key.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def secret_key
  @secret_key
end

#service_idObject

Returns the value of attribute service_id.



4
5
6
# File 'lib/fastly/s3_logging.rb', line 4

def service_id
  @service_id
end

Class Method Details

.pathObject

:attr: response_condition

When to execute the s3 logging. If empty, always execute.



62
63
64
# File 'lib/fastly/s3_logging.rb', line 62

def self.path
  'logging/s3'
end