google-cloud-network_security-v1beta1 0.7.0 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46e07e87d006044f08fb8f91383f088f5be1a2def6fcec1b1fee97201b378e7e
4
- data.tar.gz: 7926384808a4216d81c7e63392f615c03345065c9db47b8d7011b5da6c28899a
3
+ metadata.gz: eb47a3cf2d533a11e3dbefdbeb711c8eaf8661db2e44d081837b43810a17d01f
4
+ data.tar.gz: 4e439925dad3fa3843613291cb07982a5fa31bdda0b8a07aa59a0b86f971659d
5
5
  SHA512:
6
- metadata.gz: 53de0ca41bf6e570a8e179480a020f448ba6d822fddf39c96b909f0acc41700aa0d49ed1d5df94aac3dc735cccdabae52318f14aa41e40319cd48232f65411a5
7
- data.tar.gz: b986d108e39ff9fe6dc41bc4f519421b911aabf1984083a7aeda8ce46294ff5829d5f1e803d596ebaf5feb6f5b1645122854491484f6f5331a87fd1f0ff346c4
6
+ metadata.gz: dc3505ccd11411b7f864c7ecb5294c3b12e0dd3fb4eae34ac36b7710a72b8f722ba425eee3784796892cdb17aedead2c5286fb7dacedbef67dadc5dbdf80a2e6
7
+ data.tar.gz: ee69272da17b9f0705c37340c0c4fcacc56ab895e0bee7c3aea326f24c9e33179228bd181cd52db1b2d7a059e7d82a61a31803a675d0dc51ecf85cecb33e28d4
@@ -159,20 +159,6 @@ module Google
159
159
  config.universe_domain = @config.universe_domain
160
160
  end
161
161
 
162
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
163
- config.credentials = credentials
164
- config.quota_project = @quota_project_id
165
- config.endpoint = @config.endpoint
166
- config.universe_domain = @config.universe_domain
167
- end
168
-
169
- @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
170
- config.credentials = credentials
171
- config.quota_project = @quota_project_id
172
- config.endpoint = @config.endpoint
173
- config.universe_domain = @config.universe_domain
174
- end
175
-
176
162
  @network_security_stub = ::Gapic::ServiceStub.new(
177
163
  ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Stub,
178
164
  credentials: credentials,
@@ -183,6 +169,20 @@ module Google
183
169
  interceptors: @config.interceptors,
184
170
  channel_pool_config: @config.channel_pool
185
171
  )
172
+
173
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
174
+ config.credentials = credentials
175
+ config.quota_project = @quota_project_id
176
+ config.endpoint = @network_security_stub.endpoint
177
+ config.universe_domain = @network_security_stub.universe_domain
178
+ end
179
+
180
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
181
+ config.credentials = credentials
182
+ config.quota_project = @quota_project_id
183
+ config.endpoint = @network_security_stub.endpoint
184
+ config.universe_domain = @network_security_stub.universe_domain
185
+ end
186
186
  end
187
187
 
188
188
  ##
@@ -156,28 +156,28 @@ module Google
156
156
  config.universe_domain = @config.universe_domain
157
157
  end
158
158
 
159
+ @network_security_stub = ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Rest::ServiceStub.new(
160
+ endpoint: @config.endpoint,
161
+ endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
162
+ universe_domain: @config.universe_domain,
163
+ credentials: credentials
164
+ )
165
+
159
166
  @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
160
167
  config.credentials = credentials
161
168
  config.quota_project = @quota_project_id
162
- config.endpoint = @config.endpoint
163
- config.universe_domain = @config.universe_domain
169
+ config.endpoint = @network_security_stub.endpoint
170
+ config.universe_domain = @network_security_stub.universe_domain
164
171
  config.bindings_override = @config.bindings_override
165
172
  end
166
173
 
167
174
  @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
168
175
  config.credentials = credentials
169
176
  config.quota_project = @quota_project_id
170
- config.endpoint = @config.endpoint
171
- config.universe_domain = @config.universe_domain
177
+ config.endpoint = @network_security_stub.endpoint
178
+ config.universe_domain = @network_security_stub.universe_domain
172
179
  config.bindings_override = @config.bindings_override
173
180
  end
174
-
175
- @network_security_stub = ::Google::Cloud::NetworkSecurity::V1beta1::NetworkSecurity::Rest::ServiceStub.new(
176
- endpoint: @config.endpoint,
177
- endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
178
- universe_domain: @config.universe_domain,
179
- credentials: credentials
180
- )
181
181
  end
182
182
 
183
183
  ##
@@ -52,6 +52,15 @@ module Google
52
52
  @client_stub.universe_domain
53
53
  end
54
54
 
55
+ ##
56
+ # The effective endpoint
57
+ #
58
+ # @return [String]
59
+ #
60
+ def endpoint
61
+ @client_stub.endpoint
62
+ end
63
+
55
64
  ##
56
65
  # Baseline implementation for the list_authorization_policies REST call
