Sha256: 51069e1e04639c681540f9753a6b38ddbd52d171e744bff4b3f3dd5fa01e0d32

Contents?: true

Size: 1.85 KB

Versions: 11

Compression:

Stored size: 1.85 KB

Contents

class Fastly
  # An Google BigQuery endpoint to stream logs to
  class BigQueryLogging < BelongsToServiceAndVersion
    attr_accessor :created_at, :dataset, :format, :format_version, :name, :placement, :project_id,
                  :response_condition, :secret_key, :service_id, :table, :template_suffix,
                  :updated_at, :user

    ##
    # :attr: service_id
    #
    # The id of the service this belongs to.

    ##
    # :attr: version
    #
    # The number of the version this belongs to.

    ##
    # :attr: name
    #
    # The name for this BigQuery logging rule

    ##
    # :attr: project_id
    #
    # The Google Cloud project ID

    ##
    # :attr: dataset
    #
    # The BigQuery dataset name

    ##
    # :attr: table
    #
    # The BigQuery table name

    ##
    # :attr: template_suffix
    #
    # The BigQuery template-table suffix. Null for non-templated tables.
    # See https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables

    ##
    # :attr: user
    #
    # The gcs user for authentication

    ##
    # :attr: secret_key
    #
    # The bucket's gcs account secret key

    ##
    # :attr: placement
    #
    # Where in the generated VCL the logging call should be placed

    ##
    # :attr: format
    #
    # JSON data structure with VCL interpolations.

    ##
    # :attr: format_version
    #
    # The version of the custom logging format used for the configured endpoint.
    # Can be either 1 (the default, version 1 log format) or 2 (the version 2
    # log format).

    ##
    # :attr: response_condition
    #
    # When to execute the gcs logging. If empty, always execute.

    ##
    # :attr: created_at
    #
    # Timestamp when this object was created

    ##
    # :attr: updated_at
    #
    # Timestamp when this object was updated

    def self.path
      'logging/bigquery'
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fastly-3.0.2 lib/fastly/big_query_logging.rb
fastly-3.0.1 lib/fastly/big_query_logging.rb
fastly-3.0.0 lib/fastly/big_query_logging.rb
fastly-2.5.3 lib/fastly/big_query_logging.rb
fastly-2.5.2 lib/fastly/big_query_logging.rb
fastly-2.5.1 lib/fastly/big_query_logging.rb
fastly-2.5.0 lib/fastly/big_query_logging.rb
fastly-2.4.0 lib/fastly/big_query_logging.rb
fastly-2.3.1 lib/fastly/big_query_logging.rb
fastly-2.3.0 lib/fastly/big_query_logging.rb
fastly-2.2.0 lib/fastly/big_query_logging.rb