google-cloud-logging 1.10.1 → 1.10.2
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e3ff009393cbd979b24ec55b77e9a01ace67e83cd85fbf2515744fe17c3a2eb4
|
|
4
|
+
data.tar.gz: 94f7be31be064dfdf28606eb61fa12a14cc04d4a437cc8586860270ed2f365a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9cce3e3f7bbfe109934fa366b0115eba10669823d57141566eefeb8f0399dd87c97c69468697bfc3fe81d8f5b62f177dbdd88b40136c20be554dc89908e7a71
|
|
7
|
+
data.tar.gz: 228de2d91c3417de0680ba1ecc65e6ced7dbba967f87ef3ae01bcfd6ba0e720ef32dcb892a6703214a3f2f046c3be65d42e8dc2f3753c5b930ccca575e30ffbb
|
data/CHANGELOG.md
CHANGED
|
@@ -92,6 +92,12 @@ module Google
|
|
|
92
92
|
|
|
93
93
|
private_constant :BILLING_ACCOUNT_LOCATION_PATH_TEMPLATE
|
|
94
94
|
|
|
95
|
+
CMEK_SETTINGS_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
|
96
|
+
"projects/{project}/cmekSettings"
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
private_constant :CMEK_SETTINGS_PATH_TEMPLATE
|
|
100
|
+
|
|
95
101
|
FOLDER_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
|
96
102
|
"folders/{folder}"
|
|
97
103
|
)
|
|
@@ -110,6 +116,24 @@ module Google
|
|
|
110
116
|
|
|
111
117
|
private_constant :LOCATION_PATH_TEMPLATE
|
|
112
118
|
|
|
119
|
+
LOG_BUCKET_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
|
120
|
+
"projects/{project}/locations/{location}/buckets/{bucket}"
|
|
121
|
+
)
|
|
122
|
+
|
|
123
|
+
private_constant :LOG_BUCKET_PATH_TEMPLATE
|
|
124
|
+
|
|
125
|
+
LOG_EXCLUSION_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
|
126
|
+
"projects/{project}/exclusions/{exclusion}"
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
private_constant :LOG_EXCLUSION_PATH_TEMPLATE
|
|
130
|
+
|
|
131
|
+
LOG_SINK_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
|
132
|
+
"projects/{project}/sinks/{sink}"
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
private_constant :LOG_SINK_PATH_TEMPLATE
|
|
136
|
+
|
|
113
137
|
ORGANIZATION_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
|
114
138
|
"organizations/{organization}"
|
|
115
139
|
)
|
|
@@ -148,6 +172,15 @@ module Google
|
|
|
148
172
|
)
|
|
149
173
|
end
|
|
150
174
|
|
|
175
|
+
# Returns a fully-qualified cmek_settings resource name string.
|
|
176
|
+
# @param project [String]
|
|
177
|
+
# @return [String]
|
|
178
|
+
def self.cmek_settings_path project
|
|
179
|
+
CMEK_SETTINGS_PATH_TEMPLATE.render(
|
|
180
|
+
:"project" => project
|
|
181
|
+
)
|
|
182
|
+
end
|
|
183
|
+
|
|
151
184
|
# Returns a fully-qualified folder resource name string.
|
|
152
185
|
# @param folder [String]
|
|
153
186
|
# @return [String]
|
|
@@ -179,6 +212,41 @@ module Google
|
|
|
179
212
|
)
|
|
180
213
|
end
|
|
181
214
|
|
|
215
|
+
# Returns a fully-qualified log_bucket resource name string.
|
|
216
|
+
# @param project [String]
|
|
217
|
+
# @param location [String]
|
|
218
|
+
# @param bucket [String]
|
|
219
|
+
# @return [String]
|
|
220
|
+
def self.log_bucket_path project, location, bucket
|
|
221
|
+
LOG_BUCKET_PATH_TEMPLATE.render(
|
|
222
|
+
:"project" => project,
|
|
223
|
+
:"location" => location,
|
|
224
|
+
:"bucket" => bucket
|
|
225
|
+
)
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
# Returns a fully-qualified log_exclusion resource name string.
|
|
229
|
+
# @param project [String]
|
|
230
|
+
# @param exclusion [String]
|
|
231
|
+
# @return [String]
|
|
232
|
+
def self.log_exclusion_path project, exclusion
|
|
233
|
+
LOG_EXCLUSION_PATH_TEMPLATE.render(
|
|
234
|
+
:"project" => project,
|
|
235
|
+
:"exclusion" => exclusion
|
|
236
|
+
)
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# Returns a fully-qualified log_sink resource name string.
|
|
240
|
+
# @param project [String]
|
|
241
|
+
# @param sink [String]
|
|
242
|
+
# @return [String]
|
|
243
|
+
def self.log_sink_path project, sink
|
|
244
|
+
LOG_SINK_PATH_TEMPLATE.render(
|
|
245
|
+
:"project" => project,
|
|
246
|
+
:"sink" => sink
|
|
247
|
+
)
|
|
248
|
+
end
|
|
249
|
+
|
|
182
250
|
# Returns a fully-qualified organization resource name string.
|
|
183
251
|
# @param organization [String]
|
|
184
252
|
# @return [String]
|
|
@@ -104,6 +104,12 @@ module Google
|
|
|
104
104
|
|
|
105
105
|
private_constant :FOLDER_PATH_TEMPLATE
|
|
106
106
|
|
|
107
|
+
LOG_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
|
108
|
+
"projects/{project}/logs/{log}"
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
private_constant :LOG_PATH_TEMPLATE
|
|
112
|
+
|
|
107
113
|
ORGANIZATION_PATH_TEMPLATE = Google::Gax::PathTemplate.new(
|
|
108
114
|
"organizations/{organization}"
|
|
109
115
|
)
|
|
@@ -134,6 +140,17 @@ module Google
|
|
|
134
140
|
)
|
|
135
141
|
end
|
|
136
142
|
|
|
143
|
+
# Returns a fully-qualified log resource name string.
|
|
144
|
+
# @param project [String]
|
|
145
|
+
# @param log [String]
|
|
146
|
+
# @return [String]
|
|
147
|
+
def self.log_path project, log
|
|
148
|
+
LOG_PATH_TEMPLATE.render(
|
|
149
|
+
:"project" => project,
|
|
150
|
+
:"log" => log
|
|
151
|
+
)
|
|
152
|
+
end
|
|
153
|
+
|
|
137
154
|
# Returns a fully-qualified organization resource name string.
|
|
138
155
|
# @param organization [String]
|
|
139
156
|
# @return [String]
|
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.2
|
|
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-
|
|
12
|
+
date: 2020-04-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: google-cloud-core
|