57
66
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkSecurity
23
23
  module V1beta1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.7.2"
25
25
  end
26
26
  end
27
27
  end
@@ -10,13 +10,13 @@ require 'google/protobuf/field_mask_pb'
10
10
  require 'google/protobuf/timestamp_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n?google/cloud/networksecurity/v1beta1/authorization_policy.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcf\t\n\x13\x41uthorizationPolicy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Z\n\x06labels\x18\x05 \x03(\x0b\x32\x45.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.LabelsEntryB\x03\xe0\x41\x01\x12U\n\x06\x61\x63tion\x18\x06 \x01(\x0e\x32@.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.ActionB\x03\xe0\x41\x02\x12R\n\x05rules\x18\x07 \x03(\x0b\x32>.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.RuleB\x03\xe0\x41\x01\x1a\xa0\x04\n\x04Rule\x12[\n\x07sources\x18\x01 \x03(\x0b\x32\x45.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.SourceB\x03\xe0\x41\x01\x12\x65\n\x0c\x64\x65stinations\x18\x02 \x03(\x0b\x32J.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.DestinationB\x03\xe0\x41\x01\x1a\x39\n\x06Source\x12\x17\n\nprincipals\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x16\n\tip_blocks\x18\x02 \x03(\tB\x03\xe0\x41\x01\x1a\x98\x02\n\x0b\x44\x65stination\x12\x12\n\x05hosts\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x12\n\x05ports\x18\x02 \x03(\rB\x03\xe0\x41\x02\x12\x14\n\x07methods\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12z\n\x11http_header_match\x18\x05 \x01(\x0b\x32Z.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination.HttpHeaderMatchB\x03\xe0\x41\x01\x1aO\n\x0fHttpHeaderMatch\x12\x1a\n\x0bregex_match\x18\x02 \x01(\tB\x03\xe0\x41\x02H\x00\x12\x18\n\x0bheader_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x06\n\x04type\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"5\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02:\x8e\x01\xea\x41\x8a\x01\n2networksecurity.googleapis.com/AuthorizationPolicy\x12Tprojects/{project}/locations/{location}/authorizationPolicies/{authorization_policy}\"\x84\x01\n ListAuthorizationPoliciesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x97\x01\n!ListAuthorizationPoliciesResponse\x12Y\n\x16\x61uthorization_policies\x18\x01 \x03(\x0b\x32\x39.google.cloud.networksecurity.v1beta1.AuthorizationPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"i\n\x1dGetAuthorizationPolicyRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2networksecurity.googleapis.com/AuthorizationPolicy\"\xf2\x01\n CreateAuthorizationPolicyRequest\x12J\n\x06parent\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\x12\x32networksecurity.googleapis.com/AuthorizationPolicy\x12$\n\x17\x61uthorization_policy_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\\\n\x14\x61uthorization_policy\x18\x03 \x01(\x0b\x32\x39.google.cloud.networksecurity.v1beta1.AuthorizationPolicyB\x03\xe0\x41\x02\"\xb6\x01\n UpdateAuthorizationPolicyRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\\\n\x14\x61uthorization_policy\x18\x02 \x01(\x0b\x32\x39.google.cloud.networksecurity.v1beta1.AuthorizationPolicyB\x03\xe0\x41\x02\"l\n DeleteAuthorizationPolicyRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2networksecurity.googleapis.com/AuthorizationPolicyB\x92\x02\n(com.google.cloud.networksecurity.v1beta1B\x18\x41uthorizationPolicyProtoP\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1b\x06proto3"
