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,388 @@
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
+ # Represents a Secure Access Connect (SAC) realm resource.
25
+ #
26
+ # A Secure Access Connect realm establishes a connection between your Google
27
+ # Cloud project and an SSE service.
28
+ # @!attribute [rw] name
29
+ # @return [::String]
30
+ # Identifier. Resource name, in the form
31
+ # `projects/{project}/locations/global/sacRealms/{sacRealm}`.
32
+ # @!attribute [r] create_time
33
+ # @return [::Google::Protobuf::Timestamp]
34
+ # Output only. Timestamp when the realm was created.
35
+ # @!attribute [r] update_time
36
+ # @return [::Google::Protobuf::Timestamp]
37
+ # Output only. Timestamp when the realm was last updated.
38
+ # @!attribute [rw] labels
39
+ # @return [::Google::Protobuf::Map{::String => ::String}]
40
+ # Optional. Optional list of labels applied to the resource.
41
+ # @!attribute [rw] security_service
42
+ # @return [::Google::Cloud::NetworkSecurity::V1::SACRealm::SecurityService]
43
+ # Immutable. SSE service provider associated with the realm.
44
+ # @!attribute [r] pairing_key
45
+ # @return [::Google::Cloud::NetworkSecurity::V1::SACRealm::PairingKey]
46
+ # Output only. Key to be shared with SSE service provider during pairing.
47
+ # @!attribute [r] state
48
+ # @return [::Google::Cloud::NetworkSecurity::V1::SACRealm::State]
49
+ # Output only. State of the realm.
50
+ class SACRealm
51
+ include ::Google::Protobuf::MessageExts
52
+ extend ::Google::Protobuf::MessageExts::ClassMethods
53
+
54
+ # Key to be shared with SSE service provider to establish global handshake.
55
+ # @!attribute [r] key
56
+ # @return [::String]
57
+ # Output only. Key value.
58
+ # @!attribute [r] expire_time
59
+ # @return [::Google::Protobuf::Timestamp]
60
+ # Output only. Timestamp in UTC of when this resource is considered
61
+ # expired. It expires 7 days after creation.
62
+ class PairingKey
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # @!attribute [rw] key
68
+ # @return [::String]
69
+ # @!attribute [rw] value
70
+ # @return [::String]
71
+ class LabelsEntry
72
+ include ::Google::Protobuf::MessageExts
73
+ extend ::Google::Protobuf::MessageExts::ClassMethods
74
+ end
75
+
76
+ # SSE service provider
77
+ module SecurityService
78
+ # The default value. This value is used if the state is omitted.
79
+ SECURITY_SERVICE_UNSPECIFIED = 0
80
+
81
+ # [Palo Alto Networks Prisma
82
+ # Access](https://www.paloaltonetworks.com/sase/access).
83
+ PALO_ALTO_PRISMA_ACCESS = 1
84
+ end
85
+
86
+ # State of the realm.
87
+ module State
88
+ # No state specified. This should not be used.
89
+ STATE_UNSPECIFIED = 0
90
+
91
+ # Has never been attached to a partner.
92
+ # Used only for Prisma Access.
93
+ PENDING_PARTNER_ATTACHMENT = 7
94
+
95
+ # Currently attached to a partner.
96
+ PARTNER_ATTACHED = 1
97
+
98
+ # Was once attached to a partner but has been detached.
99
+ PARTNER_DETACHED = 2
100
+
101
+ # Is not attached to a partner and has an expired pairing key.
102
+ # Used only for Prisma Access.
103
+ KEY_EXPIRED = 3
104
+ end
105
+ end
106
+
107
+ # Request for `ListSACRealms` method.
108
+ # @!attribute [rw] parent
109
+ # @return [::String]
110
+ # Required. The parent, in the form `projects/{project}/locations/global`.
111
+ # @!attribute [rw] page_size
112
+ # @return [::Integer]
113
+ # Optional. Requested page size. Server may return fewer items than
114
+ # requested. If unspecified, server will pick an appropriate default.
115
+ # @!attribute [rw] page_token
116
+ # @return [::String]
117
+ # Optional. A token identifying a page of results the server should return.
118
+ # @!attribute [rw] filter
119
+ # @return [::String]
120
+ # Optional. An expression that filters the list of results.
121
+ # @!attribute [rw] order_by
122
+ # @return [::String]
123
+ # Optional. Sort the results by a certain order.
124
+ class ListSACRealmsRequest
125
+ include ::Google::Protobuf::MessageExts
126
+ extend ::Google::Protobuf::MessageExts::ClassMethods
127
+ end
128
+
129
+ # Response for `ListSACRealms` method.
130
+ # @!attribute [rw] sac_realms
131
+ # @return [::Array<::Google::Cloud::NetworkSecurity::V1::SACRealm>]
132
+ # The list of SACRealms.
133
+ # @!attribute [rw] next_page_token
134
+ # @return [::String]
135
+ # A token identifying a page of results the server should return.
136
+ # @!attribute [rw] unreachable
137
+ # @return [::Array<::String>]
138
+ # Locations that could not be reached.
139
+ class ListSACRealmsResponse
140
+ include ::Google::Protobuf::MessageExts
141
+ extend ::Google::Protobuf::MessageExts::ClassMethods
142
+ end
143
+
144
+ # Request for `GetSACRealm` method.
145
+ # @!attribute [rw] name
146
+ # @return [::String]
147
+ # Required. Name of the resource, in the form
148
+ # `projects/{project}/locations/global/sacRealms/{sacRealm}`.
149
+ class GetSACRealmRequest
150
+ include ::Google::Protobuf::MessageExts
151
+ extend ::Google::Protobuf::MessageExts::ClassMethods
152
+ end
153
+
154
+ # Request for `CreateSACRealm` method.
155
+ # @!attribute [rw] parent
156
+ # @return [::String]
157
+ # Required. The parent, in the form `projects/{project}/locations/global`.
158
+ # @!attribute [rw] sac_realm_id
159
+ # @return [::String]
160
+ # Required. ID of the created realm.
161
+ # The ID must be 1-63 characters long, and comply with
162
+ # <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
163
+ # Specifically, it must be 1-63 characters long and match the regular
164
+ # expression `[a-z]([-a-z0-9]*[a-z0-9])?`
165
+ # which means the first character must be a lowercase letter, and all
166
+ # following characters must be a dash, lowercase letter, or digit, except
167
+ # the last character, which cannot be a dash.
168
+ # @!attribute [rw] sac_realm
169
+ # @return [::Google::Cloud::NetworkSecurity::V1::SACRealm]
170
+ # Required. The resource being created.
171
+ # @!attribute [rw] request_id
172
+ # @return [::String]
173
+ # Optional. An optional request ID to identify requests. Specify a unique
174
+ # request ID so that if you must retry your request, the server will know to
175
+ # ignore the request if it has already been completed. The server will
176
+ # guarantee that for at least 60 minutes since the first request.
177
+ #
178
+ # For example, consider a situation where you make an initial request and the
179
+ # request times out. If you make the request again with the same request
180
+ # ID, the server can check if original operation with the same request ID
181
+ # was received, and if so, will ignore the second request. This prevents
182
+ # clients from accidentally creating duplicate commitments.
183
+ #
184
+ # The request ID must be a valid UUID with the exception that zero UUID is
185
+ # not supported (00000000-0000-0000-0000-000000000000).
186
+ class CreateSACRealmRequest
187
+ include ::Google::Protobuf::MessageExts
188
+ extend ::Google::Protobuf::MessageExts::ClassMethods
189
+ end
190
+
191
+ # Request for `DeleteSACRealm` method.
192
+ # @!attribute [rw] name
193
+ # @return [::String]
194
+ # Required. Name of the resource, in the form
195
+ # `projects/{project}/locations/global/sacRealms/{sacRealm}`.
196
+ # @!attribute [rw] request_id
197
+ # @return [::String]
198
+ # Optional. An optional request ID to identify requests. Specify a unique
199
+ # request ID so that if you must retry your request, the server will know to
200
+ # ignore the request if it has already been completed. The server will
201
+ # guarantee that for at least 60 minutes after the first request.
202
+ #
203
+ # For example, consider a situation where you make an initial request and the
204
+ # request times out. If you make the request again with the same request
205
+ # ID, the server can check if original operation with the same request ID
206
+ # was received, and if so, will ignore the second request. This prevents
207
+ # clients from accidentally creating duplicate commitments.
208
+ #
209
+ # The request ID must be a valid UUID with the exception that zero UUID is
210
+ # not supported (00000000-0000-0000-0000-000000000000).
211
+ class DeleteSACRealmRequest
212
+ include ::Google::Protobuf::MessageExts
213
+ extend ::Google::Protobuf::MessageExts::ClassMethods
214
+ end
215
+
216
+ # Represents a Secure Access Connect (SAC) attachment resource.
217
+ #
218
+ # A Secure Access Connect attachment enables NCC Gateway to process traffic
219
+ # with an SSE product.
220
+ # @!attribute [rw] name
221
+ # @return [::String]
222
+ # Identifier. Resource name, in the form
223
+ # `projects/{project}/locations/{location}/sacAttachments/{sac_attachment}`.
224
+ # @!attribute [r] create_time
225
+ # @return [::Google::Protobuf::Timestamp]
226
+ # Output only. Timestamp when the attachment was created.
227
+ # @!attribute [r] update_time
228
+ # @return [::Google::Protobuf::Timestamp]
229
+ # Output only. Timestamp when the attachment was last updated.
230
+ # @!attribute [rw] labels
231
+ # @return [::Google::Protobuf::Map{::String => ::String}]
232
+ # Optional. Optional list of labels applied to the resource.
233
+ # @!attribute [rw] sac_realm
234
+ # @return [::String]
235
+ # Required. SAC Realm which owns the attachment. This can be input as an ID
236
+ # or a full resource name. The output always has the form
237
+ # `projects/{project_number}/locations/{location}/sacRealms/{sac_realm}`.
238
+ # @!attribute [rw] ncc_gateway
239
+ # @return [::String]
240
+ # Required. NCC Gateway associated with the attachment. This can be input as
241
+ # an ID or a full resource name. The output always has the form
242
+ # `projects/{project_number}/locations/{location}/spokes/{ncc_gateway}`.
243
+ # @!attribute [r] state
244
+ # @return [::Google::Cloud::NetworkSecurity::V1::SACAttachment::State]
245
+ # Output only. State of the attachment.
246
+ class SACAttachment
247
+ include ::Google::Protobuf::MessageExts
248
+ extend ::Google::Protobuf::MessageExts::ClassMethods
249
+
250
+ # @!attribute [rw] key
251
+ # @return [::String]
252
+ # @!attribute [rw] value
253
+ # @return [::String]
254
+ class LabelsEntry
255
+ include ::Google::Protobuf::MessageExts
256
+ extend ::Google::Protobuf::MessageExts::ClassMethods
257
+ end
258
+
259
+ # State of the attachment.
260
+ module State
261
+ # No state specified. This should not be used.
262
+ STATE_UNSPECIFIED = 0
263
+
264
+ # Has never been attached to a partner.
265
+ PENDING_PARTNER_ATTACHMENT = 1
266
+
267
+ # Currently attached to a partner.
268
+ PARTNER_ATTACHED = 2
269
+
270
+ # Was once attached to a partner but has been detached.
271
+ PARTNER_DETACHED = 3
272
+ end
273
+ end
274
+
275
+ # Request for `ListSACAttachments` method.
276
+ # @!attribute [rw] parent
277
+ # @return [::String]
278
+ # Required. The parent, in the form
279
+ # `projects/{project}/locations/{location}`.
280
+ # @!attribute [rw] page_size
281
+ # @return [::Integer]
282
+ # Optional. Requested page size. Server may return fewer items than
283
+ # requested. If unspecified, server will pick an appropriate default.
284
+ # @!attribute [rw] page_token
285
+ # @return [::String]
286
+ # Optional. A token identifying a page of results the server should return.
287
+ # @!attribute [rw] filter
288
+ # @return [::String]
289
+ # Optional. An expression that filters the list of results.
290
+ # @!attribute [rw] order_by
291
+ # @return [::String]
292
+ # Optional. Sort the results by a certain order.
293
+ class ListSACAttachmentsRequest
294
+ include ::Google::Protobuf::MessageExts
295
+ extend ::Google::Protobuf::MessageExts::ClassMethods
296
+ end
297
+
298
+ # Response for `ListSACAttachments` method.
299
+ # @!attribute [rw] sac_attachments
300
+ # @return [::Array<::Google::Cloud::NetworkSecurity::V1::SACAttachment>]
301
+ # The list of SACAttachments.
302
+ # @!attribute [rw] next_page_token
303
+ # @return [::String]
304
+ # A token identifying a page of results the server should return.
305
+ # @!attribute [rw] unreachable
306
+ # @return [::Array<::String>]
307
+ # Locations that could not be reached.
308
+ class ListSACAttachmentsResponse
309
+ include ::Google::Protobuf::MessageExts
310
+ extend ::Google::Protobuf::MessageExts::ClassMethods
311
+ end
312
+
313
+ # Request for `GetSACAttachment` method.
314
+ # @!attribute [rw] name
315
+ # @return [::String]
316
+ # Required. Name of the resource, in the form
317
+ # `projects/{project}/locations/{location}/sacAttachments/{sac_attachment}`.
318
+ class GetSACAttachmentRequest
319
+ include ::Google::Protobuf::MessageExts
320
+ extend ::Google::Protobuf::MessageExts::ClassMethods
321
+ end
322
+
323
+ # Request for `CreateSACAttachment` method.
324
+ # @!attribute [rw] parent
325
+ # @return [::String]
326
+ # Required. The parent, in the form
327
+ # `projects/{project}/locations/{location}`.
328
+ # @!attribute [rw] sac_attachment_id
329
+ # @return [::String]
330
+ # Required. ID of the created attachment.
331
+ # The ID must be 1-63 characters long, and comply with
332
+ # <a href="https://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC1035</a>.
333
+ # Specifically, it must be 1-63 characters long and match the regular
334
+ # expression `[a-z]([-a-z0-9]*[a-z0-9])?`
335
+ # which means the first character must be a lowercase letter, and all
336
+ # following characters must be a dash, lowercase letter, or digit, except
337
+ # the last character, which cannot be a dash.
338
+ # @!attribute [rw] sac_attachment
339
+ # @return [::Google::Cloud::NetworkSecurity::V1::SACAttachment]
340
+ # Required. The resource being created.
341
+ # @!attribute [rw] request_id
342
+ # @return [::String]
343
+ # Optional. An optional request ID to identify requests. Specify a unique
344
+ # request ID so that if you must retry your request, the server will know to
345
+ # ignore the request if it has already been completed. The server will
346
+ # guarantee that for at least 60 minutes since the first request.
347
+ #
348
+ # For example, consider a situation where you make an initial request and the
349
+ # request times out. If you make the request again with the same request
350
+ # ID, the server can check if original operation with the same request ID
351
+ # was received, and if so, will ignore the second request. This prevents
352
+ # clients from accidentally creating duplicate commitments.
353
+ #
354
+ # The request ID must be a valid UUID with the exception that zero UUID is
355
+ # not supported (00000000-0000-0000-0000-000000000000).
356
+ class CreateSACAttachmentRequest
357
+ include ::Google::Protobuf::MessageExts
358
+ extend ::Google::Protobuf::MessageExts::ClassMethods
359
+ end
360
+
361
+ # Request for `DeleteSACAttachment` method.
362
+ # @!attribute [rw] name
363
+ # @return [::String]
364
+ # Required. Name of the resource, in the form
365
+ # `projects/{project}/locations/{location}/sacAttachments/{sac_attachment}`.
366
+ # @!attribute [rw] request_id
367
+ # @return [::String]
368
+ # Optional. An optional request ID to identify requests. Specify a unique
369
+ # request ID so that if you must retry your request, the server will know to
370
+ # ignore the request if it has already been completed. The server will
371
+ # guarantee that for at least 60 minutes after the first request.
372
+ #
373
+ # For example, consider a situation where you make an initial request and the
374
+ # request times out. If you make the request again with the same request
375
+ # ID, the server can check if original operation with the same request ID
376
+ # was received, and if so, will ignore the second request. This prevents
377
+ # clients from accidentally creating duplicate commitments.
378
+ #
379
+ # The request ID must be a valid UUID with the exception that zero UUID is
380
+ # not supported (00000000-0000-0000-0000-000000000000).
381
+ class DeleteSACAttachmentRequest
382
+ include ::Google::Protobuf::MessageExts
383
+ extend ::Google::Protobuf::MessageExts::ClassMethods
384
+ end
385
+ end
386
+ end
387
+ end
388
+ end
@@ -0,0 +1,90 @@
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
+ # Specification of the GRPC Endpoint.
25
+ # @!attribute [rw] target_uri
26
+ # @return [::String]
27
+ # Required. The target URI of the gRPC endpoint. Only UDS path is supported,
28
+ # and should start with "unix:".
29
+ class GrpcEndpoint
30
+ include ::Google::Protobuf::MessageExts
31
+ extend ::Google::Protobuf::MessageExts::ClassMethods
32
+ end
33
+
34
+ # Specification of ValidationCA. Defines the mechanism to obtain the
35
+ # Certificate Authority certificate to validate the peer certificate.
36
+ # @!attribute [rw] grpc_endpoint
37
+ # @return [::Google::Cloud::NetworkSecurity::V1::GrpcEndpoint]
38
+ # gRPC specific configuration to access the gRPC server to
39
+ # obtain the CA certificate.
40
+ #
41
+ # Note: The following fields are mutually exclusive: `grpc_endpoint`, `certificate_provider_instance`. If a field in that set is populated, all other fields in the set will automatically be cleared.
42
+ # @!attribute [rw] certificate_provider_instance
43
+ # @return [::Google::Cloud::NetworkSecurity::V1::CertificateProviderInstance]
44
+ # The certificate provider instance specification that will be passed to
45
+ # the data plane, which will be used to load necessary credential
46
+ # information.
47
+ #
48
+ # Note: The following fields are mutually exclusive: `certificate_provider_instance`, `grpc_endpoint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
49
+ class ValidationCA
50
+ include ::Google::Protobuf::MessageExts
51
+ extend ::Google::Protobuf::MessageExts::ClassMethods
52
+ end
53
+
54
+ # Specification of a TLS certificate provider instance. Workloads may have one
55
+ # or more CertificateProvider instances (plugins) and one of them is enabled
56
+ # and configured by specifying this message. Workloads use the values from this
57
+ # message to locate and load the CertificateProvider instance configuration.
58
+ # @!attribute [rw] plugin_instance
59
+ # @return [::String]
60
+ # Required. Plugin instance name, used to locate and load CertificateProvider
61
+ # instance configuration. Set to "google_cloud_private_spiffe" to use
62
+ # Certificate Authority Service certificate provider instance.
63
+ class CertificateProviderInstance
64
+ include ::Google::Protobuf::MessageExts
65
+ extend ::Google::Protobuf::MessageExts::ClassMethods
66
+ end
67
+
68
+ # Specification of certificate provider. Defines the mechanism to obtain the
69
+ # certificate and private key for peer to peer authentication.
70
+ # @!attribute [rw] grpc_endpoint
71
+ # @return [::Google::Cloud::NetworkSecurity::V1::GrpcEndpoint]
72
+ # gRPC specific configuration to access the gRPC server to
73
+ # obtain the cert and private key.
74
+ #
75
+ # Note: The following fields are mutually exclusive: `grpc_endpoint`, `certificate_provider_instance`. If a field in that set is populated, all other fields in the set will automatically be cleared.
76
+ # @!attribute [rw] certificate_provider_instance
77
+ # @return [::Google::Cloud::NetworkSecurity::V1::CertificateProviderInstance]
78
+ # The certificate provider instance specification that will be passed to
79
+ # the data plane, which will be used to load necessary credential
80
+ # information.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `certificate_provider_instance`, `grpc_endpoint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
83
+ class CertificateProvider
84
+ include ::Google::Protobuf::MessageExts
85
+ extend ::Google::Protobuf::MessageExts::ClassMethods
86
+ end
87
+ end
88
+ end
89
+ end
90
+ end