Debian Codegraph @

googleapis/logging/v2/alias.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by aliasgen. DO NOT EDIT.
16
17 // Package logging aliases all exported identifiers in package
18 // "cloud.google.com/go/logging/apiv2/loggingpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package logging
24
25 import (
26 src "cloud.google.com/go/logging/apiv2/loggingpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/logging/apiv2/loggingpb
31 const (
32 LifecycleState_ACTIVE = src.LifecycleState_ACTIVE
33 LifecycleState_DELETE_REQUESTED = src.LifecycleState_DELETE_REQUESTED
34 LifecycleState_LIFECYCLE_STATE_UNSPECIFIED = src.LifecycleState_LIFECYCLE_STATE_UNSPECIFIED
35 LogMetric_V1 = src.LogMetric_V1
36 LogMetric_V2 = src.LogMetric_V2
37 LogSink_V1 = src.LogSink_V1
38 LogSink_V2 = src.LogSink_V2
39 LogSink_VERSION_FORMAT_UNSPECIFIED = src.LogSink_VERSION_FORMAT_UNSPECIFIED
40 OperationState_OPERATION_STATE_CANCELLED = src.OperationState_OPERATION_STATE_CANCELLED
41 OperationState_OPERATION_STATE_FAILED = src.OperationState_OPERATION_STATE_FAILED
42 OperationState_OPERATION_STATE_RUNNING = src.OperationState_OPERATION_STATE_RUNNING
43 OperationState_OPERATION_STATE_SCHEDULED = src.OperationState_OPERATION_STATE_SCHEDULED
44 OperationState_OPERATION_STATE_SUCCEEDED = src.OperationState_OPERATION_STATE_SUCCEEDED
45 OperationState_OPERATION_STATE_UNSPECIFIED = src.OperationState_OPERATION_STATE_UNSPECIFIED
46 OperationState_OPERATION_STATE_WAITING_FOR_PERMISSIONS = src.OperationState_OPERATION_STATE_WAITING_FOR_PERMISSIONS
47 TailLogEntriesResponse_SuppressionInfo_NOT_CONSUMED = src.TailLogEntriesResponse_SuppressionInfo_NOT_CONSUMED
48 TailLogEntriesResponse_SuppressionInfo_RATE_LIMIT = src.TailLogEntriesResponse_SuppressionInfo_RATE_LIMIT
49 TailLogEntriesResponse_SuppressionInfo_REASON_UNSPECIFIED = src.TailLogEntriesResponse_SuppressionInfo_REASON_UNSPECIFIED
50 )
51
52 // Deprecated: Please use vars in: cloud.google.com/go/logging/apiv2/loggingpb
53 var (
54 File_google_logging_v2_log_entry_proto = src.File_google_logging_v2_log_entry_proto
55 File_google_logging_v2_logging_config_proto = src.File_google_logging_v2_logging_config_proto
56 File_google_logging_v2_logging_metrics_proto = src.File_google_logging_v2_logging_metrics_proto
57 File_google_logging_v2_logging_proto = src.File_google_logging_v2_logging_proto
58 LifecycleState_name = src.LifecycleState_name
59 LifecycleState_value = src.LifecycleState_value
60 LogMetric_ApiVersion_name = src.LogMetric_ApiVersion_name
61 LogMetric_ApiVersion_value = src.LogMetric_ApiVersion_value
62 LogSink_VersionFormat_name = src.LogSink_VersionFormat_name
63 LogSink_VersionFormat_value = src.LogSink_VersionFormat_value
64 OperationState_name = src.OperationState_name
65 OperationState_value = src.OperationState_value
66 TailLogEntriesResponse_SuppressionInfo_Reason_name = src.TailLogEntriesResponse_SuppressionInfo_Reason_name
67 TailLogEntriesResponse_SuppressionInfo_Reason_value = src.TailLogEntriesResponse_SuppressionInfo_Reason_value
68 )
69
70 // Options that change functionality of a sink exporting data to BigQuery.
71 //
72 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
73 type BigQueryOptions = src.BigQueryOptions
74
75 // Describes the customer-managed encryption key (CMEK) settings associated
76 // with a project, folder, organization, billing account, or flexible resource.
77 // Note: CMEK for the Log Router can currently only be configured for Google
78 // Cloud organizations. Once configured, it applies to all projects and folders
79 // in the Google Cloud organization. See [Enabling CMEK for Log
80 // Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
81 // for more information.
82 //
83 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
84 type CmekSettings = src.CmekSettings
85
86 // ConfigServiceV2Client is the client API for ConfigServiceV2 service. For
87 // semantics around ctx use and closing/ending streaming RPCs, please refer to
88 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
89 //
90 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
91 type ConfigServiceV2Client = src.ConfigServiceV2Client
92
93 // ConfigServiceV2Server is the server API for ConfigServiceV2 service.
94 //
95 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
96 type ConfigServiceV2Server = src.ConfigServiceV2Server
97
98 // Metadata for CopyLogEntries long running operations.
99 //
100 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
101 type CopyLogEntriesMetadata = src.CopyLogEntriesMetadata
102
103 // The parameters to CopyLogEntries.
104 //
105 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
106 type CopyLogEntriesRequest = src.CopyLogEntriesRequest
107
108 // Response type for CopyLogEntries long running operations.
109 //
110 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
111 type CopyLogEntriesResponse = src.CopyLogEntriesResponse
112
113 // The parameters to `CreateBucket`.
114 //
115 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
116 type CreateBucketRequest = src.CreateBucketRequest
117
118 // The parameters to `CreateExclusion`.
119 //
120 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
121 type CreateExclusionRequest = src.CreateExclusionRequest
122
123 // The parameters to CreateLogMetric.
124 //
125 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
126 type CreateLogMetricRequest = src.CreateLogMetricRequest
127
128 // The parameters to `CreateSink`.
129 //
130 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
131 type CreateSinkRequest = src.CreateSinkRequest
132
133 // The parameters to `CreateView`.
134 //
135 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
136 type CreateViewRequest = src.CreateViewRequest
137
138 // The parameters to `DeleteBucket`.
139 //
140 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
141 type DeleteBucketRequest = src.DeleteBucketRequest
142
143 // The parameters to `DeleteExclusion`.
144 //
145 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
146 type DeleteExclusionRequest = src.DeleteExclusionRequest
147
148 // The parameters to DeleteLogMetric.
149 //
150 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
151 type DeleteLogMetricRequest = src.DeleteLogMetricRequest
152
153 // The parameters to DeleteLog.
154 //
155 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
156 type DeleteLogRequest = src.DeleteLogRequest
157
158 // The parameters to `DeleteSink`.
159 //
160 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
161 type DeleteSinkRequest = src.DeleteSinkRequest
162
163 // The parameters to `DeleteView`.
164 //
165 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
166 type DeleteViewRequest = src.DeleteViewRequest
167
168 // The parameters to `GetBucket`.
169 //
170 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
171 type GetBucketRequest = src.GetBucketRequest
172
173 // The parameters to
174 // [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings]. See
175 // [Enabling CMEK for Log
176 // Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
177 // for more information.
178 //
179 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
180 type GetCmekSettingsRequest = src.GetCmekSettingsRequest
181
182 // The parameters to `GetExclusion`.
183 //
184 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
185 type GetExclusionRequest = src.GetExclusionRequest
186
187 // The parameters to GetLogMetric.
188 //
189 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
190 type GetLogMetricRequest = src.GetLogMetricRequest
191
192 // The parameters to
193 // [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings]. See [Enabling
194 // CMEK for Log
195 // Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
196 // for more information.
197 //
198 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
199 type GetSettingsRequest = src.GetSettingsRequest
200
201 // The parameters to `GetSink`.
202 //
203 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
204 type GetSinkRequest = src.GetSinkRequest
205
206 // The parameters to `GetView`.
207 //
208 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
209 type GetViewRequest = src.GetViewRequest
210
211 // LogBucket lifecycle states.
212 //
213 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
214 type LifecycleState = src.LifecycleState
215
216 // The parameters to `ListBuckets`.
217 //
218 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
219 type ListBucketsRequest = src.ListBucketsRequest
220
221 // The response from ListBuckets.
222 //
223 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
224 type ListBucketsResponse = src.ListBucketsResponse
225
226 // The parameters to `ListExclusions`.
227 //
228 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
229 type ListExclusionsRequest = src.ListExclusionsRequest
230
231 // Result returned from `ListExclusions`.
232 //
233 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
234 type ListExclusionsResponse = src.ListExclusionsResponse
235
236 // The parameters to `ListLogEntries`.
237 //
238 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
239 type ListLogEntriesRequest = src.ListLogEntriesRequest
240
241 // Result returned from `ListLogEntries`.
242 //
243 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
244 type ListLogEntriesResponse = src.ListLogEntriesResponse
245
246 // The parameters to ListLogMetrics.
247 //
248 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
249 type ListLogMetricsRequest = src.ListLogMetricsRequest
250
251 // Result returned from ListLogMetrics.
252 //
253 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
254 type ListLogMetricsResponse = src.ListLogMetricsResponse
255
256 // The parameters to ListLogs.
257 //
258 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
259 type ListLogsRequest = src.ListLogsRequest
260
261 // Result returned from ListLogs.
262 //
263 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
264 type ListLogsResponse = src.ListLogsResponse
265
266 // The parameters to ListMonitoredResourceDescriptors
267 //
268 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
269 type ListMonitoredResourceDescriptorsRequest = src.ListMonitoredResourceDescriptorsRequest
270
271 // Result returned from ListMonitoredResourceDescriptors.
272 //
273 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
274 type ListMonitoredResourceDescriptorsResponse = src.ListMonitoredResourceDescriptorsResponse
275
276 // The parameters to `ListSinks`.
277 //
278 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
279 type ListSinksRequest = src.ListSinksRequest
280
281 // Result returned from `ListSinks`.
282 //
283 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
284 type ListSinksResponse = src.ListSinksResponse
285
286 // The parameters to `ListViews`.
287 //
288 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
289 type ListViewsRequest = src.ListViewsRequest
290
291 // The response from ListViews.
292 //
293 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
294 type ListViewsResponse = src.ListViewsResponse
295
296 // Describes a repository in which log entries are stored.
297 //
298 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
299 type LogBucket = src.LogBucket
300
301 // An individual entry in a log.
302 //
303 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
304 type LogEntry = src.LogEntry
305
306 // Additional information about a potentially long-running operation with
307 // which a log entry is associated.
308 //
309 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
310 type LogEntryOperation = src.LogEntryOperation
311
312 // Additional information about the source code location that produced the log
313 // entry.
314 //
315 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
316 type LogEntrySourceLocation = src.LogEntrySourceLocation
317 type LogEntry_JsonPayload = src.LogEntry_JsonPayload
318 type LogEntry_ProtoPayload = src.LogEntry_ProtoPayload
319 type LogEntry_TextPayload = src.LogEntry_TextPayload
320
321 // Specifies a set of log entries that are filtered out by a sink. If your
322 // Google Cloud resource receives a large volume of log entries, you can use
323 // exclusions to reduce your chargeable logs. Note that exclusions on
324 // organization-level and folder-level sinks don't apply to child resources.
325 // Note also that you cannot modify the _Required sink or exclude logs from it.
326 //
327 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
328 type LogExclusion = src.LogExclusion
329
330 // Describes a logs-based metric. The value of the metric is the number of log
331 // entries that match a logs filter in a given time interval. Logs-based
332 // metrics can also be used to extract values from logs and create a
333 // distribution of the values. The distribution records the statistics of the
334 // extracted values along with an optional histogram of the values as specified
335 // by the bucket options.
336 //
337 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
338 type LogMetric = src.LogMetric
339
340 // Logging API version.
341 //
342 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
343 type LogMetric_ApiVersion = src.LogMetric_ApiVersion
344
345 // Describes a sink used to export log entries to one of the following
346 // destinations in any project: a Cloud Storage bucket, a BigQuery dataset, a
347 // Pub/Sub topic or a Cloud Logging log bucket. A logs filter controls which
348 // log entries are exported. The sink must be created within a project,
349 // organization, billing account, or folder.
350 //
351 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
352 type LogSink = src.LogSink
353 type LogSink_BigqueryOptions = src.LogSink_BigqueryOptions
354
355 // Deprecated. This is unused.
356 //
357 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
358 type LogSink_VersionFormat = src.LogSink_VersionFormat
359
360 // Additional information used to correlate multiple log entries. Used when a
361 // single LogEntry would exceed the Google Cloud Logging size limit and is
362 // split across multiple log entries.
363 //
364 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
365 type LogSplit = src.LogSplit
366
367 // Describes a view over log entries in a bucket.
368 //
369 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
370 type LogView = src.LogView
371
372 // LoggingServiceV2Client is the client API for LoggingServiceV2 service. For
373 // semantics around ctx use and closing/ending streaming RPCs, please refer to
374 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
375 //
376 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
377 type LoggingServiceV2Client = src.LoggingServiceV2Client
378
379 // LoggingServiceV2Server is the server API for LoggingServiceV2 service.
380 //
381 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
382 type LoggingServiceV2Server = src.LoggingServiceV2Server
383 type LoggingServiceV2_TailLogEntriesClient = src.LoggingServiceV2_TailLogEntriesClient
384 type LoggingServiceV2_TailLogEntriesServer = src.LoggingServiceV2_TailLogEntriesServer
385
386 // MetricsServiceV2Client is the client API for MetricsServiceV2 service. For
387 // semantics around ctx use and closing/ending streaming RPCs, please refer to
388 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
389 //
390 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
391 type MetricsServiceV2Client = src.MetricsServiceV2Client
392
393 // MetricsServiceV2Server is the server API for MetricsServiceV2 service.
394 //
395 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
396 type MetricsServiceV2Server = src.MetricsServiceV2Server
397
398 // List of different operation states. High level state of the operation. This
399 // is used to report the job's current state to the user. Once a long running
400 // operation is created, the current state of the operation can be queried even
401 // before the operation is finished and the final result is available.
402 //
403 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
404 type OperationState = src.OperationState
405
406 // Describes the settings associated with a project, folder, organization,
407 // billing account, or flexible resource.
408 //
409 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
410 type Settings = src.Settings
411
412 // The parameters to `TailLogEntries`.
413 //
414 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
415 type TailLogEntriesRequest = src.TailLogEntriesRequest
416
417 // Result returned from `TailLogEntries`.
418 //
419 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
420 type TailLogEntriesResponse = src.TailLogEntriesResponse
421
422 // Information about entries that were omitted from the session.
423 //
424 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
425 type TailLogEntriesResponse_SuppressionInfo = src.TailLogEntriesResponse_SuppressionInfo
426
427 // An indicator of why entries were omitted.
428 //
429 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
430 type TailLogEntriesResponse_SuppressionInfo_Reason = src.TailLogEntriesResponse_SuppressionInfo_Reason
431
432 // The parameters to `UndeleteBucket`.
433 //
434 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
435 type UndeleteBucketRequest = src.UndeleteBucketRequest
436
437 // UnimplementedConfigServiceV2Server can be embedded to have forward
438 // compatible implementations.
439 //
440 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
441 type UnimplementedConfigServiceV2Server = src.UnimplementedConfigServiceV2Server
442
443 // UnimplementedLoggingServiceV2Server can be embedded to have forward
444 // compatible implementations.
445 //
446 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
447 type UnimplementedLoggingServiceV2Server = src.UnimplementedLoggingServiceV2Server
448
449 // UnimplementedMetricsServiceV2Server can be embedded to have forward
450 // compatible implementations.
451 //
452 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
453 type UnimplementedMetricsServiceV2Server = src.UnimplementedMetricsServiceV2Server
454
455 // The parameters to `UpdateBucket`.
456 //
457 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
458 type UpdateBucketRequest = src.UpdateBucketRequest
459
460 // The parameters to
461 // [UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings].
462 // See [Enabling CMEK for Log
463 // Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
464 // for more information.
465 //
466 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
467 type UpdateCmekSettingsRequest = src.UpdateCmekSettingsRequest
468
469 // The parameters to `UpdateExclusion`.
470 //
471 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
472 type UpdateExclusionRequest = src.UpdateExclusionRequest
473
474 // The parameters to UpdateLogMetric.
475 //
476 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
477 type UpdateLogMetricRequest = src.UpdateLogMetricRequest
478
479 // The parameters to
480 // [UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings]. See
481 // [Enabling CMEK for Log
482 // Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
483 // for more information.
484 //
485 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
486 type UpdateSettingsRequest = src.UpdateSettingsRequest
487
488 // The parameters to `UpdateSink`.
489 //
490 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
491 type UpdateSinkRequest = src.UpdateSinkRequest
492
493 // The parameters to `UpdateView`.
494 //
495 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
496 type UpdateViewRequest = src.UpdateViewRequest
497
498 // Error details for WriteLogEntries with partial success.
499 //
500 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
501 type WriteLogEntriesPartialErrors = src.WriteLogEntriesPartialErrors
502
503 // The parameters to WriteLogEntries.
504 //
505 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
506 type WriteLogEntriesRequest = src.WriteLogEntriesRequest
507
508 // Result returned from WriteLogEntries.
509 //
510 // Deprecated: Please use types in: cloud.google.com/go/logging/apiv2/loggingpb
511 type WriteLogEntriesResponse = src.WriteLogEntriesResponse
512
513 // Deprecated: Please use funcs in: cloud.google.com/go/logging/apiv2/loggingpb
514 func NewConfigServiceV2Client(cc grpc.ClientConnInterface) ConfigServiceV2Client {
515 return src.NewConfigServiceV2Client(cc)
516 }
517
518 // Deprecated: Please use funcs in: cloud.google.com/go/logging/apiv2/loggingpb
519 func NewLoggingServiceV2Client(cc grpc.ClientConnInterface) LoggingServiceV2Client {
520 return src.NewLoggingServiceV2Client(cc)
521 }
522
523 // Deprecated: Please use funcs in: cloud.google.com/go/logging/apiv2/loggingpb
524 func NewMetricsServiceV2Client(cc grpc.ClientConnInterface) MetricsServiceV2Client {
525 return src.NewMetricsServiceV2Client(cc)
526 }
527
528 // Deprecated: Please use funcs in: cloud.google.com/go/logging/apiv2/loggingpb
529 func RegisterConfigServiceV2Server(s *grpc.Server, srv ConfigServiceV2Server) {
530 src.RegisterConfigServiceV2Server(s, srv)
531 }
532
533 // Deprecated: Please use funcs in: cloud.google.com/go/logging/apiv2/loggingpb
534 func RegisterLoggingServiceV2Server(s *grpc.Server, srv LoggingServiceV2Server) {
535 src.RegisterLoggingServiceV2Server(s, srv)
536 }
537
538 // Deprecated: Please use funcs in: cloud.google.com/go/logging/apiv2/loggingpb
539 func RegisterMetricsServiceV2Server(s *grpc.Server, srv MetricsServiceV2Server) {
540 src.RegisterMetricsServiceV2Server(s, srv)
541 }