google-cloud-security-private_ca-v1beta1 0.5.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3de0dd590a478c904f23b6419ffdc7750d4923e50ef20561e317a6dbd79e107c
4
- data.tar.gz: 95c2f639505af5deecea120ff4450af7b05f24e925d600b028e7a440a440bf7f
3
+ metadata.gz: ab183e8152d4dcb7d698817fb84d64da5db5d4a18497c84dcb9ab0e1881169dc
4
+ data.tar.gz: c3c09d9f0ab94e83190ac3c2d8a5f2513d883963e3c58e603ce8f7879d62ad03
5
5
  SHA512:
6
- metadata.gz: b54bc8c2f5e02fc24eec6919c3ad8d555b8ab95353afd4e7f149eff414fccebc6fc42949c5d04ba7ac4d2496127850da80a4fd20c6ed9a512e03009343e0a10d
7
- data.tar.gz: 100709fef7041355ec173b1e5f56e885e237960b7a58abc5d8847991a64ccc4f307304093d27ec2d01347f795489bce1da4b51166be65f1d25e717cfd9e7bef7
6
+ metadata.gz: 2e7e6cfe32c74d91d91dce8a966e8211f8737db3a6e6027a5c460db4f6493aafad9db81ebc30967b01a7f690eeccbb6ef195b114825ecfdadc24756d6eafd109
7
+ data.tar.gz: f9c4592db771864c6ae07c6f8c3b02d53362af09061d1a7eaf929e85aa137a63c5b57796cdf3b6b6616938fc3f25eb92b48dc4714bd6869c2b6032fdcecc4799
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
 
@@ -130,7 +130,7 @@ module Google
130
130
  credentials = @config.credentials
131
131
  # Use self-signed JWT if the endpoint is unchanged from default,
132
132
  # but only if the default endpoint does not have a region prefix.
133
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
133
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
134
134
  !@config.endpoint.split(".").first.include?("-")
135
135
  credentials ||= Credentials.default scope: @config.scope,
136
136
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -2260,9 +2260,9 @@ module Google
2260
2260
  # * (`String`) The path to a service account key file in JSON format
2261
2261
  # * (`Hash`) A service account key as a Hash
2262
2262
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2263
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
2263
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2264
2264
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2265
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
2265
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2266
2266
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2267
2267
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2268
2268
  # * (`nil`) indicating no credentials
@@ -2304,7 +2304,9 @@ module Google
2304
2304
  class Configuration
2305
2305
  extend ::Gapic::Config
2306
2306
 
2307
- config_attr :endpoint, "privateca.googleapis.com", ::String
2307
+ DEFAULT_ENDPOINT = "privateca.googleapis.com"
2308
+
2309
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
2308
2310
  config_attr :credentials, nil do |value|
2309
2311
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2310
2312
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -621,9 +621,9 @@ module Google
621
621
  # * (`String`) The path to a service account key file in JSON format
622
622
  # * (`Hash`) A service account key as a Hash
623
623
  # * (`Google::Auth::Credentials`) A googleauth credentials object
624
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
624
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
625
625
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
626
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
626
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
627
627
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
628
628
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
629
629
  # * (`nil`) indicating no credentials
@@ -665,7 +665,9 @@ module Google
665
665
  class Configuration
666
666
  extend ::Gapic::Config
667
667
 
668
- config_attr :endpoint, "privateca.googleapis.com", ::String
668
+ DEFAULT_ENDPOINT = "privateca.googleapis.com"
669
+
670
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
669
671
  config_attr :credentials, nil do |value|
670
672
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
671
673
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -126,7 +126,7 @@ module Google
126
126
  credentials = @config.credentials
127
127
  # Use self-signed JWT if the endpoint is unchanged from default,
128
128
  # but only if the default endpoint does not have a region prefix.
129
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
129
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
130
130
  !@config.endpoint.split(".").first.include?("-")
131
131
  credentials ||= Credentials.default scope: @config.scope,
132
132
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1715,9 +1715,9 @@ module Google
1715
1715
  # * (`String`) The path to a service account key file in JSON format
1716
1716
  # * (`Hash`) A service account key as a Hash
1717
1717
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1718
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1718
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1719
1719
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1720
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1720
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1721
1721
  # * (`nil`) indicating no credentials
1722
1722
  # @return [::Object]
1723
1723
  # @!attribute [rw] scope
@@ -1750,7 +1750,9 @@ module Google
1750
1750
  class Configuration
1751
1751
  extend ::Gapic::Config
1752
1752
 
1753
- config_attr :endpoint, "privateca.googleapis.com", ::String
1753
+ DEFAULT_ENDPOINT = "privateca.googleapis.com"
1754
+
1755
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1754
1756
  config_attr :credentials, nil do |value|
1755
1757
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1756
1758
  allowed.any? { |klass| klass === value }
@@ -412,9 +412,9 @@ module Google
412
412
  # * (`String`) The path to a service account key file in JSON format
413
413
  # * (`Hash`) A service account key as a Hash
414
414
  # * (`Google::Auth::Credentials`) A googleauth credentials object
415
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
415
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
416
416
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
417
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
417
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
418
418
  # * (`nil`) indicating no credentials
419
419
  # @return [::Object]
420
420
  # @!attribute [rw] scope
@@ -447,7 +447,9 @@ module Google
447
447
  class Configuration
448
448
  extend ::Gapic::Config
449
449
 
450
- config_attr :endpoint, "privateca.googleapis.com", ::String
450
+ DEFAULT_ENDPOINT = "privateca.googleapis.com"
451
+
452
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
451
453
  config_attr :credentials, nil do |value|
452
454
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
453
455
  allowed.any? { |klass| klass === value }
@@ -568,7 +570,7 @@ module Google
568
570
 
569
571
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
570
572
  query_string_params = if query_string_params.any?
571
- query_string_params.to_h { |p| p.split("=", 2) }
573
+ query_string_params.to_h { |p| p.split "=", 2 }
572
574
  else
573
575
  {}
574
576
  end
@@ -606,7 +608,7 @@ module Google
606
608
 
607
609
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
608
610
  query_string_params = if query_string_params.any?
609
- query_string_params.to_h { |p| p.split("=", 2) }
611
+ query_string_params.to_h { |p| p.split "=", 2 }
610
612
  else
611
613
  {}
612
614
  end
@@ -644,7 +646,7 @@ module Google
644
646
 
645
647
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
646
648
  query_string_params = if query_string_params.any?
647
- query_string_params.to_h { |p| p.split("=", 2) }
649
+ query_string_params.to_h { |p| p.split "=", 2 }
648
650
  else
649
651
  {}
650
652
  end
@@ -682,7 +684,7 @@ module Google
682
684
 
683
685
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
684
686
  query_string_params = if query_string_params.any?
685
- query_string_params.to_h { |p| p.split("=", 2) }
687
+ query_string_params.to_h { |p| p.split "=", 2 }
686
688
  else
687
689
  {}
688
690
  end
@@ -60,7 +60,7 @@ module Google
60
60
 
61
61
  verb, uri, query_string_params, body = ServiceStub.transcode_create_certificate_request request_pb
62
62
  query_string_params = if query_string_params.any?
63
- query_string_params.to_h { |p| p.split("=", 2) }
63
+ query_string_params.to_h { |p| p.split "=", 2 }
64
64
  else
65
65
  {}
66
66
  end
@@ -98,7 +98,7 @@ module Google
98
98
 
99
99
  verb, uri, query_string_params, body = ServiceStub.transcode_get_certificate_request request_pb
100
100
  query_string_params = if query_string_params.any?
101
- query_string_params.to_h { |p| p.split("=", 2) }
101
+ query_string_params.to_h { |p| p.split "=", 2 }
102
102
  else
103
103
  {}
104
104
  end
@@ -136,7 +136,7 @@ module Google
136
136
 
137
137
  verb, uri, query_string_params, body = ServiceStub.transcode_list_certificates_request request_pb
138
138
  query_string_params = if query_string_params.any?
139
- query_string_params.to_h { |p| p.split("=", 2) }
139
+ query_string_params.to_h { |p| p.split "=", 2 }
140
140
  else
141
141
  {}
142
142
  end
@@ -174,7 +174,7 @@ module Google
174
174
 
175
175
  verb, uri, query_string_params, body = ServiceStub.transcode_revoke_certificate_request request_pb
176
176
  query_string_params = if query_string_params.any?
177
- query_string_params.to_h { |p| p.split("=", 2) }
177
+ query_string_params.to_h { |p| p.split "=", 2 }
178
178
  else
179
179
  {}
180
180
  end
@@ -212,7 +212,7 @@ module Google
212
212
 
213
213
  verb, uri, query_string_params, body = ServiceStub.transcode_update_certificate_request request_pb
