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.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/network_security/v1/address_group_service/client.rb +1457 -0
  6. data/lib/google/cloud/network_security/v1/address_group_service/credentials.rb +47 -0
  7. data/lib/google/cloud/network_security/v1/address_group_service/operations.rb +843 -0
  8. data/lib/google/cloud/network_security/v1/address_group_service/paths.rb +110 -0
  9. data/lib/google/cloud/network_security/v1/address_group_service.rb +52 -0
  10. data/lib/google/cloud/network_security/v1/dns_threat_detector_service/client.rb +900 -0
  11. data/lib/google/cloud/network_security/v1/dns_threat_detector_service/credentials.rb +47 -0
  12. data/lib/google/cloud/network_security/v1/dns_threat_detector_service/paths.rb +86 -0
  13. data/lib/google/cloud/network_security/v1/dns_threat_detector_service.rb +49 -0
  14. data/lib/google/cloud/network_security/v1/firewall_activation/client.rb +2098 -0
  15. data/lib/google/cloud/network_security/v1/firewall_activation/credentials.rb +47 -0
  16. data/lib/google/cloud/network_security/v1/firewall_activation/operations.rb +843 -0
  17. data/lib/google/cloud/network_security/v1/firewall_activation/paths.rb +165 -0
  18. data/lib/google/cloud/network_security/v1/firewall_activation.rb +50 -0
  19. data/lib/google/cloud/network_security/v1/intercept/client.rb +2599 -0
  20. data/lib/google/cloud/network_security/v1/intercept/credentials.rb +47 -0
  21. data/lib/google/cloud/network_security/v1/intercept/operations.rb +843 -0
  22. data/lib/google/cloud/network_security/v1/intercept/paths.rb +160 -0
  23. data/lib/google/cloud/network_security/v1/intercept.rb +51 -0
  24. data/lib/google/cloud/network_security/v1/mirroring/client.rb +2598 -0
  25. data/lib/google/cloud/network_security/v1/mirroring/credentials.rb +47 -0
  26. data/lib/google/cloud/network_security/v1/mirroring/operations.rb +843 -0
  27. data/lib/google/cloud/network_security/v1/mirroring/paths.rb +160 -0
  28. data/lib/google/cloud/network_security/v1/mirroring.rb +50 -0
  29. data/lib/google/cloud/network_security/v1/network_security/client.rb +5161 -0
  30. data/lib/google/cloud/network_security/v1/network_security/credentials.rb +47 -0
  31. data/lib/google/cloud/network_security/v1/network_security/operations.rb +843 -0
  32. data/lib/google/cloud/network_security/v1/network_security/paths.rb +280 -0
  33. data/lib/google/cloud/network_security/v1/network_security.rb +52 -0
  34. data/lib/google/cloud/network_security/v1/organization_address_group_service/client.rb +1457 -0
  35. data/lib/google/cloud/network_security/v1/organization_address_group_service/credentials.rb +47 -0
  36. data/lib/google/cloud/network_security/v1/organization_address_group_service/operations.rb +843 -0
  37. data/lib/google/cloud/network_security/v1/organization_address_group_service/paths.rb +110 -0
  38. data/lib/google/cloud/network_security/v1/organization_address_group_service.rb +52 -0
  39. data/lib/google/cloud/network_security/v1/organization_security_profile_group_service/client.rb +1471 -0
  40. data/lib/google/cloud/network_security/v1/organization_security_profile_group_service/credentials.rb +47 -0
  41. data/lib/google/cloud/network_security/v1/organization_security_profile_group_service/operations.rb +843 -0
  42. data/lib/google/cloud/network_security/v1/organization_security_profile_group_service/paths.rb +191 -0
  43. data/lib/google/cloud/network_security/v1/organization_security_profile_group_service.rb +50 -0
  44. data/lib/google/cloud/network_security/v1/security_profile_group_service/client.rb +1472 -0
  45. data/lib/google/cloud/network_security/v1/security_profile_group_service/credentials.rb +47 -0
  46. data/lib/google/cloud/network_security/v1/security_profile_group_service/operations.rb +843 -0
  47. data/lib/google/cloud/network_security/v1/security_profile_group_service/paths.rb +191 -0
  48. data/lib/google/cloud/network_security/v1/security_profile_group_service.rb +51 -0
  49. data/lib/google/cloud/network_security/v1/sse_realm_service/client.rb +1316 -0
  50. data/lib/google/cloud/network_security/v1/sse_realm_service/credentials.rb +47 -0
  51. data/lib/google/cloud/network_security/v1/sse_realm_service/operations.rb +843 -0
  52. data/lib/google/cloud/network_security/v1/sse_realm_service/paths.rb +88 -0
  53. data/lib/google/cloud/network_security/v1/sse_realm_service.rb +50 -0
  54. data/lib/google/cloud/network_security/v1/version.rb +7 -2
  55. data/lib/google/cloud/network_security/v1.rb +49 -0
  56. data/lib/google/cloud/networksecurity/v1/address_group_pb.rb +46 -0
  57. data/lib/google/cloud/networksecurity/v1/address_group_services_pb.rb +97 -0
  58. data/lib/google/cloud/networksecurity/v1/authorization_policy_pb.rb +37 -0
  59. data/lib/google/cloud/networksecurity/v1/authz_policy_pb.rb +56 -0
  60. data/lib/google/cloud/networksecurity/v1/backend_authentication_config_pb.rb +33 -0
  61. data/lib/google/cloud/networksecurity/v1/client_tls_policy_pb.rb +33 -0
  62. data/lib/google/cloud/networksecurity/v1/common_pb.rb +24 -0
  63. data/lib/google/cloud/networksecurity/v1/dns_threat_detector_pb.rb +36 -0
  64. data/lib/google/cloud/networksecurity/v1/dns_threat_detector_services_pb.rb +53 -0
  65. data/lib/google/cloud/networksecurity/v1/firewall_activation_pb.rb +48 -0
  66. data/lib/google/cloud/networksecurity/v1/firewall_activation_services_pb.rb +73 -0
  67. data/lib/google/cloud/networksecurity/v1/gateway_security_policy_pb.rb +32 -0
  68. data/lib/google/cloud/networksecurity/v1/gateway_security_policy_rule_pb.rb +33 -0
  69. data/lib/google/cloud/networksecurity/v1/intercept_pb.rb +71 -0
  70. data/lib/google/cloud/networksecurity/v1/intercept_services_pb.rb +104 -0
  71. data/lib/google/cloud/networksecurity/v1/mirroring_pb.rb +72 -0
  72. data/lib/google/cloud/networksecurity/v1/mirroring_services_pb.rb +103 -0
  73. data/lib/google/cloud/networksecurity/v1/network_security_pb.rb +35 -0
  74. data/lib/google/cloud/networksecurity/v1/network_security_services_pb.rb +138 -0
  75. data/lib/google/cloud/networksecurity/v1/security_profile_group_intercept_pb.rb +24 -0
  76. data/lib/google/cloud/networksecurity/v1/security_profile_group_mirroring_pb.rb +24 -0
  77. data/lib/google/cloud/networksecurity/v1/security_profile_group_pb.rb +31 -0
  78. data/lib/google/cloud/networksecurity/v1/security_profile_group_service_pb.rb +42 -0
  79. data/lib/google/cloud/networksecurity/v1/security_profile_group_service_services_pb.rb +98 -0
  80. data/lib/google/cloud/networksecurity/v1/security_profile_group_threatprevention_pb.rb +30 -0
  81. data/lib/google/cloud/networksecurity/v1/security_profile_group_urlfiltering_pb.rb +25 -0
  82. data/lib/google/cloud/networksecurity/v1/server_tls_policy_pb.rb +35 -0
  83. data/lib/google/cloud/networksecurity/v1/sse_realm_pb.rb +46 -0
  84. data/lib/google/cloud/networksecurity/v1/sse_realm_services_pb.rb +59 -0
  85. data/lib/google/cloud/networksecurity/v1/tls_inspection_policy_pb.rb +34 -0
  86. data/lib/google/cloud/networksecurity/v1/tls_pb.rb +26 -0
  87. data/lib/google/cloud/networksecurity/v1/url_list_pb.rb +32 -0
  88. data/lib/google-cloud-network_security-v1.rb +21 -0
  89. data/proto_docs/README.md +4 -0
  90. data/proto_docs/google/api/client.rb +593 -0
  91. data/proto_docs/google/api/field_behavior.rb +85 -0
  92. data/proto_docs/google/api/field_info.rb +88 -0
  93. data/proto_docs/google/api/launch_stage.rb +71 -0
  94. data/proto_docs/google/api/resource.rb +227 -0
  95. data/proto_docs/google/cloud/networksecurity/v1/address_group.rb +374 -0
  96. data/proto_docs/google/cloud/networksecurity/v1/authorization_policy.rb +263 -0
  97. data/proto_docs/google/cloud/networksecurity/v1/authz_policy.rb +735 -0
  98. data/proto_docs/google/cloud/networksecurity/v1/backend_authentication_config.rb +217 -0
  99. data/proto_docs/google/cloud/networksecurity/v1/client_tls_policy.rb +162 -0
  100. data/proto_docs/google/cloud/networksecurity/v1/common.rb +57 -0
  101. data/proto_docs/google/cloud/networksecurity/v1/dns_threat_detector.rb +159 -0
  102. data/proto_docs/google/cloud/networksecurity/v1/firewall_activation.rb +469 -0
  103. data/proto_docs/google/cloud/networksecurity/v1/gateway_security_policy.rb +144 -0
  104. data/proto_docs/google/cloud/networksecurity/v1/gateway_security_policy_rule.rb +178 -0
  105. data/proto_docs/google/cloud/networksecurity/v1/intercept.rb +960 -0
  106. data/proto_docs/google/cloud/networksecurity/v1/mirroring.rb +970 -0
  107. data/proto_docs/google/cloud/networksecurity/v1/security_profile_group.rb +166 -0
  108. data/proto_docs/google/cloud/networksecurity/v1/security_profile_group_intercept.rb +38 -0
  109. data/proto_docs/google/cloud/networksecurity/v1/security_profile_group_mirroring.rb +38 -0
  110. data/proto_docs/google/cloud/networksecurity/v1/security_profile_group_service.rb +211 -0
  111. data/proto_docs/google/cloud/networksecurity/v1/security_profile_group_threatprevention.rb +193 -0
  112. data/proto_docs/google/cloud/networksecurity/v1/security_profile_group_urlfiltering.rb +66 -0
  113. data/proto_docs/google/cloud/networksecurity/v1/server_tls_policy.rb +251 -0
  114. data/proto_docs/google/cloud/networksecurity/v1/sse_realm.rb +388 -0
  115. data/proto_docs/google/cloud/networksecurity/v1/tls.rb +90 -0
  116. data/proto_docs/google/cloud/networksecurity/v1/tls_inspection_policy.rb +239 -0
  117. data/proto_docs/google/cloud/networksecurity/v1/url_list.rb +144 -0
  118. data/proto_docs/google/longrunning/operations.rb +191 -0
  119. data/proto_docs/google/protobuf/any.rb +145 -0
  120. data/proto_docs/google/protobuf/duration.rb +98 -0
  121. data/proto_docs/google/protobuf/empty.rb +34 -0
  122. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  123. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  124. data/proto_docs/google/rpc/status.rb +48 -0
  125. data/proto_docs/google/type/expr.rb +75 -0
  126. metadata +186 -9
