google-cloud-network_security-v1beta1 0.4.0 → 0.5.1

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: b85fba0bd5a02b79a0e3ff190c43fbbced9896fc2cb27f7a89e437f580bdff06
4
+ data.tar.gz: 5ab86cbfa6dbc2c8946d07d748fde7cc4ec61106292ba1beb23452e80095604d
5
5
  SHA512:
6
- metadata.gz: a080627d2a0e1f89ee15793046d8e49c190d768e1e4d0b86e72bc8a457e57928fff45cd7f271fb20994b4927e4f477c11cdd4d2aef5d8ef465c0485204fa2fcb
7
- data.tar.gz: 80bed47092f5d0a5574c20107b71967dd8559a4f784cf8b898765bdf23e4d87039feb43e475fcf458d47bea93e86b881c654bb06637837ff4e7b01e83a0c652a
6
+ metadata.gz: 12f7f91f231d1dd24507ec05dc13f266684a827a9aa1dba38395d80203609b3cf507881f57ef7e685bc4b883e8eebefeea68909ad01f572e5c9f9def16995d33
7
+ data.tar.gz: 2777ddd619ddd8c5196b954cd817b46d1b6dc9561b9b8384e66429f70d81598a476ba76049f80621b63421bf93191117ec24e4e9a19af4f0f38a704c3c53a528
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
 
@@ -129,7 +129,7 @@ module Google
129
129
  credentials = @config.credentials
130
130
  # Use self-signed JWT if the endpoint is unchanged from default,
131
131
  # but only if the default endpoint does not have a region prefix.
132
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
132
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
133
133
  !@config.endpoint.split(".").first.include?("-")
134
134
  credentials ||= Credentials.default scope: @config.scope,
135
135
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -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
@@ -1708,7 +1708,9 @@ module Google
1708
1708
  class Configuration
1709
1709
  extend ::Gapic::Config
1710
1710
 
1711
- config_attr :endpoint, "networksecurity.googleapis.com", ::String
1711
+ DEFAULT_ENDPOINT = "networksecurity.googleapis.com"
1712
+
1713
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1712
1714
  config_attr :credentials, nil do |value|
1713
1715
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1714
1716
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -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
@@ -664,7 +664,9 @@ module Google
664
664
  class Configuration
665
665
  extend ::Gapic::Config
666
666
 
667
- config_attr :endpoint, "networksecurity.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "networksecurity.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
670
  config_attr :credentials, nil do |value|
669
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -125,7 +125,7 @@ module Google
125
125
  credentials = @config.credentials
126
126
  # Use self-signed JWT if the endpoint is unchanged from default,
127
127
  # but only if the default endpoint does not have a region prefix.
128
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
128
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
129
129
  !@config.endpoint.split(".").first.include?("-")
130
130
  credentials ||= Credentials.default scope: @config.scope,
131
131
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -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
@@ -1272,7 +1272,9 @@ module Google
1272
1272
  class Configuration
1273
1273
  extend ::Gapic::Config
1274
1274
 
1275
- config_attr :endpoint, "networksecurity.googleapis.com", ::String
1275
+ DEFAULT_ENDPOINT = "networksecurity.googleapis.com"
1276
+
1277
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1276
1278
  config_attr :credentials, nil do |value|
1277
1279
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1278
1280
  allowed.any? { |klass| klass === value }
@@ -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
@@ -446,7 +446,9 @@ module Google
446
446
  class Configuration
447
447
  extend ::Gapic::Config
448
448
 
449
- config_attr :endpoint, "networksecurity.googleapis.com", ::String
449
+ DEFAULT_ENDPOINT = "networksecurity.googleapis.com"
450
+
451
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
450
452
  config_attr :credentials, nil do |value|
451
453
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
454
  allowed.any? { |klass| klass === value }
@@ -567,7 +569,7 @@ module Google
567
569
 
568
570
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
569
571
  query_string_params = if query_string_params.any?
570
- query_string_params.to_h { |p| p.split("=", 2) }
572
+ query_string_params.to_h { |p| p.split "=", 2 }
571
573
  else
572
574
  {}
573
575
  end
@@ -605,7 +607,7 @@ module Google
605
607
 
606
608
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
607
609
  query_string_params = if query_string_params.any?
608
- query_string_params.to_h { |p| p.split("=", 2) }
610
+ query_string_params.to_h { |p| p.split "=", 2 }
609
611
  else
610
612
  {}
611
613
  end
@@ -643,7 +645,7 @@ module Google
643
645
 
644
646
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
645
647
  query_string_params = if query_string_params.any?
646
- query_string_params.to_h { |p| p.split("=", 2) }
648
+ query_string_params.to_h { |p| p.split "=", 2 }
647
649
  else
