google-cloud-network_security-v1 0.a → 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 +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/network_security/v1/address_group_service/client.rb +1457 -0
- data/lib/google/cloud/network_security/v1/address_group_service/credentials.rb +47 -0
- data/lib/google/cloud/network_security/v1/address_group_service/operations.rb +843 -0
- data/lib/google/cloud/network_security/v1/address_group_service/paths.rb +110 -0
- data/lib/google/cloud/network_security/v1/address_group_service.rb +52 -0
- data/lib/google/cloud/network_security/v1/dns_threat_detector_service/client.rb +900 -0
- data/lib/google/cloud/network_security/v1/dns_threat_detector_service/credentials.rb +47 -0
- data/lib/google/cloud/network_security/v1/dns_threat_detector_service/paths.rb +86 -0
- data/lib/google/cloud/network_security/v1/dns_threat_detector_service.rb +49 -0
- data/lib/google/cloud/network_security/v1/firewall_activation/client.rb +2098 -0
- data/lib/google/cloud/network_security/v1/firewall_activation/credentials.rb +47 -0
- data/lib/google/cloud/network_security/v1/firewall_activation/operations.rb +843 -0
- data/lib/google/cloud/network_security/v1/firewall_activation/paths.rb +165 -0
- data/lib/google/cloud/network_security/v1/firewall_activation.rb +50 -0
- data/lib/google/cloud/network_security/v1/intercept/client.rb +2599 -0
- data/lib/google/cloud/network_security/v1/intercept/credentials.rb +47 -0
- data/lib/google/cloud/network_security/v1/intercept/operations.rb +843 -0
- data/lib/google/cloud/network_security/v1/intercept/paths.rb +160 -0
- data/lib/google/cloud/network_security/v1/intercept.rb +51 -0
- data/lib/google/cloud/network_security/v1/mirroring/client.rb +2598 -0
- data/lib/google/cloud/network_security/v1/mirroring/credentials.rb +47 -0
- data/lib/google/cloud/network_security/v1/mirroring/operations.rb +843 -0
- data/lib/google/cloud/network_security/v1/mirroring/paths.rb +160 -0
- data/lib/google/cloud/network_security/v1/mirroring.rb +50 -0
- data/lib/google/cloud/network_security/v1/network_security/client.rb +5161 -0
- data/lib/google/cloud/network_security/v1/network_security/credentials.rb +47 -0
- data/lib/google/cloud/network_security/v1/network_security/operations.rb +843 -0
- data/lib/google/cloud/network_security/v1/network_security/paths.rb +280 -0
- data/lib/google/cloud/network_security/v1/network_security.rb +52 -0
- data/lib/google/cloud/network_security/v1/organization_address_group_service/client.rb +1457 -0
- data/lib/google/cloud/network_security/v1/organization_address_group_service/credentials.rb +47 -0
- data/lib/google/cloud/network_security/v1/organization_address_group_service/operations.rb +843 -0
- data/lib/google/cloud/network_security/v1/organization_address_group_service/paths.rb +110 -0
- data/lib/google/cloud/network_security/v1/organization_address_group_service.rb +52 -0
- data/lib/google/cloud/network_security/v1/organization_security_profile_group_service/client.rb +1471 -0
- data/lib/google/cloud/network_security/v1/organization_security_profile_group_service/credentials.rb +47 -0
- data/lib/google/cloud/network_security/v1/organization_security_profile_group_service/operations.rb +843 -0
- data/lib/google/cloud/network_security/v1/organization_security_profile_group_service/paths.rb +191 -0
- data/lib/google/cloud/network_security/v1/organization_security_profile_group_service.rb +50 -0
- data/lib/google/cloud/network_security/v1/security_profile_group_service/client.rb +1472 -0
- data/lib/google/cloud/network_security/v1/security_profile_group_service/credentials.rb +47 -0
- data/lib/google/cloud/network_security/v1/security_profile_group_service/operations.rb +843 -0
- data/lib/google/cloud/network_security/v1/security_profile_group_service/paths.rb +191 -0
- data/lib/google/cloud/network_security/v1/security_profile_group_service.rb +51 -0
- data/lib/google/cloud/network_security/v1/sse_realm_service/client.rb +1316 -0
- data/lib/google/cloud/network_security/v1/sse_realm_service/credentials.rb +47 -0
- data/lib/google/cloud/network_security/v1/sse_realm_service/operations.rb +843 -0
- data/lib/google/cloud/network_security/v1/sse_realm_service/paths.rb +88 -0
- data/lib/google/cloud/network_security/v1/sse_realm_service.rb +50 -0
- data/lib/google/cloud/network_security/v1/version.rb +7 -2
- data/lib/google/cloud/network_security/v1.rb +49 -0
- data/lib/google/cloud/networksecurity/v1/address_group_pb.rb +46 -0
- data/lib/google/cloud/networksecurity/v1/address_group_services_pb.rb +97 -0
- data/lib/google/cloud/networksecurity/v1/authorization_policy_pb.rb +37 -0
- data/lib/google/cloud/networksecurity/v1/authz_policy_pb.rb +56 -0
- data/lib/google/cloud/networksecurity/v1/backend_authentication_config_pb.rb +33 -0
- data/lib/google/cloud/networksecurity/v1/client_tls_policy_pb.rb +33 -0
- data/lib/google/cloud/networksecurity/v1/common_pb.rb +24 -0
- data/lib/google/cloud/networksecurity/v1/dns_threat_detector_pb.rb +36 -0
- data/lib/google/cloud/networksecurity/v1/dns_threat_detector_services_pb.rb +53 -0
- data/lib/google/cloud/networksecurity/v1/firewall_activation_pb.rb +48 -0
- data/lib/google/cloud/networksecurity/v1/firewall_activation_services_pb.rb +73 -0
- data/lib/google/cloud/networksecurity/v1/gateway_security_policy_pb.rb +32 -0
- data/lib/google/cloud/networksecurity/v1/gateway_security_policy_rule_pb.rb +33 -0
- data/lib/google/cloud/networksecurity/v1/intercept_pb.rb +71 -0
- data/lib/google/cloud/networksecurity/v1/intercept_services_pb.rb +104 -0
- data/lib/google/cloud/networksecurity/v1/mirroring_pb.rb +72 -0
- data/lib/google/cloud/networksecurity/v1/mirroring_services_pb.rb +103 -0
- data/lib/google/cloud/networksecurity/v1/network_security_pb.rb +35 -0
- data/lib/google/cloud/networksecurity/v1/network_security_services_pb.rb +138 -0
- data/lib/google/cloud/networksecurity/v1/security_profile_group_intercept_pb.rb +24 -0
- data/lib/google/cloud/networksecurity/v1/security_profile_group_mirroring_pb.rb +24 -0
- data/lib/google/cloud/networksecurity/v1/security_profile_group_pb.rb +31 -0
- data/lib/google/cloud/networksecurity/v1/security_profile_group_service_pb.rb +42 -0
- data/lib/google/cloud/networksecurity/v1/security_profile_group_service_services_pb.rb +98 -0
- data/lib/google/cloud/networksecurity/v1/security_profile_group_threatprevention_pb.rb +30 -0
- data/lib/google/cloud/networksecurity/v1/security_profile_group_urlfiltering_pb.rb +25 -0
- data/lib/google/cloud/networksecurity/v1/server_tls_policy_pb.rb +35 -0
- data/lib/google/cloud/networksecurity/v1/sse_realm_pb.rb +46 -0
- data/lib/google/cloud/networksecurity/v1/sse_realm_services_pb.rb +59 -0
- data/lib/google/cloud/networksecurity/v1/tls_inspection_policy_pb.rb +34 -0
- data/lib/google/cloud/networksecurity/v1/tls_pb.rb +26 -0
- data/lib/google/cloud/networksecurity/v1/url_list_pb.rb +32 -0
- data/lib/google-cloud-network_security-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/networksecurity/v1/address_group.rb +374 -0
- data/proto_docs/google/cloud/networksecurity/v1/authorization_policy.rb +263 -0
- data/proto_docs/google/cloud/networksecurity/v1/authz_policy.rb +735 -0
- data/proto_docs/google/cloud/networksecurity/v1/backend_authentication_config.rb +217 -0
- data/proto_docs/google/cloud/networksecurity/v1/client_tls_policy.rb +162 -0
- data/proto_docs/google/cloud/networksecurity/v1/common.rb +57 -0
- data/proto_docs/google/cloud/networksecurity/v1/dns_threat_detector.rb +159 -0
- data/proto_docs/google/cloud/networksecurity/v1/firewall_activation.rb +469 -0
- data/proto_docs/google/cloud/networksecurity/v1/gateway_security_policy.rb +144 -0
- data/proto_docs/google/cloud/networksecurity/v1/gateway_security_policy_rule.rb +178 -0
- data/proto_docs/google/cloud/networksecurity/v1/intercept.rb +960 -0
- data/proto_docs/google/cloud/networksecurity/v1/mirroring.rb +970 -0
- data/proto_docs/google/cloud/networksecurity/v1/security_profile_group.rb +166 -0
- data/proto_docs/google/cloud/networksecurity/v1/security_profile_group_intercept.rb +38 -0
- data/proto_docs/google/cloud/networksecurity/v1/security_profile_group_mirroring.rb +38 -0
- data/proto_docs/google/cloud/networksecurity/v1/security_profile_group_service.rb +211 -0
- data/proto_docs/google/cloud/networksecurity/v1/security_profile_group_threatprevention.rb +193 -0
- data/proto_docs/google/cloud/networksecurity/v1/security_profile_group_urlfiltering.rb +66 -0
- data/proto_docs/google/cloud/networksecurity/v1/server_tls_policy.rb +251 -0
- data/proto_docs/google/cloud/networksecurity/v1/sse_realm.rb +388 -0
- data/proto_docs/google/cloud/networksecurity/v1/tls.rb +90 -0
- data/proto_docs/google/cloud/networksecurity/v1/tls_inspection_policy.rb +239 -0
- data/proto_docs/google/cloud/networksecurity/v1/url_list.rb +144 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +186 -9
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: google/cloud/networksecurity/v1/security_profile_group_service.proto for package 'Google.Cloud.NetworkSecurity.V1'
|
|
3
|
+
# Original file comments:
|
|
4
|
+
# Copyright 2026 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/v1/security_profile_group_service_pb'
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module NetworkSecurity
|
|
25
|
+
module V1
|
|
26
|
+
module SecurityProfileGroupService
|
|
27
|
+
# SecurityProfileGroup is a resource that defines an action for specific threat
|
|
28
|
+
# signatures or severity levels.
|
|
29
|
+
class Service
|
|
30
|
+
|
|
31
|
+
include ::GRPC::GenericService
|
|
32
|
+
|
|
33
|
+
self.marshal_class_method = :encode
|
|
34
|
+
self.unmarshal_class_method = :decode
|
|
35
|
+
self.service_name = 'google.cloud.networksecurity.v1.SecurityProfileGroupService'
|
|
36
|
+
|
|
37
|
+
# Lists SecurityProfileGroups in a given project and location.
|
|
38
|
+
rpc :ListSecurityProfileGroups, ::Google::Cloud::NetworkSecurity::V1::ListSecurityProfileGroupsRequest, ::Google::Cloud::NetworkSecurity::V1::ListSecurityProfileGroupsResponse
|
|
39
|
+
# Gets details of a single SecurityProfileGroup.
|
|
40
|
+
rpc :GetSecurityProfileGroup, ::Google::Cloud::NetworkSecurity::V1::GetSecurityProfileGroupRequest, ::Google::Cloud::NetworkSecurity::V1::SecurityProfileGroup
|
|
41
|
+
# Creates a new SecurityProfileGroup in a given project and location.
|
|
42
|
+
rpc :CreateSecurityProfileGroup, ::Google::Cloud::NetworkSecurity::V1::CreateSecurityProfileGroupRequest, ::Google::Longrunning::Operation
|
|
43
|
+
# Updates the parameters of a single SecurityProfileGroup.
|
|
44
|
+
rpc :UpdateSecurityProfileGroup, ::Google::Cloud::NetworkSecurity::V1::UpdateSecurityProfileGroupRequest, ::Google::Longrunning::Operation
|
|
45
|
+
# Deletes a single SecurityProfileGroup.
|
|
46
|
+
rpc :DeleteSecurityProfileGroup, ::Google::Cloud::NetworkSecurity::V1::DeleteSecurityProfileGroupRequest, ::Google::Longrunning::Operation
|
|
47
|
+
# Lists SecurityProfiles in a given project and location.
|
|
48
|
+
rpc :ListSecurityProfiles, ::Google::Cloud::NetworkSecurity::V1::ListSecurityProfilesRequest, ::Google::Cloud::NetworkSecurity::V1::ListSecurityProfilesResponse
|
|
49
|
+
# Gets details of a single SecurityProfile.
|
|
50
|
+
rpc :GetSecurityProfile, ::Google::Cloud::NetworkSecurity::V1::GetSecurityProfileRequest, ::Google::Cloud::NetworkSecurity::V1::SecurityProfile
|
|
51
|
+
# Creates a new SecurityProfile in a given project and location.
|
|
52
|
+
rpc :CreateSecurityProfile, ::Google::Cloud::NetworkSecurity::V1::CreateSecurityProfileRequest, ::Google::Longrunning::Operation
|
|
53
|
+
# Updates the parameters of a single SecurityProfile.
|
|
54
|
+
rpc :UpdateSecurityProfile, ::Google::Cloud::NetworkSecurity::V1::UpdateSecurityProfileRequest, ::Google::Longrunning::Operation
|
|
55
|
+
# Deletes a single SecurityProfile.
|
|
56
|
+
rpc :DeleteSecurityProfile, ::Google::Cloud::NetworkSecurity::V1::DeleteSecurityProfileRequest, ::Google::Longrunning::Operation
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
Stub = Service.rpc_stub_class
|
|
60
|
+
end
|
|
61
|
+
module OrganizationSecurityProfileGroupService
|
|
62
|
+
# Organization SecurityProfileGroup is created under organization.
|
|
63
|
+
class Service
|
|
64
|
+
|
|
65
|
+
include ::GRPC::GenericService
|
|
66
|
+
|
|
67
|
+
self.marshal_class_method = :encode
|
|
68
|
+
self.unmarshal_class_method = :decode
|
|
69
|
+
self.service_name = 'google.cloud.networksecurity.v1.OrganizationSecurityProfileGroupService'
|
|
70
|
+
|
|
71
|
+
# Lists SecurityProfileGroups in a given organization and location.
|
|
72
|
+
rpc :ListSecurityProfileGroups, ::Google::Cloud::NetworkSecurity::V1::ListSecurityProfileGroupsRequest, ::Google::Cloud::NetworkSecurity::V1::ListSecurityProfileGroupsResponse
|
|
73
|
+
# Gets details of a single SecurityProfileGroup.
|
|
74
|
+
rpc :GetSecurityProfileGroup, ::Google::Cloud::NetworkSecurity::V1::GetSecurityProfileGroupRequest, ::Google::Cloud::NetworkSecurity::V1::SecurityProfileGroup
|
|
75
|
+
# Creates a new SecurityProfileGroup in a given organization and location.
|
|
76
|
+
rpc :CreateSecurityProfileGroup, ::Google::Cloud::NetworkSecurity::V1::CreateSecurityProfileGroupRequest, ::Google::Longrunning::Operation
|
|
77
|
+
# Updates the parameters of a single SecurityProfileGroup.
|
|
78
|
+
rpc :UpdateSecurityProfileGroup, ::Google::Cloud::NetworkSecurity::V1::UpdateSecurityProfileGroupRequest, ::Google::Longrunning::Operation
|
|
79
|
+
# Deletes a single SecurityProfileGroup.
|
|
80
|
+
rpc :DeleteSecurityProfileGroup, ::Google::Cloud::NetworkSecurity::V1::DeleteSecurityProfileGroupRequest, ::Google::Longrunning::Operation
|
|
81
|
+
# Lists SecurityProfiles in a given organization and location.
|
|
82
|
+
rpc :ListSecurityProfiles, ::Google::Cloud::NetworkSecurity::V1::ListSecurityProfilesRequest, ::Google::Cloud::NetworkSecurity::V1::ListSecurityProfilesResponse
|
|
83
|
+
# Gets details of a single SecurityProfile.
|
|
84
|
+
rpc :GetSecurityProfile, ::Google::Cloud::NetworkSecurity::V1::GetSecurityProfileRequest, ::Google::Cloud::NetworkSecurity::V1::SecurityProfile
|
|
85
|
+
# Creates a new SecurityProfile in a given organization and location.
|
|
86
|
+
rpc :CreateSecurityProfile, ::Google::Cloud::NetworkSecurity::V1::CreateSecurityProfileRequest, ::Google::Longrunning::Operation
|
|
87
|
+
# Updates the parameters of a single SecurityProfile.
|
|
88
|
+
rpc :UpdateSecurityProfile, ::Google::Cloud::NetworkSecurity::V1::UpdateSecurityProfileRequest, ::Google::Longrunning::Operation
|
|
89
|
+
# Deletes a single SecurityProfile.
|
|
90
|
+
rpc :DeleteSecurityProfile, ::Google::Cloud::NetworkSecurity::V1::DeleteSecurityProfileRequest, ::Google::Longrunning::Operation
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
Stub = Service.rpc_stub_class
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1/security_profile_group_threatprevention.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\nMgoogle/cloud/networksecurity/v1/security_profile_group_threatprevention.proto\x12\x1fgoogle.cloud.networksecurity.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x93\x02\n\x17ThreatPreventionProfile\x12R\n\x12severity_overrides\x18\x01 \x03(\x0b\x32\x31.google.cloud.networksecurity.v1.SeverityOverrideB\x03\xe0\x41\x01\x12N\n\x10threat_overrides\x18\x02 \x03(\x0b\x32/.google.cloud.networksecurity.v1.ThreatOverrideB\x03\xe0\x41\x01\x12T\n\x13\x61ntivirus_overrides\x18\x04 \x03(\x0b\x32\x32.google.cloud.networksecurity.v1.AntivirusOverrideB\x03\xe0\x41\x01\"\x98\x01\n\x10SeverityOverride\x12@\n\x08severity\x18\x01 \x01(\x0e\x32).google.cloud.networksecurity.v1.SeverityB\x03\xe0\x41\x02\x12\x42\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32-.google.cloud.networksecurity.v1.ThreatActionB\x03\xe0\x41\x02\"\xac\x01\n\x0eThreatOverride\x12\x16\n\tthreat_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12>\n\x04type\x18\x02 \x01(\x0e\x32+.google.cloud.networksecurity.v1.ThreatTypeB\x03\xe0\x41\x03\x12\x42\n\x06\x61\x63tion\x18\x03 \x01(\x0e\x32-.google.cloud.networksecurity.v1.ThreatActionB\x03\xe0\x41\x02\"\x99\x01\n\x11\x41ntivirusOverride\x12@\n\x08protocol\x18\x01 \x01(\x0e\x32).google.cloud.networksecurity.v1.ProtocolB\x03\xe0\x41\x02\x12\x42\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32-.google.cloud.networksecurity.v1.ThreatActionB\x03\xe0\x41\x02*d\n\x08Severity\x12\x18\n\x14SEVERITY_UNSPECIFIED\x10\x00\x12\x11\n\rINFORMATIONAL\x10\x01\x12\x07\n\x03LOW\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x08\n\x04HIGH\x10\x04\x12\x0c\n\x08\x43RITICAL\x10\x05*n\n\nThreatType\x12\x1b\n\x17THREAT_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rVULNERABILITY\x10\x02\x12\r\n\tANTIVIRUS\x10\x03\x12\x0b\n\x07SPYWARE\x10\x04\x12\x07\n\x03\x44NS\x10\x05*a\n\x0cThreatAction\x12\x1d\n\x19THREAT_ACTION_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x44\x45\x46\x41ULT_ACTION\x10\x04\x12\t\n\x05\x41LLOW\x10\x01\x12\t\n\x05\x41LERT\x10\x02\x12\x08\n\x04\x44\x45NY\x10\x03*i\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\x08\n\x04SMTP\x10\x01\x12\x07\n\x03SMB\x10\x02\x12\x08\n\x04POP3\x10\x03\x12\x08\n\x04IMAP\x10\x04\x12\t\n\x05HTTP2\x10\x05\x12\x08\n\x04HTTP\x10\x06\x12\x07\n\x03\x46TP\x10\x07\x42\x8a\x02\n#com.google.cloud.networksecurity.v1B)SecurityProfileGroupThreatPreventionProtoP\x01ZMcloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb\xaa\x02\x1fGoogle.Cloud.NetworkSecurity.V1\xca\x02\x1fGoogle\\Cloud\\NetworkSecurity\\V1\xea\x02\"Google::Cloud::NetworkSecurity::V1b\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
|
|
15
|
+
module Google
|
|
16
|
+
module Cloud
|
|
17
|
+
module NetworkSecurity
|
|
18
|
+
module V1
|
|
19
|
+
ThreatPreventionProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ThreatPreventionProfile").msgclass
|
|
20
|
+
SeverityOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.SeverityOverride").msgclass
|
|
21
|
+
ThreatOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ThreatOverride").msgclass
|
|
22
|
+
AntivirusOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AntivirusOverride").msgclass
|
|
23
|
+
Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.Severity").enummodule
|
|
24
|
+
ThreatType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ThreatType").enummodule
|
|
25
|
+
ThreatAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ThreatAction").enummodule
|
|
26
|
+
Protocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.Protocol").enummodule
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1/security_profile_group_urlfiltering.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\nIgoogle/cloud/networksecurity/v1/security_profile_group_urlfiltering.proto\x12\x1fgoogle.cloud.networksecurity.v1\x1a\x1fgoogle/api/field_behavior.proto\"[\n\x13UrlFilteringProfile\x12\x44\n\x0burl_filters\x18\x01 \x03(\x0b\x32*.google.cloud.networksecurity.v1.UrlFilterB\x03\xe0\x41\x01\"\xf6\x01\n\tUrlFilter\x12\\\n\x10\x66iltering_action\x18\x01 \x01(\x0e\x32=.google.cloud.networksecurity.v1.UrlFilter.UrlFilteringActionB\x03\xe0\x41\x02\x12\x11\n\x04urls\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x1a\n\x08priority\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02H\x00\x88\x01\x01\"O\n\x12UrlFilteringAction\x12$\n URL_FILTERING_ACTION_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\x42\x0b\n\t_priorityB\x86\x02\n#com.google.cloud.networksecurity.v1B%SecurityProfileGroupUrlFilteringProtoP\x01ZMcloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb\xaa\x02\x1fGoogle.Cloud.NetworkSecurity.V1\xca\x02\x1fGoogle\\Cloud\\NetworkSecurity\\V1\xea\x02\"Google::Cloud::NetworkSecurity::V1b\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
|
|
15
|
+
module Google
|
|
16
|
+
module Cloud
|
|
17
|
+
module NetworkSecurity
|
|
18
|
+
module V1
|
|
19
|
+
UrlFilteringProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.UrlFilteringProfile").msgclass
|
|
20
|
+
UrlFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.UrlFilter").msgclass
|
|
21
|
+
UrlFilter::UrlFilteringAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.UrlFilter.UrlFilteringAction").enummodule
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1/server_tls_policy.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/resource_pb'
|
|
9
|
+
require 'google/cloud/networksecurity/v1/tls_pb'
|
|
10
|
+
require 'google/protobuf/field_mask_pb'
|
|
11
|
+
require 'google/protobuf/timestamp_pb'
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
descriptor_data = "\n7google/cloud/networksecurity/v1/server_tls_policy.proto\x12\x1fgoogle.cloud.networksecurity.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/networksecurity/v1/tls.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x87\x08\n\x0fServerTlsPolicy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n\x06labels\x18\x05 \x03(\x0b\x32<.google.cloud.networksecurity.v1.ServerTlsPolicy.LabelsEntry\x12\x12\n\nallow_open\x18\x06 \x01(\x08\x12P\n\x12server_certificate\x18\x07 \x01(\x0b\x32\x34.google.cloud.networksecurity.v1.CertificateProvider\x12P\n\x0bmtls_policy\x18\x08 \x01(\x0b\x32;.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy\x1a\xa5\x03\n\nMTLSPolicy\x12p\n\x16\x63lient_validation_mode\x18\x02 \x01(\x0e\x32P.google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy.ClientValidationMode\x12K\n\x14\x63lient_validation_ca\x18\x01 \x03(\x0b\x32-.google.cloud.networksecurity.v1.ValidationCA\x12Z\n\x1e\x63lient_validation_trust_config\x18\x04 \x01(\tB2\xfa\x41/\n-certificatemanager.googleapis.com/TrustConfig\"|\n\x14\x43lientValidationMode\x12&\n\"CLIENT_VALIDATION_MODE_UNSPECIFIED\x10\x00\x12(\n$ALLOW_INVALID_OR_MISSING_CLIENT_CERT\x10\x01\x12\x12\n\x0eREJECT_INVALID\x10\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x82\x01\xea\x41\x7f\n.networksecurity.googleapis.com/ServerTlsPolicy\x12Mprojects/{project}/locations/{location}/serverTlsPolicies/{server_tls_policy}\"\xa5\x01\n\x1cListServerTlsPoliciesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12#\n\x16return_partial_success\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\x9c\x01\n\x1dListServerTlsPoliciesResponse\x12M\n\x13server_tls_policies\x18\x01 \x03(\x0b\x32\x30.google.cloud.networksecurity.v1.ServerTlsPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"a\n\x19GetServerTlsPolicyRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.networksecurity.googleapis.com/ServerTlsPolicy\"\xdb\x01\n\x1c\x43reateServerTlsPolicyRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.networksecurity.googleapis.com/ServerTlsPolicy\x12!\n\x14server_tls_policy_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12P\n\x11server_tls_policy\x18\x03 \x01(\x0b\x32\x30.google.cloud.networksecurity.v1.ServerTlsPolicyB\x03\xe0\x41\x02\"\xa6\x01\n\x1cUpdateServerTlsPolicyRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12P\n\x11server_tls_policy\x18\x02 \x01(\x0b\x32\x30.google.cloud.networksecurity.v1.ServerTlsPolicyB\x03\xe0\x41\x02\"d\n\x1c\x44\x65leteServerTlsPolicyRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.networksecurity.googleapis.com/ServerTlsPolicyB\xf5\x01\n#com.google.cloud.networksecurity.v1B\x14ServerTlsPolicyProtoP\x01ZMcloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb\xaa\x02\x1fGoogle.Cloud.NetworkSecurity.V1\xca\x02\x1fGoogle\\Cloud\\NetworkSecurity\\V1\xea\x02\"Google::Cloud::NetworkSecurity::V1b\x06proto3"
|
|
15
|
+
|
|
16
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
|
18
|
+
|
|
19
|
+
module Google
|
|
20
|
+
module Cloud
|
|
21
|
+
module NetworkSecurity
|
|
22
|
+
module V1
|
|
23
|
+
ServerTlsPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ServerTlsPolicy").msgclass
|
|
24
|
+
ServerTlsPolicy::MTLSPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy").msgclass
|
|
25
|
+
ServerTlsPolicy::MTLSPolicy::ClientValidationMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ServerTlsPolicy.MTLSPolicy.ClientValidationMode").enummodule
|
|
26
|
+
ListServerTlsPoliciesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListServerTlsPoliciesRequest").msgclass
|
|
27
|
+
ListServerTlsPoliciesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListServerTlsPoliciesResponse").msgclass
|
|
28
|
+
GetServerTlsPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.GetServerTlsPolicyRequest").msgclass
|
|
29
|
+
CreateServerTlsPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CreateServerTlsPolicyRequest").msgclass
|
|
30
|
+
UpdateServerTlsPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.UpdateServerTlsPolicyRequest").msgclass
|
|
31
|
+
DeleteServerTlsPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.DeleteServerTlsPolicyRequest").msgclass
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1/sse_realm.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/field_info_pb'
|
|
11
|
+
require 'google/api/resource_pb'
|
|
12
|
+
require 'google/cloud/networksecurity/v1/common_pb'
|
|
13
|
+
require 'google/longrunning/operations_pb'
|
|
14
|
+
require 'google/protobuf/empty_pb'
|
|
15
|
+
require 'google/protobuf/timestamp_pb'
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
descriptor_data = "\n/google/cloud/networksecurity/v1/sse_realm.proto\x12\x1fgoogle.cloud.networksecurity.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a,google/cloud/networksecurity/v1/common.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9b\x07\n\x08SACRealm\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\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\x12J\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.cloud.networksecurity.v1.SACRealm.LabelsEntryB\x03\xe0\x41\x01\x12X\n\x10security_service\x18\x05 \x01(\x0e\x32\x39.google.cloud.networksecurity.v1.SACRealm.SecurityServiceB\x03\xe0\x41\x05\x12N\n\x0bpairing_key\x18\x06 \x01(\x0b\x32\x34.google.cloud.networksecurity.v1.SACRealm.PairingKeyB\x03\xe0\x41\x03\x12\x43\n\x05state\x18\x07 \x01(\x0e\x32/.google.cloud.networksecurity.v1.SACRealm.StateB\x03\xe0\x41\x03\x1aT\n\nPairingKey\x12\x10\n\x03key\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"P\n\x0fSecurityService\x12 \n\x1cSECURITY_SERVICE_UNSPECIFIED\x10\x00\x12\x1b\n\x17PALO_ALTO_PRISMA_ACCESS\x10\x01\"{\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aPENDING_PARTNER_ATTACHMENT\x10\x07\x12\x14\n\x10PARTNER_ATTACHED\x10\x01\x12\x14\n\x10PARTNER_DETACHED\x10\x02\x12\x0f\n\x0bKEY_EXPIRED\x10\x03:\x80\x01\xea\x41}\n\'networksecurity.googleapis.com/SACRealm\x12=projects/{project}/locations/{location}/sacRealms/{sac_realm}*\tsacRealms2\x08sacRealm\"\xb4\x01\n\x14ListSACRealmsRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'networksecurity.googleapis.com/SACRealm\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\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x84\x01\n\x15ListSACRealmsResponse\x12=\n\nsac_realms\x18\x01 \x03(\x0b\x32).google.cloud.networksecurity.v1.SACRealm\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"S\n\x12GetSACRealmRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'networksecurity.googleapis.com/SACRealm\"\xd7\x01\n\x15\x43reateSACRealmRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'networksecurity.googleapis.com/SACRealm\x12\x19\n\x0csac_realm_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x41\n\tsac_realm\x18\x03 \x01(\x0b\x32).google.cloud.networksecurity.v1.SACRealmB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"w\n\x15\x44\x65leteSACRealmRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'networksecurity.googleapis.com/SACRealm\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x93\x05\n\rSACAttachment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\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\x12O\n\x06labels\x18\x04 \x03(\x0b\x32:.google.cloud.networksecurity.v1.SACAttachment.LabelsEntryB\x03\xe0\x41\x01\x12\x16\n\tsac_realm\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bncc_gateway\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12H\n\x05state\x18\n \x01(\x0e\x32\x34.google.cloud.networksecurity.v1.SACAttachment.StateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"j\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aPENDING_PARTNER_ATTACHMENT\x10\x01\x12\x14\n\x10PARTNER_ATTACHED\x10\x02\x12\x14\n\x10PARTNER_DETACHED\x10\x03:\x9a\x01\xea\x41\x96\x01\n,networksecurity.googleapis.com/SACAttachment\x12Gprojects/{project}/locations/{location}/sacAttachments/{sac_attachment}*\x0esacAttachments2\rsacAttachment\"\xbe\x01\n\x19ListSACAttachmentsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,networksecurity.googleapis.com/SACAttachment\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\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x93\x01\n\x1aListSACAttachmentsResponse\x12G\n\x0fsac_attachments\x18\x01 \x03(\x0b\x32..google.cloud.networksecurity.v1.SACAttachment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"]\n\x17GetSACAttachmentRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,networksecurity.googleapis.com/SACAttachment\"\xf0\x01\n\x1a\x43reateSACAttachmentRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,networksecurity.googleapis.com/SACAttachment\x12\x1e\n\x11sac_attachment_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\x0esac_attachment\x18\x03 \x01(\x0b\x32..google.cloud.networksecurity.v1.SACAttachmentB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x04 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"\x81\x01\n\x1a\x44\x65leteSACAttachmentRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,networksecurity.googleapis.com/SACAttachment\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x32\xa3\x0f\n\x0fSSERealmService\x12\xbe\x01\n\rListSACRealms\x12\x35.google.cloud.networksecurity.v1.ListSACRealmsRequest\x1a\x36.google.cloud.networksecurity.v1.ListSACRealmsResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/sacRealms\x12\xab\x01\n\x0bGetSACRealm\x12\x33.google.cloud.networksecurity.v1.GetSACRealmRequest\x1a).google.cloud.networksecurity.v1.SACRealm\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/sacRealms/*}\x12\x8a\x02\n\x0e\x43reateSACRealm\x12\x36.google.cloud.networksecurity.v1.CreateSACRealmRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\xca\x41=\n\x08SACRealm\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\x1dparent,sac_realm,sac_realm_id\x82\xd3\xe4\x93\x02:\"-/v1/{parent=projects/*/locations/*}/sacRealms:\tsac_realm\x12\xf3\x01\n\x0e\x44\x65leteSACRealm\x12\x36.google.cloud.networksecurity.v1.DeleteSACRealmRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41J\n\x15google.protobuf.Empty\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/sacRealms/*}\x12\xd2\x01\n\x12ListSACAttachments\x12:.google.cloud.networksecurity.v1.ListSACAttachmentsRequest\x1a;.google.cloud.networksecurity.v1.ListSACAttachmentsResponse\"C\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/sacAttachments\x12\xbf\x01\n\x10GetSACAttachment\x12\x38.google.cloud.networksecurity.v1.GetSACAttachmentRequest\x1a..google.cloud.networksecurity.v1.SACAttachment\"A\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/sacAttachments/*}\x12\xad\x02\n\x13\x43reateSACAttachment\x12;.google.cloud.networksecurity.v1.CreateSACAttachmentRequest\x1a\x1d.google.longrunning.Operation\"\xb9\x01\xca\x41\x42\n\rSACAttachment\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\'parent,sac_attachment,sac_attachment_id\x82\xd3\xe4\x93\x02\x44\"2/v1/{parent=projects/*/locations/*}/sacAttachments:\x0esac_attachment\x12\x82\x02\n\x13\x44\x65leteSACAttachment\x12;.google.cloud.networksecurity.v1.DeleteSACAttachmentRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x01\xca\x41J\n\x15google.protobuf.Empty\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/sacAttachments/*}\x1aR\xca\x41\x1enetworksecurity.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xee\x01\n#com.google.cloud.networksecurity.v1B\rSSERealmProtoP\x01ZMcloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb\xaa\x02\x1fGoogle.Cloud.NetworkSecurity.V1\xca\x02\x1fGoogle\\Cloud\\NetworkSecurity\\V1\xea\x02\"Google::Cloud::NetworkSecurity::V1b\x06proto3"
|
|
19
|
+
|
|
20
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
|
22
|
+
|
|
23
|
+
module Google
|
|
24
|
+
module Cloud
|
|
25
|
+
module NetworkSecurity
|
|
26
|
+
module V1
|
|
27
|
+
SACRealm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.SACRealm").msgclass
|
|
28
|
+
SACRealm::PairingKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.SACRealm.PairingKey").msgclass
|
|
29
|
+
SACRealm::SecurityService = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.SACRealm.SecurityService").enummodule
|
|
30
|
+
SACRealm::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.SACRealm.State").enummodule
|
|
31
|
+
ListSACRealmsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListSACRealmsRequest").msgclass
|
|
32
|
+
ListSACRealmsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListSACRealmsResponse").msgclass
|
|
33
|
+
GetSACRealmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.GetSACRealmRequest").msgclass
|
|
34
|
+
CreateSACRealmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CreateSACRealmRequest").msgclass
|
|
35
|
+
DeleteSACRealmRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.DeleteSACRealmRequest").msgclass
|
|
36
|
+
SACAttachment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.SACAttachment").msgclass
|
|
37
|
+
SACAttachment::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.SACAttachment.State").enummodule
|
|
38
|
+
ListSACAttachmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListSACAttachmentsRequest").msgclass
|
|
39
|
+
ListSACAttachmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListSACAttachmentsResponse").msgclass
|
|
40
|
+
GetSACAttachmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.GetSACAttachmentRequest").msgclass
|
|
41
|
+
CreateSACAttachmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CreateSACAttachmentRequest").msgclass
|
|
42
|
+
DeleteSACAttachmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.DeleteSACAttachmentRequest").msgclass
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: google/cloud/networksecurity/v1/sse_realm.proto for package 'Google.Cloud.NetworkSecurity.V1'
|
|
3
|
+
# Original file comments:
|
|
4
|
+
# Copyright 2026 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/v1/sse_realm_pb'
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module NetworkSecurity
|
|
25
|
+
module V1
|
|
26
|
+
module SSERealmService
|
|
27
|
+
# Service describing handlers for resources
|
|
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.v1.SSERealmService'
|
|
35
|
+
|
|
36
|
+
# Lists SACRealms in a given project.
|
|
37
|
+
rpc :ListSACRealms, ::Google::Cloud::NetworkSecurity::V1::ListSACRealmsRequest, ::Google::Cloud::NetworkSecurity::V1::ListSACRealmsResponse
|
|
38
|
+
# Returns the specified realm.
|
|
39
|
+
rpc :GetSACRealm, ::Google::Cloud::NetworkSecurity::V1::GetSACRealmRequest, ::Google::Cloud::NetworkSecurity::V1::SACRealm
|
|
40
|
+
# Creates a new SACRealm in a given project.
|
|
41
|
+
rpc :CreateSACRealm, ::Google::Cloud::NetworkSecurity::V1::CreateSACRealmRequest, ::Google::Longrunning::Operation
|
|
42
|
+
# Deletes the specified realm.
|
|
43
|
+
rpc :DeleteSACRealm, ::Google::Cloud::NetworkSecurity::V1::DeleteSACRealmRequest, ::Google::Longrunning::Operation
|
|
44
|
+
# Lists SACAttachments in a given project and location.
|
|
45
|
+
rpc :ListSACAttachments, ::Google::Cloud::NetworkSecurity::V1::ListSACAttachmentsRequest, ::Google::Cloud::NetworkSecurity::V1::ListSACAttachmentsResponse
|
|
46
|
+
# Returns the specified attachment.
|
|
47
|
+
rpc :GetSACAttachment, ::Google::Cloud::NetworkSecurity::V1::GetSACAttachmentRequest, ::Google::Cloud::NetworkSecurity::V1::SACAttachment
|
|
48
|
+
# Creates a new SACAttachment in a given project and location.
|
|
49
|
+
rpc :CreateSACAttachment, ::Google::Cloud::NetworkSecurity::V1::CreateSACAttachmentRequest, ::Google::Longrunning::Operation
|
|
50
|
+
# Deletes the specified attachment.
|
|
51
|
+
rpc :DeleteSACAttachment, ::Google::Cloud::NetworkSecurity::V1::DeleteSACAttachmentRequest, ::Google::Longrunning::Operation
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
Stub = Service.rpc_stub_class
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1/tls_inspection_policy.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/resource_pb'
|
|
9
|
+
require 'google/protobuf/field_mask_pb'
|
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
descriptor_data = "\n;google/cloud/networksecurity/v1/tls_inspection_policy.proto\x12\x1fgoogle.cloud.networksecurity.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc6\x07\n\x13TlsInspectionPolicy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x38\n\x07\x63\x61_pool\x18\x05 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fprivateca.googleapis.com/CaPool\x12K\n\x0ctrust_config\x18\x06 \x01(\tB5\xe0\x41\x01\xfa\x41/\n-certificatemanager.googleapis.com/TrustConfig\x12\'\n\x15\x65xclude_public_ca_set\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12]\n\x0fmin_tls_version\x18\x08 \x01(\x0e\x32?.google.cloud.networksecurity.v1.TlsInspectionPolicy.TlsVersionB\x03\xe0\x41\x01\x12^\n\x13tls_feature_profile\x18\t \x01(\x0e\x32<.google.cloud.networksecurity.v1.TlsInspectionPolicy.ProfileB\x03\xe0\x41\x01\x12 \n\x13\x63ustom_tls_features\x18\n \x03(\tB\x03\xe0\x41\x01\"]\n\nTlsVersion\x12\x1b\n\x17TLS_VERSION_UNSPECIFIED\x10\x00\x12\x0b\n\x07TLS_1_0\x10\x01\x12\x0b\n\x07TLS_1_1\x10\x02\x12\x0b\n\x07TLS_1_2\x10\x03\x12\x0b\n\x07TLS_1_3\x10\x04\"z\n\x07Profile\x12\x17\n\x13PROFILE_UNSPECIFIED\x10\x00\x12\x16\n\x12PROFILE_COMPATIBLE\x10\x01\x12\x12\n\x0ePROFILE_MODERN\x10\x02\x12\x16\n\x12PROFILE_RESTRICTED\x10\x03\x12\x12\n\x0ePROFILE_CUSTOM\x10\x04:\x8f\x01\xea\x41\x8b\x01\n2networksecurity.googleapis.com/TlsInspectionPolicy\x12Uprojects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}B\x18\n\x16_exclude_public_ca_set\"\xef\x01\n CreateTlsInspectionPolicyRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\x12\x32networksecurity.googleapis.com/TlsInspectionPolicy\x12%\n\x18tls_inspection_policy_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12X\n\x15tls_inspection_policy\x18\x03 \x01(\x0b\x32\x34.google.cloud.networksecurity.v1.TlsInspectionPolicyB\x03\xe0\x41\x02\"\x84\x01\n ListTlsInspectionPoliciesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\xa8\x01\n!ListTlsInspectionPoliciesResponse\x12U\n\x17tls_inspection_policies\x18\x01 \x03(\x0b\x32\x34.google.cloud.networksecurity.v1.TlsInspectionPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"i\n\x1dGetTlsInspectionPolicyRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2networksecurity.googleapis.com/TlsInspectionPolicy\"{\n DeleteTlsInspectionPolicyRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2networksecurity.googleapis.com/TlsInspectionPolicy\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\"\xb2\x01\n UpdateTlsInspectionPolicyRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12X\n\x15tls_inspection_policy\x18\x02 \x01(\x0b\x32\x34.google.cloud.networksecurity.v1.TlsInspectionPolicyB\x03\xe0\x41\x02\x42\xd8\x02\n#com.google.cloud.networksecurity.v1B\x18TlsInspectionPolicyProtoP\x01ZMcloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb\xaa\x02\x1fGoogle.Cloud.NetworkSecurity.V1\xca\x02\x1fGoogle\\Cloud\\NetworkSecurity\\V1\xea\x02\"Google::Cloud::NetworkSecurity::V1\xea\x41\\\n\x1fprivateca.googleapis.com/CaPool\x12\x39projects/{project}/locations/{location}/caPools/{ca_pool}b\x06proto3"
|
|
14
|
+
|
|
15
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
17
|
+
|
|
18
|
+
module Google
|
|
19
|
+
module Cloud
|
|
20
|
+
module NetworkSecurity
|
|
21
|
+
module V1
|
|
22
|
+
TlsInspectionPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.TlsInspectionPolicy").msgclass
|
|
23
|
+
TlsInspectionPolicy::TlsVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.TlsInspectionPolicy.TlsVersion").enummodule
|
|
24
|
+
TlsInspectionPolicy::Profile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.TlsInspectionPolicy.Profile").enummodule
|
|
25
|
+
CreateTlsInspectionPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CreateTlsInspectionPolicyRequest").msgclass
|
|
26
|
+
ListTlsInspectionPoliciesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListTlsInspectionPoliciesRequest").msgclass
|
|
27
|
+
ListTlsInspectionPoliciesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListTlsInspectionPoliciesResponse").msgclass
|
|
28
|
+
GetTlsInspectionPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.GetTlsInspectionPolicyRequest").msgclass
|
|
29
|
+
DeleteTlsInspectionPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.DeleteTlsInspectionPolicyRequest").msgclass
|
|
30
|
+
UpdateTlsInspectionPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.UpdateTlsInspectionPolicyRequest").msgclass
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1/tls.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n)google/cloud/networksecurity/v1/tls.proto\x12\x1fgoogle.cloud.networksecurity.v1\x1a\x1fgoogle/api/field_behavior.proto\"\'\n\x0cGrpcEndpoint\x12\x17\n\ntarget_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xc5\x01\n\x0cValidationCA\x12\x46\n\rgrpc_endpoint\x18\x02 \x01(\x0b\x32-.google.cloud.networksecurity.v1.GrpcEndpointH\x00\x12\x65\n\x1d\x63\x65rtificate_provider_instance\x18\x03 \x01(\x0b\x32<.google.cloud.networksecurity.v1.CertificateProviderInstanceH\x00\x42\x06\n\x04type\";\n\x1b\x43\x65rtificateProviderInstance\x12\x1c\n\x0fplugin_instance\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xcc\x01\n\x13\x43\x65rtificateProvider\x12\x46\n\rgrpc_endpoint\x18\x02 \x01(\x0b\x32-.google.cloud.networksecurity.v1.GrpcEndpointH\x00\x12\x65\n\x1d\x63\x65rtificate_provider_instance\x18\x03 \x01(\x0b\x32<.google.cloud.networksecurity.v1.CertificateProviderInstanceH\x00\x42\x06\n\x04typeB\xe9\x01\n#com.google.cloud.networksecurity.v1B\x08TlsProtoP\x01ZMcloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb\xaa\x02\x1fGoogle.Cloud.NetworkSecurity.V1\xca\x02\x1fGoogle\\Cloud\\NetworkSecurity\\V1\xea\x02\"Google::Cloud::NetworkSecurity::V1b\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
|
|
15
|
+
module Google
|
|
16
|
+
module Cloud
|
|
17
|
+
module NetworkSecurity
|
|
18
|
+
module V1
|
|
19
|
+
GrpcEndpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.GrpcEndpoint").msgclass
|
|
20
|
+
ValidationCA = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ValidationCA").msgclass
|
|
21
|
+
CertificateProviderInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CertificateProviderInstance").msgclass
|
|
22
|
+
CertificateProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CertificateProvider").msgclass
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1/url_list.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/resource_pb'
|
|
9
|
+
require 'google/protobuf/field_mask_pb'
|
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
descriptor_data = "\n.google/cloud/networksecurity/v1/url_list.proto\x12\x1fgoogle.cloud.networksecurity.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa1\x02\n\x07UrlList\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\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\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06values\x18\x05 \x03(\tB\x03\xe0\x41\x02:h\xea\x41\x65\n&networksecurity.googleapis.com/UrlList\x12;projects/{project}/locations/{location}/urlLists/{url_list}\"w\n\x13ListUrlListsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x81\x01\n\x14ListUrlListsResponse\x12;\n\turl_lists\x18\x01 \x03(\x0b\x32(.google.cloud.networksecurity.v1.UrlList\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Q\n\x11GetUrlListRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networksecurity.googleapis.com/UrlList\"\xb1\x01\n\x14\x43reateUrlListRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&networksecurity.googleapis.com/UrlList\x12\x18\n\x0burl_list_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12?\n\x08url_list\x18\x03 \x01(\x0b\x32(.google.cloud.networksecurity.v1.UrlListB\x03\xe0\x41\x02\"\x8d\x01\n\x14UpdateUrlListRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12?\n\x08url_list\x18\x02 \x01(\x0b\x32(.google.cloud.networksecurity.v1.UrlListB\x03\xe0\x41\x02\"T\n\x14\x44\x65leteUrlListRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&networksecurity.googleapis.com/UrlListB\xed\x01\n#com.google.cloud.networksecurity.v1B\x0cUrlListProtoP\x01ZMcloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb\xaa\x02\x1fGoogle.Cloud.NetworkSecurity.V1\xca\x02\x1fGoogle\\Cloud\\NetworkSecurity\\V1\xea\x02\"Google::Cloud::NetworkSecurity::V1b\x06proto3"
|
|
14
|
+
|
|
15
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
|
17
|
+
|
|
18
|
+
module Google
|
|
19
|
+
module Cloud
|
|
20
|
+
module NetworkSecurity
|
|
21
|
+
module V1
|
|
22
|
+
UrlList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.UrlList").msgclass
|
|
23
|
+
ListUrlListsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListUrlListsRequest").msgclass
|
|
24
|
+
ListUrlListsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListUrlListsResponse").msgclass
|
|
25
|
+
GetUrlListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.GetUrlListRequest").msgclass
|
|
26
|
+
CreateUrlListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CreateUrlListRequest").msgclass
|
|
27
|
+
UpdateUrlListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.UpdateUrlListRequest").msgclass
|
|
28
|
+
DeleteUrlListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.DeleteUrlListRequest").msgclass
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 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
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
|
21
|
+
# require "google/cloud/network_security/v1"
|