13
+ descriptor_data = "\n?google/cloud/networksecurity/v1beta1/authorization_policy.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe0\t\n\x13\x41uthorizationPolicy\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x19\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12[\n\x06labels\x18\x05 \x03(\x0b\x32\x45.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.LabelsEntryB\x04\xe2\x41\x01\x01\x12V\n\x06\x61\x63tion\x18\x06 \x01(\x0e\x32@.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.ActionB\x04\xe2\x41\x01\x02\x12S\n\x05rules\x18\x07 \x03(\x0b\x32>.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.RuleB\x04\xe2\x41\x01\x01\x1a\xaa\x04\n\x04Rule\x12\\\n\x07sources\x18\x01 \x03(\x0b\x32\x45.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.SourceB\x04\xe2\x41\x01\x01\x12\x66\n\x0c\x64\x65stinations\x18\x02 \x03(\x0b\x32J.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.DestinationB\x04\xe2\x41\x01\x01\x1a;\n\x06Source\x12\x18\n\nprincipals\x18\x01 \x03(\tB\x04\xe2\x41\x01\x01\x12\x17\n\tip_blocks\x18\x02 \x03(\tB\x04\xe2\x41\x01\x01\x1a\x9e\x02\n\x0b\x44\x65stination\x12\x13\n\x05hosts\x18\x01 \x03(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x05ports\x18\x02 \x03(\rB\x04\xe2\x41\x01\x02\x12\x15\n\x07methods\x18\x04 \x03(\tB\x04\xe2\x41\x01\x01\x12{\n\x11http_header_match\x18\x05 \x01(\x0b\x32Z.google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination.HttpHeaderMatchB\x04\xe2\x41\x01\x01\x1aQ\n\x0fHttpHeaderMatch\x12\x1b\n\x0bregex_match\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02H\x00\x12\x19\n\x0bheader_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x42\x06\n\x04type\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"5\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02:\x8e\x01\xea\x41\x8a\x01\n2networksecurity.googleapis.com/AuthorizationPolicy\x12Tprojects/{project}/locations/{location}/authorizationPolicies/{authorization_policy}\"\x85\x01\n ListAuthorizationPoliciesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x97\x01\n!ListAuthorizationPoliciesResponse\x12Y\n\x16\x61uthorization_policies\x18\x01 \x03(\x0b\x32\x39.google.cloud.networksecurity.v1beta1.AuthorizationPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"j\n\x1dGetAuthorizationPolicyRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe2\x41\x01\x02\xfa\x41\x34\n2networksecurity.googleapis.com/AuthorizationPolicy\"\xf5\x01\n CreateAuthorizationPolicyRequest\x12K\n\x06parent\x18\x01 \x01(\tB;\xe2\x41\x01\x02\xfa\x41\x34\x12\x32networksecurity.googleapis.com/AuthorizationPolicy\x12%\n\x17\x61uthorization_policy_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12]\n\x14\x61uthorization_policy\x18\x03 \x01(\x0b\x32\x39.google.cloud.networksecurity.v1beta1.AuthorizationPolicyB\x04\xe2\x41\x01\x02\"\xb8\x01\n UpdateAuthorizationPolicyRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12]\n\x14\x61uthorization_policy\x18\x02 \x01(\x0b\x32\x39.google.cloud.networksecurity.v1beta1.AuthorizationPolicyB\x04\xe2\x41\x01\x02\"m\n DeleteAuthorizationPolicyRequest\x12I\n\x04name\x18\x01 \x01(\tB;\xe2\x41\x01\x02\xfa\x41\x34\n2networksecurity.googleapis.com/AuthorizationPolicyB\x92\x02\n(com.google.cloud.networksecurity.v1beta1B\x18\x41uthorizationPolicyProtoP\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1b\x06proto3"
14
14
 
15
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
17
17
  begin
18
18
  pool.add_serialized_file(descriptor_data)
19
- rescue TypeError => e
19
+ rescue TypeError
20
20
  # Compatibility code: will be removed in the next major version.
21
21
  require 'google/protobuf/descriptor_pb'
22
22
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -11,13 +11,13 @@ require 'google/protobuf/field_mask_pb'
11
11
  require 'google/protobuf/timestamp_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n<google/cloud/networksecurity/v1beta1/client_tls_policy.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/networksecurity/v1beta1/tls.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfb\x04\n\x0f\x43lientTlsPolicy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12V\n\x06labels\x18\x05 \x03(\x0b\x32\x41.google.cloud.networksecurity.v1beta1.ClientTlsPolicy.LabelsEntryB\x03\xe0\x41\x01\x12\x10\n\x03sni\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12Z\n\x12\x63lient_certificate\x18\x07 \x01(\x0b\x32\x39.google.cloud.networksecurity.v1beta1.CertificateProviderB\x03\xe0\x41\x01\x12U\n\x14server_validation_ca\x18\x08 \x03(\x0b\x32\x32.google.cloud.networksecurity.v1beta1.ValidationCAB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x82\x01\xea\x41\x7f\n.networksecurity.googleapis.com/ClientTlsPolicy\x12Mprojects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}\"\x80\x01\n\x1cListClientTlsPoliciesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8c\x01\n\x1dListClientTlsPoliciesResponse\x12R\n\x13\x63lient_tls_policies\x18\x01 \x03(\x0b\x32\x35.google.cloud.networksecurity.v1beta1.ClientTlsPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x19GetClientTlsPolicyRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.networksecurity.googleapis.com/ClientTlsPolicy\"\xe0\x01\n\x1c\x43reateClientTlsPolicyRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.networksecurity.googleapis.com/ClientTlsPolicy\x12!\n\x14\x63lient_tls_policy_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12U\n\x11\x63lient_tls_policy\x18\x03 \x01(\x0b\x32\x35.google.cloud.networksecurity.v1beta1.ClientTlsPolicyB\x03\xe0\x41\x02\"\xab\x01\n\x1cUpdateClientTlsPolicyRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12U\n\x11\x63lient_tls_policy\x18\x02 \x01(\x0b\x32\x35.google.cloud.networksecurity.v1beta1.ClientTlsPolicyB\x03\xe0\x41\x02\"d\n\x1c\x44\x65leteClientTlsPolicyRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.networksecurity.googleapis.com/ClientTlsPolicyB\x8e\x02\n(com.google.cloud.networksecurity.v1beta1B\x14\x43lientTlsPolicyProtoP\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1b\x06proto3"
