google-cloud-network_security-v1beta1 0.4.0 → 0.5.0

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: 1f115238b504c1926a7bf623a6b0b341e1e8bc8e26801f6029eceeb886814200
4
- data.tar.gz: 57e2037c9a8c7444f3b77d566b8a39ffc745569e58abd73f93bb689fca152d4e
3
+ metadata.gz: b5dd6ed32040ed6d9687e3acb6556665b84081559e6100f98dd7579a1504ec83
4
+ data.tar.gz: 4629e9881014a433b93b1e1195b1ff715a85a5f5a9825d9b064bfdd21791ba2b
5
5
  SHA512:
6
- metadata.gz: a080627d2a0e1f89ee15793046d8e49c190d768e1e4d0b86e72bc8a457e57928fff45cd7f271fb20994b4927e4f477c11cdd4d2aef5d8ef465c0485204fa2fcb
7
- data.tar.gz: 80bed47092f5d0a5574c20107b71967dd8559a4f784cf8b898765bdf23e4d87039feb43e475fcf458d47bea93e86b881c654bb06637837ff4e7b01e83a0c652a
6
+ metadata.gz: d194fafd1e4056126785b0f42822e0afcf00691cf6eb32f8d9fc39e30f359ff5989902047fe74b888a0c4e3d8b4e38f9213273bb3d59f9d1867a913259ba99f6
7
+ data.tar.gz: 1f9060dd5ae233f7eb7fed083c1aea21a85c643d741cdc96d3b4acc3b46ca47601f381eded69d5545b2a12e7c83a20945ac19877f1212113470feba557187a1e
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -1664,9 +1664,9 @@ module Google
1664
1664
  # * (`String`) The path to a service account key file in JSON format
1665
1665
  # * (`Hash`) A service account key as a Hash
1666
1666
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1667
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1667
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1668
1668
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1669
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1669
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1670
1670
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1671
1671
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1672
1672
  # * (`nil`) indicating no credentials
@@ -620,9 +620,9 @@ module Google
620
620
  # * (`String`) The path to a service account key file in JSON format
621
621
  # * (`Hash`) A service account key as a Hash
622
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
625
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
626
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
627
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
628
  # * (`nil`) indicating no credentials
@@ -1237,9 +1237,9 @@ module Google
1237
1237
  # * (`String`) The path to a service account key file in JSON format
1238
1238
  # * (`Hash`) A service account key as a Hash
1239
1239
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1240
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1240
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1241
1241
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1242
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1242
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1243
1243
  # * (`nil`) indicating no credentials
1244
1244
  # @return [::Object]
1245
1245
  # @!attribute [rw] scope
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkSecurity
23
23
  module V1beta1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/networksecurity/v1beta1/authorization_policy.proto
3
4
 
@@ -8,67 +9,33 @@ require 'google/api/resource_pb'
8
9
  require 'google/protobuf/field_mask_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/cloud/networksecurity/v1beta1/authorization_policy.proto", :syntax => :proto3) do
13
- add_message "google.cloud.networksecurity.v1beta1.AuthorizationPolicy" do
14
- optional :name, :string, 1
15
- optional :description, :string, 2
16
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
17
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
18
- map :labels, :string, :string, 5
19
- optional :action, :enum, 6, "google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Action"
20
- repeated :rules, :message, 7, "google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule"
21
- end
22
- add_message "google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule" do
23
- repeated :sources, :message, 1, "google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Source"
24
- repeated :destinations, :message, 2, "google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination"
25
- end
26
- add_message "google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Source" do
27
- repeated :principals, :string, 1
28
- repeated :ip_blocks, :string, 2
29
- end
30
- add_message "google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination" do
31
- repeated :hosts, :string, 1
32
- repeated :ports, :uint32, 2
33
- repeated :methods, :string, 4
34
- optional :http_header_match, :message, 5, "google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination.HttpHeaderMatch"
35
- end
36
- add_message "google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Rule.Destination.HttpHeaderMatch" do
37
- optional :header_name, :string, 1
38
- oneof :type do
39
- optional :regex_match, :string, 2
40
- end
41
- end
42
- add_enum "google.cloud.networksecurity.v1beta1.AuthorizationPolicy.Action" do
43
- value :ACTION_UNSPECIFIED, 0
44
- value :ALLOW, 1
45
- value :DENY, 2
46
- end
47
- add_message "google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesRequest" do
48
- optional :parent, :string, 1
49
- optional :page_size, :int32, 2
50
- optional :page_token, :string, 3
51
- end
52
- add_message "google.cloud.networksecurity.v1beta1.ListAuthorizationPoliciesResponse" do
53
- repeated :authorization_policies, :message, 1, "google.cloud.networksecurity.v1beta1.AuthorizationPolicy"
54
- optional :next_page_token, :string, 2
55
- end
56
- add_message "google.cloud.networksecurity.v1beta1.GetAuthorizationPolicyRequest" do
57
- optional :name, :string, 1
58
- end
59
- add_message "google.cloud.networksecurity.v1beta1.CreateAuthorizationPolicyRequest" do
60
- optional :parent, :string, 1
61
- optional :authorization_policy_id, :string, 2
62
- optional :authorization_policy, :message, 3, "google.cloud.networksecurity.v1beta1.AuthorizationPolicy"
63
- end
64
- add_message "google.cloud.networksecurity.v1beta1.UpdateAuthorizationPolicyRequest" do
65
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
66
- optional :authorization_policy, :message, 2, "google.cloud.networksecurity.v1beta1.AuthorizationPolicy"
67
- end
68
- add_message "google.cloud.networksecurity.v1beta1.DeleteAuthorizationPolicyRequest" do
69
- optional :name, :string, 1
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"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
70
35
  end
