Package not found. Please check the package name and try again.

fastly 2.1.0 → 2.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdfb1410a5983996fdaab6611019b3c122f90c2a
4
- data.tar.gz: 89083b0cda077826a976d285efa5af46b186183a
3
+ metadata.gz: 1b2d0dd8d907e2b7f4c37cddcf867c85720a3e5e
4
+ data.tar.gz: 5fe96ced94e86970b9d46462e628078f151eaab9
5
5
  SHA512:
6
- metadata.gz: 34d4a4dc95364918761063fe691a517f32940f2eb0f8e42f5bb9511f46399aedab2366386a4cb64e69900a5bafed166150684e536d23022ad8dae20dabed51eb
7
- data.tar.gz: 80401c0919ac37b87cb7c6cca8b2764bba6649a9d6fb05e91e565d8bb83d275996418c1a63c3fb9dcae0b2e90a1eab850a41a4a7793c3c7402e0051b1e17377b
6
+ metadata.gz: 59afefcb6fc28167b3c23e6f94dd8bf854ba37550a210d6120ff69e74007ab19c5e1a77ebf5f58f6fed0b2269ffcb31958a8769ab4a7302db37f4823944ce382
7
+ data.tar.gz: 616e90bf3b77370a0c7f5f8679c17e89b37ef782ee9e1ea5039a98a436123261d85b76415be68de987ef4aa3e0b3fbb4001948873e42c2cb1adbe51c5db109d1
@@ -1,6 +1,11 @@
1
1
  # Change Log
2
2
 
3
- ## [v2.1.0](https://github.com/fastly/fastly-ruby/tree/v2.0.0) (2018-06-18)
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
@@ -227,4 +227,4 @@ Mail support at fastly dot com if you have problems.
227
227
  ## Developers
228
228
 
229
229
  * http://github.com/fastly/fastly-ruby
230
- * http://www.fastly.com/documentation
230
+ * https://docs.fastly.com/api/
@@ -12,6 +12,7 @@ require 'fastly/belongs_to_service_and_version'
12
12
  require 'fastly/acl'
13
13
  require 'fastly/acl_entry'
14
14
  require 'fastly/backend'
15
+ require 'fastly/big_query_logging'
15
16
  require 'fastly/cache_setting'
16
17
  require 'fastly/condition'
17
18
  require 'fastly/customer'
@@ -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
@@ -1,4 +1,4 @@
1
1
  # The current version of the library
2
2
  class Fastly
3
- VERSION = "2.1.0"
3
+ VERSION = "2.2.0"
4
4
  end
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.1.0
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-06-18 00:00:00.000000000 Z
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