google-cloud-network_security-v1beta1 0.13.0 → 0.14.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 +4 -4
- data/AUTHENTICATION.md +4 -4
- data/README.md +4 -4
- data/lib/google/cloud/network_security/v1beta1/bindings_override.rb +1 -1
- data/lib/google/cloud/network_security/v1beta1/dns_threat_detector_service/client.rb +898 -0
- data/lib/google/cloud/network_security/v1beta1/dns_threat_detector_service/credentials.rb +47 -0
- data/lib/google/cloud/network_security/v1beta1/dns_threat_detector_service/paths.rb +86 -0
- data/lib/google/cloud/network_security/v1beta1/dns_threat_detector_service/rest/client.rb +829 -0
- data/lib/google/cloud/network_security/v1beta1/dns_threat_detector_service/rest/service_stub.rb +388 -0
- data/lib/google/cloud/network_security/v1beta1/dns_threat_detector_service/rest.rb +53 -0
- data/lib/google/cloud/network_security/v1beta1/dns_threat_detector_service.rb +55 -0
- data/lib/google/cloud/network_security/v1beta1/network_security/client.rb +20 -3
- data/lib/google/cloud/network_security/v1beta1/network_security/operations.rb +20 -3
- data/lib/google/cloud/network_security/v1beta1/rest.rb +2 -1
- data/lib/google/cloud/network_security/v1beta1/version.rb +1 -1
- data/lib/google/cloud/network_security/v1beta1.rb +3 -2
- data/lib/google/cloud/networksecurity/v1beta1/dns_threat_detector_pb.rb +59 -0
- data/lib/google/cloud/networksecurity/v1beta1/dns_threat_detector_services_pb.rb +53 -0
- data/proto_docs/google/cloud/networksecurity/v1beta1/dns_threat_detector.rb +159 -0
- metadata +11 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1beta1/dns_threat_detector.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/annotations_pb'
|
|
8
|
+
require 'google/api/client_pb'
|
|
9
|
+
require 'google/api/field_behavior_pb'
|
|
10
|
+
require 'google/api/resource_pb'
|
|
11
|
+
require 'google/protobuf/empty_pb'
|
|
12
|
+
require 'google/protobuf/field_mask_pb'
|
|
13
|
+
require 'google/protobuf/timestamp_pb'
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
descriptor_data = "\n>google/cloud/networksecurity/v1beta1/dns_threat_detector.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa0\x05\n\x11\x44nsThreatDetector\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x08\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12X\n\x06labels\x18\x04 \x03(\x0b\x32\x43.google.cloud.networksecurity.v1beta1.DnsThreatDetector.LabelsEntryB\x03\xe0\x41\x01\x12\x41\n\x11\x65xcluded_networks\x18\x05 \x03(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12W\n\x08provider\x18\x06 \x01(\x0e\x32@.google.cloud.networksecurity.v1beta1.DnsThreatDetector.ProviderB\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"2\n\x08Provider\x12\x18\n\x14PROVIDER_UNSPECIFIED\x10\x00\x12\x0c\n\x08INFOBLOX\x10\x01:\xaf\x01\xea\x41\xab\x01\n0networksecurity.googleapis.com/DnsThreatDetector\x12Pprojects/{project}/locations/{location}/dnsThreatDetectors/{dns_threat_detector}*\x12\x64nsThreatDetectors2\x11\x64nsThreatDetector\"\x9a\x01\n\x1dListDnsThreatDetectorsRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30networksecurity.googleapis.com/DnsThreatDetector\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xaa\x01\n\x1eListDnsThreatDetectorsResponse\x12U\n\x14\x64ns_threat_detectors\x18\x01 \x03(\x0b\x32\x37.google.cloud.networksecurity.v1beta1.DnsThreatDetector\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x0bunreachable\x18\x03 \x03(\tB\x03\xe0\x41\x06\"e\n\x1bGetDnsThreatDetectorRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0networksecurity.googleapis.com/DnsThreatDetector\"\xea\x01\n\x1e\x43reateDnsThreatDetectorRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\x12\x30networksecurity.googleapis.com/DnsThreatDetector\x12#\n\x16\x64ns_threat_detector_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12Y\n\x13\x64ns_threat_detector\x18\x03 \x01(\x0b\x32\x37.google.cloud.networksecurity.v1beta1.DnsThreatDetectorB\x03\xe0\x41\x02\"\xb1\x01\n\x1eUpdateDnsThreatDetectorRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12Y\n\x13\x64ns_threat_detector\x18\x02 \x01(\x0b\x32\x37.google.cloud.networksecurity.v1beta1.DnsThreatDetectorB\x03\xe0\x41\x02\"h\n\x1e\x44\x65leteDnsThreatDetectorRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0networksecurity.googleapis.com/DnsThreatDetector2\xdf\n\n\x18\x44nsThreatDetectorService\x12\xf1\x01\n\x16ListDnsThreatDetectors\x12\x43.google.cloud.networksecurity.v1beta1.ListDnsThreatDetectorsRequest\x1a\x44.google.cloud.networksecurity.v1beta1.ListDnsThreatDetectorsResponse\"L\xda\x41\x06parent\x82\xd3\xe4\x93\x02=\x12;/v1beta1/{parent=projects/*/locations/*}/dnsThreatDetectors\x12\xde\x01\n\x14GetDnsThreatDetector\x12\x41.google.cloud.networksecurity.v1beta1.GetDnsThreatDetectorRequest\x1a\x37.google.cloud.networksecurity.v1beta1.DnsThreatDetector\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=\x12;/v1beta1/{name=projects/*/locations/*/dnsThreatDetectors/*}\x12\xa7\x02\n\x17\x43reateDnsThreatDetector\x12\x44.google.cloud.networksecurity.v1beta1.CreateDnsThreatDetectorRequest\x1a\x37.google.cloud.networksecurity.v1beta1.DnsThreatDetector\"\x8c\x01\xda\x41\x31parent,dns_threat_detector,dns_threat_detector_id\x82\xd3\xe4\x93\x02R\";/v1beta1/{parent=projects/*/locations/*}/dnsThreatDetectors:\x13\x64ns_threat_detector\x12\xa9\x02\n\x17UpdateDnsThreatDetector\x12\x44.google.cloud.networksecurity.v1beta1.UpdateDnsThreatDetectorRequest\x1a\x37.google.cloud.networksecurity.v1beta1.DnsThreatDetector\"\x8e\x01\xda\x41\x1f\x64ns_threat_detector,update_mask\x82\xd3\xe4\x93\x02\x66\x32O/v1beta1/{dns_threat_detector.name=projects/*/locations/*/dnsThreatDetectors/*}:\x13\x64ns_threat_detector\x12\xc3\x01\n\x17\x44\x65leteDnsThreatDetector\x12\x44.google.cloud.networksecurity.v1beta1.DeleteDnsThreatDetectorRequest\x1a\x16.google.protobuf.Empty\"J\xda\x41\x04name\x82\xd3\xe4\x93\x02=*;/v1beta1/{name=projects/*/locations/*/dnsThreatDetectors/*}\x1aR\xca\x41\x1enetworksecurity.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe1\x02\n(com.google.cloud.networksecurity.v1beta1B\x16\x44nsThreatDetectorProtoP\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1\xea\x41N\n\x1e\x63ompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3"
|
|
17
|
+
|
|
18
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
19
|
+
|
|
20
|
+
begin
|
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
|
22
|
+
rescue TypeError
|
|
23
|
+
# Compatibility code: will be removed in the next major version.
|
|
24
|
+
require 'google/protobuf/descriptor_pb'
|
|
25
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
26
|
+
parsed.clear_dependency
|
|
27
|
+
serialized = parsed.class.encode(parsed)
|
|
28
|
+
file = pool.add_serialized_file(serialized)
|
|
29
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
30
|
+
imports = [
|
|
31
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
32
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
|
33
|
+
]
|
|
34
|
+
imports.each do |type_name, expected_filename|
|
|
35
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
36
|
+
if import_file.name != expected_filename
|
|
37
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
41
|
+
warn "This will become an error in the next major version."
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
module Google
|
|
45
|
+
module Cloud
|
|
46
|
+
module NetworkSecurity
|
|
47
|
+
module V1beta1
|
|
48
|
+
DnsThreatDetector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1beta1.DnsThreatDetector").msgclass
|
|
49
|
+
DnsThreatDetector::Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1beta1.DnsThreatDetector.Provider").enummodule
|
|
50
|
+
ListDnsThreatDetectorsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1beta1.ListDnsThreatDetectorsRequest").msgclass
|
|
51
|
+
ListDnsThreatDetectorsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1beta1.ListDnsThreatDetectorsResponse").msgclass
|
|
52
|
+
GetDnsThreatDetectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1beta1.GetDnsThreatDetectorRequest").msgclass
|
|
53
|
+
CreateDnsThreatDetectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1beta1.CreateDnsThreatDetectorRequest").msgclass
|
|
54
|
+
UpdateDnsThreatDetectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1beta1.UpdateDnsThreatDetectorRequest").msgclass
|
|
55
|
+
DeleteDnsThreatDetectorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1beta1.DeleteDnsThreatDetectorRequest").msgclass
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: google/cloud/networksecurity/v1beta1/dns_threat_detector.proto for package 'Google.Cloud.NetworkSecurity.V1beta1'
|
|
3
|
+
# Original file comments:
|
|
4
|
+
# Copyright 2025 Google LLC
|
|
5
|
+
#
|
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
# you may not use this file except in compliance with the License.
|
|
8
|
+
# You may obtain a copy of the License at
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
# See the License for the specific language governing permissions and
|
|
16
|
+
# limitations under the License.
|
|
17
|
+
#
|
|
18
|
+
|
|
19
|
+
require 'grpc'
|
|
20
|
+
require 'google/cloud/networksecurity/v1beta1/dns_threat_detector_pb'
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module NetworkSecurity
|
|
25
|
+
module V1beta1
|
|
26
|
+
module DnsThreatDetectorService
|
|
27
|
+
# The Network Security API for DNS Threat Detectors.
|
|
28
|
+
class Service
|
|
29
|
+
|
|
30
|
+
include ::GRPC::GenericService
|
|
31
|
+
|
|
32
|
+
self.marshal_class_method = :encode
|
|
33
|
+
self.unmarshal_class_method = :decode
|
|
34
|
+
self.service_name = 'google.cloud.networksecurity.v1beta1.DnsThreatDetectorService'
|
|
35
|
+
|
|
36
|
+
# Lists DnsThreatDetectors in a given project and location.
|
|
37
|
+
rpc :ListDnsThreatDetectors, ::Google::Cloud::NetworkSecurity::V1beta1::ListDnsThreatDetectorsRequest, ::Google::Cloud::NetworkSecurity::V1beta1::ListDnsThreatDetectorsResponse
|
|
38
|
+
# Gets the details of a single DnsThreatDetector.
|
|
39
|
+
rpc :GetDnsThreatDetector, ::Google::Cloud::NetworkSecurity::V1beta1::GetDnsThreatDetectorRequest, ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector
|
|
40
|
+
# Creates a new DnsThreatDetector in a given project and location.
|
|
41
|
+
rpc :CreateDnsThreatDetector, ::Google::Cloud::NetworkSecurity::V1beta1::CreateDnsThreatDetectorRequest, ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector
|
|
42
|
+
# Updates a single DnsThreatDetector.
|
|
43
|
+
rpc :UpdateDnsThreatDetector, ::Google::Cloud::NetworkSecurity::V1beta1::UpdateDnsThreatDetectorRequest, ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector
|
|
44
|
+
# Deletes a single DnsThreatDetector.
|
|
45
|
+
rpc :DeleteDnsThreatDetector, ::Google::Cloud::NetworkSecurity::V1beta1::DeleteDnsThreatDetectorRequest, ::Google::Protobuf::Empty
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
Stub = Service.rpc_stub_class
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2025 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 NetworkSecurity
|
|
23
|
+
module V1beta1
|
|
24
|
+
# A DNS threat detector sends DNS query logs to a _provider_ that then
|
|
25
|
+
# analyzes the logs to identify threat events in the DNS queries.
|
|
26
|
+
# By default, all VPC networks in your projects are included. You can exclude
|
|
27
|
+
# specific networks by supplying `excluded_networks`.
|
|
28
|
+
# @!attribute [rw] name
|
|
29
|
+
# @return [::String]
|
|
30
|
+
# Immutable. Identifier. Name of the DnsThreatDetector resource.
|
|
31
|
+
# @!attribute [r] create_time
|
|
32
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
33
|
+
# Output only. Create time stamp.
|
|
34
|
+
# @!attribute [r] update_time
|
|
35
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
36
|
+
# Output only. Update time stamp.
|
|
37
|
+
# @!attribute [rw] labels
|
|
38
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
39
|
+
# Optional. Any labels associated with the DnsThreatDetector, listed as key
|
|
40
|
+
# value pairs.
|
|
41
|
+
# @!attribute [rw] excluded_networks
|
|
42
|
+
# @return [::Array<::String>]
|
|
43
|
+
# Optional. A list of network resource names which aren't monitored by this
|
|
44
|
+
# DnsThreatDetector.
|
|
45
|
+
#
|
|
46
|
+
# Example:
|
|
47
|
+
# `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
|
|
48
|
+
# @!attribute [rw] provider
|
|
49
|
+
# @return [::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector::Provider]
|
|
50
|
+
# Required. The provider used for DNS threat analysis.
|
|
51
|
+
class DnsThreatDetector
|
|
52
|
+
include ::Google::Protobuf::MessageExts
|
|
53
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
54
|
+
|
|
55
|
+
# @!attribute [rw] key
|
|
56
|
+
# @return [::String]
|
|
57
|
+
# @!attribute [rw] value
|
|
58
|
+
# @return [::String]
|
|
59
|
+
class LabelsEntry
|
|
60
|
+
include ::Google::Protobuf::MessageExts
|
|
61
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Name of the provider used for DNS threat analysis.
|
|
65
|
+
module Provider
|
|
66
|
+
# An unspecified provider.
|
|
67
|
+
PROVIDER_UNSPECIFIED = 0
|
|
68
|
+
|
|
69
|
+
# The Infoblox DNS threat detector provider.
|
|
70
|
+
INFOBLOX = 1
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# The message for requesting a list of DnsThreatDetectors in the project.
|
|
75
|
+
# @!attribute [rw] parent
|
|
76
|
+
# @return [::String]
|
|
77
|
+
# Required. The parent value for `ListDnsThreatDetectorsRequest`.
|
|
78
|
+
# @!attribute [rw] page_size
|
|
79
|
+
# @return [::Integer]
|
|
80
|
+
# Optional. The requested page size. The server may return fewer items than
|
|
81
|
+
# requested. If unspecified, the server picks an appropriate default.
|
|
82
|
+
# @!attribute [rw] page_token
|
|
83
|
+
# @return [::String]
|
|
84
|
+
# Optional. A page token received from a previous
|
|
85
|
+
# `ListDnsThreatDetectorsRequest` call. Provide this to retrieve the
|
|
86
|
+
# subsequent page.
|
|
87
|
+
class ListDnsThreatDetectorsRequest
|
|
88
|
+
include ::Google::Protobuf::MessageExts
|
|
89
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# The response message to requesting a list of DnsThreatDetectors.
|
|
93
|
+
# @!attribute [rw] dns_threat_detectors
|
|
94
|
+
# @return [::Array<::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector>]
|
|
95
|
+
# The list of DnsThreatDetector resources.
|
|
96
|
+
# @!attribute [rw] next_page_token
|
|
97
|
+
# @return [::String]
|
|
98
|
+
# A token, which can be sent as `page_token`, to retrieve the next page.
|
|
99
|
+
# @!attribute [rw] unreachable
|
|
100
|
+
# @return [::Array<::String>]
|
|
101
|
+
# Unordered list. Unreachable `DnsThreatDetector` resources.
|
|
102
|
+
class ListDnsThreatDetectorsResponse
|
|
103
|
+
include ::Google::Protobuf::MessageExts
|
|
104
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# The message sent to get a DnsThreatDetector.
|
|
108
|
+
# @!attribute [rw] name
|
|
109
|
+
# @return [::String]
|
|
110
|
+
# Required. Name of the DnsThreatDetector resource.
|
|
111
|
+
class GetDnsThreatDetectorRequest
|
|
112
|
+
include ::Google::Protobuf::MessageExts
|
|
113
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# The message to create a DnsThreatDetector.
|
|
117
|
+
# @!attribute [rw] parent
|
|
118
|
+
# @return [::String]
|
|
119
|
+
# Required. The value for the parent of the DnsThreatDetector resource.
|
|
120
|
+
# @!attribute [rw] dns_threat_detector_id
|
|
121
|
+
# @return [::String]
|
|
122
|
+
# Optional. The ID of the requesting DnsThreatDetector object.
|
|
123
|
+
# If this field is not supplied, the service generates an identifier.
|
|
124
|
+
# @!attribute [rw] dns_threat_detector
|
|
125
|
+
# @return [::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector]
|
|
126
|
+
# Required. The `DnsThreatDetector` resource to create.
|
|
127
|
+
class CreateDnsThreatDetectorRequest
|
|
128
|
+
include ::Google::Protobuf::MessageExts
|
|
129
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# The message for updating a DnsThreatDetector.
|
|
133
|
+
# @!attribute [rw] update_mask
|
|
134
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
135
|
+
# Optional. The field mask is used to specify the fields to be overwritten in
|
|
136
|
+
# the DnsThreatDetector resource by the update. The fields specified in the
|
|
137
|
+
# update_mask are relative to the resource, not the full request. A field
|
|
138
|
+
# will be overwritten if it is in the mask. If the mask is not provided then
|
|
139
|
+
# all fields present in the request will be overwritten.
|
|
140
|
+
# @!attribute [rw] dns_threat_detector
|
|
141
|
+
# @return [::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector]
|
|
142
|
+
# Required. The DnsThreatDetector resource being updated.
|
|
143
|
+
class UpdateDnsThreatDetectorRequest
|
|
144
|
+
include ::Google::Protobuf::MessageExts
|
|
145
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# The message for deleting a DnsThreatDetector.
|
|
149
|
+
# @!attribute [rw] name
|
|
150
|
+
# @return [::String]
|
|
151
|
+
# Required. Name of the DnsThreatDetector resource.
|
|
152
|
+
class DeleteDnsThreatDetectorRequest
|
|
153
|
+
include ::Google::Protobuf::MessageExts
|
|
154
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-network_security-v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -81,6 +81,13 @@ files:
|
|
|
81
81
|
- lib/google-cloud-network_security-v1beta1.rb
|
|
82
82
|
- lib/google/cloud/network_security/v1beta1.rb
|
|
83
83
|
- lib/google/cloud/network_security/v1beta1/bindings_override.rb
|
|
84
|
+
- lib/google/cloud/network_security/v1beta1/dns_threat_detector_service.rb
|
|
85
|
+
- lib/google/cloud/network_security/v1beta1/dns_threat_detector_service/client.rb
|
|
86
|
+
- lib/google/cloud/network_security/v1beta1/dns_threat_detector_service/credentials.rb
|
|
87
|
+
- lib/google/cloud/network_security/v1beta1/dns_threat_detector_service/paths.rb
|
|
88
|
+
- lib/google/cloud/network_security/v1beta1/dns_threat_detector_service/rest.rb
|
|
89
|
+
- lib/google/cloud/network_security/v1beta1/dns_threat_detector_service/rest/client.rb
|
|
90
|
+
- lib/google/cloud/network_security/v1beta1/dns_threat_detector_service/rest/service_stub.rb
|
|
84
91
|
- lib/google/cloud/network_security/v1beta1/network_security.rb
|
|
85
92
|
- lib/google/cloud/network_security/v1beta1/network_security/client.rb
|
|
86
93
|
- lib/google/cloud/network_security/v1beta1/network_security/credentials.rb
|
|
@@ -95,6 +102,8 @@ files:
|
|
|
95
102
|
- lib/google/cloud/networksecurity/v1beta1/authorization_policy_pb.rb
|
|
96
103
|
- lib/google/cloud/networksecurity/v1beta1/client_tls_policy_pb.rb
|
|
97
104
|
- lib/google/cloud/networksecurity/v1beta1/common_pb.rb
|
|
105
|
+
- lib/google/cloud/networksecurity/v1beta1/dns_threat_detector_pb.rb
|
|
106
|
+
- lib/google/cloud/networksecurity/v1beta1/dns_threat_detector_services_pb.rb
|
|
98
107
|
- lib/google/cloud/networksecurity/v1beta1/network_security_pb.rb
|
|
99
108
|
- lib/google/cloud/networksecurity/v1beta1/network_security_services_pb.rb
|
|
100
109
|
- lib/google/cloud/networksecurity/v1beta1/server_tls_policy_pb.rb
|
|
@@ -107,6 +116,7 @@ files:
|
|
|
107
116
|
- proto_docs/google/cloud/networksecurity/v1beta1/authorization_policy.rb
|
|
108
117
|
- proto_docs/google/cloud/networksecurity/v1beta1/client_tls_policy.rb
|
|
109
118
|
- proto_docs/google/cloud/networksecurity/v1beta1/common.rb
|
|
119
|
+
- proto_docs/google/cloud/networksecurity/v1beta1/dns_threat_detector.rb
|
|
110
120
|
- proto_docs/google/cloud/networksecurity/v1beta1/server_tls_policy.rb
|
|
111
121
|
- proto_docs/google/cloud/networksecurity/v1beta1/tls.rb
|
|
112
122
|
- proto_docs/google/longrunning/operations.rb
|