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,66 @@
|
|
|
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
|
+
# UrlFilteringProfile defines filters based on URL.
|
|
25
|
+
# @!attribute [rw] url_filters
|
|
26
|
+
# @return [::Array<::Google::Cloud::NetworkSecurity::V1::UrlFilter>]
|
|
27
|
+
# Optional. The list of filtering configs in which each config defines an
|
|
28
|
+
# action to take for some URL match.
|
|
29
|
+
class UrlFilteringProfile
|
|
30
|
+
include ::Google::Protobuf::MessageExts
|
|
31
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# A URL filter defines an action to take for some URL match.
|
|
35
|
+
# @!attribute [rw] filtering_action
|
|
36
|
+
# @return [::Google::Cloud::NetworkSecurity::V1::UrlFilter::UrlFilteringAction]
|
|
37
|
+
# Required. The action taken when this filter is applied.
|
|
38
|
+
# @!attribute [rw] urls
|
|
39
|
+
# @return [::Array<::String>]
|
|
40
|
+
# Required. The list of strings that a URL must match with for this filter to
|
|
41
|
+
# be applied.
|
|
42
|
+
# @!attribute [rw] priority
|
|
43
|
+
# @return [::Integer]
|
|
44
|
+
# Required. The priority of this filter within the URL Filtering Profile.
|
|
45
|
+
# Lower integers indicate higher priorities. The priority of a filter must be
|
|
46
|
+
# unique within a URL Filtering Profile.
|
|
47
|
+
class UrlFilter
|
|
48
|
+
include ::Google::Protobuf::MessageExts
|
|
49
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
50
|
+
|
|
51
|
+
# Action to be taken when a URL matches a filter.
|
|
52
|
+
module UrlFilteringAction
|
|
53
|
+
# Filtering action not specified.
|
|
54
|
+
URL_FILTERING_ACTION_UNSPECIFIED = 0
|
|
55
|
+
|
|
56
|
+
# The connection matching this filter will be allowed to transmit.
|
|
57
|
+
ALLOW = 1
|
|
58
|
+
|
|
59
|
+
# The connection matching this filter will be dropped.
|
|
60
|
+
DENY = 2
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -0,0 +1,251 @@
|
|
|
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
|
+
# ServerTlsPolicy is a resource that specifies how a server should authenticate
|
|
25
|
+
# incoming requests. This resource itself does not affect configuration unless
|
|
26
|
+
# it is attached to a target HTTPS proxy or endpoint config selector resource.
|
|
27
|
+
#
|
|
28
|
+
# ServerTlsPolicy in the form accepted by Application Load Balancers can
|
|
29
|
+
# be attached only to TargetHttpsProxy with an `EXTERNAL`, `EXTERNAL_MANAGED`
|
|
30
|
+
# or `INTERNAL_MANAGED` load balancing scheme. Traffic Director compatible
|
|
31
|
+
# ServerTlsPolicies can be attached to EndpointPolicy and TargetHttpsProxy with
|
|
32
|
+
# Traffic Director `INTERNAL_SELF_MANAGED` load balancing scheme.
|
|
33
|
+
# @!attribute [rw] name
|
|
34
|
+
# @return [::String]
|
|
35
|
+
# Required. Name of the ServerTlsPolicy resource. It matches the pattern
|
|
36
|
+
# `projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}`
|
|
37
|
+
# @!attribute [rw] description
|
|
38
|
+
# @return [::String]
|
|
39
|
+
# Free-text description of the resource.
|
|
40
|
+
# @!attribute [r] create_time
|
|
41
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
42
|
+
# Output only. The timestamp when the resource was created.
|
|
43
|
+
# @!attribute [r] update_time
|
|
44
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
45
|
+
# Output only. The timestamp when the resource was updated.
|
|
46
|
+
# @!attribute [rw] labels
|
|
47
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
48
|
+
# Set of label tags associated with the resource.
|
|
49
|
+
# @!attribute [rw] allow_open
|
|
50
|
+
# @return [::Boolean]
|
|
51
|
+
# This field applies only for Traffic Director policies. It is must be set to
|
|
52
|
+
# false for Application Load Balancer policies.
|
|
53
|
+
#
|
|
54
|
+
# Determines if server allows plaintext connections. If set to true, server
|
|
55
|
+
# allows plain text connections. By default, it is set to false. This setting
|
|
56
|
+
# is not exclusive of other encryption modes. For example, if `allow_open`
|
|
57
|
+
# and `mtls_policy` are set, server allows both plain text and mTLS
|
|
58
|
+
# connections. See documentation of other encryption modes to confirm
|
|
59
|
+
# compatibility.
|
|
60
|
+
#
|
|
61
|
+
# Consider using it if you wish to upgrade in place your deployment to TLS
|
|
62
|
+
# while having mixed TLS and non-TLS traffic reaching port :80.
|
|
63
|
+
# @!attribute [rw] server_certificate
|
|
64
|
+
# @return [::Google::Cloud::NetworkSecurity::V1::CertificateProvider]
|
|
65
|
+
# Optional if policy is to be used with Traffic Director. For Application
|
|
66
|
+
# Load Balancers must be empty.
|
|
67
|
+
#
|
|
68
|
+
# Defines a mechanism to provision server identity (public and private keys).
|
|
69
|
+
# Cannot be combined with `allow_open` as a permissive mode that allows both
|
|
70
|
+
# plain text and TLS is not supported.
|
|
71
|
+
# @!attribute [rw] mtls_policy
|
|
72
|
+
# @return [::Google::Cloud::NetworkSecurity::V1::ServerTlsPolicy::MTLSPolicy]
|
|
73
|
+
# This field is required if the policy is used with Application Load
|
|
74
|
+
# Balancers. This field can be empty for Traffic Director.
|
|
75
|
+
#
|
|
76
|
+
# Defines a mechanism to provision peer validation certificates for peer to
|
|
77
|
+
# peer authentication (Mutual TLS - mTLS). If not specified, client
|
|
78
|
+
# certificate will not be requested. The connection is treated as TLS and not
|
|
79
|
+
# mTLS. If `allow_open` and `mtls_policy` are set, server allows both plain
|
|
80
|
+
# text and mTLS connections.
|
|
81
|
+
class ServerTlsPolicy
|
|
82
|
+
include ::Google::Protobuf::MessageExts
|
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
84
|
+
|
|
85
|
+
# Specification of the MTLSPolicy.
|
|
86
|
+
# @!attribute [rw] client_validation_mode
|
|
87
|
+
# @return [::Google::Cloud::NetworkSecurity::V1::ServerTlsPolicy::MTLSPolicy::ClientValidationMode]
|
|
88
|
+
# When the client presents an invalid certificate or no certificate to the
|
|
89
|
+
# load balancer, the `client_validation_mode` specifies how the client
|
|
90
|
+
# connection is handled.
|
|
91
|
+
#
|
|
92
|
+
# Required if the policy is to be used with the Application Load
|
|
93
|
+
# Balancers. For Traffic Director it must be empty.
|
|
94
|
+
# @!attribute [rw] client_validation_ca
|
|
95
|
+
# @return [::Array<::Google::Cloud::NetworkSecurity::V1::ValidationCA>]
|
|
96
|
+
# Required if the policy is to be used with Traffic Director. For
|
|
97
|
+
# Application Load Balancers it must be empty.
|
|
98
|
+
#
|
|
99
|
+
# Defines the mechanism to obtain the Certificate Authority certificate to
|
|
100
|
+
# validate the client certificate.
|
|
101
|
+
# @!attribute [rw] client_validation_trust_config
|
|
102
|
+
# @return [::String]
|
|
103
|
+
# Reference to the TrustConfig from certificatemanager.googleapis.com
|
|
104
|
+
# namespace.
|
|
105
|
+
#
|
|
106
|
+
# If specified, the chain validation will be performed against certificates
|
|
107
|
+
# configured in the given TrustConfig.
|
|
108
|
+
#
|
|
109
|
+
# Allowed only if the policy is to be used with Application Load
|
|
110
|
+
# Balancers.
|
|
111
|
+
class MTLSPolicy
|
|
112
|
+
include ::Google::Protobuf::MessageExts
|
|
113
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
114
|
+
|
|
115
|
+
# Mutual TLS certificate validation mode.
|
|
116
|
+
module ClientValidationMode
|
|
117
|
+
# Not allowed.
|
|
118
|
+
CLIENT_VALIDATION_MODE_UNSPECIFIED = 0
|
|
119
|
+
|
|
120
|
+
# Allow connection even if certificate chain validation
|
|
121
|
+
# of the client certificate failed or no client certificate was
|
|
122
|
+
# presented. The proof of possession of the private key is always checked
|
|
123
|
+
# if client certificate was presented. This mode requires the backend to
|
|
124
|
+
# implement processing of data extracted from a client certificate to
|
|
125
|
+
# authenticate the peer, or to reject connections if the client
|
|
126
|
+
# certificate fingerprint is missing.
|
|
127
|
+
ALLOW_INVALID_OR_MISSING_CLIENT_CERT = 1
|
|
128
|
+
|
|
129
|
+
# Require a client certificate and allow connection to the backend only
|
|
130
|
+
# if validation of the client certificate passed.
|
|
131
|
+
#
|
|
132
|
+
# If set, requires a reference to non-empty TrustConfig specified in
|
|
133
|
+
# `client_validation_trust_config`.
|
|
134
|
+
REJECT_INVALID = 2
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# @!attribute [rw] key
|
|
139
|
+
# @return [::String]
|
|
140
|
+
# @!attribute [rw] value
|
|
141
|
+
# @return [::String]
|
|
142
|
+
class LabelsEntry
|
|
143
|
+
include ::Google::Protobuf::MessageExts
|
|
144
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# Request used by the ListServerTlsPolicies method.
|
|
149
|
+
# @!attribute [rw] parent
|
|
150
|
+
# @return [::String]
|
|
151
|
+
# Required. The project and location from which the ServerTlsPolicies should
|
|
152
|
+
# be listed, specified in the format `projects/*/locations/{location}`.
|
|
153
|
+
# @!attribute [rw] page_size
|
|
154
|
+
# @return [::Integer]
|
|
155
|
+
# Maximum number of ServerTlsPolicies to return per call.
|
|
156
|
+
# @!attribute [rw] page_token
|
|
157
|
+
# @return [::String]
|
|
158
|
+
# The value returned by the last `ListServerTlsPoliciesResponse`
|
|
159
|
+
# Indicates that this is a continuation of a prior
|
|
160
|
+
# `ListServerTlsPolicies` call, and that the system
|
|
161
|
+
# should return the next page of data.
|
|
162
|
+
# @!attribute [rw] return_partial_success
|
|
163
|
+
# @return [::Boolean]
|
|
164
|
+
# Optional. Setting this field to `true` will opt the request into returning
|
|
165
|
+
# the resources that are reachable, and into including the names of those
|
|
166
|
+
# that were unreachable in the [ListServerTlsPoliciesResponse.unreachable]
|
|
167
|
+
# field. This can only be `true` when reading across collections e.g. when
|
|
168
|
+
# `parent` is set to `"projects/example/locations/-"`.
|
|
169
|
+
class ListServerTlsPoliciesRequest
|
|
170
|
+
include ::Google::Protobuf::MessageExts
|
|
171
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# Response returned by the ListServerTlsPolicies method.
|
|
175
|
+
# @!attribute [rw] server_tls_policies
|
|
176
|
+
# @return [::Array<::Google::Cloud::NetworkSecurity::V1::ServerTlsPolicy>]
|
|
177
|
+
# List of ServerTlsPolicy resources.
|
|
178
|
+
# @!attribute [rw] next_page_token
|
|
179
|
+
# @return [::String]
|
|
180
|
+
# If there might be more results than those appearing in this response, then
|
|
181
|
+
# `next_page_token` is included. To get the next set of results, call this
|
|
182
|
+
# method again using the value of `next_page_token` as `page_token`.
|
|
183
|
+
# @!attribute [rw] unreachable
|
|
184
|
+
# @return [::Array<::String>]
|
|
185
|
+
# Unreachable resources. Populated when the request opts into
|
|
186
|
+
# `return_partial_success` and reading across collections e.g. when
|
|
187
|
+
# attempting to list all resources across all supported locations.
|
|
188
|
+
class ListServerTlsPoliciesResponse
|
|
189
|
+
include ::Google::Protobuf::MessageExts
|
|
190
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
# Request used by the GetServerTlsPolicy method.
|
|
194
|
+
# @!attribute [rw] name
|
|
195
|
+
# @return [::String]
|
|
196
|
+
# Required. A name of the ServerTlsPolicy to get. Must be in the format
|
|
197
|
+
# `projects/*/locations/{location}/serverTlsPolicies/*`.
|
|
198
|
+
class GetServerTlsPolicyRequest
|
|
199
|
+
include ::Google::Protobuf::MessageExts
|
|
200
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
# Request used by the CreateServerTlsPolicy method.
|
|
204
|
+
# @!attribute [rw] parent
|
|
205
|
+
# @return [::String]
|
|
206
|
+
# Required. The parent resource of the ServerTlsPolicy. Must be in
|
|
207
|
+
# the format `projects/*/locations/{location}`.
|
|
208
|
+
# @!attribute [rw] server_tls_policy_id
|
|
209
|
+
# @return [::String]
|
|
210
|
+
# Required. Short name of the ServerTlsPolicy resource to be created. This
|
|
211
|
+
# value should be 1-63 characters long, containing only letters, numbers,
|
|
212
|
+
# hyphens, and underscores, and should not start with a number. E.g.
|
|
213
|
+
# "server_mtls_policy".
|
|
214
|
+
# @!attribute [rw] server_tls_policy
|
|
215
|
+
# @return [::Google::Cloud::NetworkSecurity::V1::ServerTlsPolicy]
|
|
216
|
+
# Required. ServerTlsPolicy resource to be created.
|
|
217
|
+
class CreateServerTlsPolicyRequest
|
|
218
|
+
include ::Google::Protobuf::MessageExts
|
|
219
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
# Request used by UpdateServerTlsPolicy method.
|
|
223
|
+
# @!attribute [rw] update_mask
|
|
224
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
225
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
226
|
+
# ServerTlsPolicy resource by the update. The fields
|
|
227
|
+
# specified in the update_mask are relative to the resource, not
|
|
228
|
+
# the full request. A field will be overwritten if it is in the
|
|
229
|
+
# mask. If the user does not provide a mask then all fields will be
|
|
230
|
+
# overwritten.
|
|
231
|
+
# @!attribute [rw] server_tls_policy
|
|
232
|
+
# @return [::Google::Cloud::NetworkSecurity::V1::ServerTlsPolicy]
|
|
233
|
+
# Required. Updated ServerTlsPolicy resource.
|
|
234
|
+
class UpdateServerTlsPolicyRequest
|
|
235
|
+
include ::Google::Protobuf::MessageExts
|
|
236
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# Request used by the DeleteServerTlsPolicy method.
|
|
240
|
+
# @!attribute [rw] name
|
|
241
|
+
# @return [::String]
|
|
242
|
+
# Required. A name of the ServerTlsPolicy to delete. Must be in
|
|
243
|
+
# the format `projects/*/locations/{location}/serverTlsPolicies/*`.
|
|
244
|
+
class DeleteServerTlsPolicyRequest
|
|
245
|
+
include ::Google::Protobuf::MessageExts
|
|
246
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
end
|
|
250
|
+
end
|
|
251
|
+
end
|