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,239 @@
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 TlsInspectionPolicy resource contains references to CA pools in
25
+ # Certificate Authority Service 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}/tlsInspectionPolicies/\\{tls_inspection_policy}
30
+ # tls_inspection_policy should match the
31
+ # pattern:(^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$).
32
+ # @!attribute [rw] description
33
+ # @return [::String]
34
+ # Optional. Free-text description of the resource.
35
+ # @!attribute [r] create_time
36
+ # @return [::Google::Protobuf::Timestamp]
37
+ # Output only. The timestamp when the resource was created.
38
+ # @!attribute [r] update_time
39
+ # @return [::Google::Protobuf::Timestamp]
40
+ # Output only. The timestamp when the resource was updated.
41
+ # @!attribute [rw] ca_pool
42
+ # @return [::String]
43
+ # Required. A CA pool resource used to issue interception certificates.
44
+ # The CA pool string has a relative resource path following the form
45
+ # "projects/\\{project}/locations/\\{location}/caPools/\\{ca_pool}".
46
+ # @!attribute [rw] trust_config
47
+ # @return [::String]
48
+ # Optional. A TrustConfig resource used when making a connection to the TLS
49
+ # server. This is a relative resource path following the form
50
+ # "projects/\\{project}/locations/\\{location}/trustConfigs/\\{trust_config}". This
51
+ # is necessary to intercept TLS connections to servers with certificates
52
+ # signed by a private CA or self-signed certificates.
53
+ # Note that Secure Web Proxy does not yet honor this field.
54
+ # @!attribute [rw] exclude_public_ca_set
55
+ # @return [::Boolean]
56
+ # Optional. If FALSE (the default), use our default set of public CAs in
57
+ # addition to any CAs specified in trust_config. These public CAs are
58
+ # currently based on the Mozilla Root Program and are subject to change over
59
+ # time. If TRUE, do not accept our default set of public CAs. Only CAs
60
+ # specified in trust_config will be accepted. This defaults to FALSE (use
61
+ # public CAs in addition to trust_config) for backwards compatibility, but
62
+ # trusting public root CAs is *not recommended* unless the traffic in
63
+ # question is outbound to public web servers. When possible, prefer setting
64
+ # this to "false" and explicitly specifying trusted CAs and certificates in a
65
+ # TrustConfig. Note that Secure Web Proxy does not yet honor this field.
66
+ # @!attribute [rw] min_tls_version
67
+ # @return [::Google::Cloud::NetworkSecurity::V1::TlsInspectionPolicy::TlsVersion]
68
+ # Optional. Minimum TLS version that the firewall should use when negotiating
69
+ # connections with both clients and servers. If this is not set, then the
70
+ # default value is to allow the broadest set of clients and servers (TLS 1.0
71
+ # or higher). Setting this to more restrictive values may improve security,
72
+ # but may also prevent the firewall from connecting to some clients or
73
+ # servers.
74
+ # Note that Secure Web Proxy does not yet honor this field.
75
+ # @!attribute [rw] tls_feature_profile
76
+ # @return [::Google::Cloud::NetworkSecurity::V1::TlsInspectionPolicy::Profile]
77
+ # Optional. The selected Profile. If this is not set, then the default value
78
+ # is to allow the broadest set of clients and servers ("PROFILE_COMPATIBLE").
79
+ # Setting this to more restrictive values may improve security, but may also
80
+ # prevent the TLS inspection proxy from connecting to some clients or
81
+ # servers. Note that Secure Web Proxy does not yet honor this field.
82
+ # @!attribute [rw] custom_tls_features
83
+ # @return [::Array<::String>]
84
+ # Optional. List of custom TLS cipher suites selected.
85
+ # This field is valid only if the selected tls_feature_profile is CUSTOM.
86
+ # The [compute.SslPoliciesService.ListAvailableFeatures][] method returns the
87
+ # set of features that can be specified in this list.
88
+ # Note that Secure Web Proxy does not yet honor this field.
89
+ class TlsInspectionPolicy
90
+ include ::Google::Protobuf::MessageExts
91
+ extend ::Google::Protobuf::MessageExts::ClassMethods
92
+
93
+ # The minimum version of TLS protocol that can be used by clients or servers
94
+ # to establish a connection with the TLS inspection proxy.
95
+ module TlsVersion
96
+ # Indicates no TLS version was specified.
97
+ TLS_VERSION_UNSPECIFIED = 0
98
+
99
+ # TLS 1.0
100
+ TLS_1_0 = 1
101
+
102
+ # TLS 1.1
103
+ TLS_1_1 = 2
104
+
105
+ # TLS 1.2
106
+ TLS_1_2 = 3
107
+
108
+ # TLS 1.3
109
+ TLS_1_3 = 4
110
+ end
111
+
112
+ # Profile specifies the set of TLS cipher suites (and possibly
113
+ # other features in the future) that can be used by the firewall when
114
+ # negotiating TLS connections with clients and servers. The meaning of these
115
+ # fields is identical to the load balancers' SSLPolicy resource.
116
+ module Profile
117
+ # Indicates no profile was specified.
118
+ PROFILE_UNSPECIFIED = 0
119
+
120
+ # Compatible profile. Allows the broadest set of clients, even those
121
+ # which support only out-of-date SSL features to negotiate with the TLS
122
+ # inspection proxy.
123
+ PROFILE_COMPATIBLE = 1
124
+
125
+ # Modern profile. Supports a wide set of SSL features, allowing modern
126
+ # clients to negotiate SSL with the TLS inspection proxy.
127
+ PROFILE_MODERN = 2
128
+
129
+ # Restricted profile. Supports a reduced set of SSL features, intended to
130
+ # meet stricter compliance requirements.
131
+ PROFILE_RESTRICTED = 3
132
+
133
+ # Custom profile. Allow only the set of allowed SSL features specified in
134
+ # the custom_features field of SslPolicy.
135
+ PROFILE_CUSTOM = 4
136
+ end
137
+ end
138
+
139
+ # Request used by the CreateTlsInspectionPolicy method.
140
+ # @!attribute [rw] parent
141
+ # @return [::String]
142
+ # Required. The parent resource of the TlsInspectionPolicy. Must be in the
143
+ # format `projects/{project}/locations/{location}`.
144
+ # @!attribute [rw] tls_inspection_policy_id
145
+ # @return [::String]
146
+ # Required. Short name of the TlsInspectionPolicy resource to be created.
147
+ # This value should be 1-63 characters long, containing only
148
+ # letters, numbers, hyphens, and underscores, and should not start
149
+ # with a number. E.g. "tls_inspection_policy1".
150
+ # @!attribute [rw] tls_inspection_policy
151
+ # @return [::Google::Cloud::NetworkSecurity::V1::TlsInspectionPolicy]
152
+ # Required. TlsInspectionPolicy resource to be created.
153
+ class CreateTlsInspectionPolicyRequest
154
+ include ::Google::Protobuf::MessageExts
155
+ extend ::Google::Protobuf::MessageExts::ClassMethods
156
+ end
157
+
158
+ # Request used with the ListTlsInspectionPolicies method.
159
+ # @!attribute [rw] parent
160
+ # @return [::String]
161
+ # Required. The project and location from which the TlsInspectionPolicies
162
+ # should be listed, specified in the format
163
+ # `projects/{project}/locations/{location}`.
164
+ # @!attribute [rw] page_size
165
+ # @return [::Integer]
166
+ # Maximum number of TlsInspectionPolicies to return per call.
167
+ # @!attribute [rw] page_token
168
+ # @return [::String]
169
+ # The value returned by the last
170
+ # 'ListTlsInspectionPoliciesResponse' Indicates that this is a
171
+ # continuation of a prior 'ListTlsInspectionPolicies' call, and
172
+ # that the system should return the next page of data.
173
+ class ListTlsInspectionPoliciesRequest
174
+ include ::Google::Protobuf::MessageExts
175
+ extend ::Google::Protobuf::MessageExts::ClassMethods
176
+ end
177
+
178
+ # Response returned by the ListTlsInspectionPolicies method.
179
+ # @!attribute [rw] tls_inspection_policies
180
+ # @return [::Array<::Google::Cloud::NetworkSecurity::V1::TlsInspectionPolicy>]
181
+ # List of TlsInspectionPolicies resources.
182
+ # @!attribute [rw] next_page_token
183
+ # @return [::String]
184
+ # If there might be more results than those appearing in this response, then
185
+ # 'next_page_token' is included. To get the next set of results, call this
186
+ # method again using the value of 'next_page_token' as 'page_token'.
187
+ # @!attribute [rw] unreachable
188
+ # @return [::Array<::String>]
189
+ # Locations that could not be reached.
190
+ class ListTlsInspectionPoliciesResponse
191
+ include ::Google::Protobuf::MessageExts
192
+ extend ::Google::Protobuf::MessageExts::ClassMethods
193
+ end
194
+
195
+ # Request used by the GetTlsInspectionPolicy method.
196
+ # @!attribute [rw] name
197
+ # @return [::String]
198
+ # Required. A name of the TlsInspectionPolicy to get. Must be in the format
199
+ # `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`.
200
+ class GetTlsInspectionPolicyRequest
201
+ include ::Google::Protobuf::MessageExts
202
+ extend ::Google::Protobuf::MessageExts::ClassMethods
203
+ end
204
+
205
+ # Request used by the DeleteTlsInspectionPolicy method.
206
+ # @!attribute [rw] name
207
+ # @return [::String]
208
+ # Required. A name of the TlsInspectionPolicy to delete. Must be in the
209
+ # format
210
+ # `projects/{project}/locations/{location}/tlsInspectionPolicies/{tls_inspection_policy}`.
211
+ # @!attribute [rw] force
212
+ # @return [::Boolean]
213
+ # If set to true, any rules for this TlsInspectionPolicy will also be
214
+ # deleted. (Otherwise, the request will only work if the TlsInspectionPolicy
215
+ # has no rules.)
216
+ class DeleteTlsInspectionPolicyRequest
217
+ include ::Google::Protobuf::MessageExts
218
+ extend ::Google::Protobuf::MessageExts::ClassMethods
219
+ end
220
+
221
+ # Request used by the UpdateTlsInspectionPolicy method.
222
+ # @!attribute [rw] update_mask
223
+ # @return [::Google::Protobuf::FieldMask]
224
+ # Optional. Field mask is used to specify the fields to be overwritten in the
225
+ # TlsInspectionPolicy resource by the update.
226
+ # The fields specified in the update_mask are relative to the resource, not
227
+ # the full request. A field will be overwritten if it is in the mask. If the
228
+ # user does not provide a mask then all fields will be overwritten.
229
+ # @!attribute [rw] tls_inspection_policy
230
+ # @return [::Google::Cloud::NetworkSecurity::V1::TlsInspectionPolicy]
231
+ # Required. Updated TlsInspectionPolicy resource.
232
+ class UpdateTlsInspectionPolicyRequest
233
+ include ::Google::Protobuf::MessageExts
234
+ extend ::Google::Protobuf::MessageExts::ClassMethods
235
+ end
236
+ end
237
+ end
238
+ end
239
+ 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
+ # UrlList proto helps users to set reusable, independently manageable lists
25
+ # of hosts, host patterns, URLs, URL patterns.
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Required. Name of the resource provided by the user.
29
+ # Name is of the form
30
+ # projects/\\{project}/locations/\\{location}/urlLists/\\{url_list}
31
+ # url_list should match the
32
+ # pattern:(^[a-z]([a-z0-9-]\\{0,61}[a-z0-9])?$).
33
+ # @!attribute [r] create_time
34
+ # @return [::Google::Protobuf::Timestamp]
35
+ # Output only. Time when the security policy was created.
36
+ # @!attribute [r] update_time
37
+ # @return [::Google::Protobuf::Timestamp]
38
+ # Output only. Time when the security policy was updated.
39
+ # @!attribute [rw] description
40
+ # @return [::String]
41
+ # Optional. Free-text description of the resource.
42
+ # @!attribute [rw] values
43
+ # @return [::Array<::String>]
44
+ # Required. FQDNs and URLs.
45
+ class UrlList
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+ end
49
+
50
+ # Request used by the ListUrlList method.
51
+ # @!attribute [rw] parent
52
+ # @return [::String]
53
+ # Required. The project and location from which the UrlLists should
54
+ # be listed, specified in the format
55
+ # `projects/{project}/locations/{location}`.
56
+ # @!attribute [rw] page_size
57
+ # @return [::Integer]
58
+ # Maximum number of UrlLists to return per call.
59
+ # @!attribute [rw] page_token
60
+ # @return [::String]
61
+ # The value returned by the last `ListUrlListsResponse`
62
+ # Indicates that this is a continuation of a prior
63
+ # `ListUrlLists` call, and that the system
64
+ # should return the next page of data.
65
+ class ListUrlListsRequest
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+ end
69
+
70
+ # Response returned by the ListUrlLists method.
71
+ # @!attribute [rw] url_lists
72
+ # @return [::Array<::Google::Cloud::NetworkSecurity::V1::UrlList>]
73
+ # List of UrlList resources.
74
+ # @!attribute [rw] next_page_token
75
+ # @return [::String]
76
+ # If there might be more results than those appearing in this response, then
77
+ # `next_page_token` is included. To get the next set of results, call this
78
+ # method again using the value of `next_page_token` as `page_token`.
79
+ # @!attribute [rw] unreachable
80
+ # @return [::Array<::String>]
81
+ # Locations that could not be reached.
82
+ class ListUrlListsResponse
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+
87
+ # Request used by the GetUrlList method.
88
+ # @!attribute [rw] name
89
+ # @return [::String]
90
+ # Required. A name of the UrlList to get. Must be in the format
91
+ # `projects/*/locations/{location}/urlLists/*`.
92
+ class GetUrlListRequest
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
+ end
96
+
97
+ # Request used by the CreateUrlList method.
98
+ # @!attribute [rw] parent
99
+ # @return [::String]
100
+ # Required. The parent resource of the UrlList. Must be in
101
+ # the format `projects/*/locations/{location}`.
102
+ # @!attribute [rw] url_list_id
103
+ # @return [::String]
104
+ # Required. Short name of the UrlList resource to be created. This value
105
+ # should be 1-63 characters long, containing only letters, numbers, hyphens,
106
+ # and underscores, and should not start with a number. E.g. "url_list".
107
+ # @!attribute [rw] url_list
108
+ # @return [::Google::Cloud::NetworkSecurity::V1::UrlList]
109
+ # Required. UrlList resource to be created.
110
+ class CreateUrlListRequest
111
+ include ::Google::Protobuf::MessageExts
112
+ extend ::Google::Protobuf::MessageExts::ClassMethods
113
+ end
114
+
115
+ # Request used by UpdateUrlList method.
116
+ # @!attribute [rw] update_mask
117
+ # @return [::Google::Protobuf::FieldMask]
118
+ # Optional. Field mask is used to specify the fields to be overwritten in the
119
+ # UrlList resource by the update. The fields
120
+ # specified in the update_mask are relative to the resource, not
121
+ # the full request. A field will be overwritten if it is in the
122
+ # mask. If the user does not provide a mask then all fields will be
123
+ # overwritten.
124
+ # @!attribute [rw] url_list
125
+ # @return [::Google::Cloud::NetworkSecurity::V1::UrlList]
126
+ # Required. Updated UrlList resource.
127
+ class UpdateUrlListRequest
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+ end
131
+
132
+ # Request used by the DeleteUrlList method.
133
+ # @!attribute [rw] name
134
+ # @return [::String]
135
+ # Required. A name of the UrlList to delete. Must be in
136
+ # the format `projects/*/locations/{location}/urlLists/*`.
137
+ class DeleteUrlListRequest
138
+ include ::Google::Protobuf::MessageExts
139
+ extend ::Google::Protobuf::MessageExts::ClassMethods
140
+ end
141
+ end
142
+ end
143
+ end
144
+ end
@@ -0,0 +1,191 @@
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 Longrunning
22
+ # This resource represents a long-running operation that is the result of a
23
+ # network API call.
24
+ # @!attribute [rw] name
25
+ # @return [::String]
26
+ # The server-assigned name, which is only unique within the same service that
27
+ # originally returns it. If you use the default HTTP mapping, the
28
+ # `name` should be a resource name ending with `operations/{unique_id}`.
29
+ # @!attribute [rw] metadata
30
+ # @return [::Google::Protobuf::Any]
31
+ # Service-specific metadata associated with the operation. It typically
32
+ # contains progress information and common metadata such as create time.
33
+ # Some services might not provide such metadata. Any method that returns a
34
+ # long-running operation should document the metadata type, if any.
35
+ # @!attribute [rw] done
36
+ # @return [::Boolean]
37
+ # If the value is `false`, it means the operation is still in progress.
38
+ # If `true`, the operation is completed, and either `error` or `response` is
39
+ # available.
40
+ # @!attribute [rw] error
41
+ # @return [::Google::Rpc::Status]
42
+ # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
45
+ # @!attribute [rw] response
46
+ # @return [::Google::Protobuf::Any]
47
+ # The normal, successful response of the operation. If the original
48
+ # method returns no data on success, such as `Delete`, the response is
49
+ # `google.protobuf.Empty`. If the original method is standard
50
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
51
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
52
+ # is the original method name. For example, if the original method name
53
+ # is `TakeSnapshot()`, the inferred response type is
54
+ # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
57
+ class Operation
58
+ include ::Google::Protobuf::MessageExts
59
+ extend ::Google::Protobuf::MessageExts::ClassMethods
60
+ end
61
+
62
+ # The request message for
63
+ # Operations.GetOperation.
64
+ # @!attribute [rw] name
65
+ # @return [::String]
66
+ # The name of the operation resource.
67
+ class GetOperationRequest
68
+ include ::Google::Protobuf::MessageExts
69
+ extend ::Google::Protobuf::MessageExts::ClassMethods
70
+ end
71
+
72
+ # The request message for
73
+ # Operations.ListOperations.
74
+ # @!attribute [rw] name
75
+ # @return [::String]
76
+ # The name of the operation's parent resource.
77
+ # @!attribute [rw] filter
78
+ # @return [::String]
79
+ # The standard list filter.
80
+ # @!attribute [rw] page_size
81
+ # @return [::Integer]
82
+ # The standard list page size.
83
+ # @!attribute [rw] page_token
84
+ # @return [::String]
85
+ # The standard list page token.
86
+ # @!attribute [rw] return_partial_success
87
+ # @return [::Boolean]
88
+ # When set to `true`, operations that are reachable are returned as normal,
89
+ # and those that are unreachable are returned in the
90
+ # [ListOperationsResponse.unreachable] field.
91
+ #
92
+ # This can only be `true` when reading across collections e.g. when `parent`
93
+ # is set to `"projects/example/locations/-"`.
94
+ #
95
+ # This field is not by default supported and will result in an
96
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
97
+ # service or product specific documentation.
98
+ class ListOperationsRequest
99
+ include ::Google::Protobuf::MessageExts
100
+ extend ::Google::Protobuf::MessageExts::ClassMethods
101
+ end
102
+
103
+ # The response message for
104
+ # Operations.ListOperations.
105
+ # @!attribute [rw] operations
106
+ # @return [::Array<::Google::Longrunning::Operation>]
107
+ # A list of operations that matches the specified filter in the request.
108
+ # @!attribute [rw] next_page_token
109
+ # @return [::String]
110
+ # The standard List next-page token.
111
+ # @!attribute [rw] unreachable
112
+ # @return [::Array<::String>]
113
+ # Unordered list. Unreachable resources. Populated when the request sets
114
+ # `ListOperationsRequest.return_partial_success` and reads across
115
+ # collections e.g. when attempting to list all resources across all supported
116
+ # locations.
117
+ class ListOperationsResponse
118
+ include ::Google::Protobuf::MessageExts
119
+ extend ::Google::Protobuf::MessageExts::ClassMethods
120
+ end
121
+
122
+ # The request message for
123
+ # Operations.CancelOperation.
124
+ # @!attribute [rw] name
125
+ # @return [::String]
126
+ # The name of the operation resource to be cancelled.
127
+ class CancelOperationRequest
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+ end
131
+
132
+ # The request message for
133
+ # Operations.DeleteOperation.
134
+ # @!attribute [rw] name
135
+ # @return [::String]
136
+ # The name of the operation resource to be deleted.
137
+ class DeleteOperationRequest
138
+ include ::Google::Protobuf::MessageExts
139
+ extend ::Google::Protobuf::MessageExts::ClassMethods
140
+ end
141
+
142
+ # The request message for
143
+ # Operations.WaitOperation.
144
+ # @!attribute [rw] name
145
+ # @return [::String]
146
+ # The name of the operation resource to wait on.
147
+ # @!attribute [rw] timeout
148
+ # @return [::Google::Protobuf::Duration]
149
+ # The maximum duration to wait before timing out. If left blank, the wait
150
+ # will be at most the time permitted by the underlying HTTP/RPC protocol.
151
+ # If RPC context deadline is also specified, the shorter one will be used.
152
+ class WaitOperationRequest
153
+ include ::Google::Protobuf::MessageExts
154
+ extend ::Google::Protobuf::MessageExts::ClassMethods
155
+ end
156
+
157
+ # A message representing the message types used by a long-running operation.
158
+ #
159
+ # Example:
160
+ #
161
+ # rpc Export(ExportRequest) returns (google.longrunning.Operation) {
162
+ # option (google.longrunning.operation_info) = {
163
+ # response_type: "ExportResponse"
164
+ # metadata_type: "ExportMetadata"
165
+ # };
166
+ # }
167
+ # @!attribute [rw] response_type
168
+ # @return [::String]
169
+ # Required. The message name of the primary return type for this
170
+ # long-running operation.
171
+ # This type will be used to deserialize the LRO's response.
172
+ #
173
+ # If the response is in a different package from the rpc, a fully-qualified
174
+ # message name must be used (e.g. `google.protobuf.Struct`).
175
+ #
176
+ # Note: Altering this value constitutes a breaking change.
177
+ # @!attribute [rw] metadata_type
178
+ # @return [::String]
179
+ # Required. The message name of the metadata type for this long-running
180
+ # operation.
181
+ #
182
+ # If the response is in a different package from the rpc, a fully-qualified
183
+ # message name must be used (e.g. `google.protobuf.Struct`).
184
+ #
185
+ # Note: Altering this value constitutes a breaking change.
186
+ class OperationInfo
187
+ include ::Google::Protobuf::MessageExts
188
+ extend ::Google::Protobuf::MessageExts::ClassMethods
189
+ end
190
+ end
191
+ end