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,88 @@
|
|
|
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
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module NetworkSecurity
|
|
23
|
+
module V1
|
|
24
|
+
module SSERealmService
|
|
25
|
+
# Path helper methods for the SSERealmService API.
|
|
26
|
+
module Paths
|
|
27
|
+
##
|
|
28
|
+
# Create a fully-qualified Location resource string.
|
|
29
|
+
#
|
|
30
|
+
# The resource will be in the following format:
|
|
31
|
+
#
|
|
32
|
+
# `projects/{project}/locations/{location}`
|
|
33
|
+
#
|
|
34
|
+
# @param project [String]
|
|
35
|
+
# @param location [String]
|
|
36
|
+
#
|
|
37
|
+
# @return [::String]
|
|
38
|
+
def location_path project:, location:
|
|
39
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
40
|
+
|
|
41
|
+
"projects/#{project}/locations/#{location}"
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
##
|
|
45
|
+
# Create a fully-qualified SACAttachment resource string.
|
|
46
|
+
#
|
|
47
|
+
# The resource will be in the following format:
|
|
48
|
+
#
|
|
49
|
+
# `projects/{project}/locations/{location}/sacAttachments/{sac_attachment}`
|
|
50
|
+
#
|
|
51
|
+
# @param project [String]
|
|
52
|
+
# @param location [String]
|
|
53
|
+
# @param sac_attachment [String]
|
|
54
|
+
#
|
|
55
|
+
# @return [::String]
|
|
56
|
+
def sac_attachment_path project:, location:, sac_attachment:
|
|
57
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
58
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
59
|
+
|
|
60
|
+
"projects/#{project}/locations/#{location}/sacAttachments/#{sac_attachment}"
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
##
|
|
64
|
+
# Create a fully-qualified SACRealm resource string.
|
|
65
|
+
#
|
|
66
|
+
# The resource will be in the following format:
|
|
67
|
+
#
|
|
68
|
+
# `projects/{project}/locations/{location}/sacRealms/{sac_realm}`
|
|
69
|
+
#
|
|
70
|
+
# @param project [String]
|
|
71
|
+
# @param location [String]
|
|
72
|
+
# @param sac_realm [String]
|
|
73
|
+
#
|
|
74
|
+
# @return [::String]
|
|
75
|
+
def sac_realm_path project:, location:, sac_realm:
|
|
76
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
77
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
78
|
+
|
|
79
|
+
"projects/#{project}/locations/#{location}/sacRealms/#{sac_realm}"
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
extend self
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
require "gapic/common"
|
|
20
|
+
require "gapic/config"
|
|
21
|
+
require "gapic/config/method"
|
|
22
|
+
|
|
23
|
+
require "google/cloud/network_security/v1/version"
|
|
24
|
+
|
|
25
|
+
require "google/cloud/network_security/v1/sse_realm_service/credentials"
|
|
26
|
+
require "google/cloud/network_security/v1/sse_realm_service/paths"
|
|
27
|
+
require "google/cloud/network_security/v1/sse_realm_service/operations"
|
|
28
|
+
require "google/cloud/network_security/v1/sse_realm_service/client"
|
|
29
|
+
|
|
30
|
+
module Google
|
|
31
|
+
module Cloud
|
|
32
|
+
module NetworkSecurity
|
|
33
|
+
module V1
|
|
34
|
+
##
|
|
35
|
+
# Service describing handlers for resources
|
|
36
|
+
#
|
|
37
|
+
# @example Load this service and instantiate a gRPC client
|
|
38
|
+
#
|
|
39
|
+
# require "google/cloud/network_security/v1/sse_realm_service"
|
|
40
|
+
# client = ::Google::Cloud::NetworkSecurity::V1::SSERealmService::Client.new
|
|
41
|
+
#
|
|
42
|
+
module SSERealmService
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
helper_path = ::File.join __dir__, "sse_realm_service", "helpers.rb"
|
|
50
|
+
require "google/cloud/network_security/v1/sse_realm_service/helpers" if ::File.file? helper_path
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# Copyright 2026 Google LLC
|
|
2
4
|
#
|
|
3
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
6
|
# you may not use this file except in compliance with the License.
|
|
5
7
|
# You may obtain a copy of the License at
|
|
6
8
|
#
|
|
7
|
-
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
8
10
|
#
|
|
9
11
|
# Unless required by applicable law or agreed to in writing, software
|
|
10
12
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -12,11 +14,14 @@
|
|
|
12
14
|
# See the License for the specific language governing permissions and
|
|
13
15
|
# limitations under the License.
|
|
14
16
|
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
15
20
|
module Google
|
|
16
21
|
module Cloud
|
|
17
22
|
module NetworkSecurity
|
|
18
23
|
module V1
|
|
19
|
-
VERSION = "0.
|
|
24
|
+
VERSION = "0.1.0"
|
|
20
25
|
end
|
|
21
26
|
end
|
|
22
27
|
end
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
require "google/cloud/network_security/v1/address_group_service"
|
|
20
|
+
require "google/cloud/network_security/v1/organization_address_group_service"
|
|
21
|
+
require "google/cloud/network_security/v1/dns_threat_detector_service"
|
|
22
|
+
require "google/cloud/network_security/v1/firewall_activation"
|
|
23
|
+
require "google/cloud/network_security/v1/intercept"
|
|
24
|
+
require "google/cloud/network_security/v1/mirroring"
|
|
25
|
+
require "google/cloud/network_security/v1/network_security"
|
|
26
|
+
require "google/cloud/network_security/v1/security_profile_group_service"
|
|
27
|
+
require "google/cloud/network_security/v1/organization_security_profile_group_service"
|
|
28
|
+
require "google/cloud/network_security/v1/sse_realm_service"
|
|
29
|
+
require "google/cloud/network_security/v1/version"
|
|
30
|
+
|
|
31
|
+
module Google
|
|
32
|
+
module Cloud
|
|
33
|
+
module NetworkSecurity
|
|
34
|
+
##
|
|
35
|
+
# API client module.
|
|
36
|
+
#
|
|
37
|
+
# @example Load this package, including all its services, and instantiate a gRPC client
|
|
38
|
+
#
|
|
39
|
+
# require "google/cloud/network_security/v1"
|
|
40
|
+
# client = ::Google::Cloud::NetworkSecurity::V1::AddressGroupService::Client.new
|
|
41
|
+
#
|
|
42
|
+
module V1
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
helper_path = ::File.join __dir__, "v1", "_helpers.rb"
|
|
49
|
+
require "google/cloud/network_security/v1/_helpers" if ::File.file? helper_path
|
|
@@ -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/address_group.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/field_mask_pb'
|
|
16
|
+
require 'google/protobuf/timestamp_pb'
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
descriptor_data = "\n3google/cloud/networksecurity/v1/address_group.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 google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbd\x06\n\x0c\x41\x64\x64ressGroup\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\x12N\n\x06labels\x18\x05 \x03(\x0b\x32\x39.google.cloud.networksecurity.v1.AddressGroup.LabelsEntryB\x03\xe0\x41\x01\x12\x45\n\x04type\x18\x06 \x01(\x0e\x32\x32.google.cloud.networksecurity.v1.AddressGroup.TypeB\x03\xe0\x41\x02\x12\x12\n\x05items\x18\x07 \x03(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x63\x61pacity\x18\x08 \x01(\x05\x42\x03\xe0\x41\x02\x12\x16\n\tself_link\x18\t \x01(\tB\x03\xe0\x41\x03\x12K\n\x07purpose\x18\n \x03(\x0e\x32\x35.google.cloud.networksecurity.v1.AddressGroup.PurposeB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"0\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\"@\n\x07Purpose\x12\x17\n\x13PURPOSE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x0f\n\x0b\x43LOUD_ARMOR\x10\x02:\xc9\x01\xea\x41\xc5\x01\n+networksecurity.googleapis.com/AddressGroup\x12\x45projects/{project}/locations/{location}/addressGroups/{address_group}\x12Oorganizations/{organization}/locations/{location}/addressGroups/{address_group}\"\xa1\x01\n\x18ListAddressGroupsRequest\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\"\x90\x01\n\x19ListAddressGroupsResponse\x12\x45\n\x0e\x61\x64\x64ress_groups\x18\x01 \x03(\x0b\x32-.google.cloud.networksecurity.v1.AddressGroup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"[\n\x16GetAddressGroupRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+networksecurity.googleapis.com/AddressGroup\"\xe3\x01\n\x19\x43reateAddressGroupRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+networksecurity.googleapis.com/AddressGroup\x12\x1d\n\x10\x61\x64\x64ress_group_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12I\n\raddress_group\x18\x03 \x01(\x0b\x32-.google.cloud.networksecurity.v1.AddressGroupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb5\x01\n\x19UpdateAddressGroupRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12I\n\raddress_group\x18\x02 \x01(\x0b\x32-.google.cloud.networksecurity.v1.AddressGroupB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"w\n\x19\x44\x65leteAddressGroupRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+networksecurity.googleapis.com/AddressGroup\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x96\x01\n\x1b\x41\x64\x64\x41\x64\x64ressGroupItemsRequest\x12J\n\raddress_group\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+networksecurity.googleapis.com/AddressGroup\x12\x12\n\x05items\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x99\x01\n\x1eRemoveAddressGroupItemsRequest\x12J\n\raddress_group\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+networksecurity.googleapis.com/AddressGroup\x12\x12\n\x05items\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xd7\x01\n\x1d\x43loneAddressGroupItemsRequest\x12J\n\raddress_group\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+networksecurity.googleapis.com/AddressGroup\x12Q\n\x14source_address_group\x18\x02 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+networksecurity.googleapis.com/AddressGroup\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x96\x01\n!ListAddressGroupReferencesRequest\x12J\n\raddress_group\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+networksecurity.googleapis.com/AddressGroup\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x9c\x02\n\"ListAddressGroupReferencesResponse\x12{\n\x18\x61\x64\x64ress_group_references\x18\x01 \x03(\x0b\x32Y.google.cloud.networksecurity.v1.ListAddressGroupReferencesResponse.AddressGroupReference\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x1a`\n\x15\x41\x64\x64ressGroupReference\x12\x17\n\x0f\x66irewall_policy\x18\x01 \x01(\t\x12\x17\n\x0fsecurity_policy\x18\x04 \x01(\t\x12\x15\n\rrule_priority\x18\x02 \x01(\x05\x32\xda\x13\n\x13\x41\x64\x64ressGroupService\x12\xce\x01\n\x11ListAddressGroups\x12\x39.google.cloud.networksecurity.v1.ListAddressGroupsRequest\x1a:.google.cloud.networksecurity.v1.ListAddressGroupsResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/addressGroups\x12\xbb\x01\n\x0fGetAddressGroup\x12\x37.google.cloud.networksecurity.v1.GetAddressGroupRequest\x1a-.google.cloud.networksecurity.v1.AddressGroup\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/addressGroups/*}\x12\xa6\x02\n\x12\x43reateAddressGroup\x12:.google.cloud.networksecurity.v1.CreateAddressGroupRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41\x41\n\x0c\x41\x64\x64ressGroup\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41%parent,address_group,address_group_id\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/addressGroups:\raddress_group\x12\xa8\x02\n\x12UpdateAddressGroup\x12:.google.cloud.networksecurity.v1.UpdateAddressGroupRequest\x1a\x1d.google.longrunning.Operation\"\xb6\x01\xca\x41\x41\n\x0c\x41\x64\x64ressGroup\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\x19\x61\x64\x64ress_group,update_mask\x82\xd3\xe4\x93\x02P2?/v1/{address_group.name=projects/*/locations/*/addressGroups/*}:\raddress_group\x12\x9e\x02\n\x14\x41\x64\x64\x41\x64\x64ressGroupItems\x12<.google.cloud.networksecurity.v1.AddAddressGroupItemsRequest\x1a\x1d.google.longrunning.Operation\"\xa8\x01\xca\x41\x41\n\x0c\x41\x64\x64ressGroup\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\x13\x61\x64\x64ress_group,items\x82\xd3\xe4\x93\x02H\"C/v1/{address_group=projects/*/locations/*/addressGroups/*}:addItems:\x01*\x12\xa7\x02\n\x17RemoveAddressGroupItems\x12?.google.cloud.networksecurity.v1.RemoveAddressGroupItemsRequest\x1a\x1d.google.longrunning.Operation\"\xab\x01\xca\x41\x41\n\x0c\x41\x64\x64ressGroup\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\x13\x61\x64\x64ress_group,items\x82\xd3\xe4\x93\x02K\"F/v1/{address_group=projects/*/locations/*/addressGroups/*}:removeItems:\x01*\x12\xb3\x02\n\x16\x43loneAddressGroupItems\x12>.google.cloud.networksecurity.v1.CloneAddressGroupItemsRequest\x1a\x1d.google.longrunning.Operation\"\xb9\x01\xca\x41\x41\n\x0c\x41\x64\x64ressGroup\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\"address_group,source_address_group\x82\xd3\xe4\x93\x02J\"E/v1/{address_group=projects/*/locations/*/addressGroups/*}:cloneItems:\x01*\x12\xff\x01\n\x12\x44\x65leteAddressGroup\x12:.google.cloud.networksecurity.v1.DeleteAddressGroupRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41J\n\x15google.protobuf.Empty\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/addressGroups/*}\x12\x88\x02\n\x1aListAddressGroupReferences\x12\x42.google.cloud.networksecurity.v1.ListAddressGroupReferencesRequest\x1a\x43.google.cloud.networksecurity.v1.ListAddressGroupReferencesResponse\"a\xda\x41\raddress_group\x82\xd3\xe4\x93\x02K\x12I/v1/{address_group=projects/*/locations/*/addressGroups/*}:listReferences\x1aR\xca\x41\x1enetworksecurity.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platform2\x93\x14\n\x1fOrganizationAddressGroupService\x12\xd3\x01\n\x11ListAddressGroups\x12\x39.google.cloud.networksecurity.v1.ListAddressGroupsRequest\x1a:.google.cloud.networksecurity.v1.ListAddressGroupsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=organizations/*/locations/*}/addressGroups\x12\xc0\x01\n\x0fGetAddressGroup\x12\x37.google.cloud.networksecurity.v1.GetAddressGroupRequest\x1a-.google.cloud.networksecurity.v1.AddressGroup\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=organizations/*/locations/*/addressGroups/*}\x12\xab\x02\n\x12\x43reateAddressGroup\x12:.google.cloud.networksecurity.v1.CreateAddressGroupRequest\x1a\x1d.google.longrunning.Operation\"\xb9\x01\xca\x41\x41\n\x0c\x41\x64\x64ressGroup\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41%parent,address_group,address_group_id\x82\xd3\xe4\x93\x02G\"6/v1/{parent=organizations/*/locations/*}/addressGroups:\raddress_group\x12\xad\x02\n\x12UpdateAddressGroup\x12:.google.cloud.networksecurity.v1.UpdateAddressGroupRequest\x1a\x1d.google.longrunning.Operation\"\xbb\x01\xca\x41\x41\n\x0c\x41\x64\x64ressGroup\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\x19\x61\x64\x64ress_group,update_mask\x82\xd3\xe4\x93\x02U2D/v1/{address_group.name=organizations/*/locations/*/addressGroups/*}:\raddress_group\x12\xa3\x02\n\x14\x41\x64\x64\x41\x64\x64ressGroupItems\x12<.google.cloud.networksecurity.v1.AddAddressGroupItemsRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41\x41\n\x0c\x41\x64\x64ressGroup\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\x13\x61\x64\x64ress_group,items\x82\xd3\xe4\x93\x02M\"H/v1/{address_group=organizations/*/locations/*/addressGroups/*}:addItems:\x01*\x12\xac\x02\n\x17RemoveAddressGroupItems\x12?.google.cloud.networksecurity.v1.RemoveAddressGroupItemsRequest\x1a\x1d.google.longrunning.Operation\"\xb0\x01\xca\x41\x41\n\x0c\x41\x64\x64ressGroup\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\x13\x61\x64\x64ress_group,items\x82\xd3\xe4\x93\x02P\"K/v1/{address_group=organizations/*/locations/*/addressGroups/*}:removeItems:\x01*\x12\xb8\x02\n\x16\x43loneAddressGroupItems\x12>.google.cloud.networksecurity.v1.CloneAddressGroupItemsRequest\x1a\x1d.google.longrunning.Operation\"\xbe\x01\xca\x41\x41\n\x0c\x41\x64\x64ressGroup\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\"address_group,source_address_group\x82\xd3\xe4\x93\x02O\"J/v1/{address_group=organizations/*/locations/*/addressGroups/*}:cloneItems:\x01*\x12\x84\x02\n\x12\x44\x65leteAddressGroup\x12:.google.cloud.networksecurity.v1.DeleteAddressGroupRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\xca\x41J\n\x15google.protobuf.Empty\x12\x31google.cloud.networksecurity.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1/{name=organizations/*/locations/*/addressGroups/*}\x12\x8d\x02\n\x1aListAddressGroupReferences\x12\x42.google.cloud.networksecurity.v1.ListAddressGroupReferencesRequest\x1a\x43.google.cloud.networksecurity.v1.ListAddressGroupReferencesResponse\"f\xda\x41\raddress_group\x82\xd3\xe4\x93\x02P\x12N/v1/{address_group=organizations/*/locations/*/addressGroups/*}:listReferences\x1aR\xca\x41\x1enetworksecurity.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf2\x01\n#com.google.cloud.networksecurity.v1B\x11\x41\x64\x64ressGroupProtoP\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"
|
|
20
|
+
|
|
21
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
22
|
+
pool.add_serialized_file(descriptor_data)
|
|
23
|
+
|
|
24
|
+
module Google
|
|
25
|
+
module Cloud
|
|
26
|
+
module NetworkSecurity
|
|
27
|
+
module V1
|
|
28
|
+
AddressGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AddressGroup").msgclass
|
|
29
|
+
AddressGroup::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AddressGroup.Type").enummodule
|
|
30
|
+
AddressGroup::Purpose = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AddressGroup.Purpose").enummodule
|
|
31
|
+
ListAddressGroupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListAddressGroupsRequest").msgclass
|
|
32
|
+
ListAddressGroupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListAddressGroupsResponse").msgclass
|
|
33
|
+
GetAddressGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.GetAddressGroupRequest").msgclass
|
|
34
|
+
CreateAddressGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CreateAddressGroupRequest").msgclass
|
|
35
|
+
UpdateAddressGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.UpdateAddressGroupRequest").msgclass
|
|
36
|
+
DeleteAddressGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.DeleteAddressGroupRequest").msgclass
|
|
37
|
+
AddAddressGroupItemsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AddAddressGroupItemsRequest").msgclass
|
|
38
|
+
RemoveAddressGroupItemsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.RemoveAddressGroupItemsRequest").msgclass
|
|
39
|
+
CloneAddressGroupItemsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CloneAddressGroupItemsRequest").msgclass
|
|
40
|
+
ListAddressGroupReferencesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListAddressGroupReferencesRequest").msgclass
|
|
41
|
+
ListAddressGroupReferencesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListAddressGroupReferencesResponse").msgclass
|
|
42
|
+
ListAddressGroupReferencesResponse::AddressGroupReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListAddressGroupReferencesResponse.AddressGroupReference").msgclass
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# Source: google/cloud/networksecurity/v1/address_group.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/address_group_pb'
|
|
21
|
+
|
|
22
|
+
module Google
|
|
23
|
+
module Cloud
|
|
24
|
+
module NetworkSecurity
|
|
25
|
+
module V1
|
|
26
|
+
module AddressGroupService
|
|
27
|
+
# AddressGroup is a resource that manages a collection of IP or Domain Names,
|
|
28
|
+
# it can be used in Firewall Policy to represent allow or deny traffic from
|
|
29
|
+
# all the IP or Domain Names from the Address Group.
|
|
30
|
+
class Service
|
|
31
|
+
|
|
32
|
+
include ::GRPC::GenericService
|
|
33
|
+
|
|
34
|
+
self.marshal_class_method = :encode
|
|
35
|
+
self.unmarshal_class_method = :decode
|
|
36
|
+
self.service_name = 'google.cloud.networksecurity.v1.AddressGroupService'
|
|
37
|
+
|
|
38
|
+
# Lists address groups in a given project and location.
|
|
39
|
+
rpc :ListAddressGroups, ::Google::Cloud::NetworkSecurity::V1::ListAddressGroupsRequest, ::Google::Cloud::NetworkSecurity::V1::ListAddressGroupsResponse
|
|
40
|
+
# Gets details of a single address group.
|
|
41
|
+
rpc :GetAddressGroup, ::Google::Cloud::NetworkSecurity::V1::GetAddressGroupRequest, ::Google::Cloud::NetworkSecurity::V1::AddressGroup
|
|
42
|
+
# Creates a new address group in a given project and location.
|
|
43
|
+
rpc :CreateAddressGroup, ::Google::Cloud::NetworkSecurity::V1::CreateAddressGroupRequest, ::Google::Longrunning::Operation
|
|
44
|
+
# Updates the parameters of a single address group.
|
|
45
|
+
rpc :UpdateAddressGroup, ::Google::Cloud::NetworkSecurity::V1::UpdateAddressGroupRequest, ::Google::Longrunning::Operation
|
|
46
|
+
# Adds items to an address group.
|
|
47
|
+
rpc :AddAddressGroupItems, ::Google::Cloud::NetworkSecurity::V1::AddAddressGroupItemsRequest, ::Google::Longrunning::Operation
|
|
48
|
+
# Removes items from an address group.
|
|
49
|
+
rpc :RemoveAddressGroupItems, ::Google::Cloud::NetworkSecurity::V1::RemoveAddressGroupItemsRequest, ::Google::Longrunning::Operation
|
|
50
|
+
# Clones items from one address group to another.
|
|
51
|
+
rpc :CloneAddressGroupItems, ::Google::Cloud::NetworkSecurity::V1::CloneAddressGroupItemsRequest, ::Google::Longrunning::Operation
|
|
52
|
+
# Deletes a single address group.
|
|
53
|
+
rpc :DeleteAddressGroup, ::Google::Cloud::NetworkSecurity::V1::DeleteAddressGroupRequest, ::Google::Longrunning::Operation
|
|
54
|
+
# Lists references of an address group.
|
|
55
|
+
rpc :ListAddressGroupReferences, ::Google::Cloud::NetworkSecurity::V1::ListAddressGroupReferencesRequest, ::Google::Cloud::NetworkSecurity::V1::ListAddressGroupReferencesResponse
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
Stub = Service.rpc_stub_class
|
|
59
|
+
end
|
|
60
|
+
module OrganizationAddressGroupService
|
|
61
|
+
# Organization AddressGroup is created under organization. Requests against
|
|
62
|
+
# Organization AddressGroup will use project from request credential for
|
|
63
|
+
# activation/quota/visibility check.
|
|
64
|
+
class Service
|
|
65
|
+
|
|
66
|
+
include ::GRPC::GenericService
|
|
67
|
+
|
|
68
|
+
self.marshal_class_method = :encode
|
|
69
|
+
self.unmarshal_class_method = :decode
|
|
70
|
+
self.service_name = 'google.cloud.networksecurity.v1.OrganizationAddressGroupService'
|
|
71
|
+
|
|
72
|
+
# Lists address groups in a given project and location.
|
|
73
|
+
rpc :ListAddressGroups, ::Google::Cloud::NetworkSecurity::V1::ListAddressGroupsRequest, ::Google::Cloud::NetworkSecurity::V1::ListAddressGroupsResponse
|
|
74
|
+
# Gets details of a single address group.
|
|
75
|
+
rpc :GetAddressGroup, ::Google::Cloud::NetworkSecurity::V1::GetAddressGroupRequest, ::Google::Cloud::NetworkSecurity::V1::AddressGroup
|
|
76
|
+
# Creates a new address group in a given project and location.
|
|
77
|
+
rpc :CreateAddressGroup, ::Google::Cloud::NetworkSecurity::V1::CreateAddressGroupRequest, ::Google::Longrunning::Operation
|
|
78
|
+
# Updates parameters of an address group.
|
|
79
|
+
rpc :UpdateAddressGroup, ::Google::Cloud::NetworkSecurity::V1::UpdateAddressGroupRequest, ::Google::Longrunning::Operation
|
|
80
|
+
# Adds items to an address group.
|
|
81
|
+
rpc :AddAddressGroupItems, ::Google::Cloud::NetworkSecurity::V1::AddAddressGroupItemsRequest, ::Google::Longrunning::Operation
|
|
82
|
+
# Removes items from an address group.
|
|
83
|
+
rpc :RemoveAddressGroupItems, ::Google::Cloud::NetworkSecurity::V1::RemoveAddressGroupItemsRequest, ::Google::Longrunning::Operation
|
|
84
|
+
# Clones items from one address group to another.
|
|
85
|
+
rpc :CloneAddressGroupItems, ::Google::Cloud::NetworkSecurity::V1::CloneAddressGroupItemsRequest, ::Google::Longrunning::Operation
|
|
86
|
+
# Deletes an address group.
|
|
87
|
+
rpc :DeleteAddressGroup, ::Google::Cloud::NetworkSecurity::V1::DeleteAddressGroupRequest, ::Google::Longrunning::Operation
|
|
88
|
+
# Lists references of an address group.
|
|
89
|
+
rpc :ListAddressGroupReferences, ::Google::Cloud::NetworkSecurity::V1::ListAddressGroupReferencesRequest, ::Google::Cloud::NetworkSecurity::V1::ListAddressGroupReferencesResponse
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
Stub = Service.rpc_stub_class
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1/authorization_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/authorization_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\"\xb1\t\n\x13\x41uthorizationPolicy\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\x12U\n\x06labels\x18\x05 \x03(\x0b\x32@.google.cloud.networksecurity.v1.AuthorizationPolicy.LabelsEntryB\x03\xe0\x41\x01\x12P\n\x06\x61\x63tion\x18\x06 \x01(\x0e\x32;.google.cloud.networksecurity.v1.AuthorizationPolicy.ActionB\x03\xe0\x41\x02\x12M\n\x05rules\x18\x07 \x03(\x0b\x32\x39.google.cloud.networksecurity.v1.AuthorizationPolicy.RuleB\x03\xe0\x41\x01\x1a\x91\x04\n\x04Rule\x12V\n\x07sources\x18\x01 \x03(\x0b\x32@.google.cloud.networksecurity.v1.AuthorizationPolicy.Rule.SourceB\x03\xe0\x41\x01\x12`\n\x0c\x64\x65stinations\x18\x02 \x03(\x0b\x32\x45.google.cloud.networksecurity.v1.AuthorizationPolicy.Rule.DestinationB\x03\xe0\x41\x01\x1a\x39\n\x06Source\x12\x17\n\nprincipals\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x16\n\tip_blocks\x18\x02 \x03(\tB\x03\xe0\x41\x01\x1a\x93\x02\n\x0b\x44\x65stination\x12\x12\n\x05hosts\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x12\n\x05ports\x18\x02 \x03(\rB\x03\xe0\x41\x02\x12\x14\n\x07methods\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12u\n\x11http_header_match\x18\x05 \x01(\x0b\x32U.google.cloud.networksecurity.v1.AuthorizationPolicy.Rule.Destination.HttpHeaderMatchB\x03\xe0\x41\x01\x1aO\n\x0fHttpHeaderMatch\x12\x1a\n\x0bregex_match\x18\x02 \x01(\tB\x03\xe0\x41\x02H\x00\x12\x18\n\x0bheader_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x06\n\x04type\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"5\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02:\x8e\x01\xea\x41\x8a\x01\n2networksecurity.googleapis.com/AuthorizationPolicy\x12Tprojects/{project}/locations/{location}/authorizationPolicies/{authorization_policy}\"\x84\x01\n ListAuthorizationPoliciesRequest\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\"\x92\x01\n!ListAuthorizationPoliciesResponse\x12T\n\x16\x61uthorization_policies\x18\x01 \x03(\x0b\x32\x34.google.cloud.networksecurity.v1.AuthorizationPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"i\n\x1dGetAuthorizationPolicyRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2networksecurity.googleapis.com/AuthorizationPolicy\"\xed\x01\n CreateAuthorizationPolicyRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\x12\x32networksecurity.googleapis.com/AuthorizationPolicy\x12$\n\x17\x61uthorization_policy_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12W\n\x14\x61uthorization_policy\x18\x03 \x01(\x0b\x32\x34.google.cloud.networksecurity.v1.AuthorizationPolicyB\x03\xe0\x41\x02\"\xb1\x01\n UpdateAuthorizationPolicyRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12W\n\x14\x61uthorization_policy\x18\x02 \x01(\x0b\x32\x34.google.cloud.networksecurity.v1.AuthorizationPolicyB\x03\xe0\x41\x02\"l\n DeleteAuthorizationPolicyRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2networksecurity.googleapis.com/AuthorizationPolicyB\xf9\x01\n#com.google.cloud.networksecurity.v1B\x18\x41uthorizationPolicyProtoP\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
|
+
AuthorizationPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthorizationPolicy").msgclass
|
|
23
|
+
AuthorizationPolicy::Rule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthorizationPolicy.Rule").msgclass
|
|
24
|
+
AuthorizationPolicy::Rule::Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthorizationPolicy.Rule.Source").msgclass
|
|
25
|
+
AuthorizationPolicy::Rule::Destination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthorizationPolicy.Rule.Destination").msgclass
|
|
26
|
+
AuthorizationPolicy::Rule::Destination::HttpHeaderMatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthorizationPolicy.Rule.Destination.HttpHeaderMatch").msgclass
|
|
27
|
+
AuthorizationPolicy::Action = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthorizationPolicy.Action").enummodule
|
|
28
|
+
ListAuthorizationPoliciesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListAuthorizationPoliciesRequest").msgclass
|
|
29
|
+
ListAuthorizationPoliciesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListAuthorizationPoliciesResponse").msgclass
|
|
30
|
+
GetAuthorizationPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.GetAuthorizationPolicyRequest").msgclass
|
|
31
|
+
CreateAuthorizationPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CreateAuthorizationPolicyRequest").msgclass
|
|
32
|
+
UpdateAuthorizationPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest").msgclass
|
|
33
|
+
DeleteAuthorizationPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.DeleteAuthorizationPolicyRequest").msgclass
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1/authz_policy.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/api/field_info_pb'
|
|
9
|
+
require 'google/api/resource_pb'
|
|
10
|
+
require 'google/protobuf/field_mask_pb'
|
|
11
|
+
require 'google/protobuf/timestamp_pb'
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
descriptor_data = "\n2google/cloud/networksecurity/v1/authz_policy.proto\x12\x1fgoogle.cloud.networksecurity.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9e$\n\x0b\x41uthzPolicy\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x02\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\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12M\n\x06labels\x18\x05 \x03(\x0b\x32\x38.google.cloud.networksecurity.v1.AuthzPolicy.LabelsEntryB\x03\xe0\x41\x01\x12H\n\x06target\x18\x06 \x01(\x0b\x32\x33.google.cloud.networksecurity.v1.AuthzPolicy.TargetB\x03\xe0\x41\x02\x12O\n\nhttp_rules\x18\x07 \x03(\x0b\x32\x36.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRuleB\x03\xe0\x41\x01\x12R\n\rnetwork_rules\x18\x0c \x03(\x0b\x32\x36.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRuleB\x03\xe0\x41\x01\x12M\n\x06\x61\x63tion\x18\x08 \x01(\x0e\x32\x38.google.cloud.networksecurity.v1.AuthzPolicy.AuthzActionB\x03\xe0\x41\x02\x12Y\n\x0f\x63ustom_provider\x18\n \x01(\x0b\x32;.google.cloud.networksecurity.v1.AuthzPolicy.CustomProviderB\x03\xe0\x41\x01\x12Z\n\x0epolicy_profile\x18\x0b \x01(\x0e\x32:.google.cloud.networksecurity.v1.AuthzPolicy.PolicyProfileB\x06\xe0\x41\x01\xe0\x41\x05\x1a\x86\x01\n\x06Target\x12\x64\n\x15load_balancing_scheme\x18\x08 \x01(\x0e\x32@.google.cloud.networksecurity.v1.AuthzPolicy.LoadBalancingSchemeB\x03\xe0\x41\x01\x12\x16\n\tresources\x18\x01 \x03(\tB\x03\xe0\x41\x02\x1a\xa5\x17\n\tAuthzRule\x12N\n\x04\x66rom\x18\x01 \x01(\x0b\x32;.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.FromB\x03\xe0\x41\x01\x12J\n\x02to\x18\x02 \x01(\x0b\x32\x39.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.ToB\x03\xe0\x41\x01\x12\x11\n\x04when\x18\x03 \x01(\tB\x03\xe0\x41\x01\x1a|\n\x0bStringMatch\x12\x0f\n\x05\x65xact\x18\x01 \x01(\tH\x00\x12\x10\n\x06prefix\x18\x02 \x01(\tH\x00\x12\x10\n\x06suffix\x18\x03 \x01(\tH\x00\x12\x12\n\x08\x63ontains\x18\x04 \x01(\tH\x00\x12\x13\n\x0bignore_case\x18\x05 \x01(\x08\x42\x0f\n\rmatch_pattern\x1a\x33\n\x07IpBlock\x12\x13\n\x06prefix\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06length\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x1a\x8f\x02\n\x0fRequestResource\x12s\n\x10tag_value_id_set\x18\x01 \x01(\x0b\x32T.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource.TagValueIdSetB\x03\xe0\x41\x01\x12\x64\n\x13iam_service_account\x18\x02 \x01(\x0b\x32\x42.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatchB\x03\xe0\x41\x01\x1a!\n\rTagValueIdSet\x12\x10\n\x03ids\x18\x01 \x03(\x03\x42\x03\xe0\x41\x02\x1ax\n\x0bHeaderMatch\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12V\n\x05value\x18\x02 \x01(\x0b\x32\x42.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatchB\x03\xe0\x41\x01\x1a\xea\x02\n\tPrincipal\x12s\n\x12principal_selector\x18\x01 \x01(\x0e\x32R.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal.PrincipalSelectorB\x03\xe0\x41\x01\x12Z\n\tprincipal\x18\x02 \x01(\x0b\x32\x42.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatchB\x03\xe0\x41\x02\"\x8b\x01\n\x11PrincipalSelector\x12\"\n\x1ePRINCIPAL_SELECTOR_UNSPECIFIED\x10\x00\x12\x17\n\x13\x43LIENT_CERT_URI_SAN\x10\x01\x12\x1c\n\x18\x43LIENT_CERT_DNS_NAME_SAN\x10\x02\x12\x1b\n\x17\x43LIENT_CERT_COMMON_NAME\x10\x03\x1a\xf1\x03\n\x04\x46rom\x12_\n\x07sources\x18\x01 \x03(\x0b\x32I.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSourceB\x03\xe0\x41\x01\x12\x63\n\x0bnot_sources\x18\x02 \x03(\x0b\x32I.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSourceB\x03\xe0\x41\x01\x1a\xa2\x02\n\rRequestSource\x12Y\n\nprincipals\x18\x01 \x03(\x0b\x32@.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.PrincipalB\x03\xe0\x41\x01\x12V\n\tip_blocks\x18\x02 \x03(\x0b\x32>.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlockB\x03\xe0\x41\x01\x12^\n\tresources\x18\x03 \x03(\x0b\x32\x46.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResourceB\x03\xe0\x41\x01\x1a\xc8\n\n\x02To\x12\x63\n\noperations\x18\x01 \x03(\x0b\x32J.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperationB\x03\xe0\x41\x01\x12g\n\x0enot_operations\x18\x02 \x03(\x0b\x32J.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperationB\x03\xe0\x41\x01\x1a\xf3\x08\n\x10RequestOperation\x12m\n\nheader_set\x18\x01 \x01(\x0b\x32T.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSetB\x03\xe0\x41\x01\x12V\n\x05hosts\x18\x02 \x03(\x0b\x32\x42.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatchB\x03\xe0\x41\x01\x12V\n\x05paths\x18\x03 \x03(\x0b\x32\x42.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatchB\x03\xe0\x41\x01\x12\x14\n\x07methods\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12`\n\x03mcp\x18\x05 \x01(\x0b\x32N.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCPB\x03\xe0\x41\x01\x12U\n\x04snis\x18\x07 \x03(\x0b\x32\x42.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatchB\x03\xe0\x41\x01\x1a\x65\n\tHeaderSet\x12X\n\x07headers\x18\x01 \x03(\x0b\x32\x42.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatchB\x03\xe0\x41\x02\x1aw\n\tMCPMethod\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12W\n\x06params\x18\x02 \x03(\x0b\x32\x42.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatchB\x03\xe0\x41\x01\x1a\x83\x02\n\x03MCP\x12\x8f\x01\n\x1c\x62\x61se_protocol_methods_option\x18\x01 \x01(\x0e\x32\x64.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOptionB\x03\xe0\x41\x01\x12j\n\x07methods\x18\x02 \x03(\x0b\x32T.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCPMethodB\x03\xe0\x41\x01\"\x8a\x01\n\x19\x42\x61seProtocolMethodsOption\x12,\n(BASE_PROTOCOL_METHODS_OPTION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aSKIP_BASE_PROTOCOL_METHODS\x10\x01\x12\x1f\n\x1bMATCH_BASE_PROTOCOL_METHODS\x10\x02\x1a\x8e\x02\n\x0e\x43ustomProvider\x12\\\n\tcloud_iap\x18\x01 \x01(\x0b\x32\x44.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIapB\x03\xe0\x41\x01\x12h\n\x0f\x61uthz_extension\x18\x02 \x01(\x0b\x32J.google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtensionB\x03\xe0\x41\x01\x1a\n\n\x08\x43loudIap\x1a(\n\x0e\x41uthzExtension\x12\x16\n\tresources\x18\x01 \x03(\tB\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\"\x83\x01\n\x13LoadBalancingScheme\x12%\n!LOAD_BALANCING_SCHEME_UNSPECIFIED\x10\x00\x12\x14\n\x10INTERNAL_MANAGED\x10\x01\x12\x14\n\x10\x45XTERNAL_MANAGED\x10\x02\x12\x19\n\x15INTERNAL_SELF_MANAGED\x10\x03\"L\n\x0b\x41uthzAction\x12\x1c\n\x18\x41UTHZ_ACTION_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\x12\n\n\x06\x43USTOM\x10\x03\"U\n\rPolicyProfile\x12\x1e\n\x1aPOLICY_PROFILE_UNSPECIFIED\x10\x00\x12\x11\n\rREQUEST_AUTHZ\x10\x01\x12\x11\n\rCONTENT_AUTHZ\x10\x02:\x92\x01\xea\x41\x8e\x01\n*networksecurity.googleapis.com/AuthzPolicy\x12\x44projects/{project}/locations/{location}/authzPolicies/{authz_policy}*\rauthzPolicies2\x0b\x61uthzPolicy\"\xe6\x01\n\x18\x43reateAuthzPolicyRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*networksecurity.googleapis.com/AuthzPolicy\x12\x1c\n\x0f\x61uthz_policy_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12G\n\x0c\x61uthz_policy\x18\x03 \x01(\x0b\x32,.google.cloud.networksecurity.v1.AuthzPolicyB\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\"\xbb\x01\n\x18ListAuthzPoliciesRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*networksecurity.googleapis.com/AuthzPolicy\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\"\x8f\x01\n\x19ListAuthzPoliciesResponse\x12\x44\n\x0e\x61uthz_policies\x18\x01 \x03(\x0b\x32,.google.cloud.networksecurity.v1.AuthzPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"Y\n\x15GetAuthzPolicyRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*networksecurity.googleapis.com/AuthzPolicy\"\xba\x01\n\x18UpdateAuthzPolicyRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12G\n\x0c\x61uthz_policy\x18\x02 \x01(\x0b\x32,.google.cloud.networksecurity.v1.AuthzPolicyB\x03\xe0\x41\x02\x12\x1f\n\nrequest_id\x18\x03 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\"}\n\x18\x44\x65leteAuthzPolicyRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*networksecurity.googleapis.com/AuthzPolicy\x12\x1f\n\nrequest_id\x18\x02 \x01(\tB\x0b\xe0\x41\x01\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x42\xf1\x01\n#com.google.cloud.networksecurity.v1B\x10\x41uthzPolicyProtoP\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
|
+
AuthzPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy").msgclass
|
|
24
|
+
AuthzPolicy::Target = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.Target").msgclass
|
|
25
|
+
AuthzPolicy::AuthzRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule").msgclass
|
|
26
|
+
AuthzPolicy::AuthzRule::StringMatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch").msgclass
|
|
27
|
+
AuthzPolicy::AuthzRule::IpBlock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.IpBlock").msgclass
|
|
28
|
+
AuthzPolicy::AuthzRule::RequestResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource").msgclass
|
|
29
|
+
AuthzPolicy::AuthzRule::RequestResource::TagValueIdSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.RequestResource.TagValueIdSet").msgclass
|
|
30
|
+
AuthzPolicy::AuthzRule::HeaderMatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.HeaderMatch").msgclass
|
|
31
|
+
AuthzPolicy::AuthzRule::Principal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal").msgclass
|
|
32
|
+
AuthzPolicy::AuthzRule::Principal::PrincipalSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.Principal.PrincipalSelector").enummodule
|
|
33
|
+
AuthzPolicy::AuthzRule::From = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From").msgclass
|
|
34
|
+
AuthzPolicy::AuthzRule::From::RequestSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource").msgclass
|
|
35
|
+
AuthzPolicy::AuthzRule::To = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To").msgclass
|
|
36
|
+
AuthzPolicy::AuthzRule::To::RequestOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation").msgclass
|
|
37
|
+
AuthzPolicy::AuthzRule::To::RequestOperation::HeaderSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet").msgclass
|
|
38
|
+
AuthzPolicy::AuthzRule::To::RequestOperation::MCPMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCPMethod").msgclass
|
|
39
|
+
AuthzPolicy::AuthzRule::To::RequestOperation::MCP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCP").msgclass
|
|
40
|
+
AuthzPolicy::AuthzRule::To::RequestOperation::BaseProtocolMethodsOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption").enummodule
|
|
41
|
+
AuthzPolicy::CustomProvider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider").msgclass
|
|
42
|
+
AuthzPolicy::CustomProvider::CloudIap = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.CloudIap").msgclass
|
|
43
|
+
AuthzPolicy::CustomProvider::AuthzExtension = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.CustomProvider.AuthzExtension").msgclass
|
|
44
|
+
AuthzPolicy::LoadBalancingScheme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.LoadBalancingScheme").enummodule
|
|
45
|
+
AuthzPolicy::AuthzAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.AuthzAction").enummodule
|
|
46
|
+
AuthzPolicy::PolicyProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.AuthzPolicy.PolicyProfile").enummodule
|
|
47
|
+
CreateAuthzPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CreateAuthzPolicyRequest").msgclass
|
|
48
|
+
ListAuthzPoliciesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListAuthzPoliciesRequest").msgclass
|
|
49
|
+
ListAuthzPoliciesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListAuthzPoliciesResponse").msgclass
|
|
50
|
+
GetAuthzPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.GetAuthzPolicyRequest").msgclass
|
|
51
|
+
UpdateAuthzPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.UpdateAuthzPolicyRequest").msgclass
|
|
52
|
+
DeleteAuthzPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.DeleteAuthzPolicyRequest").msgclass
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1/backend_authentication_config.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 = "\nCgoogle/cloud/networksecurity/v1/backend_authentication_config.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\"\xd2\x06\n\x1b\x42\x61\x63kendAuthenticationConfig\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\x12X\n\x06labels\x18\x05 \x03(\x0b\x32H.google.cloud.networksecurity.v1.BackendAuthenticationConfig.LabelsEntry\x12Q\n\x12\x63lient_certificate\x18\x06 \x01(\tB5\xe0\x41\x01\xfa\x41/\n-certificatemanager.googleapis.com/Certificate\x12K\n\x0ctrust_config\x18\x07 \x01(\tB5\xe0\x41\x01\xfa\x41/\n-certificatemanager.googleapis.com/TrustConfig\x12\x65\n\x10well_known_roots\x18\x08 \x01(\x0e\x32K.google.cloud.networksecurity.v1.BackendAuthenticationConfig.WellKnownRoots\x12\x11\n\x04\x65tag\x18\t \x01(\tB\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\"N\n\x0eWellKnownRoots\x12 \n\x1cWELL_KNOWN_ROOTS_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x10\n\x0cPUBLIC_ROOTS\x10\x02:\xa6\x01\xea\x41\xa2\x01\n:networksecurity.googleapis.com/BackendAuthenticationConfig\x12\x64projects/{project}/locations/{location}/backendAuthenticationConfigs/{backend_authentication_config}\"\x8b\x01\n\'ListBackendAuthenticationConfigsRequest\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\"\xbe\x01\n(ListBackendAuthenticationConfigsResponse\x12\x64\n\x1e\x62\x61\x63kend_authentication_configs\x18\x01 \x03(\x0b\x32<.google.cloud.networksecurity.v1.BackendAuthenticationConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"y\n%GetBackendAuthenticationConfigRequest\x12P\n\x04name\x18\x01 \x01(\tBB\xe0\x41\x02\xfa\x41<\n:networksecurity.googleapis.com/BackendAuthenticationConfig\"\x97\x02\n(CreateBackendAuthenticationConfigRequest\x12R\n\x06parent\x18\x01 \x01(\tBB\xe0\x41\x02\xfa\x41<\x12:networksecurity.googleapis.com/BackendAuthenticationConfig\x12-\n backend_authentication_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12h\n\x1d\x62\x61\x63kend_authentication_config\x18\x03 \x01(\x0b\x32<.google.cloud.networksecurity.v1.BackendAuthenticationConfigB\x03\xe0\x41\x02\"\xca\x01\n(UpdateBackendAuthenticationConfigRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12h\n\x1d\x62\x61\x63kend_authentication_config\x18\x02 \x01(\x0b\x32<.google.cloud.networksecurity.v1.BackendAuthenticationConfigB\x03\xe0\x41\x02\"\x8f\x01\n(DeleteBackendAuthenticationConfigRequest\x12P\n\x04name\x18\x01 \x01(\tBB\xe0\x41\x02\xfa\x41<\n:networksecurity.googleapis.com/BackendAuthenticationConfig\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\xee\x03\n#com.google.cloud.networksecurity.v1B BackendAuthenticationConfigProtoP\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\x41s\n-certificatemanager.googleapis.com/Certificate\x12\x42projects/{project}/locations/{location}/certificates/{certificate}\xea\x41t\n-certificatemanager.googleapis.com/TrustConfig\x12\x43projects/{project}/locations/{location}/trustConfigs/{trust_config}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
|
+
BackendAuthenticationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.BackendAuthenticationConfig").msgclass
|
|
23
|
+
BackendAuthenticationConfig::WellKnownRoots = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.BackendAuthenticationConfig.WellKnownRoots").enummodule
|
|
24
|
+
ListBackendAuthenticationConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListBackendAuthenticationConfigsRequest").msgclass
|
|
25
|
+
ListBackendAuthenticationConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListBackendAuthenticationConfigsResponse").msgclass
|
|
26
|
+
GetBackendAuthenticationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.GetBackendAuthenticationConfigRequest").msgclass
|
|
27
|
+
CreateBackendAuthenticationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CreateBackendAuthenticationConfigRequest").msgclass
|
|
28
|
+
UpdateBackendAuthenticationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.UpdateBackendAuthenticationConfigRequest").msgclass
|
|
29
|
+
DeleteBackendAuthenticationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.DeleteBackendAuthenticationConfigRequest").msgclass
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1/client_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/client_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\"\xec\x04\n\x0f\x43lientTlsPolicy\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\x12Q\n\x06labels\x18\x05 \x03(\x0b\x32<.google.cloud.networksecurity.v1.ClientTlsPolicy.LabelsEntryB\x03\xe0\x41\x01\x12\x10\n\x03sni\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12U\n\x12\x63lient_certificate\x18\x07 \x01(\x0b\x32\x34.google.cloud.networksecurity.v1.CertificateProviderB\x03\xe0\x41\x01\x12P\n\x14server_validation_ca\x18\x08 \x03(\x0b\x32-.google.cloud.networksecurity.v1.ValidationCAB\x03\xe0\x41\x01\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/ClientTlsPolicy\x12Mprojects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}\"\x80\x01\n\x1cListClientTlsPoliciesRequest\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\"\x87\x01\n\x1dListClientTlsPoliciesResponse\x12M\n\x13\x63lient_tls_policies\x18\x01 \x03(\x0b\x32\x30.google.cloud.networksecurity.v1.ClientTlsPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x19GetClientTlsPolicyRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.networksecurity.googleapis.com/ClientTlsPolicy\"\xdb\x01\n\x1c\x43reateClientTlsPolicyRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.networksecurity.googleapis.com/ClientTlsPolicy\x12!\n\x14\x63lient_tls_policy_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12P\n\x11\x63lient_tls_policy\x18\x03 \x01(\x0b\x32\x30.google.cloud.networksecurity.v1.ClientTlsPolicyB\x03\xe0\x41\x02\"\xa6\x01\n\x1cUpdateClientTlsPolicyRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12P\n\x11\x63lient_tls_policy\x18\x02 \x01(\x0b\x32\x30.google.cloud.networksecurity.v1.ClientTlsPolicyB\x03\xe0\x41\x02\"d\n\x1c\x44\x65leteClientTlsPolicyRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.networksecurity.googleapis.com/ClientTlsPolicyB\xf5\x01\n#com.google.cloud.networksecurity.v1B\x14\x43lientTlsPolicyProtoP\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
|
+
ClientTlsPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ClientTlsPolicy").msgclass
|
|
24
|
+
ListClientTlsPoliciesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListClientTlsPoliciesRequest").msgclass
|
|
25
|
+
ListClientTlsPoliciesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.ListClientTlsPoliciesResponse").msgclass
|
|
26
|
+
GetClientTlsPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.GetClientTlsPolicyRequest").msgclass
|
|
27
|
+
CreateClientTlsPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.CreateClientTlsPolicyRequest").msgclass
|
|
28
|
+
UpdateClientTlsPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.UpdateClientTlsPolicyRequest").msgclass
|
|
29
|
+
DeleteClientTlsPolicyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.DeleteClientTlsPolicyRequest").msgclass
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/cloud/networksecurity/v1/common.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/api/field_behavior_pb'
|
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n,google/cloud/networksecurity/v1/common.proto\x12\x1fgoogle.cloud.networksecurity.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x42\xec\x01\n#com.google.cloud.networksecurity.v1B\x0b\x43ommonProtoP\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"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Google
|
|
17
|
+
module Cloud
|
|
18
|
+
module NetworkSecurity
|
|
19
|
+
module V1
|
|
20
|
+
OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.networksecurity.v1.OperationMetadata").msgclass
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|