14
+ descriptor_data = "\n<google/cloud/networksecurity/v1beta1/client_tls_policy.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/networksecurity/v1beta1/tls.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x83\x05\n\x0f\x43lientTlsPolicy\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x19\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12W\n\x06labels\x18\x05 \x03(\x0b\x32\x41.google.cloud.networksecurity.v1beta1.ClientTlsPolicy.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x11\n\x03sni\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\x12[\n\x12\x63lient_certificate\x18\x07 \x01(\x0b\x32\x39.google.cloud.networksecurity.v1beta1.CertificateProviderB\x04\xe2\x41\x01\x01\x12V\n\x14server_validation_ca\x18\x08 \x03(\x0b\x32\x32.google.cloud.networksecurity.v1beta1.ValidationCAB\x04\xe2\x41\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x82\x01\xea\x41\x7f\n.networksecurity.googleapis.com/ClientTlsPolicy\x12Mprojects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}\"\x81\x01\n\x1cListClientTlsPoliciesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8c\x01\n\x1dListClientTlsPoliciesResponse\x12R\n\x13\x63lient_tls_policies\x18\x01 \x03(\x0b\x32\x35.google.cloud.networksecurity.v1beta1.ClientTlsPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"b\n\x19GetClientTlsPolicyRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe2\x41\x01\x02\xfa\x41\x30\n.networksecurity.googleapis.com/ClientTlsPolicy\"\xe3\x01\n\x1c\x43reateClientTlsPolicyRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe2\x41\x01\x02\xfa\x41\x30\x12.networksecurity.googleapis.com/ClientTlsPolicy\x12\"\n\x14\x63lient_tls_policy_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12V\n\x11\x63lient_tls_policy\x18\x03 \x01(\x0b\x32\x35.google.cloud.networksecurity.v1beta1.ClientTlsPolicyB\x04\xe2\x41\x01\x02\"\xad\x01\n\x1cUpdateClientTlsPolicyRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12V\n\x11\x63lient_tls_policy\x18\x02 \x01(\x0b\x32\x35.google.cloud.networksecurity.v1beta1.ClientTlsPolicyB\x04\xe2\x41\x01\x02\"e\n\x1c\x44\x65leteClientTlsPolicyRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe2\x41\x01\x02\xfa\x41\x30\n.networksecurity.googleapis.com/ClientTlsPolicyB\x8e\x02\n(com.google.cloud.networksecurity.v1beta1B\x14\x43lientTlsPolicyProtoP\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
18
18
  begin
19
19
  pool.add_serialized_file(descriptor_data)
20
- rescue TypeError => e
20
+ rescue TypeError
21
21
  # Compatibility code: will be removed in the next major version.
22
22
  require 'google/protobuf/descriptor_pb'
