google-cloud-logging-v2 0.1.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 +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +75 -0
- data/lib/google-cloud-logging-v2.rb +21 -0
- data/lib/google/cloud/logging/v2.rb +37 -0
- data/lib/google/cloud/logging/v2/config_service.rb +49 -0
- data/lib/google/cloud/logging/v2/config_service/client.rb +1723 -0
- data/lib/google/cloud/logging/v2/config_service/credentials.rb +54 -0
- data/lib/google/cloud/logging/v2/config_service/paths.rb +413 -0
- data/lib/google/cloud/logging/v2/logging_service.rb +49 -0
- data/lib/google/cloud/logging/v2/logging_service/client.rb +826 -0
- data/lib/google/cloud/logging/v2/logging_service/credentials.rb +55 -0
- data/lib/google/cloud/logging/v2/logging_service/paths.rb +154 -0
- data/lib/google/cloud/logging/v2/metrics_service.rb +49 -0
- data/lib/google/cloud/logging/v2/metrics_service/client.rb +726 -0
- data/lib/google/cloud/logging/v2/metrics_service/credentials.rb +55 -0
- data/lib/google/cloud/logging/v2/metrics_service/paths.rb +64 -0
- data/lib/google/cloud/logging/v2/version.rb +28 -0
- data/lib/google/logging/type/http_request_pb.rb +38 -0
- data/lib/google/logging/type/log_severity_pb.rb +31 -0
- data/lib/google/logging/v2/log_entry_pb.rb +62 -0
- data/lib/google/logging/v2/logging_config_pb.rb +176 -0
- data/lib/google/logging/v2/logging_config_services_pb.rb +113 -0
- data/lib/google/logging/v2/logging_metrics_pb.rb +75 -0
- data/lib/google/logging/v2/logging_metrics_services_pb.rb +53 -0
- data/lib/google/logging/v2/logging_pb.rb +83 -0
- data/lib/google/logging/v2/logging_services_pb.rb +65 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/distribution.rb +225 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/label.rb +49 -0
- data/proto_docs/google/api/metric.rb +203 -0
- data/proto_docs/google/api/monitored_resource.rb +137 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/logging/type/http_request.rb +95 -0
- data/proto_docs/google/logging/type/log_severity.rb +71 -0
- data/proto_docs/google/logging/v2/log_entry.rb +203 -0
- data/proto_docs/google/logging/v2/logging.rb +303 -0
- data/proto_docs/google/logging/v2/logging_config.rb +735 -0
- data/proto_docs/google/logging/v2/logging_metrics.rb +256 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/struct.rb +96 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +231 -0
@@ -0,0 +1,55 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "googleauth"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module Logging
|
24
|
+
module V2
|
25
|
+
module MetricsService
|
26
|
+
# Credentials for the MetricsService API.
|
27
|
+
class Credentials < ::Google::Auth::Credentials
|
28
|
+
self.scope = [
|
29
|
+
"https://www.googleapis.com/auth/cloud-platform",
|
30
|
+
"https://www.googleapis.com/auth/cloud-platform.read-only",
|
31
|
+
"https://www.googleapis.com/auth/logging.admin",
|
32
|
+
"https://www.googleapis.com/auth/logging.read",
|
33
|
+
"https://www.googleapis.com/auth/logging.write"
|
34
|
+
]
|
35
|
+
self.env_vars = [
|
36
|
+
"LOGGING_CREDENTIALS",
|
37
|
+
"LOGGING_KEYFILE",
|
38
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
39
|
+
"GOOGLE_CLOUD_KEYFILE",
|
40
|
+
"GCLOUD_KEYFILE",
|
41
|
+
"LOGGING_CREDENTIALS_JSON",
|
42
|
+
"LOGGING_KEYFILE_JSON",
|
43
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
44
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
45
|
+
"GCLOUD_KEYFILE_JSON"
|
46
|
+
]
|
47
|
+
self.paths = [
|
48
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
49
|
+
]
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Logging
|
23
|
+
module V2
|
24
|
+
module MetricsService
|
25
|
+
# Path helper methods for the MetricsService API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified LogMetric resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/metrics/{metric}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param metric [String]
|
36
|
+
#
|
37
|
+
# @return [::String]
|
38
|
+
def log_metric_path project:, metric:
|
39
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
40
|
+
|
41
|
+
"projects/#{project}/metrics/#{metric}"
|
42
|
+
end
|
43
|
+
|
44
|
+
##
|
45
|
+
# Create a fully-qualified Project resource string.
|
46
|
+
#
|
47
|
+
# The resource will be in the following format:
|
48
|
+
#
|
49
|
+
# `projects/{project}`
|
50
|
+
#
|
51
|
+
# @param project [String]
|
52
|
+
#
|
53
|
+
# @return [::String]
|
54
|
+
def project_path project:
|
55
|
+
"projects/#{project}"
|
56
|
+
end
|
57
|
+
|
58
|
+
extend self
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Logging
|
23
|
+
module V2
|
24
|
+
VERSION = "0.1.0"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/logging/type/http_request.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/duration_pb'
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("google/logging/type/http_request.proto", :syntax => :proto3) do
|
10
|
+
add_message "google.logging.type.HttpRequest" do
|
11
|
+
optional :request_method, :string, 1
|
12
|
+
optional :request_url, :string, 2
|
13
|
+
optional :request_size, :int64, 3
|
14
|
+
optional :status, :int32, 4
|
15
|
+
optional :response_size, :int64, 5
|
16
|
+
optional :user_agent, :string, 6
|
17
|
+
optional :remote_ip, :string, 7
|
18
|
+
optional :server_ip, :string, 13
|
19
|
+
optional :referer, :string, 8
|
20
|
+
optional :latency, :message, 14, "google.protobuf.Duration"
|
21
|
+
optional :cache_lookup, :bool, 11
|
22
|
+
optional :cache_hit, :bool, 9
|
23
|
+
optional :cache_validated_with_origin_server, :bool, 10
|
24
|
+
optional :cache_fill_bytes, :int64, 12
|
25
|
+
optional :protocol, :string, 15
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module Logging
|
33
|
+
module Type
|
34
|
+
HttpRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.HttpRequest").msgclass
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/logging/type/log_severity.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_file("google/logging/type/log_severity.proto", :syntax => :proto3) do
|
9
|
+
add_enum "google.logging.type.LogSeverity" do
|
10
|
+
value :DEFAULT, 0
|
11
|
+
value :DEBUG, 100
|
12
|
+
value :INFO, 200
|
13
|
+
value :NOTICE, 300
|
14
|
+
value :WARNING, 400
|
15
|
+
value :ERROR, 500
|
16
|
+
value :CRITICAL, 600
|
17
|
+
value :ALERT, 700
|
18
|
+
value :EMERGENCY, 800
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
module Google
|
24
|
+
module Cloud
|
25
|
+
module Logging
|
26
|
+
module Type
|
27
|
+
LogSeverity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.type.LogSeverity").enummodule
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/logging/v2/log_entry.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/monitored_resource_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/logging/type/http_request_pb'
|
10
|
+
require 'google/logging/type/log_severity_pb'
|
11
|
+
require 'google/protobuf/any_pb'
|
12
|
+
require 'google/protobuf/struct_pb'
|
13
|
+
require 'google/protobuf/timestamp_pb'
|
14
|
+
require 'google/rpc/status_pb'
|
15
|
+
require 'google/api/annotations_pb'
|
16
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
17
|
+
add_file("google/logging/v2/log_entry.proto", :syntax => :proto3) do
|
18
|
+
add_message "google.logging.v2.LogEntry" do
|
19
|
+
optional :log_name, :string, 12
|
20
|
+
optional :resource, :message, 8, "google.api.MonitoredResource"
|
21
|
+
optional :timestamp, :message, 9, "google.protobuf.Timestamp"
|
22
|
+
optional :receive_timestamp, :message, 24, "google.protobuf.Timestamp"
|
23
|
+
optional :severity, :enum, 10, "google.logging.type.LogSeverity"
|
24
|
+
optional :insert_id, :string, 4
|
25
|
+
optional :http_request, :message, 7, "google.logging.type.HttpRequest"
|
26
|
+
map :labels, :string, :string, 11
|
27
|
+
optional :operation, :message, 15, "google.logging.v2.LogEntryOperation"
|
28
|
+
optional :trace, :string, 22
|
29
|
+
optional :span_id, :string, 27
|
30
|
+
optional :trace_sampled, :bool, 30
|
31
|
+
optional :source_location, :message, 23, "google.logging.v2.LogEntrySourceLocation"
|
32
|
+
oneof :payload do
|
33
|
+
optional :proto_payload, :message, 2, "google.protobuf.Any"
|
34
|
+
optional :text_payload, :string, 3
|
35
|
+
optional :json_payload, :message, 6, "google.protobuf.Struct"
|
36
|
+
end
|
37
|
+
end
|
38
|
+
add_message "google.logging.v2.LogEntryOperation" do
|
39
|
+
optional :id, :string, 1
|
40
|
+
optional :producer, :string, 2
|
41
|
+
optional :first, :bool, 3
|
42
|
+
optional :last, :bool, 4
|
43
|
+
end
|
44
|
+
add_message "google.logging.v2.LogEntrySourceLocation" do
|
45
|
+
optional :file, :string, 1
|
46
|
+
optional :line, :int64, 2
|
47
|
+
optional :function, :string, 3
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
module Google
|
53
|
+
module Cloud
|
54
|
+
module Logging
|
55
|
+
module V2
|
56
|
+
LogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogEntry").msgclass
|
57
|
+
LogEntryOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogEntryOperation").msgclass
|
58
|
+
LogEntrySourceLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogEntrySourceLocation").msgclass
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,176 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/logging/v2/logging_config.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/client_pb'
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/protobuf/duration_pb'
|
10
|
+
require 'google/protobuf/empty_pb'
|
11
|
+
require 'google/protobuf/field_mask_pb'
|
12
|
+
require 'google/protobuf/timestamp_pb'
|
13
|
+
require 'google/api/annotations_pb'
|
14
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
|
+
add_file("google/logging/v2/logging_config.proto", :syntax => :proto3) do
|
16
|
+
add_message "google.logging.v2.LogBucket" do
|
17
|
+
optional :name, :string, 1
|
18
|
+
optional :description, :string, 3
|
19
|
+
optional :create_time, :message, 4, "google.protobuf.Timestamp"
|
20
|
+
optional :update_time, :message, 5, "google.protobuf.Timestamp"
|
21
|
+
optional :retention_days, :int32, 11
|
22
|
+
optional :lifecycle_state, :enum, 12, "google.logging.v2.LifecycleState"
|
23
|
+
end
|
24
|
+
add_message "google.logging.v2.LogSink" do
|
25
|
+
optional :name, :string, 1
|
26
|
+
optional :destination, :string, 3
|
27
|
+
optional :filter, :string, 5
|
28
|
+
optional :description, :string, 18
|
29
|
+
optional :disabled, :bool, 19
|
30
|
+
optional :output_version_format, :enum, 6, "google.logging.v2.LogSink.VersionFormat"
|
31
|
+
optional :writer_identity, :string, 8
|
32
|
+
optional :include_children, :bool, 9
|
33
|
+
optional :create_time, :message, 13, "google.protobuf.Timestamp"
|
34
|
+
optional :update_time, :message, 14, "google.protobuf.Timestamp"
|
35
|
+
oneof :options do
|
36
|
+
optional :bigquery_options, :message, 12, "google.logging.v2.BigQueryOptions"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
add_enum "google.logging.v2.LogSink.VersionFormat" do
|
40
|
+
value :VERSION_FORMAT_UNSPECIFIED, 0
|
41
|
+
value :V2, 1
|
42
|
+
value :V1, 2
|
43
|
+
end
|
44
|
+
add_message "google.logging.v2.BigQueryOptions" do
|
45
|
+
optional :use_partitioned_tables, :bool, 1
|
46
|
+
optional :uses_timestamp_column_partitioning, :bool, 3
|
47
|
+
end
|
48
|
+
add_message "google.logging.v2.ListBucketsRequest" do
|
49
|
+
optional :parent, :string, 1
|
50
|
+
optional :page_token, :string, 2
|
51
|
+
optional :page_size, :int32, 3
|
52
|
+
end
|
53
|
+
add_message "google.logging.v2.ListBucketsResponse" do
|
54
|
+
repeated :buckets, :message, 1, "google.logging.v2.LogBucket"
|
55
|
+
optional :next_page_token, :string, 2
|
56
|
+
end
|
57
|
+
add_message "google.logging.v2.UpdateBucketRequest" do
|
58
|
+
optional :name, :string, 1
|
59
|
+
optional :bucket, :message, 2, "google.logging.v2.LogBucket"
|
60
|
+
optional :update_mask, :message, 4, "google.protobuf.FieldMask"
|
61
|
+
end
|
62
|
+
add_message "google.logging.v2.GetBucketRequest" do
|
63
|
+
optional :name, :string, 1
|
64
|
+
end
|
65
|
+
add_message "google.logging.v2.ListSinksRequest" do
|
66
|
+
optional :parent, :string, 1
|
67
|
+
optional :page_token, :string, 2
|
68
|
+
optional :page_size, :int32, 3
|
69
|
+
end
|
70
|
+
add_message "google.logging.v2.ListSinksResponse" do
|
71
|
+
repeated :sinks, :message, 1, "google.logging.v2.LogSink"
|
72
|
+
optional :next_page_token, :string, 2
|
73
|
+
end
|
74
|
+
add_message "google.logging.v2.GetSinkRequest" do
|
75
|
+
optional :sink_name, :string, 1
|
76
|
+
end
|
77
|
+
add_message "google.logging.v2.CreateSinkRequest" do
|
78
|
+
optional :parent, :string, 1
|
79
|
+
optional :sink, :message, 2, "google.logging.v2.LogSink"
|
80
|
+
optional :unique_writer_identity, :bool, 3
|
81
|
+
end
|
82
|
+
add_message "google.logging.v2.UpdateSinkRequest" do
|
83
|
+
optional :sink_name, :string, 1
|
84
|
+
optional :sink, :message, 2, "google.logging.v2.LogSink"
|
85
|
+
optional :unique_writer_identity, :bool, 3
|
86
|
+
optional :update_mask, :message, 4, "google.protobuf.FieldMask"
|
87
|
+
end
|
88
|
+
add_message "google.logging.v2.DeleteSinkRequest" do
|
89
|
+
optional :sink_name, :string, 1
|
90
|
+
end
|
91
|
+
add_message "google.logging.v2.LogExclusion" do
|
92
|
+
optional :name, :string, 1
|
93
|
+
optional :description, :string, 2
|
94
|
+
optional :filter, :string, 3
|
95
|
+
optional :disabled, :bool, 4
|
96
|
+
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
97
|
+
optional :update_time, :message, 6, "google.protobuf.Timestamp"
|
98
|
+
end
|
99
|
+
add_message "google.logging.v2.ListExclusionsRequest" do
|
100
|
+
optional :parent, :string, 1
|
101
|
+
optional :page_token, :string, 2
|
102
|
+
optional :page_size, :int32, 3
|
103
|
+
end
|
104
|
+
add_message "google.logging.v2.ListExclusionsResponse" do
|
105
|
+
repeated :exclusions, :message, 1, "google.logging.v2.LogExclusion"
|
106
|
+
optional :next_page_token, :string, 2
|
107
|
+
end
|
108
|
+
add_message "google.logging.v2.GetExclusionRequest" do
|
109
|
+
optional :name, :string, 1
|
110
|
+
end
|
111
|
+
add_message "google.logging.v2.CreateExclusionRequest" do
|
112
|
+
optional :parent, :string, 1
|
113
|
+
optional :exclusion, :message, 2, "google.logging.v2.LogExclusion"
|
114
|
+
end
|
115
|
+
add_message "google.logging.v2.UpdateExclusionRequest" do
|
116
|
+
optional :name, :string, 1
|
117
|
+
optional :exclusion, :message, 2, "google.logging.v2.LogExclusion"
|
118
|
+
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
119
|
+
end
|
120
|
+
add_message "google.logging.v2.DeleteExclusionRequest" do
|
121
|
+
optional :name, :string, 1
|
122
|
+
end
|
123
|
+
add_message "google.logging.v2.GetCmekSettingsRequest" do
|
124
|
+
optional :name, :string, 1
|
125
|
+
end
|
126
|
+
add_message "google.logging.v2.UpdateCmekSettingsRequest" do
|
127
|
+
optional :name, :string, 1
|
128
|
+
optional :cmek_settings, :message, 2, "google.logging.v2.CmekSettings"
|
129
|
+
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
130
|
+
end
|
131
|
+
add_message "google.logging.v2.CmekSettings" do
|
132
|
+
optional :name, :string, 1
|
133
|
+
optional :kms_key_name, :string, 2
|
134
|
+
optional :service_account_id, :string, 3
|
135
|
+
end
|
136
|
+
add_enum "google.logging.v2.LifecycleState" do
|
137
|
+
value :LIFECYCLE_STATE_UNSPECIFIED, 0
|
138
|
+
value :ACTIVE, 1
|
139
|
+
value :DELETE_REQUESTED, 2
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
module Google
|
145
|
+
module Cloud
|
146
|
+
module Logging
|
147
|
+
module V2
|
148
|
+
LogBucket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogBucket").msgclass
|
149
|
+
LogSink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogSink").msgclass
|
150
|
+
LogSink::VersionFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogSink.VersionFormat").enummodule
|
151
|
+
BigQueryOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.BigQueryOptions").msgclass
|
152
|
+
ListBucketsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListBucketsRequest").msgclass
|
153
|
+
ListBucketsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListBucketsResponse").msgclass
|
154
|
+
UpdateBucketRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.UpdateBucketRequest").msgclass
|
155
|
+
GetBucketRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetBucketRequest").msgclass
|
156
|
+
ListSinksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListSinksRequest").msgclass
|
157
|
+
ListSinksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListSinksResponse").msgclass
|
158
|
+
GetSinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetSinkRequest").msgclass
|
159
|
+
CreateSinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.CreateSinkRequest").msgclass
|
160
|
+
UpdateSinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.UpdateSinkRequest").msgclass
|
161
|
+
DeleteSinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteSinkRequest").msgclass
|
162
|
+
LogExclusion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LogExclusion").msgclass
|
163
|
+
ListExclusionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListExclusionsRequest").msgclass
|
164
|
+
ListExclusionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.ListExclusionsResponse").msgclass
|
165
|
+
GetExclusionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetExclusionRequest").msgclass
|
166
|
+
CreateExclusionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.CreateExclusionRequest").msgclass
|
167
|
+
UpdateExclusionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.UpdateExclusionRequest").msgclass
|
168
|
+
DeleteExclusionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.DeleteExclusionRequest").msgclass
|
169
|
+
GetCmekSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.GetCmekSettingsRequest").msgclass
|
170
|
+
UpdateCmekSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.UpdateCmekSettingsRequest").msgclass
|
171
|
+
CmekSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.CmekSettings").msgclass
|
172
|
+
LifecycleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.logging.v2.LifecycleState").enummodule
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
end
|