@@ -0,0 +1,469 @@
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
+ # Message describing Endpoint object.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Immutable. Identifier. Name of resource.
28
+ # @!attribute [rw] description
29
+ # @return [::String]
30
+ # Optional. Description of the firewall endpoint. Max length 2048
31
+ # characters.
32
+ # @!attribute [r] create_time
33
+ # @return [::Google::Protobuf::Timestamp]
34
+ # Output only. Create time stamp.
35
+ # @!attribute [r] update_time
36
+ # @return [::Google::Protobuf::Timestamp]
37
+ # Output only. Update time stamp
38
+ # @!attribute [rw] labels
39
+ # @return [::Google::Protobuf::Map{::String => ::String}]
40
+ # Optional. Labels as key value pairs
41
+ # @!attribute [r] state
42
+ # @return [::Google::Cloud::NetworkSecurity::V1::FirewallEndpoint::State]
43
+ # Output only. Current state of the endpoint.
44
+ # @!attribute [r] reconciling
45
+ # @return [::Boolean]
46
+ # Output only. Whether reconciling is in progress, recommended per
47
+ # https://google.aip.dev/128.
48
+ # @!attribute [r] associated_networks
49
+ # @deprecated This field is deprecated and may be removed in the next major version update.
50
+ # @return [::Array<::String>]
51
+ # Output only. Deprecated: List of networks that are associated with this
52
+ # endpoint in the local zone. This is a projection of the
53
+ # FirewallEndpointAssociations pointing at this endpoint. A network will only
54
+ # appear in this list after traffic routing is fully configured. Format:
55
+ # projects/\\{project}/global/networks/\\{name}.
56
+ # @!attribute [r] associations
57
+ # @return [::Array<::Google::Cloud::NetworkSecurity::V1::FirewallEndpoint::AssociationReference>]
58
+ # Output only. List of FirewallEndpointAssociations that are associated to
59
+ # this endpoint. An association will only appear in this list after traffic
60
+ # routing is fully configured.
61
+ # @!attribute [r] satisfies_pzs
62
+ # @return [::Boolean]
63
+ # Output only. [Output Only] Reserved for future use.
64
+ # @!attribute [r] satisfies_pzi
65
+ # @return [::Boolean]
66
+ # Output only. [Output Only] Reserved for future use.
67
+ # @!attribute [rw] billing_project_id
68
+ # @return [::String]
69
+ # Optional. Project to charge for the deployed firewall endpoint.
70
+ # This field must be specified when creating the endpoint in the organization
71
+ # scope, and should be omitted otherwise.
72
+ # @!attribute [rw] endpoint_settings
73
+ # @return [::Google::Cloud::NetworkSecurity::V1::FirewallEndpoint::EndpointSettings]
74
+ # Optional. Settings for the endpoint.
75
+ class FirewallEndpoint
76
+ include ::Google::Protobuf::MessageExts
77
+ extend ::Google::Protobuf::MessageExts::ClassMethods
78
+
79
+ # This is a subset of the FirewallEndpointAssociation message, containing
80
+ # fields to be used by the consumer.
81
+ # @!attribute [r] name
82
+ # @return [::String]
83
+ # Output only. The resource name of the FirewallEndpointAssociation.
84
+ # Format:
85
+ # projects/\\{project}/locations/\\{location}/firewallEndpointAssociations/\\{id}
86
+ # @!attribute [r] network
87
+ # @return [::String]
88
+ # Output only. The VPC network associated. Format:
89
+ # projects/\\{project}/global/networks/\\{name}.
90
+ class AssociationReference
91
+ include ::Google::Protobuf::MessageExts
92
+ extend ::Google::Protobuf::MessageExts::ClassMethods
93
+ end
94
+
95
+ # Settings for the endpoint.
96
+ # @!attribute [rw] jumbo_frames_enabled
97
+ # @return [::Boolean]
98
+ # Optional. Immutable. Indicates whether Jumbo Frames are enabled.
99
+ # Default value is false.
100
+ class EndpointSettings
101
+ include ::Google::Protobuf::MessageExts
102
+ extend ::Google::Protobuf::MessageExts::ClassMethods
103
+ end
104
+
105
+ # @!attribute [rw] key
106
+ # @return [::String]
107
+ # @!attribute [rw] value
108
+ # @return [::String]
109
+ class LabelsEntry
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
+ end
113
+
114
+ # Endpoint state.
115
+ module State
116
+ # Not set.
117
+ STATE_UNSPECIFIED = 0
118
+
119
+ # Being created.
120
+ CREATING = 1
121
+
122
+ # Processing configuration updates.
123
+ ACTIVE = 2
124
+
125
+ # Being deleted.
126
+ DELETING = 3
127
+
128
+ # Down or in an error state.
129
+ INACTIVE = 4
130
+ end
131
+ end
132
+
133
+ # Message for requesting list of Endpoints
134
+ # @!attribute [rw] parent
135
+ # @return [::String]
136
+ # Required. Parent value for ListEndpointsRequest
137
+ # @!attribute [rw] page_size
138
+ # @return [::Integer]
139
+ # Optional. Requested page size. Server may return fewer items than
140
+ # requested. If unspecified, server will pick an appropriate default.
141
+ # @!attribute [rw] page_token
142
+ # @return [::String]
143
+ # A token identifying a page of results the server should return.
144
+ # @!attribute [rw] filter
145
+ # @return [::String]
146
+ # Optional. Filtering results
147
+ # @!attribute [rw] order_by
148
+ # @return [::String]
149
+ # Hint for how to order the results
150
+ class ListFirewallEndpointsRequest
151
+ include ::Google::Protobuf::MessageExts
152
+ extend ::Google::Protobuf::MessageExts::ClassMethods
153
+ end
154
+
155
+ # Message for response to listing Endpoints
156
+ # @!attribute [rw] firewall_endpoints
157
+ # @return [::Array<::Google::Cloud::NetworkSecurity::V1::FirewallEndpoint>]
158
+ # The list of Endpoint
159
+ # @!attribute [rw] next_page_token
160
+ # @return [::String]
161
+ # A token identifying a page of results the server should return.
162
+ # @!attribute [rw] unreachable
163
+ # @return [::Array<::String>]
164
+ # Locations that could not be reached.
165
+ class ListFirewallEndpointsResponse
166
+ include ::Google::Protobuf::MessageExts
167
+ extend ::Google::Protobuf::MessageExts::ClassMethods
168
+ end
169
+
170
+ # Message for getting a Endpoint
171
+ # @!attribute [rw] name
172
+ # @return [::String]
173
+ # Required. Name of the resource
174
+ class GetFirewallEndpointRequest
175
+ include ::Google::Protobuf::MessageExts
176
+ extend ::Google::Protobuf::MessageExts::ClassMethods
177
+ end
178
+
179
+ # Message for creating a Endpoint
180
+ # @!attribute [rw] parent
181
+ # @return [::String]
182
+ # Required. Value for parent.
183
+ # @!attribute [rw] firewall_endpoint_id
184
+ # @return [::String]
185
+ # Required. Id of the requesting object.
186
+ # If auto-generating Id server-side, remove this field and
187
+ # firewall_endpoint_id from the method_signature of Create RPC.
188
+ # @!attribute [rw] firewall_endpoint
189
+ # @return [::Google::Cloud::NetworkSecurity::V1::FirewallEndpoint]
190
+ # Required. The resource being created
191
+ # @!attribute [rw] request_id
192
+ # @return [::String]
193
+ # Optional. An optional request ID to identify requests. Specify a unique
194
+ # request ID so that if you must retry your request, the server will know to
195
+ # ignore the request if it has already been completed. The server will
196
+ # guarantee that for at least 60 minutes since the first request.
197
+ #
198
+ # For example, consider a situation where you make an initial request and
199
+ # the request times out. If you make the request again with the same request
200
+ # ID, the server can check if original operation with the same request ID
201
+ # was received, and if so, will ignore the second request. This prevents
202
+ # clients from accidentally creating duplicate commitments.
203
+ #
204
+ # The request ID must be a valid UUID with the exception that zero UUID is
205
+ # not supported (00000000-0000-0000-0000-000000000000).
206
+ class CreateFirewallEndpointRequest
207
+ include ::Google::Protobuf::MessageExts
208
+ extend ::Google::Protobuf::MessageExts::ClassMethods
209
+ end
210
+
211
+ # Message for updating a Endpoint
212
+ # @!attribute [rw] update_mask
213
+ # @return [::Google::Protobuf::FieldMask]
214
+ # Required. Field mask is used to specify the fields to be overwritten in the
215
+ # Endpoint resource by the update.
216
+ # The fields specified in the update_mask are relative to the resource, not
217
+ # the full request. A field will be overwritten if it is in the mask. If the
218
+ # user does not provide a mask then all fields will be overwritten.
219
+ # @!attribute [rw] firewall_endpoint
220
+ # @return [::Google::Cloud::NetworkSecurity::V1::FirewallEndpoint]
221
+ # Required. The resource being updated
222
+ # @!attribute [rw] request_id
223
+ # @return [::String]
224
+ # Optional. An optional request ID to identify requests. Specify a unique
225
+ # request ID so that if you must retry your request, the server will know to
226
+ # ignore the request if it has already been completed. The server will
227
+ # guarantee that for at least 60 minutes since the first request.
228
+ #
229
+ # For example, consider a situation where you make an initial request and
230
+ # the request times out. If you make the request again with the same request
231
+ # ID, the server can check if original operation with the same request ID
232
+ # was received, and if so, will ignore the second request. This prevents
233
+ # clients from accidentally creating duplicate commitments.
234
+ #
235
+ # The request ID must be a valid UUID with the exception that zero UUID is
236
+ # not supported (00000000-0000-0000-0000-000000000000).
237
+ class UpdateFirewallEndpointRequest
238
+ include ::Google::Protobuf::MessageExts
239
+ extend ::Google::Protobuf::MessageExts::ClassMethods
240
+ end
241
+
242
+ # Message for deleting a Endpoint
243
+ # @!attribute [rw] name
244
+ # @return [::String]
245
+ # Required. Name of the resource
246
+ # @!attribute [rw] request_id
247
+ # @return [::String]
248
+ # Optional. An optional request ID to identify requests. Specify a unique
249
+ # request ID so that if you must retry your request, the server will know to
250
+ # ignore the request if it has already been completed. The server will
251
+ # guarantee that for at least 60 minutes after the first request.
252
+ #
253
+ # For example, consider a situation where you make an initial request and
254
+ # the request times out. If you make the request again with the same request
255
+ # ID, the server can check if original operation with the same request ID
256
+ # was received, and if so, will ignore the second request. This prevents
257
+ # clients from accidentally creating duplicate commitments.
258
+ #
259
+ # The request ID must be a valid UUID with the exception that zero UUID is
260
+ # not supported (00000000-0000-0000-0000-000000000000).
261
+ class DeleteFirewallEndpointRequest
262
+ include ::Google::Protobuf::MessageExts
263
+ extend ::Google::Protobuf::MessageExts::ClassMethods
264
+ end
265
+
266
+ # Message describing Association object
267
+ # @!attribute [rw] name
268
+ # @return [::String]
269
+ # Immutable. Identifier. name of resource
270
+ # @!attribute [r] create_time
271
+ # @return [::Google::Protobuf::Timestamp]
272
+ # Output only. Create time stamp
273
+ # @!attribute [r] update_time
274
+ # @return [::Google::Protobuf::Timestamp]
275
+ # Output only. Update time stamp
276
+ # @!attribute [rw] labels
277
+ # @return [::Google::Protobuf::Map{::String => ::String}]
278
+ # Optional. Labels as key value pairs
279
+ # @!attribute [r] state
280
+ # @return [::Google::Cloud::NetworkSecurity::V1::FirewallEndpointAssociation::State]
281
+ # Output only. Current state of the association.
282
+ # @!attribute [rw] network
283
+ # @return [::String]
284
+ # Required. The URL of the network that is being associated.
285
+ # @!attribute [rw] firewall_endpoint
286
+ # @return [::String]
287
+ # Required. The URL of the FirewallEndpoint that is being associated.
288
+ # @!attribute [rw] tls_inspection_policy
289
+ # @return [::String]
290
+ # Optional. The URL of the TlsInspectionPolicy that is being associated.
291
+ # @!attribute [r] reconciling
292
+ # @return [::Boolean]
293
+ # Output only. Whether reconciling is in progress, recommended per
294
+ # https://google.aip.dev/128.
295
+ # @!attribute [rw] disabled
296
+ # @return [::Boolean]
297
+ # Optional. Whether the association is disabled.
298
+ # True indicates that traffic won't be intercepted
299
+ class FirewallEndpointAssociation
300
+ include ::Google::Protobuf::MessageExts
301
+ extend ::Google::Protobuf::MessageExts::ClassMethods
302
+
303
+ # @!attribute [rw] key
304
+ # @return [::String]
305
+ # @!attribute [rw] value
306
+ # @return [::String]
307
+ class LabelsEntry
308
+ include ::Google::Protobuf::MessageExts
309
+ extend ::Google::Protobuf::MessageExts::ClassMethods
310
+ end
311
+
312
+ # Association state.
313
+ module State
314
+ # Not set.
315
+ STATE_UNSPECIFIED = 0
316
+
317
+ # Being created.
318
+ CREATING = 1
319
+
320
+ # Active and ready for traffic.
321
+ ACTIVE = 2
322
+
323
+ # Being deleted.
324
+ DELETING = 3
325
+
326
+ # Down or in an error state.
327
+ INACTIVE = 4
328
+
329
+ # The project that housed the association has been deleted.
330
+ ORPHAN = 5
331
+ end
332
+ end
333
+
334
+ # Message for requesting list of Associations
335
+ # @!attribute [rw] parent
336
+ # @return [::String]
337
+ # Required. Parent value for ListAssociationsRequest
338
+ # @!attribute [rw] page_size
339
+ # @return [::Integer]
340
+ # Optional. Requested page size. Server may return fewer items than
341
+ # requested. If unspecified, server will pick an appropriate default.
342
+ # @!attribute [rw] page_token
343
+ # @return [::String]
344
+ # A token identifying a page of results the server should return.
345
+ # @!attribute [rw] filter
346
+ # @return [::String]
347
+ # Optional. Filtering results
348
+ # @!attribute [rw] order_by
349
+ # @return [::String]
350
+ # Hint for how to order the results
351
+ class ListFirewallEndpointAssociationsRequest
352
+ include ::Google::Protobuf::MessageExts
353
+ extend ::Google::Protobuf::MessageExts::ClassMethods
354
+ end
355
+
356
+ # Message for response to listing Associations
357
+ # @!attribute [rw] firewall_endpoint_associations
358
+ # @return [::Array<::Google::Cloud::NetworkSecurity::V1::FirewallEndpointAssociation>]
359
+ # The list of Association
360
+ # @!attribute [rw] next_page_token
361
+ # @return [::String]
362
+ # A token identifying a page of results the server should return.
363
+ # @!attribute [rw] unreachable
364
+ # @return [::Array<::String>]
365
+ # Locations that could not be reached.
366
+ class ListFirewallEndpointAssociationsResponse
367
+ include ::Google::Protobuf::MessageExts
368
+ extend ::Google::Protobuf::MessageExts::ClassMethods
369
+ end
370
+
371
+ # Message for getting a Association
372
+ # @!attribute [rw] name
373
+ # @return [::String]
374
+ # Required. Name of the resource
375
+ class GetFirewallEndpointAssociationRequest
376
+ include ::Google::Protobuf::MessageExts
377
+ extend ::Google::Protobuf::MessageExts::ClassMethods
378
+ end
379
+
380
+ # Message for creating a Association
381
+ # @!attribute [rw] parent
382
+ # @return [::String]
383
+ # Required. Value for parent.
384
+ # @!attribute [rw] firewall_endpoint_association_id
385
+ # @return [::String]
386
+ # Optional. Id of the requesting object.
387
+ # If auto-generating Id server-side, remove this field and
388
+ # firewall_endpoint_association_id from the method_signature of Create RPC.
389
+ # @!attribute [rw] firewall_endpoint_association
390
+ # @return [::Google::Cloud::NetworkSecurity::V1::FirewallEndpointAssociation]
391
+ # Required. The resource being created
392
+ # @!attribute [rw] request_id
393
+ # @return [::String]
394
+ # Optional. An optional request ID to identify requests. Specify a unique
395
+ # request ID so that if you must retry your request, the server will know to
396
+ # ignore the request if it has already been completed. The server will
397
+ # guarantee that for at least 60 minutes since the first request.
398
+ #
399
+ # For example, consider a situation where you make an initial request and
400
+ # the request times out. If you make the request again with the same request
401
+ # ID, the server can check if original operation with the same request ID
402
+ # was received, and if so, will ignore the second request. This prevents
403
+ # clients from accidentally creating duplicate commitments.
404
+ #
405
+ # The request ID must be a valid UUID with the exception that zero UUID is
406
+ # not supported (00000000-0000-0000-0000-000000000000).
407
+ class CreateFirewallEndpointAssociationRequest
408
+ include ::Google::Protobuf::MessageExts
409
+ extend ::Google::Protobuf::MessageExts::ClassMethods
410
+ end
411
+
412
+ # Message for deleting a Association
413
+ # @!attribute [rw] name
414
+ # @return [::String]
415
+ # Required. Name of the resource
416
+ # @!attribute [rw] request_id
417
+ # @return [::String]
418
+ # Optional. An optional request ID to identify requests. Specify a unique
419
+ # request ID so that if you must retry your request, the server will know to
420
+ # ignore the request if it has already been completed. The server will
421
+ # guarantee that for at least 60 minutes after the first request.
422
+ #
423
+ # For example, consider a situation where you make an initial request and
424
+ # the request times out. If you make the request again with the same request
425
+ # ID, the server can check if original operation with the same request ID
426
+ # was received, and if so, will ignore the second request. This prevents
427
+ # clients from accidentally creating duplicate commitments.
428
+ #
429
+ # The request ID must be a valid UUID with the exception that zero UUID is
430
+ # not supported (00000000-0000-0000-0000-000000000000).
431
+ class DeleteFirewallEndpointAssociationRequest
432
+ include ::Google::Protobuf::MessageExts
433
+ extend ::Google::Protobuf::MessageExts::ClassMethods
434
+ end
435
+
436
+ # Message for updating an Association
437
+ # @!attribute [rw] update_mask
438
+ # @return [::Google::Protobuf::FieldMask]
439
+ # Required. Field mask is used to specify the fields to be overwritten in the
440
+ # Association resource by the update.
441
+ # The fields specified in the update_mask are relative to the resource, not
442
+ # the full request. A field will be overwritten if it is in the mask. If the
443
+ # user does not provide a mask then all fields will be overwritten.
444
+ # @!attribute [rw] firewall_endpoint_association
445
+ # @return [::Google::Cloud::NetworkSecurity::V1::FirewallEndpointAssociation]
446
+ # Required. The resource being updated
447
+ # @!attribute [rw] request_id
448
+ # @return [::String]
449
+ # Optional. An optional request ID to identify requests. Specify a unique
450
+ # request ID so that if you must retry your request, the server will know to
451
+ # ignore the request if it has already been completed. The server will
452
+ # guarantee that for at least 60 minutes since the first request.
453
+ #
454
+ # For example, consider a situation where you make an initial request and
455
+ # the request times out. If you make the request again with the same request
456
+ # ID, the server can check if original operation with the same request ID
457
+ # was received, and if so, will ignore the second request. This prevents
458
+ # clients from accidentally creating duplicate commitments.
459
+ #
460
+ # The request ID must be a valid UUID with the exception that zero UUID is
461
+ # not supported (00000000-0000-0000-0000-000000000000).
462
+ class UpdateFirewallEndpointAssociationRequest
463
+ include ::Google::Protobuf::MessageExts
464
+ extend ::Google::Protobuf::MessageExts::ClassMethods
465
+ end
466
+ end
467
+ end
468
+ end
469
+ end
@@ -0,0 +1,144 @@
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
+ # The GatewaySecurityPolicy resource contains a collection of
25
+ # GatewaySecurityPolicyRules and associated metadata.
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Required. Name of the resource. Name is of the form
29
+ # projects/\\{project}/locations/\\{location}/gatewaySecurityPolicies/\\{gateway_security_policy}
30
+ # gateway_security_policy should match the
31
+ # pattern:(^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$).
32
+ # @!attribute [r] create_time
33
+ # @return [::Google::Protobuf::Timestamp]
34
+ # Output only. The timestamp when the resource was created.
35
+ # @!attribute [r] update_time
36
+ # @return [::Google::Protobuf::Timestamp]
37
+ # Output only. The timestamp when the resource was updated.
38
+ # @!attribute [rw] description
39
+ # @return [::String]
40
+ # Optional. Free-text description of the resource.
41
+ # @!attribute [rw] tls_inspection_policy
42
+ # @return [::String]
43
+ # Optional. Name of a TLS Inspection Policy resource that defines how TLS
44
+ # inspection will be performed for any rule(s) which enables it.
45
+ class GatewaySecurityPolicy
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+ end
49
+
50
+ # Request used by the CreateGatewaySecurityPolicy method.
51
+ # @!attribute [rw] parent
52
+ # @return [::String]
53
+ # Required. The parent resource of the GatewaySecurityPolicy. Must be in the
54
+ # format `projects/{project}/locations/{location}`.
55
+ # @!attribute [rw] gateway_security_policy_id
56
+ # @return [::String]
57
+ # Required. Short name of the GatewaySecurityPolicy resource to be created.
58
+ # This value should be 1-63 characters long, containing only
59
+ # letters, numbers, hyphens, and underscores, and should not start
60
+ # with a number. E.g. "gateway_security_policy1".
61
+ # @!attribute [rw] gateway_security_policy
62
+ # @return [::Google::Cloud::NetworkSecurity::V1::GatewaySecurityPolicy]
63
+ # Required. GatewaySecurityPolicy resource to be created.
64
+ class CreateGatewaySecurityPolicyRequest
65
+ include ::Google::Protobuf::MessageExts
66
+ extend ::Google::Protobuf::MessageExts::ClassMethods
67
+ end
68
+
69
+ # Request used with the ListGatewaySecurityPolicies method.
70
+ # @!attribute [rw] parent
71
+ # @return [::String]
72
+ # Required. The project and location from which the GatewaySecurityPolicies
73
+ # should be listed, specified in the format
74
+ # `projects/{project}/locations/{location}`.
75
+ # @!attribute [rw] page_size
76
+ # @return [::Integer]
77
+ # Maximum number of GatewaySecurityPolicies to return per call.
78
+ # @!attribute [rw] page_token
79
+ # @return [::String]
80
+ # The value returned by the last
81
+ # 'ListGatewaySecurityPoliciesResponse' Indicates that this is a
82
+ # continuation of a prior 'ListGatewaySecurityPolicies' call, and
83
+ # that the system should return the next page of data.
84
+ class ListGatewaySecurityPoliciesRequest
85
+ include ::Google::Protobuf::MessageExts
86
+ extend ::Google::Protobuf::MessageExts::ClassMethods
87
+ end
88
+
89
+ # Response returned by the ListGatewaySecurityPolicies method.
90
+ # @!attribute [rw] gateway_security_policies
91
+ # @return [::Array<::Google::Cloud::NetworkSecurity::V1::GatewaySecurityPolicy>]
92
+ # List of GatewaySecurityPolicies resources.
93
+ # @!attribute [rw] next_page_token
94
+ # @return [::String]
95
+ # If there might be more results than those appearing in this response, then
96
+ # 'next_page_token' is included. To get the next set of results, call this
97
+ # method again using the value of 'next_page_token' as 'page_token'.
98
+ # @!attribute [rw] unreachable
99
+ # @return [::Array<::String>]
100
+ # Locations that could not be reached.
101
+ class ListGatewaySecurityPoliciesResponse
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+ end
105
+
106
+ # Request used by the GetGatewaySecurityPolicy method.
107
+ # @!attribute [rw] name
108
+ # @return [::String]
109
+ # Required. A name of the GatewaySecurityPolicy to get. Must be in the format
110
+ # `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`.
111
+ class GetGatewaySecurityPolicyRequest
112
+ include ::Google::Protobuf::MessageExts
113
+ extend ::Google::Protobuf::MessageExts::ClassMethods
114
+ end
115
+
116
+ # Request used by the DeleteGatewaySecurityPolicy method.
117
+ # @!attribute [rw] name
118
+ # @return [::String]
119
+ # Required. A name of the GatewaySecurityPolicy to delete. Must be in the
120
+ # format `projects/{project}/locations/{location}/gatewaySecurityPolicies/*`.
121
+ class DeleteGatewaySecurityPolicyRequest
122
+ include ::Google::Protobuf::MessageExts
123
+ extend ::Google::Protobuf::MessageExts::ClassMethods
124
+ end
125
+
126
+ # Request used by the UpdateGatewaySecurityPolicy method.
127
+ # @!attribute [rw] update_mask
128
+ # @return [::Google::Protobuf::FieldMask]
129
+ # Optional. Field mask is used to specify the fields to be overwritten in the
130
+ # GatewaySecurityPolicy resource by the update.
131
+ # The fields specified in the update_mask are relative to the resource, not
132
+ # the full request. A field will be overwritten if it is in the mask. If the
133
+ # user does not provide a mask then all fields will be overwritten.
134
+ # @!attribute [rw] gateway_security_policy
135
+ # @return [::Google::Cloud::NetworkSecurity::V1::GatewaySecurityPolicy]
136
+ # Required. Updated GatewaySecurityPolicy resource.
137
+ class UpdateGatewaySecurityPolicyRequest
138
+ include ::Google::Protobuf::MessageExts
139
+ extend ::Google::Protobuf::MessageExts::ClassMethods
140
+ end
141
+ end
142
+ end
143
+ end
144
+ end