23
23
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -8,13 +8,13 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n1google/cloud/networksecurity/v1beta1/common.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x42\x85\x02\n(com.google.cloud.networksecurity.v1beta1B\x0b\x43ommonProtoP\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1b\x06proto3"
11
+ descriptor_data = "\n1google/cloud/networksecurity/v1beta1/common.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x87\x02\n\x11OperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x42\x85\x02\n(com.google.cloud.networksecurity.v1beta1B\x0b\x43ommonProtoP\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
15
15
  begin
16
16
  pool.add_serialized_file(descriptor_data)
17
- rescue TypeError => e
17
+ rescue TypeError
18
18
  # Compatibility code: will be removed in the next major version.
19
19
  require 'google/protobuf/descriptor_pb'
20
20
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -12,13 +12,13 @@ require 'google/cloud/networksecurity/v1beta1/server_tls_policy_pb'
12
12
  require 'google/longrunning/operations_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n;google/cloud/networksecurity/v1beta1/network_security.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a?google/cloud/networksecurity/v1beta1/authorization_policy.proto\x1a<google/cloud/networksecurity/v1beta1/client_tls_policy.proto\x1a<google/cloud/networksecurity/v1beta1/server_tls_policy.proto\x1a#google/longrunning/operations.proto2\xde\"\n\x0fNetworkSecurity\x12\xfd\x01\n\x19ListAuthorizationPolicies\x12\x46.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest\x1aG.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse\"O\x82\xd3\xe4\x93\x02@\x12>/v1beta1/{parent=projects/*/locations/*}/authorizationPolicies\xda\x41\x06parent\x12\xe7\x01\n\x16GetAuthorizationPolicy\x12\x43.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest\x1a\x39.google.cloud.networksecurity.v1beta1.AuthorizationPolicy\"M\x82\xd3\xe4\x93\x02@\x12>/v1beta1/{name=projects/*/locations/*/authorizationPolicies/*}\xda\x41\x04name\x12\xe7\x02\n\x19\x43reateAuthorizationPolicy\x12\x46.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xe2\x01\x82\xd3\xe4\x93\x02V\">/v1beta1/{parent=projects/*/locations/*}/authorizationPolicies:\x14\x61uthorization_policy\xda\x41\x33parent,authorization_policy,authorization_policy_id\xca\x41M\n\x13\x41uthorizationPolicy\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\x12\xe9\x02\n\x19UpdateAuthorizationPolicy\x12\x46.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xe4\x01\x82\xd3\xe4\x93\x02k2S/v1beta1/{authorization_policy.name=projects/*/locations/*/authorizationPolicies/*}:\x14\x61uthorization_policy\xda\x41 authorization_policy,update_mask\xca\x41M\n\x13\x41uthorizationPolicy\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\x12\xa4\x02\n\x19\x44\x65leteAuthorizationPolicy\x12\x46.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\x82\xd3\xe4\x93\x02@*>/v1beta1/{name=projects/*/locations/*/authorizationPolicies/*}\xda\x41\x04name\xca\x41O\n\x15google.protobuf.Empty\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\x12\xed\x01\n\x15ListServerTlsPolicies\x12\x42.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest\x1a\x43.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1beta1/{parent=projects/*/locations/*}/serverTlsPolicies\xda\x41\x06parent\x12\xd7\x01\n\x12GetServerTlsPolicy\x12?.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest\x1a\x35.google.cloud.networksecurity.v1beta1.ServerTlsPolicy\"I\x82\xd3\xe4\x93\x02<\x12:/v1beta1/{name=projects/*/locations/*/serverTlsPolicies/*}\xda\x41\x04name\x12\xce\x02\n\x15\x43reateServerTlsPolicy\x12\x42.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xd1\x01\x82\xd3\xe4\x93\x02O\":/v1beta1/{parent=projects/*/locations/*}/serverTlsPolicies:\x11server_tls_policy\xda\x41-parent,server_tls_policy,server_tls_policy_id\xca\x41I\n\x0fServerTlsPolicy\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\x12\xd0\x02\n\x15UpdateServerTlsPolicy\x12\x42.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xd3\x01\x82\xd3\xe4\x93\x02\x61\x32L/v1beta1/{server_tls_policy.name=projects/*/locations/*/serverTlsPolicies/*}:\x11server_tls_policy\xda\x41\x1dserver_tls_policy,update_mask\xca\x41I\n\x0fServerTlsPolicy\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\x12\x98\x02\n\x15\x44\x65leteServerTlsPolicy\x12\x42.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\x82\xd3\xe4\x93\x02<*:/v1beta1/{name=projects/*/locations/*/serverTlsPolicies/*}\xda\x41\x04name\xca\x41O\n\x15google.protobuf.Empty\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\x12\xed\x01\n\x15ListClientTlsPolicies\x12\x42.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest\x1a\x43.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse\"K\x82\xd3\xe4\x93\x02<\x12:/v1beta1/{parent=projects/*/locations/*}/clientTlsPolicies\xda\x41\x06parent\x12\xd7\x01\n\x12GetClientTlsPolicy\x12?.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest\x1a\x35.google.cloud.networksecurity.v1beta1.ClientTlsPolicy\"I\x82\xd3\xe4\x93\x02<\x12:/v1beta1/{name=projects/*/locations/*/clientTlsPolicies/*}\xda\x41\x04name\x12\xce\x02\n\x15\x43reateClientTlsPolicy\x12\x42.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xd1\x01\x82\xd3\xe4\x93\x02O\":/v1beta1/{parent=projects/*/locations/*}/clientTlsPolicies:\x11\x63lient_tls_policy\xda\x41-parent,client_tls_policy,client_tls_policy_id\xca\x41I\n\x0f\x43lientTlsPolicy\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\x12\xd0\x02\n\x15UpdateClientTlsPolicy\x12\x42.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xd3\x01\x82\xd3\xe4\x93\x02\x61\x32L/v1beta1/{client_tls_policy.name=projects/*/locations/*/clientTlsPolicies/*}:\x11\x63lient_tls_policy\xda\x41\x1d\x63lient_tls_policy,update_mask\xca\x41I\n\x0f\x43lientTlsPolicy\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\x12\x98\x02\n\x15\x44\x65leteClientTlsPolicy\x12\x42.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\x82\xd3\xe4\x93\x02<*:/v1beta1/{name=projects/*/locations/*/clientTlsPolicies/*}\xda\x41\x04name\xca\x41O\n\x15google.protobuf.Empty\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\x1aR\xca\x41\x1enetworksecurity.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf8\x01\n(com.google.cloud.networksecurity.v1beta1P\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1b\x06proto3"
15
+ descriptor_data = "\n;google/cloud/networksecurity/v1beta1/network_security.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a?google/cloud/networksecurity/v1beta1/authorization_policy.proto\x1a<google/cloud/networksecurity/v1beta1/client_tls_policy.proto\x1a<google/cloud/networksecurity/v1beta1/server_tls_policy.proto\x1a#google/longrunning/operations.proto2\xde\"\n\x0fNetworkSecurity\x12\xfd\x01\n\x19ListAuthorizationPolicies\x12\x46.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest\x1aG.google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse\"O\xda\x41\x06parent\x82\xd3\xe4\x93\x02@\x12>/v1beta1/{parent=projects/*/locations/*}/authorizationPolicies\x12\xe7\x01\n\x16GetAuthorizationPolicy\x12\x43.google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest\x1a\x39.google.cloud.networksecurity.v1beta1.AuthorizationPolicy\"M\xda\x41\x04name\x82\xd3\xe4\x93\x02@\x12>/v1beta1/{name=projects/*/locations/*/authorizationPolicies/*}\x12\xe7\x02\n\x19\x43reateAuthorizationPolicy\x12\x46.google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xe2\x01\xca\x41M\n\x13\x41uthorizationPolicy\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\xda\x41\x33parent,authorization_policy,authorization_policy_id\x82\xd3\xe4\x93\x02V\">/v1beta1/{parent=projects/*/locations/*}/authorizationPolicies:\x14\x61uthorization_policy\x12\xe9\x02\n\x19UpdateAuthorizationPolicy\x12\x46.google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xe4\x01\xca\x41M\n\x13\x41uthorizationPolicy\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\xda\x41 authorization_policy,update_mask\x82\xd3\xe4\x93\x02k2S/v1beta1/{authorization_policy.name=projects/*/locations/*/authorizationPolicies/*}:\x14\x61uthorization_policy\x12\xa4\x02\n\x19\x44\x65leteAuthorizationPolicy\x12\x46.google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\xca\x41O\n\x15google.protobuf.Empty\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02@*>/v1beta1/{name=projects/*/locations/*/authorizationPolicies/*}\x12\xed\x01\n\x15ListServerTlsPolicies\x12\x42.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest\x1a\x43.google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1beta1/{parent=projects/*/locations/*}/serverTlsPolicies\x12\xd7\x01\n\x12GetServerTlsPolicy\x12?.google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest\x1a\x35.google.cloud.networksecurity.v1beta1.ServerTlsPolicy\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1beta1/{name=projects/*/locations/*/serverTlsPolicies/*}\x12\xce\x02\n\x15\x43reateServerTlsPolicy\x12\x42.google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xd1\x01\xca\x41I\n\x0fServerTlsPolicy\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\xda\x41-parent,server_tls_policy,server_tls_policy_id\x82\xd3\xe4\x93\x02O\":/v1beta1/{parent=projects/*/locations/*}/serverTlsPolicies:\x11server_tls_policy\x12\xd0\x02\n\x15UpdateServerTlsPolicy\x12\x42.google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xd3\x01\xca\x41I\n\x0fServerTlsPolicy\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\xda\x41\x1dserver_tls_policy,update_mask\x82\xd3\xe4\x93\x02\x61\x32L/v1beta1/{server_tls_policy.name=projects/*/locations/*/serverTlsPolicies/*}:\x11server_tls_policy\x12\x98\x02\n\x15\x44\x65leteServerTlsPolicy\x12\x42.google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\xca\x41O\n\x15google.protobuf.Empty\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02<*:/v1beta1/{name=projects/*/locations/*/serverTlsPolicies/*}\x12\xed\x01\n\x15ListClientTlsPolicies\x12\x42.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest\x1a\x43.google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v1beta1/{parent=projects/*/locations/*}/clientTlsPolicies\x12\xd7\x01\n\x12GetClientTlsPolicy\x12?.google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest\x1a\x35.google.cloud.networksecurity.v1beta1.ClientTlsPolicy\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v1beta1/{name=projects/*/locations/*/clientTlsPolicies/*}\x12\xce\x02\n\x15\x43reateClientTlsPolicy\x12\x42.google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xd1\x01\xca\x41I\n\x0f\x43lientTlsPolicy\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\xda\x41-parent,client_tls_policy,client_tls_policy_id\x82\xd3\xe4\x93\x02O\":/v1beta1/{parent=projects/*/locations/*}/clientTlsPolicies:\x11\x63lient_tls_policy\x12\xd0\x02\n\x15UpdateClientTlsPolicy\x12\x42.google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest\x1a\x1d.google.longrunning.Operation\"\xd3\x01\xca\x41I\n\x0f\x43lientTlsPolicy\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\xda\x41\x1d\x63lient_tls_policy,update_mask\x82\xd3\xe4\x93\x02\x61\x32L/v1beta1/{client_tls_policy.name=projects/*/locations/*/clientTlsPolicies/*}:\x11\x63lient_tls_policy\x12\x98\x02\n\x15\x44\x65leteClientTlsPolicy\x12\x42.google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest\x1a\x1d.google.longrunning.Operation\"\x9b\x01\xca\x41O\n\x15google.protobuf.Empty\x12\x36google.cloud.networksecurity.v1beta1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02<*:/v1beta1/{name=projects/*/locations/*/clientTlsPolicies/*}\x1aR\xca\x41\x1enetworksecurity.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf8\x01\n(com.google.cloud.networksecurity.v1beta1P\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1b\x06proto3"
16
16
 
17
17
  pool = Google::Protobuf::DescriptorPool.generated_pool
18
18
 
19
19
  begin
20
20
  pool.add_serialized_file(descriptor_data)
21
- rescue TypeError => e
21
+ rescue TypeError
22
22
  # Compatibility code: will be removed in the next major version.
23
23
  require 'google/protobuf/descriptor_pb'
24
24
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -11,13 +11,13 @@ require 'google/protobuf/field_mask_pb'
11
11
  require 'google/protobuf/timestamp_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n<google/cloud/networksecurity/v1beta1/server_tls_policy.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/networksecurity/v1beta1/tls.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xce\x05\n\x0fServerTlsPolicy\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Q\n\x06labels\x18\x05 \x03(\x0b\x32\x41.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.LabelsEntry\x12\x12\n\nallow_open\x18\x06 \x01(\x08\x12U\n\x12server_certificate\x18\x07 \x01(\x0b\x32\x39.google.cloud.networksecurity.v1beta1.CertificateProvider\x12U\n\x0bmtls_policy\x18\x08 \x01(\x0b\x32@.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy\x1a^\n\nMTLSPolicy\x12P\n\x14\x63lient_validation_ca\x18\x01 \x03(\x0b\x32\x32.google.cloud.networksecurity.v1beta1.ValidationCA\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x82\x01\xea\x41\x7f\n.networksecurity.googleapis.com/ServerTlsPolicy\x12Mprojects/{project}/locations/{location}/serverTlsPolicies/{server_tls_policy}\"\x80\x01\n\x1cListServerTlsPoliciesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8c\x01\n\x1dListServerTlsPoliciesResponse\x12R\n\x13server_tls_policies\x18\x01 \x03(\x0b\x32\x35.google.cloud.networksecurity.v1beta1.ServerTlsPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x19GetServerTlsPolicyRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.networksecurity.googleapis.com/ServerTlsPolicy\"\xe0\x01\n\x1c\x43reateServerTlsPolicyRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\x12.networksecurity.googleapis.com/ServerTlsPolicy\x12!\n\x14server_tls_policy_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12U\n\x11server_tls_policy\x18\x03 \x01(\x0b\x32\x35.google.cloud.networksecurity.v1beta1.ServerTlsPolicyB\x03\xe0\x41\x02\"\xab\x01\n\x1cUpdateServerTlsPolicyRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12U\n\x11server_tls_policy\x18\x02 \x01(\x0b\x32\x35.google.cloud.networksecurity.v1beta1.ServerTlsPolicyB\x03\xe0\x41\x02\"d\n\x1c\x44\x65leteServerTlsPolicyRequest\x12\x44\n\x04name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.networksecurity.googleapis.com/ServerTlsPolicyB\x8e\x02\n(com.google.cloud.networksecurity.v1beta1B\x14ServerTlsPolicyProtoP\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1b\x06proto3"
14
+ descriptor_data = "\n<google/cloud/networksecurity/v1beta1/server_tls_policy.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/networksecurity/v1beta1/tls.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd1\x05\n\x0fServerTlsPolicy\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12Q\n\x06labels\x18\x05 \x03(\x0b\x32\x41.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.LabelsEntry\x12\x12\n\nallow_open\x18\x06 \x01(\x08\x12U\n\x12server_certificate\x18\x07 \x01(\x0b\x32\x39.google.cloud.networksecurity.v1beta1.CertificateProvider\x12U\n\x0bmtls_policy\x18\x08 \x01(\x0b\x32@.google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy\x1a^\n\nMTLSPolicy\x12P\n\x14\x63lient_validation_ca\x18\x01 \x03(\x0b\x32\x32.google.cloud.networksecurity.v1beta1.ValidationCA\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x82\x01\xea\x41\x7f\n.networksecurity.googleapis.com/ServerTlsPolicy\x12Mprojects/{project}/locations/{location}/serverTlsPolicies/{server_tls_policy}\"\x81\x01\n\x1cListServerTlsPoliciesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8c\x01\n\x1dListServerTlsPoliciesResponse\x12R\n\x13server_tls_policies\x18\x01 \x03(\x0b\x32\x35.google.cloud.networksecurity.v1beta1.ServerTlsPolicy\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"b\n\x19GetServerTlsPolicyRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe2\x41\x01\x02\xfa\x41\x30\n.networksecurity.googleapis.com/ServerTlsPolicy\"\xe3\x01\n\x1c\x43reateServerTlsPolicyRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe2\x41\x01\x02\xfa\x41\x30\x12.networksecurity.googleapis.com/ServerTlsPolicy\x12\"\n\x14server_tls_policy_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12V\n\x11server_tls_policy\x18\x03 \x01(\x0b\x32\x35.google.cloud.networksecurity.v1beta1.ServerTlsPolicyB\x04\xe2\x41\x01\x02\"\xad\x01\n\x1cUpdateServerTlsPolicyRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\x12V\n\x11server_tls_policy\x18\x02 \x01(\x0b\x32\x35.google.cloud.networksecurity.v1beta1.ServerTlsPolicyB\x04\xe2\x41\x01\x02\"e\n\x1c\x44\x65leteServerTlsPolicyRequest\x12\x45\n\x04name\x18\x01 \x01(\tB7\xe2\x41\x01\x02\xfa\x41\x30\n.networksecurity.googleapis.com/ServerTlsPolicyB\x8e\x02\n(com.google.cloud.networksecurity.v1beta1B\x14ServerTlsPolicyProtoP\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
18
18
  begin
19
19
  pool.add_serialized_file(descriptor_data)
20
- rescue TypeError => e
20
+ rescue TypeError
21
21
  # Compatibility code: will be removed in the next major version.
22
22
  require 'google/protobuf/descriptor_pb'
23
23
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -7,13 +7,13 @@ require 'google/protobuf'
7
7
  require 'google/api/field_behavior_pb'
8
8
 
9
9
 
10
- descriptor_data = "\n.google/cloud/networksecurity/v1beta1/tls.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\"\'\n\x0cGrpcEndpoint\x12\x17\n\ntarget_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xcf\x01\n\x0cValidationCA\x12K\n\rgrpc_endpoint\x18\x02 \x01(\x0b\x32\x32.google.cloud.networksecurity.v1beta1.GrpcEndpointH\x00\x12j\n\x1d\x63\x65rtificate_provider_instance\x18\x03 \x01(\x0b\x32\x41.google.cloud.networksecurity.v1beta1.CertificateProviderInstanceH\x00\x42\x06\n\x04type\";\n\x1b\x43\x65rtificateProviderInstance\x12\x1c\n\x0fplugin_instance\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xd6\x01\n\x13\x43\x65rtificateProvider\x12K\n\rgrpc_endpoint\x18\x02 \x01(\x0b\x32\x32.google.cloud.networksecurity.v1beta1.GrpcEndpointH\x00\x12j\n\x1d\x63\x65rtificate_provider_instance\x18\x03 \x01(\x0b\x32\x41.google.cloud.networksecurity.v1beta1.CertificateProviderInstanceH\x00\x42\x06\n\x04typeB\x82\x02\n(com.google.cloud.networksecurity.v1beta1B\x08TlsProtoP\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1b\x06proto3"
10
+ descriptor_data = "\n.google/cloud/networksecurity/v1beta1/tls.proto\x12$google.cloud.networksecurity.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\"(\n\x0cGrpcEndpoint\x12\x18\n\ntarget_uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"\xcf\x01\n\x0cValidationCA\x12K\n\rgrpc_endpoint\x18\x02 \x01(\x0b\x32\x32.google.cloud.networksecurity.v1beta1.GrpcEndpointH\x00\x12j\n\x1d\x63\x65rtificate_provider_instance\x18\x03 \x01(\x0b\x32\x41.google.cloud.networksecurity.v1beta1.CertificateProviderInstanceH\x00\x42\x06\n\x04type\"<\n\x1b\x43\x65rtificateProviderInstance\x12\x1d\n\x0fplugin_instance\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"\xd6\x01\n\x13\x43\x65rtificateProvider\x12K\n\rgrpc_endpoint\x18\x02 \x01(\x0b\x32\x32.google.cloud.networksecurity.v1beta1.GrpcEndpointH\x00\x12j\n\x1d\x63\x65rtificate_provider_instance\x18\x03 \x01(\x0b\x32\x41.google.cloud.networksecurity.v1beta1.CertificateProviderInstanceH\x00\x42\x06\n\x04typeB\x82\x02\n(com.google.cloud.networksecurity.v1beta1B\x08TlsProtoP\x01ZRcloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb\xaa\x02$Google.Cloud.NetworkSecurity.V1Beta1\xca\x02$Google\\Cloud\\NetworkSecurity\\V1beta1\xea\x02\'Google::Cloud::NetworkSecurity::V1beta1b\x06proto3"
11
11
 
12
12
  pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
14
14
  begin
15
15
  pool.add_serialized_file(descriptor_data)
16
- rescue TypeError => e
16
+ rescue TypeError
17
17
  # Compatibility code: will be removed in the next major version.
18
18
  require 'google/protobuf/descriptor_pb'
19
19
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -129,7 +129,8 @@ module Google
129
129
  #
130
130
  # Note: this functionality is not currently available in the official
131
131
  # protobuf release, and it is not used for type URLs beginning with
132
- # type.googleapis.com.
132
+ # type.googleapis.com. As of May 2023, there are no widely used type server
133
+ # implementations and no plans to implement one.
133
134
  #
134
135
  # Schemes other than `http`, `https` (or the empty scheme) might be
135
136
  # used with implementation specific semantics.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-network_security-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-11 00:00:00.000000000 Z
11
+ date: 2024-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common