71
36
  end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
72
39
  end
73
40
 
74
41
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/networksecurity/v1beta1/client_tls_policy.proto
3
4
 
@@ -9,43 +10,34 @@ require 'google/cloud/networksecurity/v1beta1/tls_pb'
9
10
  require 'google/protobuf/field_mask_pb'
10
11
  require 'google/protobuf/timestamp_pb'
11
12
 
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("google/cloud/networksecurity/v1beta1/client_tls_policy.proto", :syntax => :proto3) do
14
- add_message "google.cloud.networksecurity.v1beta1.ClientTlsPolicy" do
15
- optional :name, :string, 1
16
- optional :description, :string, 2
17
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
18
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
19
- map :labels, :string, :string, 5
20
- optional :sni, :string, 6
21
- optional :client_certificate, :message, 7, "google.cloud.networksecurity.v1beta1.CertificateProvider"
22
- repeated :server_validation_ca, :message, 8, "google.cloud.networksecurity.v1beta1.ValidationCA"
23
- end
24
- add_message "google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesRequest" do
25
- optional :parent, :string, 1
26
- optional :page_size, :int32, 2
27
- optional :page_token, :string, 3
28
- end
29
- add_message "google.cloud.networksecurity.v1beta1.ListClientTlsPoliciesResponse" do
30
- repeated :client_tls_policies, :message, 1, "google.cloud.networksecurity.v1beta1.ClientTlsPolicy"
31
- optional :next_page_token, :string, 2
32
- end
33
- add_message "google.cloud.networksecurity.v1beta1.GetClientTlsPolicyRequest" do
34
- optional :name, :string, 1
35
- end
36
- add_message "google.cloud.networksecurity.v1beta1.CreateClientTlsPolicyRequest" do
37
- optional :parent, :string, 1
38
- optional :client_tls_policy_id, :string, 2
39
- optional :client_tls_policy, :message, 3, "google.cloud.networksecurity.v1beta1.ClientTlsPolicy"
40
- end
41
- add_message "google.cloud.networksecurity.v1beta1.UpdateClientTlsPolicyRequest" do
42
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
43
- optional :client_tls_policy, :message, 2, "google.cloud.networksecurity.v1beta1.ClientTlsPolicy"
44
- end
45
- add_message "google.cloud.networksecurity.v1beta1.DeleteClientTlsPolicyRequest" do
46
- optional :name, :string, 1
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"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError => e
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
+ ["google.cloud.networksecurity.v1beta1.CertificateProvider", "google/cloud/networksecurity/v1beta1/tls.proto"],
31
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
32
+ ]
33
+ imports.each do |type_name, expected_filename|
34
+ import_file = pool.lookup(type_name).file_descriptor
35
+ if import_file.name != expected_filename
36
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
47
37
  end
48
38
  end
39
+ warn "Each proto file must use a consistent fully-qualified name."
40
+ warn "This will become an error in the next major version."
49
41
  end
50
42
 
51
43
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/networksecurity/v1beta1/common.proto
3
4
 
@@ -6,18 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/protobuf/timestamp_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/cloud/networksecurity/v1beta1/common.proto", :syntax => :proto3) do
11
- add_message "google.cloud.networksecurity.v1beta1.OperationMetadata" do
12
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
13
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
14
- optional :target, :string, 3
15
- optional :verb, :string, 4
16
- optional :status_message, :string, 5
17
- optional :requested_cancellation, :bool, 6
18
- optional :api_version, :string, 7
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"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
19
32
  end
20
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
21
36
  end
22
37
 
23
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/networksecurity/v1beta1/network_security.proto
3
4
 
@@ -10,9 +11,31 @@ require 'google/cloud/networksecurity/v1beta1/client_tls_policy_pb'
10
11
  require 'google/cloud/networksecurity/v1beta1/server_tls_policy_pb'
11
12
  require 'google/longrunning/operations_pb'
12
13
 
13
- Google::Protobuf::DescriptorPool.generated_pool.build do
14
- add_file("google/cloud/networksecurity/v1beta1/network_security.proto", :syntax => :proto3) do
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"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError => e
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
+ end
15
36
  end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
16
39
  end
17
40
 
18
41
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/networksecurity/v1beta1/server_tls_policy.proto
3
4
 
