google-cloud-logging 1.10.3 → 1.10.4
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 -0
- data/lib/google/cloud/logging/project.rb +10 -13
- data/lib/google/cloud/logging/sink.rb +14 -17
- data/lib/google/cloud/logging/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c44ea43caa6da57f944c25da29cb76c70b99805fbf517f36273e290f39e51a1
|
4
|
+
data.tar.gz: 9d4b2142b4713362151659a8af7b959be1950fe895254500a300052655e7c228
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6544f6f25befee91e60d009685797fab479c77d2d679584b35965bea7a44c536efe77a9bb8b68340719937371030129f018eb5fdff34221bff58752ceb98e240
|
7
|
+
data.tar.gz: c1219e8155a148df9874c5ddb6b0b03b9365b358f3bf3e855beebc9da6acc5307679a8c4c4c387350e8a9169b3a45eb67d0731e297c0c120033831018ff74fec
|
data/CHANGELOG.md
CHANGED
@@ -515,7 +515,7 @@ module Google
|
|
515
515
|
# Retrieves the list of monitored resource descriptors that are used by
|
516
516
|
# Stackdriver Logging.
|
517
517
|
#
|
518
|
-
# @see https://cloud.google.com/logging/docs/api/
|
518
|
+
# @see https://cloud.google.com/logging/docs/api/v2/resource-list
|
519
519
|
# Monitored Resources
|
520
520
|
#
|
521
521
|
# @param [String] token A previously-returned page token representing
|
@@ -621,18 +621,15 @@ module Google
|
|
621
621
|
# does not send previously-ingested log entries to the sink's
|
622
622
|
# destination.
|
623
623
|
#
|
624
|
-
# Before creating the sink, ensure that you have granted
|
625
|
-
#
|
626
|
-
# See [
|
627
|
-
#
|
628
|
-
#
|
629
|
-
# @see https://cloud.google.com/logging/docs/
|
630
|
-
#
|
631
|
-
# @see https://cloud.google.com/logging/docs/
|
632
|
-
#
|
633
|
-
# @see https://cloud.google.com/logging/docs/api/#sinks Sinks (API V1)
|
634
|
-
# @see https://cloud.google.com/logging/docs/export/configure_export#setting_product_name_short_permissions_for_writing_exported_logs
|
635
|
-
# Permissions for writing exported logs
|
624
|
+
# Before creating the sink, ensure that you have granted the sink's
|
625
|
+
# _unique writer identity_ permission to write logs to the destination.
|
626
|
+
# See [Destination
|
627
|
+
# permissions](https://cloud.google.com/logging/docs/export/configure_export_v2#dest-auth).
|
628
|
+
#
|
629
|
+
# @see https://cloud.google.com/logging/docs/export
|
630
|
+
# Overview of logs exports
|
631
|
+
# @see https://cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#configservicev2
|
632
|
+
# ConfigService API which includes sink methods
|
636
633
|
#
|
637
634
|
# @overload create_sink(name, destination, filter: nil, unique_writer_identity: nil)
|
638
635
|
# @param [String] name The client-assigned sink identifier. Sink
|
@@ -27,20 +27,17 @@ module Google
|
|
27
27
|
#
|
28
28
|
# A logs filter controls which log entries are exported.
|
29
29
|
#
|
30
|
-
# Before creating the sink, ensure that you have granted
|
31
|
-
#
|
32
|
-
# [
|
33
|
-
#
|
30
|
+
# Before creating the sink, ensure that you have granted the sink's
|
31
|
+
# _unique writer identity_ permission to write logs to the destination.
|
32
|
+
# See [Destination
|
33
|
+
# permissions](https://cloud.google.com/logging/docs/export/configure_export_v2#dest-auth).
|
34
34
|
#
|
35
35
|
# You can retrieve an existing sink with {Project#sink}.
|
36
36
|
#
|
37
|
-
# @see https://cloud.google.com/logging/docs/
|
38
|
-
#
|
39
|
-
# @see https://cloud.google.com/logging/docs/
|
40
|
-
#
|
41
|
-
# @see https://cloud.google.com/logging/docs/api/#sinks Sinks (API V1)
|
42
|
-
# @see https://cloud.google.com/logging/docs/export/configure_export#setting_product_name_short_permissions_for_writing_exported_logs
|
43
|
-
# Permissions for writing exported logs
|
37
|
+
# @see https://cloud.google.com/logging/docs/export
|
38
|
+
# Overview of logs exports
|
39
|
+
# @see https://cloud.google.com/logging/docs/reference/v2/rpc/google.logging.v2#configservicev2
|
40
|
+
# ConfigService API which includes sink methods
|
44
41
|
#
|
45
42
|
# @example
|
46
43
|
# require "google/cloud/storage"
|
@@ -83,22 +80,22 @@ module Google
|
|
83
80
|
end
|
84
81
|
|
85
82
|
##
|
86
|
-
# The export destination. See [
|
87
|
-
# Sinks](https://cloud.google.com/logging/docs/
|
83
|
+
# The export destination. See [Properties of
|
84
|
+
# Sinks](https://cloud.google.com/logging/docs/export#sink-terms).
|
88
85
|
def destination
|
89
86
|
@grpc.destination
|
90
87
|
end
|
91
88
|
|
92
89
|
##
|
93
|
-
# Updates the export destination. See [
|
94
|
-
# Sinks](https://cloud.google.com/logging/docs/
|
90
|
+
# Updates the export destination. See [Properties of
|
91
|
+
# Sinks](https://cloud.google.com/logging/docs/export#sink-terms).
|
95
92
|
def destination= destination
|
96
93
|
@grpc.destination = destination
|
97
94
|
end
|
98
95
|
|
99
96
|
##
|
100
97
|
# An [advanced logs
|
101
|
-
# filter](https://cloud.google.com/logging/docs/view/
|
98
|
+
# filter](https://cloud.google.com/logging/docs/view/advanced-queries)
|
102
99
|
# that defines the log entries to be exported. The filter must be
|
103
100
|
# consistent with the log entry format designed by the `version`
|
104
101
|
# parameter, regardless of the format of the log entry that was
|
@@ -109,7 +106,7 @@ module Google
|
|
109
106
|
|
110
107
|
##
|
111
108
|
# Updates the [advanced logs
|
112
|
-
# filter](https://cloud.google.com/logging/docs/view/
|
109
|
+
# filter](https://cloud.google.com/logging/docs/view/advanced-queries)
|
113
110
|
# that defines the log entries to be exported. The filter must be
|
114
111
|
# consistent with the log entry format designed by the `version`
|
115
112
|
# parameter, regardless of the format of the log entry that was
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-logging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-04-
|
12
|
+
date: 2020-04-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|