214
214
  query_string_params = if query_string_params.any?
215
- query_string_params.to_h { |p| p.split("=", 2) }
215
+ query_string_params.to_h { |p| p.split "=", 2 }
216
216
  else
217
217
  {}
218
218
  end
@@ -250,7 +250,7 @@ module Google
250
250
 
251
251
  verb, uri, query_string_params, body = ServiceStub.transcode_activate_certificate_authority_request request_pb
252
252
  query_string_params = if query_string_params.any?
253
- query_string_params.to_h { |p| p.split("=", 2) }
253
+ query_string_params.to_h { |p| p.split "=", 2 }
254
254
  else
255
255
  {}
256
256
  end
@@ -288,7 +288,7 @@ module Google
288
288
 
289
289
  verb, uri, query_string_params, body = ServiceStub.transcode_create_certificate_authority_request request_pb
290
290
  query_string_params = if query_string_params.any?
291
- query_string_params.to_h { |p| p.split("=", 2) }
291
+ query_string_params.to_h { |p| p.split "=", 2 }
292
292
  else
293
293
  {}
294
294
  end
@@ -326,7 +326,7 @@ module Google
326
326
 
327
327
  verb, uri, query_string_params, body = ServiceStub.transcode_disable_certificate_authority_request request_pb
328
328
  query_string_params = if query_string_params.any?
329
- query_string_params.to_h { |p| p.split("=", 2) }
329
+ query_string_params.to_h { |p| p.split "=", 2 }
330
330
  else
331
331
  {}
332
332
  end
@@ -364,7 +364,7 @@ module Google
364
364
 
365
365
  verb, uri, query_string_params, body = ServiceStub.transcode_enable_certificate_authority_request request_pb
366
366
  query_string_params = if query_string_params.any?
367
- query_string_params.to_h { |p| p.split("=", 2) }
367
+ query_string_params.to_h { |p| p.split "=", 2 }
368
368
  else
369
369
  {}
370
370
  end
@@ -402,7 +402,7 @@ module Google
402
402
 
403
403
  verb, uri, query_string_params, body = ServiceStub.transcode_fetch_certificate_authority_csr_request request_pb
404
404
  query_string_params = if query_string_params.any?
405
- query_string_params.to_h { |p| p.split("=", 2) }
405
+ query_string_params.to_h { |p| p.split "=", 2 }
406
406
  else
407
407
  {}
408
408
  end
@@ -440,7 +440,7 @@ module Google
440
440
 
441
441
  verb, uri, query_string_params, body = ServiceStub.transcode_get_certificate_authority_request request_pb
442
442
  query_string_params = if query_string_params.any?
443
- query_string_params.to_h { |p| p.split("=", 2) }
443
+ query_string_params.to_h { |p| p.split "=", 2 }
444
444
  else
445
445
  {}
446
446
  end
@@ -478,7 +478,7 @@ module Google
478
478
 
479
479
  verb, uri, query_string_params, body = ServiceStub.transcode_list_certificate_authorities_request request_pb
480
480
  query_string_params = if query_string_params.any?
481
- query_string_params.to_h { |p| p.split("=", 2) }
481
+ query_string_params.to_h { |p| p.split "=", 2 }
482
482
  else
483
483
  {}
484
484
  end
@@ -516,7 +516,7 @@ module Google
516
516
 
517
517
  verb, uri, query_string_params, body = ServiceStub.transcode_restore_certificate_authority_request request_pb
518
518
  query_string_params = if query_string_params.any?
519
- query_string_params.to_h { |p| p.split("=", 2) }
519
+ query_string_params.to_h { |p| p.split "=", 2 }
520
520
  else
521
521
  {}
522
522
  end
@@ -554,7 +554,7 @@ module Google
554
554
 
555
555
  verb, uri, query_string_params, body = ServiceStub.transcode_schedule_delete_certificate_authority_request request_pb
556
556
  query_string_params = if query_string_params.any?
557
- query_string_params.to_h { |p| p.split("=", 2) }
557
+ query_string_params.to_h { |p| p.split "=", 2 }
558
558
  else
559
559
  {}
560
560
  end
@@ -592,7 +592,7 @@ module Google
592
592
 
593
593
  verb, uri, query_string_params, body = ServiceStub.transcode_update_certificate_authority_request request_pb
594
594
  query_string_params = if query_string_params.any?
595
- query_string_params.to_h { |p| p.split("=", 2) }
595
+ query_string_params.to_h { |p| p.split "=", 2 }
596
596
  else
597
597
  {}
598
598
  end
@@ -630,7 +630,7 @@ module Google
630
630
 
631
631
  verb, uri, query_string_params, body = ServiceStub.transcode_get_certificate_revocation_list_request request_pb
632
632
  query_string_params = if query_string_params.any?
633
- query_string_params.to_h { |p| p.split("=", 2) }
633
+ query_string_params.to_h { |p| p.split "=", 2 }
634
634
  else
635
635
  {}
636
636
  end
@@ -668,7 +668,7 @@ module Google
668
668
 
669
669
  verb, uri, query_string_params, body = ServiceStub.transcode_list_certificate_revocation_lists_request request_pb
670
670
  query_string_params = if query_string_params.any?
671
- query_string_params.to_h { |p| p.split("=", 2) }
671
+ query_string_params.to_h { |p| p.split "=", 2 }
672
672
  else
673
673
  {}
674
674
  end
@@ -706,7 +706,7 @@ module Google
706
706
 
707
707
  verb, uri, query_string_params, body = ServiceStub.transcode_update_certificate_revocation_list_request request_pb
708
708
  query_string_params = if query_string_params.any?
709
- query_string_params.to_h { |p| p.split("=", 2) }
709
+ query_string_params.to_h { |p| p.split "=", 2 }
710
710
  else
711
711
  {}
712
712
  end
@@ -744,7 +744,7 @@ module Google
744
744
 
745
745
  verb, uri, query_string_params, body = ServiceStub.transcode_get_reusable_config_request request_pb
746
746
  query_string_params = if query_string_params.any?
747
- query_string_params.to_h { |p| p.split("=", 2) }
747
+ query_string_params.to_h { |p| p.split "=", 2 }
748
748
  else
749
749
  {}
750
750
  end
@@ -782,7 +782,7 @@ module Google
782
782
 
783
783
  verb, uri, query_string_params, body = ServiceStub.transcode_list_reusable_configs_request request_pb
784
784
  query_string_params = if query_string_params.any?
785
- query_string_params.to_h { |p| p.split("=", 2) }
785
+ query_string_params.to_h { |p| p.split "=", 2 }
786
786
  else
787
787
  {}
788
788
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Security
23
23
  module PrivateCA
24
24
  module V1beta1
25
- VERSION = "0.5.0"
25
+ VERSION = "0.6.1"
26
26
  end
27
27
  end
28
28
  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/security/privateca/v1beta1/resources.proto
3
4
 
@@ -9,274 +10,34 @@ require 'google/protobuf/duration_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
  require 'google/protobuf/wrappers_pb'
