fastly 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +1 -1
- data/lib/fastly.rb +1 -0
- data/lib/fastly/big_query_logging.rb +90 -0
- data/lib/fastly/gem_version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b2d0dd8d907e2b7f4c37cddcf867c85720a3e5e
|
4
|
+
data.tar.gz: 5fe96ced94e86970b9d46462e628078f151eaab9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59afefcb6fc28167b3c23e6f94dd8bf854ba37550a210d6120ff69e74007ab19c5e1a77ebf5f58f6fed0b2269ffcb31958a8769ab4a7302db37f4823944ce382
|
7
|
+
data.tar.gz: 616e90bf3b77370a0c7f5f8679c17e89b37ef782ee9e1ea5039a98a436123261d85b76415be68de987ef4aa3e0b3fbb4001948873e42c2cb1adbe51c5db109d1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [v2.
|
3
|
+
## [v2.2.0]((https://github.com/fastly/fastly-ruby/tree/v2.2.0) (2018-12-10)
|
4
|
+
[Full Changelog](https://github.com/fastly/fastly-ruby/compare/v2.1.0...v2.2.0)
|
5
|
+
|
6
|
+
- Add BigQuery logging
|
7
|
+
|
8
|
+
## [v2.1.0](https://github.com/fastly/fastly-ruby/tree/v2.1.0) (2018-06-18)
|
4
9
|
[Full Changelog](https://github.com/fastly/fastly-ruby/compare/v2.0.0...v2.1.0)
|
5
10
|
|
6
11
|
** Merged pull requests:**
|
data/README.md
CHANGED
data/lib/fastly.rb
CHANGED
@@ -0,0 +1,90 @@
|
|
1
|
+
class Fastly
|
2
|
+
# An Google BigQuery endpoint to stream logs to
|
3
|
+
class BigQueryLogging < BelongsToServiceAndVersion
|
4
|
+
attr_accessor :created_at, :dataset, :format, :format_version, :name, :placement, :project_id,
|
5
|
+
:response_condition, :secret_key, :service_id, :table, :template_suffix,
|
6
|
+
:updated_at, :user
|
7
|
+
|
8
|
+
##
|
9
|
+
# :attr: service_id
|
10
|
+
#
|
11
|
+
# The id of the service this belongs to.
|
12
|
+
|
13
|
+
##
|
14
|
+
# :attr: version
|
15
|
+
#
|
16
|
+
# The number of the version this belongs to.
|
17
|
+
|
18
|
+
##
|
19
|
+
# :attr: name
|
20
|
+
#
|
21
|
+
# The name for this BigQuery logging rule
|
22
|
+
|
23
|
+
##
|
24
|
+
# :attr: project_id
|
25
|
+
#
|
26
|
+
# The Google Cloud project ID
|
27
|
+
|
28
|
+
##
|
29
|
+
# :attr: dataset
|
30
|
+
#
|
31
|
+
# The BigQuery dataset name
|
32
|
+
|
33
|
+
##
|
34
|
+
# :attr: table
|
35
|
+
#
|
36
|
+
# The BigQuery table name
|
37
|
+
|
38
|
+
##
|
39
|
+
# :attr: template_suffix
|
40
|
+
#
|
41
|
+
# The BigQuery template-table suffix. Null for non-templated tables.
|
42
|
+
# See https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables
|
43
|
+
|
44
|
+
##
|
45
|
+
# :attr: user
|
46
|
+
#
|
47
|
+
# The gcs user for authentication
|
48
|
+
|
49
|
+
##
|
50
|
+
# :attr: secret_key
|
51
|
+
#
|
52
|
+
# The bucket's gcs account secret key
|
53
|
+
|
54
|
+
##
|
55
|
+
# :attr: placement
|
56
|
+
#
|
57
|
+
# Where in the generated VCL the logging call should be placed
|
58
|
+
|
59
|
+
##
|
60
|
+
# :attr: format
|
61
|
+
#
|
62
|
+
# JSON data structure with VCL interpolations.
|
63
|
+
|
64
|
+
##
|
65
|
+
# :attr: format_version
|
66
|
+
#
|
67
|
+
# The version of the custom logging format used for the configured endpoint.
|
68
|
+
# Can be either 1 (the default, version 1 log format) or 2 (the version 2
|
69
|
+
# log format).
|
70
|
+
|
71
|
+
##
|
72
|
+
# :attr: response_condition
|
73
|
+
#
|
74
|
+
# When to execute the gcs logging. If empty, always execute.
|
75
|
+
|
76
|
+
##
|
77
|
+
# :attr: created_at
|
78
|
+
#
|
79
|
+
# Timestamp when this object was created
|
80
|
+
|
81
|
+
##
|
82
|
+
# :attr: updated_at
|
83
|
+
#
|
84
|
+
# Timestamp when this object was updated
|
85
|
+
|
86
|
+
def self.path
|
87
|
+
'logging/bigquery'
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
data/lib/fastly/gem_version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fastly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Client library for the Fastly acceleration system
|
14
14
|
email:
|
@@ -41,6 +41,7 @@ files:
|
|
41
41
|
- lib/fastly/backend.rb
|
42
42
|
- lib/fastly/base.rb
|
43
43
|
- lib/fastly/belongs_to_service_and_version.rb
|
44
|
+
- lib/fastly/big_query_logging.rb
|
44
45
|
- lib/fastly/cache_setting.rb
|
45
46
|
- lib/fastly/client.rb
|
46
47
|
- lib/fastly/condition.rb
|
@@ -106,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
107
|
version: '0'
|
107
108
|
requirements: []
|
108
109
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.5.2
|
110
|
+
rubygems_version: 2.5.2.3
|
110
111
|
signing_key:
|
111
112
|
specification_version: 4
|
112
113
|
summary: Client library for the Fastly acceleration system
|