@@ -9,46 +10,34 @@ require 'google/cloud/networksecurity/v1beta1/tls_pb'
9
10
  require 'google/protobuf/field_mask_pb'
10
11
  require 'google/protobuf/timestamp_pb'
11
12
 
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("google/cloud/networksecurity/v1beta1/server_tls_policy.proto", :syntax => :proto3) do
14
- add_message "google.cloud.networksecurity.v1beta1.ServerTlsPolicy" do
15
- optional :name, :string, 1
16
- optional :description, :string, 2
17
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
18
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
19
- map :labels, :string, :string, 5
20
- optional :allow_open, :bool, 6
21
- optional :server_certificate, :message, 7, "google.cloud.networksecurity.v1beta1.CertificateProvider"
22
- optional :mtls_policy, :message, 8, "google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy"
23
- end
24
- add_message "google.cloud.networksecurity.v1beta1.ServerTlsPolicy.MTLSPolicy" do
25
- repeated :client_validation_ca, :message, 1, "google.cloud.networksecurity.v1beta1.ValidationCA"
26
- end
27
- add_message "google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesRequest" do
28
- optional :parent, :string, 1
29
- optional :page_size, :int32, 2
30
- optional :page_token, :string, 3
31
- end
32
- add_message "google.cloud.networksecurity.v1beta1.ListServerTlsPoliciesResponse" do
33
- repeated :server_tls_policies, :message, 1, "google.cloud.networksecurity.v1beta1.ServerTlsPolicy"
34
- optional :next_page_token, :string, 2
35
- end
36
- add_message "google.cloud.networksecurity.v1beta1.GetServerTlsPolicyRequest" do
37
- optional :name, :string, 1
38
- end
39
- add_message "google.cloud.networksecurity.v1beta1.CreateServerTlsPolicyRequest" do
40
- optional :parent, :string, 1
41
- optional :server_tls_policy_id, :string, 2
42
- optional :server_tls_policy, :message, 3, "google.cloud.networksecurity.v1beta1.ServerTlsPolicy"
43
- end
44
- add_message "google.cloud.networksecurity.v1beta1.UpdateServerTlsPolicyRequest" do
45
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
46
- optional :server_tls_policy, :message, 2, "google.cloud.networksecurity.v1beta1.ServerTlsPolicy"
47
- end
48
- add_message "google.cloud.networksecurity.v1beta1.DeleteServerTlsPolicyRequest" do
49
- optional :name, :string, 1
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"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError => e
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
+ ["google.cloud.networksecurity.v1beta1.CertificateProvider", "google/cloud/networksecurity/v1beta1/tls.proto"],
31
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
32
+ ]
33
+ imports.each do |type_name, expected_filename|
34
+ import_file = pool.lookup(type_name).file_descriptor
35
+ if import_file.name != expected_filename
36
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
50
37
  end
51
38
  end
39
+ warn "Each proto file must use a consistent fully-qualified name."
40
+ warn "This will become an error in the next major version."
52
41
  end
53
42
 
54
43
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/networksecurity/v1beta1/tls.proto
3
4
 
@@ -5,27 +6,31 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/api/field_behavior_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/networksecurity/v1beta1/tls.proto", :syntax => :proto3) do
10
- add_message "google.cloud.networksecurity.v1beta1.GrpcEndpoint" do
11
- optional :target_uri, :string, 1
12
- end
13
- add_message "google.cloud.networksecurity.v1beta1.ValidationCA" do
14
- oneof :type do
15
- optional :grpc_endpoint, :message, 2, "google.cloud.networksecurity.v1beta1.GrpcEndpoint"
16
- optional :certificate_provider_instance, :message, 3, "google.cloud.networksecurity.v1beta1.CertificateProviderInstance"
17
- end
18
- end
19
- add_message "google.cloud.networksecurity.v1beta1.CertificateProviderInstance" do
20
- optional :plugin_instance, :string, 1
21
- end
22
- add_message "google.cloud.networksecurity.v1beta1.CertificateProvider" do
23
- oneof :type do
24
- optional :grpc_endpoint, :message, 2, "google.cloud.networksecurity.v1beta1.GrpcEndpoint"
25
- optional :certificate_provider_instance, :message, 3, "google.cloud.networksecurity.v1beta1.CertificateProviderInstance"
26
- end
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"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
27
30
  end
28
31
  end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
29
34
  end
30
35
 
31
36
  module Google
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -81,7 +83,7 @@ module Google
81
83
  # long-running operation pattern.
82
84
  # @!attribute [rw] new_issue_uri
83
85
  # @return [::String]
84
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
85
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
88
  # @!attribute [rw] documentation_uri
87
89
  # @return [::String]
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -299,6 +353,15 @@ module Google
299
353
 
300
354
  # Street View Org.
301
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
302
365
  end
303
366
 
304
367
  # To where should client libraries be published?
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
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.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.0
19
+ version: 0.19.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.18.0
29
+ version: 0.19.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a