648
650
  {}
649
651
  end
@@ -681,7 +683,7 @@ module Google
681
683
 
682
684
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
683
685
  query_string_params = if query_string_params.any?
684
- query_string_params.to_h { |p| p.split("=", 2) }
686
+ query_string_params.to_h { |p| p.split "=", 2 }
685
687
  else
686
688
  {}
687
689
  end
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_authorization_policies_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_authorization_policy_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_create_authorization_policy_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_update_authorization_policy_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_authorization_policy_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -249,7 +249,7 @@ module Google
249
249
 
250
250
  verb, uri, query_string_params, body = ServiceStub.transcode_list_server_tls_policies_request request_pb
251
251
  query_string_params = if query_string_params.any?
252
- query_string_params.to_h { |p| p.split("=", 2) }
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
253
  else
254
254
  {}
255
255
  end
@@ -287,7 +287,7 @@ module Google
287
287
 
288
288
  verb, uri, query_string_params, body = ServiceStub.transcode_get_server_tls_policy_request request_pb
289
289
  query_string_params = if query_string_params.any?
290
- query_string_params.to_h { |p| p.split("=", 2) }
290
+ query_string_params.to_h { |p| p.split "=", 2 }
291
291
  else
292
292
  {}
293
293
  end
@@ -325,7 +325,7 @@ module Google
325
325
 
326
326
  verb, uri, query_string_params, body = ServiceStub.transcode_create_server_tls_policy_request request_pb
327
327
  query_string_params = if query_string_params.any?
328
- query_string_params.to_h { |p| p.split("=", 2) }
328
+ query_string_params.to_h { |p| p.split "=", 2 }
329
329
  else
330
330
  {}
331
331
  end
@@ -363,7 +363,7 @@ module Google
363
363
 
364
364
  verb, uri, query_string_params, body = ServiceStub.transcode_update_server_tls_policy_request request_pb
365
365
  query_string_params = if query_string_params.any?
366
- query_string_params.to_h { |p| p.split("=", 2) }
366
+ query_string_params.to_h { |p| p.split "=", 2 }
367
367
  else
368
368
  {}
369
369
  end
@@ -401,7 +401,7 @@ module Google
401
401
 
402
402
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_server_tls_policy_request request_pb
403
403
  query_string_params = if query_string_params.any?
404
- query_string_params.to_h { |p| p.split("=", 2) }
404
+ query_string_params.to_h { |p| p.split "=", 2 }
405
405
  else
406
406
  {}
407
407
  end
@@ -439,7 +439,7 @@ module Google
439
439
 
440
440
  verb, uri, query_string_params, body = ServiceStub.transcode_list_client_tls_policies_request request_pb
441
441
  query_string_params = if query_string_params.any?
442
- query_string_params.to_h { |p| p.split("=", 2) }
442
+ query_string_params.to_h { |p| p.split "=", 2 }
443
443
  else
444
444
  {}
445
445
  end
@@ -477,7 +477,7 @@ module Google
477
477
 
478
478
  verb, uri, query_string_params, body = ServiceStub.transcode_get_client_tls_policy_request request_pb
479
479
  query_string_params = if query_string_params.any?
480
- query_string_params.to_h { |p| p.split("=", 2) }
480
+ query_string_params.to_h { |p| p.split "=", 2 }
481
481
  else
482
482
  {}
483
483
  end
@@ -515,7 +515,7 @@ module Google
515
515
 
516
516
  verb, uri, query_string_params, body = ServiceStub.transcode_create_client_tls_policy_request request_pb
517
517
  query_string_params = if query_string_params.any?
518
- query_string_params.to_h { |p| p.split("=", 2) }
518
+ query_string_params.to_h { |p| p.split "=", 2 }
519
519
  else
520
520
  {}
521
521
  end
@@ -553,7 +553,7 @@ module Google
553
553
 
554
554
  verb, uri, query_string_params, body = ServiceStub.transcode_update_client_tls_policy_request request_pb
555
555
  query_string_params = if query_string_params.any?
556
- query_string_params.to_h { |p| p.split("=", 2) }
556
+ query_string_params.to_h { |p| p.split "=", 2 }
557
557
  else
558
558
  {}
559
559
  end
@@ -591,7 +591,7 @@ module Google
591
591
 
592
592
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_client_tls_policy_request request_pb
593
593
  query_string_params = if query_string_params.any?
594
- query_string_params.to_h { |p| p.split("=", 2) }
594
+ query_string_params.to_h { |p| p.split "=", 2 }
595
595
  else
596
596
  {}
597
597
  end
@@ -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.1"
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.1
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-06-06 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.1
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.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a