11
12
 
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("google/cloud/security/privateca/v1beta1/resources.proto", :syntax => :proto3) do
14
- add_message "google.cloud.security.privateca.v1beta1.CertificateAuthority" do
15
- optional :name, :string, 1
16
- optional :type, :enum, 2, "google.cloud.security.privateca.v1beta1.CertificateAuthority.Type"
17
- optional :tier, :enum, 3, "google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier"
18
- optional :config, :message, 4, "google.cloud.security.privateca.v1beta1.CertificateConfig"
19
- optional :lifetime, :message, 5, "google.protobuf.Duration"
20
- optional :key_spec, :message, 6, "google.cloud.security.privateca.v1beta1.CertificateAuthority.KeyVersionSpec"
21
- optional :certificate_policy, :message, 7, "google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy"
22
- optional :issuing_options, :message, 8, "google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptions"
23
- optional :subordinate_config, :message, 19, "google.cloud.security.privateca.v1beta1.SubordinateConfig"
24
- optional :state, :enum, 10, "google.cloud.security.privateca.v1beta1.CertificateAuthority.State"
25
- repeated :pem_ca_certificates, :string, 9
26
- repeated :ca_certificate_descriptions, :message, 12, "google.cloud.security.privateca.v1beta1.CertificateDescription"
27
- optional :gcs_bucket, :string, 13
28
- optional :access_urls, :message, 14, "google.cloud.security.privateca.v1beta1.CertificateAuthority.AccessUrls"
29
- optional :create_time, :message, 15, "google.protobuf.Timestamp"
30
- optional :update_time, :message, 16, "google.protobuf.Timestamp"
31
- optional :delete_time, :message, 17, "google.protobuf.Timestamp"
32
- map :labels, :string, :string, 18
33
- end
34
- add_message "google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptions" do
35
- optional :include_ca_cert_url, :bool, 1
36
- optional :include_crl_access_url, :bool, 2
37
- end
38
- add_message "google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy" do
39
- repeated :allowed_locations_and_organizations, :message, 3, "google.cloud.security.privateca.v1beta1.Subject"
40
- repeated :allowed_common_names, :string, 4
41
- optional :allowed_sans, :message, 5, "google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames"
42
- optional :maximum_lifetime, :message, 6, "google.protobuf.Duration"
43
- optional :allowed_issuance_modes, :message, 8, "google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes"
44
- oneof :config_policy do
45
- optional :allowed_config_list, :message, 1, "google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList"
46
- optional :overwrite_config_values, :message, 2, "google.cloud.security.privateca.v1beta1.ReusableConfigWrapper"
47
- end
48
- end
49
- add_message "google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList" do
50
- repeated :allowed_config_values, :message, 1, "google.cloud.security.privateca.v1beta1.ReusableConfigWrapper"
51
- end
52
- add_message "google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames" do
53
- repeated :allowed_dns_names, :string, 1
54
- repeated :allowed_uris, :string, 2
55
- repeated :allowed_email_addresses, :string, 3
56
- repeated :allowed_ips, :string, 4
57
- optional :allow_globbing_dns_wildcards, :bool, 5
58
- optional :allow_custom_sans, :bool, 6
59
- end
60
- add_message "google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes" do
61
- optional :allow_csr_based_issuance, :bool, 1
62
- optional :allow_config_based_issuance, :bool, 2
63
- end
64
- add_message "google.cloud.security.privateca.v1beta1.CertificateAuthority.AccessUrls" do
65
- optional :ca_certificate_access_url, :string, 1
66
- optional :crl_access_url, :string, 2
67
- end
68
- add_message "google.cloud.security.privateca.v1beta1.CertificateAuthority.KeyVersionSpec" do
69
- oneof :KeyVersion do
70
- optional :cloud_kms_key_version, :string, 1
71
- optional :algorithm, :enum, 2, "google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm"
72
- end
73
- end
74
- add_enum "google.cloud.security.privateca.v1beta1.CertificateAuthority.Type" do
75
- value :TYPE_UNSPECIFIED, 0
76
- value :SELF_SIGNED, 1
77
- value :SUBORDINATE, 2
78
- end
79
- add_enum "google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier" do
80
- value :TIER_UNSPECIFIED, 0
81
- value :ENTERPRISE, 1
82
- value :DEVOPS, 2
83
- end
84
- add_enum "google.cloud.security.privateca.v1beta1.CertificateAuthority.State" do
85
- value :STATE_UNSPECIFIED, 0
86
- value :ENABLED, 1
87
- value :DISABLED, 2
88
- value :PENDING_ACTIVATION, 3
89
- value :PENDING_DELETION, 4
90
- end
91
- add_enum "google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm" do
92
- value :SIGN_HASH_ALGORITHM_UNSPECIFIED, 0
93
- value :RSA_PSS_2048_SHA256, 1
94
- value :RSA_PSS_3072_SHA256, 2
95
- value :RSA_PSS_4096_SHA256, 3
96
- value :RSA_PKCS1_2048_SHA256, 6
97
- value :RSA_PKCS1_3072_SHA256, 7
98
- value :RSA_PKCS1_4096_SHA256, 8
99
- value :EC_P256_SHA256, 4
100
- value :EC_P384_SHA384, 5
101
- end
102
- add_message "google.cloud.security.privateca.v1beta1.CertificateRevocationList" do
103
- optional :name, :string, 1
104
- optional :sequence_number, :int64, 2
105
- repeated :revoked_certificates, :message, 3, "google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificate"
106
- optional :pem_crl, :string, 4
107
- optional :access_url, :string, 5
108
- optional :state, :enum, 6, "google.cloud.security.privateca.v1beta1.CertificateRevocationList.State"
109
- optional :create_time, :message, 7, "google.protobuf.Timestamp"
110
- optional :update_time, :message, 8, "google.protobuf.Timestamp"
111
- map :labels, :string, :string, 9
112
- end
113
- add_message "google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificate" do
114
- optional :certificate, :string, 1
115
- optional :hex_serial_number, :string, 2
116
- optional :revocation_reason, :enum, 3, "google.cloud.security.privateca.v1beta1.RevocationReason"
117
- end
118
- add_enum "google.cloud.security.privateca.v1beta1.CertificateRevocationList.State" do
119
- value :STATE_UNSPECIFIED, 0
120
- value :ACTIVE, 1
121
- value :SUPERSEDED, 2
122
- end
123
- add_message "google.cloud.security.privateca.v1beta1.Certificate" do
124
- optional :name, :string, 1
125
- optional :lifetime, :message, 4, "google.protobuf.Duration"
126
- optional :revocation_details, :message, 5, "google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails"
127
- optional :pem_certificate, :string, 6
128
- optional :certificate_description, :message, 7, "google.cloud.security.privateca.v1beta1.CertificateDescription"
129
- repeated :pem_certificate_chain, :string, 8
130
- optional :create_time, :message, 9, "google.protobuf.Timestamp"
131
- optional :update_time, :message, 10, "google.protobuf.Timestamp"
132
- map :labels, :string, :string, 11
133
- oneof :certificate_config do
134
- optional :pem_csr, :string, 2
135
- optional :config, :message, 3, "google.cloud.security.privateca.v1beta1.CertificateConfig"
136
- end
137
- end
138
- add_message "google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails" do
139
- optional :revocation_state, :enum, 1, "google.cloud.security.privateca.v1beta1.RevocationReason"
140
- optional :revocation_time, :message, 2, "google.protobuf.Timestamp"
141
- end
142
- add_message "google.cloud.security.privateca.v1beta1.ReusableConfig" do
143
- optional :name, :string, 1
144
- optional :values, :message, 2, "google.cloud.security.privateca.v1beta1.ReusableConfigValues"
145
- optional :description, :string, 3
146
- optional :create_time, :message, 4, "google.protobuf.Timestamp"
147
- optional :update_time, :message, 5, "google.protobuf.Timestamp"
148
- map :labels, :string, :string, 6
149
- end
150
- add_message "google.cloud.security.privateca.v1beta1.ReusableConfigValues" do
151
- optional :key_usage, :message, 1, "google.cloud.security.privateca.v1beta1.KeyUsage"
152
- optional :ca_options, :message, 2, "google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions"
153
- repeated :policy_ids, :message, 3, "google.cloud.security.privateca.v1beta1.ObjectId"
154
- repeated :aia_ocsp_servers, :string, 4
155
- repeated :additional_extensions, :message, 5, "google.cloud.security.privateca.v1beta1.X509Extension"
156
- end
157
- add_message "google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions" do
158
- optional :is_ca, :message, 1, "google.protobuf.BoolValue"
159
- optional :max_issuer_path_length, :message, 2, "google.protobuf.Int32Value"
160
- end
161
- add_message "google.cloud.security.privateca.v1beta1.ReusableConfigWrapper" do
162
- oneof :config_values do
163
- optional :reusable_config, :string, 1
164
- optional :reusable_config_values, :message, 2, "google.cloud.security.privateca.v1beta1.ReusableConfigValues"
165
- end
166
- end
167
- add_message "google.cloud.security.privateca.v1beta1.SubordinateConfig" do
168
- oneof :subordinate_config do
169
- optional :certificate_authority, :string, 1
170
- optional :pem_issuer_chain, :message, 2, "google.cloud.security.privateca.v1beta1.SubordinateConfig.SubordinateConfigChain"
171
- end
172
- end
173
- add_message "google.cloud.security.privateca.v1beta1.SubordinateConfig.SubordinateConfigChain" do
174
- repeated :pem_certificates, :string, 1
175
- end
176
- add_message "google.cloud.security.privateca.v1beta1.PublicKey" do
177
- optional :type, :enum, 1, "google.cloud.security.privateca.v1beta1.PublicKey.KeyType"
178
- optional :key, :bytes, 2
179
- end
180
- add_enum "google.cloud.security.privateca.v1beta1.PublicKey.KeyType" do
181
- value :KEY_TYPE_UNSPECIFIED, 0
182
- value :PEM_RSA_KEY, 1
183
- value :PEM_EC_KEY, 2
184
- end
185
- add_message "google.cloud.security.privateca.v1beta1.CertificateConfig" do
186
- optional :subject_config, :message, 1, "google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfig"
187
- optional :reusable_config, :message, 2, "google.cloud.security.privateca.v1beta1.ReusableConfigWrapper"
188
- optional :public_key, :message, 3, "google.cloud.security.privateca.v1beta1.PublicKey"
189
- end
190
- add_message "google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfig" do
191
- optional :subject, :message, 1, "google.cloud.security.privateca.v1beta1.Subject"
192
- optional :common_name, :string, 2
193
- optional :subject_alt_name, :message, 3, "google.cloud.security.privateca.v1beta1.SubjectAltNames"
194
- end
195
- add_message "google.cloud.security.privateca.v1beta1.CertificateDescription" do
196
- optional :subject_description, :message, 1, "google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription"
197
- optional :config_values, :message, 2, "google.cloud.security.privateca.v1beta1.ReusableConfigValues"
198
- optional :public_key, :message, 3, "google.cloud.security.privateca.v1beta1.PublicKey"
199
- optional :subject_key_id, :message, 4, "google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId"
200
- optional :authority_key_id, :message, 5, "google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId"
201
- repeated :crl_distribution_points, :string, 6
202
- repeated :aia_issuing_certificate_urls, :string, 7
203
- optional :cert_fingerprint, :message, 8, "google.cloud.security.privateca.v1beta1.CertificateDescription.CertificateFingerprint"
204
- end
205
- add_message "google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription" do
206
- optional :subject, :message, 1, "google.cloud.security.privateca.v1beta1.Subject"
207
- optional :common_name, :string, 2
208
- optional :subject_alt_name, :message, 3, "google.cloud.security.privateca.v1beta1.SubjectAltNames"
209
- optional :hex_serial_number, :string, 4
210
- optional :lifetime, :message, 5, "google.protobuf.Duration"
211
- optional :not_before_time, :message, 6, "google.protobuf.Timestamp"
212
- optional :not_after_time, :message, 7, "google.protobuf.Timestamp"
213
- end
214
- add_message "google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId" do
215
- optional :key_id, :string, 1
216
- end
217
- add_message "google.cloud.security.privateca.v1beta1.CertificateDescription.CertificateFingerprint" do
218
- optional :sha256_hash, :string, 1
219
- end
220
- add_message "google.cloud.security.privateca.v1beta1.ObjectId" do
221
- repeated :object_id_path, :int32, 1
222
- end
223
- add_message "google.cloud.security.privateca.v1beta1.X509Extension" do
224
- optional :object_id, :message, 1, "google.cloud.security.privateca.v1beta1.ObjectId"
225
- optional :critical, :bool, 2
226
- optional :value, :bytes, 3
227
- end
228
- add_message "google.cloud.security.privateca.v1beta1.KeyUsage" do
229
- optional :base_key_usage, :message, 1, "google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions"
230
- optional :extended_key_usage, :message, 2, "google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions"
231
- repeated :unknown_extended_key_usages, :message, 3, "google.cloud.security.privateca.v1beta1.ObjectId"
232
- end
233
- add_message "google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions" do
234
- optional :digital_signature, :bool, 1
235
- optional :content_commitment, :bool, 2
236
- optional :key_encipherment, :bool, 3
237
- optional :data_encipherment, :bool, 4
238
- optional :key_agreement, :bool, 5
239
- optional :cert_sign, :bool, 6
240
- optional :crl_sign, :bool, 7
241
- optional :encipher_only, :bool, 8
242
- optional :decipher_only, :bool, 9
243
- end
244
- add_message "google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions" do
245
- optional :server_auth, :bool, 1
246
- optional :client_auth, :bool, 2
247
- optional :code_signing, :bool, 3
248
- optional :email_protection, :bool, 4
249
- optional :time_stamping, :bool, 5
250
- optional :ocsp_signing, :bool, 6
251
- end
252
- add_message "google.cloud.security.privateca.v1beta1.Subject" do
253
- optional :country_code, :string, 1
254
- optional :organization, :string, 2
255
- optional :organizational_unit, :string, 3
256
- optional :locality, :string, 4
257
- optional :province, :string, 5
258
- optional :street_address, :string, 6
259
- optional :postal_code, :string, 7
260
- end
261
- add_message "google.cloud.security.privateca.v1beta1.SubjectAltNames" do
262
- repeated :dns_names, :string, 1
263
- repeated :uris, :string, 2
264
- repeated :email_addresses, :string, 3
265
- repeated :ip_addresses, :string, 4
266
- repeated :custom_sans, :message, 5, "google.cloud.security.privateca.v1beta1.X509Extension"
267
- end
268
- add_enum "google.cloud.security.privateca.v1beta1.RevocationReason" do
269
- value :REVOCATION_REASON_UNSPECIFIED, 0
270
- value :KEY_COMPROMISE, 1
271
- value :CERTIFICATE_AUTHORITY_COMPROMISE, 2
272
- value :AFFILIATION_CHANGED, 3
273
- value :SUPERSEDED, 4
274
- value :CESSATION_OF_OPERATION, 5
275
- value :CERTIFICATE_HOLD, 6
276
- value :PRIVILEGE_WITHDRAWN, 7
277
- value :ATTRIBUTE_AUTHORITY_COMPROMISE, 8
13
+
14
+ descriptor_data = "\n7google/cloud/security/privateca/v1beta1/resources.proto\x12\'google.cloud.security.privateca.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xa8\x1c\n\x14\x43\x65rtificateAuthority\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12X\n\x04type\x18\x02 \x01(\x0e\x32\x42.google.cloud.security.privateca.v1beta1.CertificateAuthority.TypeB\x06\xe0\x41\x02\xe0\x41\x05\x12X\n\x04tier\x18\x03 \x01(\x0e\x32\x42.google.cloud.security.privateca.v1beta1.CertificateAuthority.TierB\x06\xe0\x41\x02\xe0\x41\x05\x12R\n\x06\x63onfig\x18\x04 \x01(\x0b\x32:.google.cloud.security.privateca.v1beta1.CertificateConfigB\x06\xe0\x41\x02\xe0\x41\x05\x12\x30\n\x08lifetime\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\x66\n\x08key_spec\x18\x06 \x01(\x0b\x32L.google.cloud.security.privateca.v1beta1.CertificateAuthority.KeyVersionSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12y\n\x12\x63\x65rtificate_policy\x18\x07 \x01(\x0b\x32X.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicyB\x03\xe0\x41\x01\x12j\n\x0fissuing_options\x18\x08 \x01(\x0b\x32L.google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptionsB\x03\xe0\x41\x01\x12[\n\x12subordinate_config\x18\x13 \x01(\x0b\x32:.google.cloud.security.privateca.v1beta1.SubordinateConfigB\x03\xe0\x41\x01\x12W\n\x05state\x18\n \x01(\x0e\x32\x43.google.cloud.security.privateca.v1beta1.CertificateAuthority.StateB\x03\xe0\x41\x03\x12 \n\x13pem_ca_certificates\x18\t \x03(\tB\x03\xe0\x41\x03\x12i\n\x1b\x63\x61_certificate_descriptions\x18\x0c \x03(\x0b\x32?.google.cloud.security.privateca.v1beta1.CertificateDescriptionB\x03\xe0\x41\x03\x12\x17\n\ngcs_bucket\x18\r \x01(\tB\x03\xe0\x41\x05\x12\x62\n\x0b\x61\x63\x63\x65ss_urls\x18\x0e \x01(\x0b\x32H.google.cloud.security.privateca.v1beta1.CertificateAuthority.AccessUrlsB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12^\n\x06labels\x18\x12 \x03(\x0b\x32I.google.cloud.security.privateca.v1beta1.CertificateAuthority.LabelsEntryB\x03\xe0\x41\x01\x1aW\n\x0eIssuingOptions\x12 \n\x13include_ca_cert_url\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12#\n\x16include_crl_access_url\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02\x1a\xbe\t\n\x1a\x43\x65rtificateAuthorityPolicy\x12\x8e\x01\n\x13\x61llowed_config_list\x18\x01 \x01(\x0b\x32j.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigListB\x03\xe0\x41\x01H\x00\x12\x66\n\x17overwrite_config_values\x18\x02 \x01(\x0b\x32>.google.cloud.security.privateca.v1beta1.ReusableConfigWrapperB\x03\xe0\x41\x01H\x00\x12\x62\n#allowed_locations_and_organizations\x18\x03 \x03(\x0b\x32\x30.google.cloud.security.privateca.v1beta1.SubjectB\x03\xe0\x41\x01\x12!\n\x14\x61llowed_common_names\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12\x8a\x01\n\x0c\x61llowed_sans\x18\x05 \x01(\x0b\x32o.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesB\x03\xe0\x41\x01\x12\x38\n\x10maximum_lifetime\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12\x8b\x01\n\x16\x61llowed_issuance_modes\x18\x08 \x01(\x0b\x32\x66.google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModesB\x03\xe0\x41\x01\x1aw\n\x11\x41llowedConfigList\x12\x62\n\x15\x61llowed_config_values\x18\x01 \x03(\x0b\x32>.google.cloud.security.privateca.v1beta1.ReusableConfigWrapperB\x03\xe0\x41\x02\x1a\xde\x01\n\x16\x41llowedSubjectAltNames\x12\x1e\n\x11\x61llowed_dns_names\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x61llowed_uris\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12$\n\x17\x61llowed_email_addresses\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x18\n\x0b\x61llowed_ips\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12)\n\x1c\x61llow_globbing_dns_wildcards\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x11\x61llow_custom_sans\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x1a`\n\rIssuanceModes\x12%\n\x18\x61llow_csr_based_issuance\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x12(\n\x1b\x61llow_config_based_issuance\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02\x42\x0f\n\rconfig_policy\x1aG\n\nAccessUrls\x12!\n\x19\x63\x61_certificate_access_url\x18\x01 \x01(\t\x12\x16\n\x0e\x63rl_access_url\x18\x02 \x01(\t\x1a\xaf\x01\n\x0eKeyVersionSpec\x12$\n\x15\x63loud_kms_key_version\x18\x01 \x01(\tB\x03\xe0\x41\x02H\x00\x12i\n\talgorithm\x18\x02 \x01(\x0e\x32O.google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithmB\x03\xe0\x41\x02H\x00\x42\x0c\n\nKeyVersion\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSELF_SIGNED\x10\x01\x12\x0f\n\x0bSUBORDINATE\x10\x02\"8\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\x0e\n\nENTERPRISE\x10\x01\x12\n\n\x06\x44\x45VOPS\x10\x02\"g\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x16\n\x12PENDING_ACTIVATION\x10\x03\x12\x14\n\x10PENDING_DELETION\x10\x04\"\xfc\x01\n\x11SignHashAlgorithm\x12#\n\x1fSIGN_HASH_ALGORITHM_UNSPECIFIED\x10\x00\x12\x17\n\x13RSA_PSS_2048_SHA256\x10\x01\x12\x17\n\x13RSA_PSS_3072_SHA256\x10\x02\x12\x17\n\x13RSA_PSS_4096_SHA256\x10\x03\x12\x19\n\x15RSA_PKCS1_2048_SHA256\x10\x06\x12\x19\n\x15RSA_PKCS1_3072_SHA256\x10\x07\x12\x19\n\x15RSA_PKCS1_4096_SHA256\x10\x08\x12\x12\n\x0e\x45\x43_P256_SHA256\x10\x04\x12\x12\n\x0e\x45\x43_P384_SHA384\x10\x05:\x8b\x01\xea\x41\x87\x01\n-privateca.googleapis.com/CertificateAuthority\x12Vprojects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}\"\xf9\x07\n\x19\x43\x65rtificateRevocationList\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fsequence_number\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12x\n\x14revoked_certificates\x18\x03 \x03(\x0b\x32U.google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificateB\x03\xe0\x41\x03\x12\x14\n\x07pem_crl\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\naccess_url\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\\\n\x05state\x18\x06 \x01(\x0e\x32H.google.cloud.security.privateca.v1beta1.CertificateRevocationList.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x63\n\x06labels\x18\t \x03(\x0b\x32N.google.cloud.security.privateca.v1beta1.CertificateRevocationList.LabelsEntryB\x03\xe0\x41\x01\x1a\x9a\x01\n\x12RevokedCertificate\x12\x13\n\x0b\x63\x65rtificate\x18\x01 \x01(\t\x12\x19\n\x11hex_serial_number\x18\x02 \x01(\t\x12T\n\x11revocation_reason\x18\x03 \x01(\x0e\x32\x39.google.cloud.security.privateca.v1beta1.RevocationReason\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\":\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0e\n\nSUPERSEDED\x10\x02:\xca\x01\xea\x41\xc6\x01\n2privateca.googleapis.com/CertificateRevocationList\x12\x8f\x01projects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}/certificateRevocationLists/{certificate_revocation_list}\"\x9a\x08\n\x0b\x43\x65rtificate\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\x07pem_csr\x18\x02 \x01(\tB\x03\xe0\x41\x05H\x00\x12Q\n\x06\x63onfig\x18\x03 \x01(\x0b\x32:.google.cloud.security.privateca.v1beta1.CertificateConfigB\x03\xe0\x41\x05H\x00\x12\x33\n\x08lifetime\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x06\xe0\x41\x02\xe0\x41\x05\x12g\n\x12revocation_details\x18\x05 \x01(\x0b\x32\x46.google.cloud.security.privateca.v1beta1.Certificate.RevocationDetailsB\x03\xe0\x41\x03\x12\x1c\n\x0fpem_certificate\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x65\n\x17\x63\x65rtificate_description\x18\x07 \x01(\x0b\x32?.google.cloud.security.privateca.v1beta1.CertificateDescriptionB\x03\xe0\x41\x03\x12\"\n\x15pem_certificate_chain\x18\x08 \x03(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12U\n\x06labels\x18\x0b \x03(\x0b\x32@.google.cloud.security.privateca.v1beta1.Certificate.LabelsEntryB\x03\xe0\x41\x01\x1a\x9d\x01\n\x11RevocationDetails\x12S\n\x10revocation_state\x18\x01 \x01(\x0e\x32\x39.google.cloud.security.privateca.v1beta1.RevocationReason\x12\x33\n\x0frevocation_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9d\x01\xea\x41\x99\x01\n$privateca.googleapis.com/Certificate\x12qprojects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}/certificates/{certificate}B\x14\n\x12\x63\x65rtificate_config\"\xff\x03\n\x0eReusableConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12R\n\x06values\x18\x02 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.ReusableConfigValuesB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12X\n\x06labels\x18\x06 \x03(\x0b\x32\x43.google.cloud.security.privateca.v1beta1.ReusableConfig.LabelsEntryB\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:w\xea\x41t\n\'privateca.googleapis.com/ReusableConfig\x12Iprojects/{project}/locations/{location}/reusableConfigs/{reusable_config}\"\x89\x04\n\x14ReusableConfigValues\x12I\n\tkey_usage\x18\x01 \x01(\x0b\x32\x31.google.cloud.security.privateca.v1beta1.KeyUsageB\x03\xe0\x41\x01\x12`\n\nca_options\x18\x02 \x01(\x0b\x32G.google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptionsB\x03\xe0\x41\x01\x12J\n\npolicy_ids\x18\x03 \x03(\x0b\x32\x31.google.cloud.security.privateca.v1beta1.ObjectIdB\x03\xe0\x41\x01\x12\x1d\n\x10\x61ia_ocsp_servers\x18\x04 \x03(\tB\x03\xe0\x41\x01\x12Z\n\x15\x61\x64\x64itional_extensions\x18\x05 \x03(\x0b\x32\x36.google.cloud.security.privateca.v1beta1.X509ExtensionB\x03\xe0\x41\x01\x1a}\n\tCaOptions\x12.\n\x05is_ca\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x01\x12@\n\x16max_issuer_path_length\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x01\"\xae\x01\n\x15ReusableConfigWrapper\x12\x1e\n\x0freusable_config\x18\x01 \x01(\tB\x03\xe0\x41\x02H\x00\x12\x64\n\x16reusable_config_values\x18\x02 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.ReusableConfigValuesB\x03\xe0\x41\x02H\x00\x42\x0f\n\rconfig_values\"\xfc\x01\n\x11SubordinateConfig\x12$\n\x15\x63\x65rtificate_authority\x18\x01 \x01(\tB\x03\xe0\x41\x02H\x00\x12r\n\x10pem_issuer_chain\x18\x02 \x01(\x0b\x32Q.google.cloud.security.privateca.v1beta1.SubordinateConfig.SubordinateConfigChainB\x03\xe0\x41\x02H\x00\x1a\x37\n\x16SubordinateConfigChain\x12\x1d\n\x10pem_certificates\x18\x01 \x03(\tB\x03\xe0\x41\x02\x42\x14\n\x12subordinate_config\"\xb2\x01\n\tPublicKey\x12M\n\x04type\x18\x01 \x01(\x0e\x32:.google.cloud.security.privateca.v1beta1.PublicKey.KeyTypeB\x03\xe0\x41\x02\x12\x10\n\x03key\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"D\n\x07KeyType\x12\x18\n\x14KEY_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPEM_RSA_KEY\x10\x01\x12\x0e\n\nPEM_EC_KEY\x10\x02\"\xf2\x03\n\x11\x43\x65rtificateConfig\x12\x65\n\x0esubject_config\x18\x01 \x01(\x0b\x32H.google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfigB\x03\xe0\x41\x02\x12\\\n\x0freusable_config\x18\x02 \x01(\x0b\x32>.google.cloud.security.privateca.v1beta1.ReusableConfigWrapperB\x03\xe0\x41\x02\x12K\n\npublic_key\x18\x03 \x01(\x0b\x32\x32.google.cloud.security.privateca.v1beta1.PublicKeyB\x03\xe0\x41\x01\x1a\xca\x01\n\rSubjectConfig\x12\x46\n\x07subject\x18\x01 \x01(\x0b\x32\x30.google.cloud.security.privateca.v1beta1.SubjectB\x03\xe0\x41\x02\x12\x18\n\x0b\x63ommon_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12W\n\x10subject_alt_name\x18\x03 \x01(\x0b\x32\x38.google.cloud.security.privateca.v1beta1.SubjectAltNamesB\x03\xe0\x41\x01\"\xe1\x08\n\x16\x43\x65rtificateDescription\x12o\n\x13subject_description\x18\x01 \x01(\x0b\x32R.google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription\x12T\n\rconfig_values\x18\x02 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.ReusableConfigValues\x12\x46\n\npublic_key\x18\x03 \x01(\x0b\x32\x32.google.cloud.security.privateca.v1beta1.PublicKey\x12]\n\x0esubject_key_id\x18\x04 \x01(\x0b\x32\x45.google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId\x12_\n\x10\x61uthority_key_id\x18\x05 \x01(\x0b\x32\x45.google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId\x12\x1f\n\x17\x63rl_distribution_points\x18\x06 \x03(\t\x12$\n\x1c\x61ia_issuing_certificate_urls\x18\x07 \x03(\t\x12p\n\x10\x63\x65rt_fingerprint\x18\x08 \x01(\x0b\x32V.google.cloud.security.privateca.v1beta1.CertificateDescription.CertificateFingerprint\x1a\xf1\x02\n\x12SubjectDescription\x12\x41\n\x07subject\x18\x01 \x01(\x0b\x32\x30.google.cloud.security.privateca.v1beta1.Subject\x12\x13\n\x0b\x63ommon_name\x18\x02 \x01(\t\x12R\n\x10subject_alt_name\x18\x03 \x01(\x0b\x32\x38.google.cloud.security.privateca.v1beta1.SubjectAltNames\x12\x19\n\x11hex_serial_number\x18\x04 \x01(\t\x12+\n\x08lifetime\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x33\n\x0fnot_before_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0enot_after_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x1c\n\x05KeyId\x12\x13\n\x06key_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x1a-\n\x16\x43\x65rtificateFingerprint\x12\x13\n\x0bsha256_hash\x18\x01 \x01(\t\"\'\n\x08ObjectId\x12\x1b\n\x0eobject_id_path\x18\x01 \x03(\x05\x42\x03\xe0\x41\x02\"\x85\x01\n\rX509Extension\x12I\n\tobject_id\x18\x01 \x01(\x0b\x32\x31.google.cloud.security.privateca.v1beta1.ObjectIdB\x03\xe0\x41\x02\x12\x15\n\x08\x63ritical\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x02\"\xb1\x05\n\x08KeyUsage\x12Y\n\x0e\x62\x61se_key_usage\x18\x01 \x01(\x0b\x32\x41.google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions\x12\x65\n\x12\x65xtended_key_usage\x18\x02 \x01(\x0b\x32I.google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions\x12V\n\x1bunknown_extended_key_usages\x18\x03 \x03(\x0b\x32\x31.google.cloud.security.privateca.v1beta1.ObjectId\x1a\xe7\x01\n\x0fKeyUsageOptions\x12\x19\n\x11\x64igital_signature\x18\x01 \x01(\x08\x12\x1a\n\x12\x63ontent_commitment\x18\x02 \x01(\x08\x12\x18\n\x10key_encipherment\x18\x03 \x01(\x08\x12\x19\n\x11\x64\x61ta_encipherment\x18\x04 \x01(\x08\x12\x15\n\rkey_agreement\x18\x05 \x01(\x08\x12\x11\n\tcert_sign\x18\x06 \x01(\x08\x12\x10\n\x08\x63rl_sign\x18\x07 \x01(\x08\x12\x15\n\rencipher_only\x18\x08 \x01(\x08\x12\x15\n\rdecipher_only\x18\t \x01(\x08\x1a\xa0\x01\n\x17\x45xtendedKeyUsageOptions\x12\x13\n\x0bserver_auth\x18\x01 \x01(\x08\x12\x13\n\x0b\x63lient_auth\x18\x02 \x01(\x08\x12\x14\n\x0c\x63ode_signing\x18\x03 \x01(\x08\x12\x18\n\x10\x65mail_protection\x18\x04 \x01(\x08\x12\x15\n\rtime_stamping\x18\x05 \x01(\x08\x12\x14\n\x0cocsp_signing\x18\x06 \x01(\x08\"\xa3\x01\n\x07Subject\x12\x14\n\x0c\x63ountry_code\x18\x01 \x01(\t\x12\x14\n\x0corganization\x18\x02 \x01(\t\x12\x1b\n\x13organizational_unit\x18\x03 \x01(\t\x12\x10\n\x08locality\x18\x04 \x01(\t\x12\x10\n\x08province\x18\x05 \x01(\t\x12\x16\n\x0estreet_address\x18\x06 \x01(\t\x12\x13\n\x0bpostal_code\x18\x07 \x01(\t\"\xae\x01\n\x0fSubjectAltNames\x12\x11\n\tdns_names\x18\x01 \x03(\t\x12\x0c\n\x04uris\x18\x02 \x03(\t\x12\x17\n\x0f\x65mail_addresses\x18\x03 \x03(\t\x12\x14\n\x0cip_addresses\x18\x04 \x03(\t\x12K\n\x0b\x63ustom_sans\x18\x05 \x03(\x0b\x32\x36.google.cloud.security.privateca.v1beta1.X509Extension*\x87\x02\n\x10RevocationReason\x12!\n\x1dREVOCATION_REASON_UNSPECIFIED\x10\x00\x12\x12\n\x0eKEY_COMPROMISE\x10\x01\x12$\n CERTIFICATE_AUTHORITY_COMPROMISE\x10\x02\x12\x17\n\x13\x41\x46\x46ILIATION_CHANGED\x10\x03\x12\x0e\n\nSUPERSEDED\x10\x04\x12\x1a\n\x16\x43\x45SSATION_OF_OPERATION\x10\x05\x12\x14\n\x10\x43\x45RTIFICATE_HOLD\x10\x06\x12\x17\n\x13PRIVILEGE_WITHDRAWN\x10\x07\x12\"\n\x1e\x41TTRIBUTE_AUTHORITY_COMPROMISE\x10\x08\x42\x98\x02\n+com.google.cloud.security.privateca.v1beta1B\x17PrivateCaResourcesProtoP\x01ZIcloud.google.com/go/security/privateca/apiv1beta1/privatecapb;privatecapb\xf8\x01\x01\xaa\x02\'Google.Cloud.Security.PrivateCA.V1Beta1\xca\x02\'Google\\Cloud\\Security\\PrivateCA\\V1beta1\xea\x02+Google::Cloud::Security::PrivateCA::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.Duration", "google/protobuf/duration.proto"],
30
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
+ ["google.protobuf.BoolValue", "google/protobuf/wrappers.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}"
278
37
  end
279
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."
280
41
  end
281
42
 
282
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/security/privateca/v1beta1/service.proto
3
4
 
@@ -12,138 +13,34 @@ require 'google/longrunning/operations_pb'
12
13
  require 'google/protobuf/field_mask_pb'
13
14
  require 'google/protobuf/timestamp_pb'
14
15
 
15
- Google::Protobuf::DescriptorPool.generated_pool.build do
16
- add_file("google/cloud/security/privateca/v1beta1/service.proto", :syntax => :proto3) do
17
- add_message "google.cloud.security.privateca.v1beta1.CreateCertificateRequest" do
18
- optional :parent, :string, 1
19
- optional :certificate_id, :string, 2
20
- optional :certificate, :message, 3, "google.cloud.security.privateca.v1beta1.Certificate"
21
- optional :request_id, :string, 4
22
- end
23
- add_message "google.cloud.security.privateca.v1beta1.GetCertificateRequest" do
24
- optional :name, :string, 1
25
- end
26
- add_message "google.cloud.security.privateca.v1beta1.ListCertificatesRequest" do
27
- optional :parent, :string, 1
28
- optional :page_size, :int32, 2
29
- optional :page_token, :string, 3
30
- optional :filter, :string, 4
31
- optional :order_by, :string, 5
32
- end
33
- add_message "google.cloud.security.privateca.v1beta1.ListCertificatesResponse" do
34
- repeated :certificates, :message, 1, "google.cloud.security.privateca.v1beta1.Certificate"
35
- optional :next_page_token, :string, 2
36
- repeated :unreachable, :string, 3
37
- end
38
- add_message "google.cloud.security.privateca.v1beta1.RevokeCertificateRequest" do
39
- optional :name, :string, 1
40
- optional :reason, :enum, 2, "google.cloud.security.privateca.v1beta1.RevocationReason"
41
- optional :request_id, :string, 3
42
- end
43
- add_message "google.cloud.security.privateca.v1beta1.UpdateCertificateRequest" do
44
- optional :certificate, :message, 1, "google.cloud.security.privateca.v1beta1.Certificate"
45
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
46
- optional :request_id, :string, 3
47
- end
48
- add_message "google.cloud.security.privateca.v1beta1.ActivateCertificateAuthorityRequest" do
49
- optional :name, :string, 1
50
- optional :pem_ca_certificate, :string, 2
51
- optional :subordinate_config, :message, 3, "google.cloud.security.privateca.v1beta1.SubordinateConfig"
52
- optional :request_id, :string, 4
53
- end
54
- add_message "google.cloud.security.privateca.v1beta1.CreateCertificateAuthorityRequest" do
55
- optional :parent, :string, 1
56
- optional :certificate_authority_id, :string, 2
57
- optional :certificate_authority, :message, 3, "google.cloud.security.privateca.v1beta1.CertificateAuthority"
58
- optional :request_id, :string, 4
59
- end
60
- add_message "google.cloud.security.privateca.v1beta1.DisableCertificateAuthorityRequest" do
61
- optional :name, :string, 1
62
- optional :request_id, :string, 2
63
- end
64
- add_message "google.cloud.security.privateca.v1beta1.EnableCertificateAuthorityRequest" do
65
- optional :name, :string, 1
66
- optional :request_id, :string, 2
67
- end
68
- add_message "google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrRequest" do
69
- optional :name, :string, 1
70
- end
71
- add_message "google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse" do
72
- optional :pem_csr, :string, 1
73
- end
74
- add_message "google.cloud.security.privateca.v1beta1.GetCertificateAuthorityRequest" do
75
- optional :name, :string, 1
76
- end
77
- add_message "google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesRequest" do
78
- optional :parent, :string, 1
79
- optional :page_size, :int32, 2
80
- optional :page_token, :string, 3
81
- optional :filter, :string, 4
82
- optional :order_by, :string, 5
83
- end
84
- add_message "google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse" do
85
- repeated :certificate_authorities, :message, 1, "google.cloud.security.privateca.v1beta1.CertificateAuthority"
86
- optional :next_page_token, :string, 2
87
- repeated :unreachable, :string, 3
88
- end
89
- add_message "google.cloud.security.privateca.v1beta1.RestoreCertificateAuthorityRequest" do
90
- optional :name, :string, 1
91
- optional :request_id, :string, 2
92
- end
93
- add_message "google.cloud.security.privateca.v1beta1.ScheduleDeleteCertificateAuthorityRequest" do
94
- optional :name, :string, 1
95
- optional :request_id, :string, 2
96
- end
97
- add_message "google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest" do
98
- optional :certificate_authority, :message, 1, "google.cloud.security.privateca.v1beta1.CertificateAuthority"
99
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
100
- optional :request_id, :string, 3
101
- end
102
- add_message "google.cloud.security.privateca.v1beta1.GetCertificateRevocationListRequest" do
103
- optional :name, :string, 1
104
- end
105
- add_message "google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsRequest" do
106
- optional :parent, :string, 1
107
- optional :page_size, :int32, 2
108
- optional :page_token, :string, 3
109
- optional :filter, :string, 4
110
- optional :order_by, :string, 5
111
- end
112
- add_message "google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse" do
113
- repeated :certificate_revocation_lists, :message, 1, "google.cloud.security.privateca.v1beta1.CertificateRevocationList"
114
- optional :next_page_token, :string, 2
115
- repeated :unreachable, :string, 3
116
- end
117
- add_message "google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest" do
118
- optional :certificate_revocation_list, :message, 1, "google.cloud.security.privateca.v1beta1.CertificateRevocationList"
119
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
120
- optional :request_id, :string, 3
121
- end
122
- add_message "google.cloud.security.privateca.v1beta1.GetReusableConfigRequest" do
123
- optional :name, :string, 1
124
- end
125
- add_message "google.cloud.security.privateca.v1beta1.ListReusableConfigsRequest" do
126
- optional :parent, :string, 1
127
- optional :page_size, :int32, 2
128
- optional :page_token, :string, 3
129
- optional :filter, :string, 4
130
- optional :order_by, :string, 5
131
- end
132
- add_message "google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse" do
133
- repeated :reusable_configs, :message, 1, "google.cloud.security.privateca.v1beta1.ReusableConfig"
134
- optional :next_page_token, :string, 2
135
- repeated :unreachable, :string, 3
136
- end
137
- add_message "google.cloud.security.privateca.v1beta1.OperationMetadata" do
138
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
139
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
140
- optional :target, :string, 3
141
- optional :verb, :string, 4
142
- optional :status_message, :string, 5
143
- optional :requested_cancellation, :bool, 6
144
- optional :api_version, :string, 7
16
+
17
+ descriptor_data = "\n5google/cloud/security/privateca/v1beta1/service.proto\x12\'google.cloud.security.privateca.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/security/privateca/v1beta1/resources.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe7\x01\n\x18\x43reateCertificateRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x1b\n\x0e\x63\x65rtificate_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12N\n\x0b\x63\x65rtificate\x18\x03 \x01(\x0b\x32\x34.google.cloud.security.privateca.v1beta1.CertificateB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"S\n\x15GetCertificateRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$privateca.googleapis.com/Certificate\"\xbd\x01\n\x17ListCertificatesRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x94\x01\n\x18ListCertificatesResponse\x12J\n\x0c\x63\x65rtificates\x18\x01 \x03(\x0b\x32\x34.google.cloud.security.privateca.v1beta1.Certificate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xbf\x01\n\x18RevokeCertificateRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$privateca.googleapis.com/Certificate\x12N\n\x06reason\x18\x02 \x01(\x0e\x32\x39.google.cloud.security.privateca.v1beta1.RevocationReasonB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xb9\x01\n\x18UpdateCertificateRequest\x12N\n\x0b\x63\x65rtificate\x18\x01 \x01(\x0b\x32\x34.google.cloud.security.privateca.v1beta1.CertificateB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x81\x02\n#ActivateCertificateAuthorityRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x1f\n\x12pem_ca_certificate\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12[\n\x12subordinate_config\x18\x03 \x01(\x0b\x32:.google.cloud.security.privateca.v1beta1.SubordinateConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x81\x02\n!CreateCertificateAuthorityRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12%\n\x18\x63\x65rtificate_authority_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x61\n\x15\x63\x65rtificate_authority\x18\x03 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.CertificateAuthorityB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x82\x01\n\"DisableCertificateAuthorityRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x81\x01\n!EnableCertificateAuthorityRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"j\n#FetchCertificateAuthorityCsrRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\"<\n$FetchCertificateAuthorityCsrResponse\x12\x14\n\x07pem_csr\x18\x01 \x01(\tB\x03\xe0\x41\x03\"e\n\x1eGetCertificateAuthorityRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\"\xbb\x01\n!ListCertificateAuthoritiesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xb2\x01\n\"ListCertificateAuthoritiesResponse\x12^\n\x17\x63\x65rtificate_authorities\x18\x01 \x03(\x0b\x32=.google.cloud.security.privateca.v1beta1.CertificateAuthority\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\x82\x01\n\"RestoreCertificateAuthorityRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n)ScheduleDeleteCertificateAuthorityRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xd5\x01\n!UpdateCertificateAuthorityRequest\x12\x61\n\x15\x63\x65rtificate_authority\x18\x01 \x01(\x0b\x32=.google.cloud.security.privateca.v1beta1.CertificateAuthorityB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"o\n#GetCertificateRevocationListRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2privateca.googleapis.com/CertificateRevocationList\"\xcb\x01\n%ListCertificateRevocationListsRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-privateca.googleapis.com/CertificateAuthority\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xc0\x01\n&ListCertificateRevocationListsResponse\x12h\n\x1c\x63\x65rtificate_revocation_lists\x18\x01 \x03(\x0b\x32\x42.google.cloud.security.privateca.v1beta1.CertificateRevocationList\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xe5\x01\n&UpdateCertificateRevocationListRequest\x12l\n\x1b\x63\x65rtificate_revocation_list\x18\x01 \x01(\x0b\x32\x42.google.cloud.security.privateca.v1beta1.CertificateRevocationListB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"Y\n\x18GetReusableConfigRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'privateca.googleapis.com/ReusableConfig\"\xb4\x01\n\x1aListReusableConfigsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x9e\x01\n\x1bListReusableConfigsResponse\x12Q\n\x10reusable_configs\x18\x01 \x03(\x0b\x32\x37.google.cloud.security.privateca.v1beta1.ReusableConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\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\x32\xd1,\n\x1b\x43\x65rtificateAuthorityService\x12\x96\x02\n\x11\x43reateCertificate\x12\x41.google.cloud.security.privateca.v1beta1.CreateCertificateRequest\x1a\x34.google.cloud.security.privateca.v1beta1.Certificate\"\x87\x01\x82\xd3\xe4\x93\x02]\"N/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificates:\x0b\x63\x65rtificate\xda\x41!parent,certificate,certificate_id\x12\xe5\x01\n\x0eGetCertificate\x12>.google.cloud.security.privateca.v1beta1.GetCertificateRequest\x1a\x34.google.cloud.security.privateca.v1beta1.Certificate\"]\x82\xd3\xe4\x93\x02P\x12N/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificates/*}\xda\x41\x04name\x12\xf8\x01\n\x10ListCertificates\x12@.google.cloud.security.privateca.v1beta1.ListCertificatesRequest\x1a\x41.google.cloud.security.privateca.v1beta1.ListCertificatesResponse\"_\x82\xd3\xe4\x93\x02P\x12N/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificates\xda\x41\x06parent\x12\xf5\x01\n\x11RevokeCertificate\x12\x41.google.cloud.security.privateca.v1beta1.RevokeCertificateRequest\x1a\x34.google.cloud.security.privateca.v1beta1.Certificate\"g\x82\xd3\xe4\x93\x02Z\"U/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificates/*}:revoke:\x01*\xda\x41\x04name\x12\x98\x02\n\x11UpdateCertificate\x12\x41.google.cloud.security.privateca.v1beta1.UpdateCertificateRequest\x1a\x34.google.cloud.security.privateca.v1beta1.Certificate\"\x89\x01\x82\xd3\xe4\x93\x02i2Z/v1beta1/{certificate.name=projects/*/locations/*/certificateAuthorities/*/certificates/*}:\x0b\x63\x65rtificate\xda\x41\x17\x63\x65rtificate,update_mask\x12\x94\x02\n\x1c\x41\x63tivateCertificateAuthority\x12L.google.cloud.security.privateca.v1beta1.ActivateCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\x82\xd3\xe4\x93\x02M\"H/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:activate:\x01*\xda\x41\x04name\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\xcc\x02\n\x1a\x43reateCertificateAuthority\x12J.google.cloud.security.privateca.v1beta1.CreateCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\xc2\x01\x82\xd3\xe4\x93\x02X\"?/v1beta1/{parent=projects/*/locations/*}/certificateAuthorities:\x15\x63\x65rtificate_authority\xda\x41\x35parent,certificate_authority,certificate_authority_id\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\x91\x02\n\x1b\x44isableCertificateAuthority\x12K.google.cloud.security.privateca.v1beta1.DisableCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02L\"G/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:disable:\x01*\xda\x41\x04name\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\x8e\x02\n\x1a\x45nableCertificateAuthority\x12J.google.cloud.security.privateca.v1beta1.EnableCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x84\x01\x82\xd3\xe4\x93\x02K\"F/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:enable:\x01*\xda\x41\x04name\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\x91\x02\n\x1c\x46\x65tchCertificateAuthorityCsr\x12L.google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrRequest\x1aM.google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrResponse\"T\x82\xd3\xe4\x93\x02G\x12\x45/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:fetch\xda\x41\x04name\x12\xf1\x01\n\x17GetCertificateAuthority\x12G.google.cloud.security.privateca.v1beta1.GetCertificateAuthorityRequest\x1a=.google.cloud.security.privateca.v1beta1.CertificateAuthority\"N\x82\xd3\xe4\x93\x02\x41\x12?/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}\xda\x41\x04name\x12\x87\x02\n\x1aListCertificateAuthorities\x12J.google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesRequest\x1aK.google.cloud.security.privateca.v1beta1.ListCertificateAuthoritiesResponse\"P\x82\xd3\xe4\x93\x02\x41\x12?/v1beta1/{parent=projects/*/locations/*}/certificateAuthorities\xda\x41\x06parent\x12\x91\x02\n\x1bRestoreCertificateAuthority\x12K.google.cloud.security.privateca.v1beta1.RestoreCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02L\"G/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:restore:\x01*\xda\x41\x04name\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\xa6\x02\n\"ScheduleDeleteCertificateAuthority\x12R.google.cloud.security.privateca.v1beta1.ScheduleDeleteCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02S\"N/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:scheduleDelete:\x01*\xda\x41\x04name\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\xce\x02\n\x1aUpdateCertificateAuthority\x12J.google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest\x1a\x1d.google.longrunning.Operation\"\xc4\x01\x82\xd3\xe4\x93\x02n2U/v1beta1/{certificate_authority.name=projects/*/locations/*/certificateAuthorities/*}:\x15\x63\x65rtificate_authority\xda\x41!certificate_authority,update_mask\xca\x41)\n\x14\x43\x65rtificateAuthority\x12\x11OperationMetadata\x12\x9d\x02\n\x1cGetCertificateRevocationList\x12L.google.cloud.security.privateca.v1beta1.GetCertificateRevocationListRequest\x1a\x42.google.cloud.security.privateca.v1beta1.CertificateRevocationList\"k\x82\xd3\xe4\x93\x02^\x12\\/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificateRevocationLists/*}\xda\x41\x04name\x12\xb0\x02\n\x1eListCertificateRevocationLists\x12N.google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsRequest\x1aO.google.cloud.security.privateca.v1beta1.ListCertificateRevocationListsResponse\"m\x82\xd3\xe4\x93\x02^\x12\\/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificateRevocationLists\xda\x41\x06parent\x12\x8d\x03\n\x1fUpdateCertificateRevocationList\x12O.google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest\x1a\x1d.google.longrunning.Operation\"\xf9\x01\x82\xd3\xe4\x93\x02\x97\x01\x32x/v1beta1/{certificate_revocation_list.name=projects/*/locations/*/certificateAuthorities/*/certificateRevocationLists/*}:\x1b\x63\x65rtificate_revocation_list\xda\x41\'certificate_revocation_list,update_mask\xca\x41.\n\x19\x43\x65rtificateRevocationList\x12\x11OperationMetadata\x12\xd8\x01\n\x11GetReusableConfig\x12\x41.google.cloud.security.privateca.v1beta1.GetReusableConfigRequest\x1a\x37.google.cloud.security.privateca.v1beta1.ReusableConfig\"G\x82\xd3\xe4\x93\x02:\x12\x38/v1beta1/{name=projects/*/locations/*/reusableConfigs/*}\xda\x41\x04name\x12\xeb\x01\n\x13ListReusableConfigs\x12\x43.google.cloud.security.privateca.v1beta1.ListReusableConfigsRequest\x1a\x44.google.cloud.security.privateca.v1beta1.ListReusableConfigsResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v1beta1/{parent=projects/*/locations/*}/reusableConfigs\xda\x41\x06parent\x1aL\xca\x41\x18privateca.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8f\x02\n+com.google.cloud.security.privateca.v1beta1B\x0ePrivateCaProtoP\x01ZIcloud.google.com/go/security/privateca/apiv1beta1/privatecapb;privatecapb\xf8\x01\x01\xaa\x02\'Google.Cloud.Security.PrivateCA.V1Beta1\xca\x02\'Google\\Cloud\\Security\\PrivateCA\\V1beta1\xea\x02+Google::Cloud::Security::PrivateCA::V1beta1b\x06proto3"
18
+
19
+ pool = Google::Protobuf::DescriptorPool.generated_pool
20
+
21
+ begin
22
+ pool.add_serialized_file(descriptor_data)
23
+ rescue TypeError => e
24
+ # Compatibility code: will be removed in the next major version.
25
+ require 'google/protobuf/descriptor_pb'
26
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
27
+ parsed.clear_dependency
28
+ serialized = parsed.class.encode(parsed)
29
+ file = pool.add_serialized_file(serialized)
30
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
31
+ imports = [
32
+ ["google.cloud.security.privateca.v1beta1.Certificate", "google/cloud/security/privateca/v1beta1/resources.proto"],
33
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
34
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
145
40
  end
146
41
  end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
147
44
  end
148
45
 
149
46
  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-security-private_ca-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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