google-cloud-certificate_manager-v1 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/client.rb +6 -4
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/operations.rb +5 -3
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/client.rb +6 -4
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/operations.rb +9 -7
- data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/service_stub.rb +24 -24
- data/lib/google/cloud/certificate_manager/v1/version.rb +1 -1
- data/lib/google/cloud/certificatemanager/v1/certificate_issuance_config_pb.rb +26 -48
- data/lib/google/cloud/certificatemanager/v1/certificate_manager_pb.rb +26 -237
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d888fd531727583124dc5fa4b42af122b07ab35c7d5f4238921781065ca8c876
|
4
|
+
data.tar.gz: 9c4b42a7c9dd78cdae886cd50695deb073d728959d9956c39bf6b315495d1c2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eaffdb95d9959c5214d2b592d254343380779df2304ad6862013a45f4ccc3bbfd65ba64526deea1c6fb67d80eea77e825505b41c2a3e12e8e67239453e904804
|
7
|
+
data.tar.gz: 0424a4105eed0756773cf8f29929e93816b029735a2f5a4161b068b9c371313440505fa586e30b1b1bf0edd9ae7c09fa895f73586dce07abbeee5ea0fa5a540c
|
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://
|
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
|
|
@@ -269,7 +269,7 @@ module Google
|
|
269
269
|
credentials = @config.credentials
|
270
270
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
271
271
|
# but only if the default endpoint does not have a region prefix.
|
272
|
-
enable_self_signed_jwt = @config.endpoint ==
|
272
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
273
273
|
!@config.endpoint.split(".").first.include?("-")
|
274
274
|
credentials ||= Credentials.default scope: @config.scope,
|
275
275
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -2655,9 +2655,9 @@ module Google
|
|
2655
2655
|
# * (`String`) The path to a service account key file in JSON format
|
2656
2656
|
# * (`Hash`) A service account key as a Hash
|
2657
2657
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
2658
|
-
# (see the [googleauth docs](https://
|
2658
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
2659
2659
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
2660
|
-
# (see the [signet docs](https://
|
2660
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
2661
2661
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
2662
2662
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
2663
2663
|
# * (`nil`) indicating no credentials
|
@@ -2699,7 +2699,9 @@ module Google
|
|
2699
2699
|
class Configuration
|
2700
2700
|
extend ::Gapic::Config
|
2701
2701
|
|
2702
|
-
|
2702
|
+
DEFAULT_ENDPOINT = "certificatemanager.googleapis.com"
|
2703
|
+
|
2704
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
2703
2705
|
config_attr :credentials, nil do |value|
|
2704
2706
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2705
2707
|
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://
|
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://
|
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
|
-
|
667
|
+
DEFAULT_ENDPOINT = "certificatemanager.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
|
@@ -265,7 +265,7 @@ module Google
|
|
265
265
|
credentials = @config.credentials
|
266
266
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
267
267
|
# but only if the default endpoint does not have a region prefix.
|
268
|
-
enable_self_signed_jwt = @config.endpoint ==
|
268
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
269
269
|
!@config.endpoint.split(".").first.include?("-")
|
270
270
|
credentials ||= Credentials.default scope: @config.scope,
|
271
271
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -1972,9 +1972,9 @@ module Google
|
|
1972
1972
|
# * (`String`) The path to a service account key file in JSON format
|
1973
1973
|
# * (`Hash`) A service account key as a Hash
|
1974
1974
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1975
|
-
# (see the [googleauth docs](https://
|
1975
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1976
1976
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1977
|
-
# (see the [signet docs](https://
|
1977
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1978
1978
|
# * (`nil`) indicating no credentials
|
1979
1979
|
# @return [::Object]
|
1980
1980
|
# @!attribute [rw] scope
|
@@ -2007,7 +2007,9 @@ module Google
|
|
2007
2007
|
class Configuration
|
2008
2008
|
extend ::Gapic::Config
|
2009
2009
|
|
2010
|
-
|
2010
|
+
DEFAULT_ENDPOINT = "certificatemanager.googleapis.com"
|
2011
|
+
|
2012
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
2011
2013
|
config_attr :credentials, nil do |value|
|
2012
2014
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2013
2015
|
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://
|
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://
|
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
|
-
|
449
|
+
DEFAULT_ENDPOINT = "certificatemanager.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
|
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
|
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
|
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
|
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_certificates_request request_pb
|
61
61
|
query_string_params = if query_string_params.any?
|
62
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_request request_pb
|
99
99
|
query_string_params = if query_string_params.any?
|
100
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_request request_pb
|
137
137
|
query_string_params = if query_string_params.any?
|
138
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_request request_pb
|
175
175
|
query_string_params = if query_string_params.any?
|
176
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_request request_pb
|
213
213
|
query_string_params = if query_string_params.any?
|
214
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_maps_request request_pb
|
251
251
|
query_string_params = if query_string_params.any?
|
252
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_map_request request_pb
|
289
289
|
query_string_params = if query_string_params.any?
|
290
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_map_request request_pb
|
327
327
|
query_string_params = if query_string_params.any?
|
328
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_map_request request_pb
|
365
365
|
query_string_params = if query_string_params.any?
|
366
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_map_request request_pb
|
403
403
|
query_string_params = if query_string_params.any?
|
404
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_map_entries_request request_pb
|
441
441
|
query_string_params = if query_string_params.any?
|
442
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_map_entry_request request_pb
|
479
479
|
query_string_params = if query_string_params.any?
|
480
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_map_entry_request request_pb
|
517
517
|
query_string_params = if query_string_params.any?
|
518
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_map_entry_request request_pb
|
555
555
|
query_string_params = if query_string_params.any?
|
556
|
-
query_string_params.to_h { |p| p.split
|
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_certificate_map_entry_request request_pb
|
593
593
|
query_string_params = if query_string_params.any?
|
594
|
-
query_string_params.to_h { |p| p.split
|
594
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
595
595
|
else
|
596
596
|
{}
|
597
597
|
end
|
@@ -629,7 +629,7 @@ module Google
|
|
629
629
|
|
630
630
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_dns_authorizations_request request_pb
|
631
631
|
query_string_params = if query_string_params.any?
|
632
|
-
query_string_params.to_h { |p| p.split
|
632
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
633
633
|
else
|
634
634
|
{}
|
635
635
|
end
|
@@ -667,7 +667,7 @@ module Google
|
|
667
667
|
|
668
668
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_dns_authorization_request request_pb
|
669
669
|
query_string_params = if query_string_params.any?
|
670
|
-
query_string_params.to_h { |p| p.split
|
670
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
671
671
|
else
|
672
672
|
{}
|
673
673
|
end
|
@@ -705,7 +705,7 @@ module Google
|
|
705
705
|
|
706
706
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_dns_authorization_request request_pb
|
707
707
|
query_string_params = if query_string_params.any?
|
708
|
-
query_string_params.to_h { |p| p.split
|
708
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
709
709
|
else
|
710
710
|
{}
|
711
711
|
end
|
@@ -743,7 +743,7 @@ module Google
|
|
743
743
|
|
744
744
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_dns_authorization_request request_pb
|
745
745
|
query_string_params = if query_string_params.any?
|
746
|
-
query_string_params.to_h { |p| p.split
|
746
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
747
747
|
else
|
748
748
|
{}
|
749
749
|
end
|
@@ -781,7 +781,7 @@ module Google
|
|
781
781
|
|
782
782
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_dns_authorization_request request_pb
|
783
783
|
query_string_params = if query_string_params.any?
|
784
|
-
query_string_params.to_h { |p| p.split
|
784
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
785
785
|
else
|
786
786
|
{}
|
787
787
|
end
|
@@ -819,7 +819,7 @@ module Google
|
|
819
819
|
|
820
820
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_certificate_issuance_configs_request request_pb
|
821
821
|
query_string_params = if query_string_params.any?
|
822
|
-
query_string_params.to_h { |p| p.split
|
822
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
823
823
|
else
|
824
824
|
{}
|
825
825
|
end
|
@@ -857,7 +857,7 @@ module Google
|
|
857
857
|
|
858
858
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_certificate_issuance_config_request request_pb
|
859
859
|
query_string_params = if query_string_params.any?
|
860
|
-
query_string_params.to_h { |p| p.split
|
860
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
861
861
|
else
|
862
862
|
{}
|
863
863
|
end
|
@@ -895,7 +895,7 @@ module Google
|
|
895
895
|
|
896
896
|
verb, uri, query_string_params, body = ServiceStub.transcode_create_certificate_issuance_config_request request_pb
|
897
897
|
query_string_params = if query_string_params.any?
|
898
|
-
query_string_params.to_h { |p| p.split
|
898
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
899
899
|
else
|
900
900
|
{}
|
901
901
|
end
|
@@ -933,7 +933,7 @@ module Google
|
|
933
933
|
|
934
934
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_certificate_issuance_config_request request_pb
|
935
935
|
query_string_params = if query_string_params.any?
|
936
|
-
query_string_params.to_h { |p| p.split
|
936
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
937
937
|
else
|
938
938
|
{}
|
939
939
|
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/certificatemanager/v1/certificate_issuance_config.proto
|
3
4
|
|
@@ -8,56 +9,33 @@ require 'google/api/resource_pb'
|
|
8
9
|
require 'google/protobuf/duration_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
optional :name, :string, 1
|
35
|
-
end
|
36
|
-
add_message "google.cloud.certificatemanager.v1.CertificateIssuanceConfig" do
|
37
|
-
optional :name, :string, 1
|
38
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
39
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
40
|
-
map :labels, :string, :string, 4
|
41
|
-
optional :description, :string, 5
|
42
|
-
optional :certificate_authority_config, :message, 6, "google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig"
|
43
|
-
optional :lifetime, :message, 7, "google.protobuf.Duration"
|
44
|
-
optional :rotation_window_percentage, :int32, 8
|
45
|
-
optional :key_algorithm, :enum, 9, "google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm"
|
46
|
-
end
|
47
|
-
add_message "google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig" do
|
48
|
-
oneof :kind do
|
49
|
-
optional :certificate_authority_service_config, :message, 1, "google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig"
|
50
|
-
end
|
51
|
-
end
|
52
|
-
add_message "google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig" do
|
53
|
-
optional :ca_pool, :string, 1
|
54
|
-
end
|
55
|
-
add_enum "google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm" do
|
56
|
-
value :KEY_ALGORITHM_UNSPECIFIED, 0
|
57
|
-
value :RSA_2048, 1
|
58
|
-
value :ECDSA_P256, 4
|
12
|
+
|
13
|
+
descriptor_data = "\nDgoogle/cloud/certificatemanager/v1/certificate_issuance_config.proto\x12\"google.cloud.certificatemanager.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x01\n%ListCertificateIssuanceConfigsRequest\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\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\xbb\x01\n&ListCertificateIssuanceConfigsResponse\x12\x63\n\x1c\x63\x65rtificate_issuance_configs\x18\x01 \x03(\x0b\x32=.google.cloud.certificatemanager.v1.CertificateIssuanceConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"x\n#GetCertificateIssuanceConfigRequest\x12Q\n\x04name\x18\x01 \x01(\tBC\xe0\x41\x02\xfa\x41=\n;certificatemanager.googleapis.com/CertificateIssuanceConfig\"\xf9\x01\n&CreateCertificateIssuanceConfigRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12+\n\x1e\x63\x65rtificate_issuance_config_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12g\n\x1b\x63\x65rtificate_issuance_config\x18\x03 \x01(\x0b\x32=.google.cloud.certificatemanager.v1.CertificateIssuanceConfigB\x03\xe0\x41\x02\"{\n&DeleteCertificateIssuanceConfigRequest\x12Q\n\x04name\x18\x01 \x01(\tBC\xe0\x41\x02\xfa\x41=\n;certificatemanager.googleapis.com/CertificateIssuanceConfig\"\xa3\t\n\x19\x43\x65rtificateIssuanceConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Y\n\x06labels\x18\x04 \x03(\x0b\x32I.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x83\x01\n\x1c\x63\x65rtificate_authority_config\x18\x06 \x01(\x0b\x32X.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfigB\x03\xe0\x41\x02\x12\x30\n\x08lifetime\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\'\n\x1arotation_window_percentage\x18\x08 \x01(\x05\x42\x03\xe0\x41\x02\x12\x66\n\rkey_algorithm\x18\t \x01(\x0e\x32J.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithmB\x03\xe0\x41\x02\x1a\xb0\x02\n\x1a\x43\x65rtificateAuthorityConfig\x12\xaa\x01\n$certificate_authority_service_config\x18\x01 \x01(\x0b\x32z.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfigH\x00\x1a]\n!CertificateAuthorityServiceConfig\x12\x38\n\x07\x63\x61_pool\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1fprivateca.googleapis.com/CaPoolB\x06\n\x04kind\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"K\n\x0cKeyAlgorithm\x12\x1d\n\x19KEY_ALGORITHM_UNSPECIFIED\x10\x00\x12\x0c\n\x08RSA_2048\x10\x01\x12\x0e\n\nECDSA_P256\x10\x04:\xa3\x01\xea\x41\x9f\x01\n;certificatemanager.googleapis.com/CertificateIssuanceConfig\x12`projects/{project}/locations/{location}/certificateIssuanceConfigs/{certificate_issuance_config}B\xf3\x02\n&com.google.cloud.certificatemanager.v1B\x1e\x43\x65rtificateIssuanceConfigProtoP\x01ZVcloud.google.com/go/certificatemanager/apiv1/certificatemanagerpb;certificatemanagerpb\xaa\x02\"Google.Cloud.CertificateManager.V1\xca\x02\"Google\\Cloud\\CertificateManager\\V1\xea\x02%Google::Cloud::CertificateManager::V1\xea\x41\\\n\x1fprivateca.googleapis.com/CaPool\x12\x39projects/{project}/locations/{location}/caPools/{ca_pool}b\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.Duration", "google/protobuf/duration.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}"
|
59
35
|
end
|
60
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."
|
61
39
|
end
|
62
40
|
|
63
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/certificatemanager/v1/certificate_manager.proto
|
3
4
|
|
@@ -13,245 +14,33 @@ require 'google/protobuf/empty_pb'
|
|
13
14
|
require 'google/protobuf/field_mask_pb'
|
14
15
|
require 'google/protobuf/timestamp_pb'
|
15
16
|
|
16
|
-
|
17
|
-
add_file("google/cloud/certificatemanager/v1/certificate_manager.proto", :syntax => :proto3) do
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
optional :certificate, :message, 1, "google.cloud.certificatemanager.v1.Certificate"
|
40
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
41
|
-
end
|
42
|
-
add_message "google.cloud.certificatemanager.v1.DeleteCertificateRequest" do
|
43
|
-
optional :name, :string, 1
|
44
|
-
end
|
45
|
-
add_message "google.cloud.certificatemanager.v1.ListCertificateMapsRequest" do
|
46
|
-
optional :parent, :string, 1
|
47
|
-
optional :page_size, :int32, 2
|
48
|
-
optional :page_token, :string, 3
|
49
|
-
optional :filter, :string, 4
|
50
|
-
optional :order_by, :string, 5
|
51
|
-
end
|
52
|
-
add_message "google.cloud.certificatemanager.v1.ListCertificateMapsResponse" do
|
53
|
-
repeated :certificate_maps, :message, 1, "google.cloud.certificatemanager.v1.CertificateMap"
|
54
|
-
optional :next_page_token, :string, 2
|
55
|
-
repeated :unreachable, :string, 3
|
56
|
-
end
|
57
|
-
add_message "google.cloud.certificatemanager.v1.GetCertificateMapRequest" do
|
58
|
-
optional :name, :string, 1
|
59
|
-
end
|
60
|
-
add_message "google.cloud.certificatemanager.v1.CreateCertificateMapRequest" do
|
61
|
-
optional :parent, :string, 1
|
62
|
-
optional :certificate_map_id, :string, 2
|
63
|
-
optional :certificate_map, :message, 3, "google.cloud.certificatemanager.v1.CertificateMap"
|
64
|
-
end
|
65
|
-
add_message "google.cloud.certificatemanager.v1.UpdateCertificateMapRequest" do
|
66
|
-
optional :certificate_map, :message, 1, "google.cloud.certificatemanager.v1.CertificateMap"
|
67
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
68
|
-
end
|
69
|
-
add_message "google.cloud.certificatemanager.v1.DeleteCertificateMapRequest" do
|
70
|
-
optional :name, :string, 1
|
71
|
-
end
|
72
|
-
add_message "google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest" do
|
73
|
-
optional :parent, :string, 1
|
74
|
-
optional :page_size, :int32, 2
|
75
|
-
optional :page_token, :string, 3
|
76
|
-
optional :filter, :string, 4
|
77
|
-
optional :order_by, :string, 5
|
78
|
-
end
|
79
|
-
add_message "google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse" do
|
80
|
-
repeated :certificate_map_entries, :message, 1, "google.cloud.certificatemanager.v1.CertificateMapEntry"
|
81
|
-
optional :next_page_token, :string, 2
|
82
|
-
repeated :unreachable, :string, 3
|
83
|
-
end
|
84
|
-
add_message "google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest" do
|
85
|
-
optional :name, :string, 1
|
86
|
-
end
|
87
|
-
add_message "google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest" do
|
88
|
-
optional :parent, :string, 1
|
89
|
-
optional :certificate_map_entry_id, :string, 2
|
90
|
-
optional :certificate_map_entry, :message, 3, "google.cloud.certificatemanager.v1.CertificateMapEntry"
|
91
|
-
end
|
92
|
-
add_message "google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest" do
|
93
|
-
optional :certificate_map_entry, :message, 1, "google.cloud.certificatemanager.v1.CertificateMapEntry"
|
94
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
95
|
-
end
|
96
|
-
add_message "google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest" do
|
97
|
-
optional :name, :string, 1
|
98
|
-
end
|
99
|
-
add_message "google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest" do
|
100
|
-
optional :parent, :string, 1
|
101
|
-
optional :page_size, :int32, 2
|
102
|
-
optional :page_token, :string, 3
|
103
|
-
optional :filter, :string, 4
|
104
|
-
optional :order_by, :string, 5
|
105
|
-
end
|
106
|
-
add_message "google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse" do
|
107
|
-
repeated :dns_authorizations, :message, 1, "google.cloud.certificatemanager.v1.DnsAuthorization"
|
108
|
-
optional :next_page_token, :string, 2
|
109
|
-
repeated :unreachable, :string, 3
|
110
|
-
end
|
111
|
-
add_message "google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest" do
|
112
|
-
optional :name, :string, 1
|
113
|
-
end
|
114
|
-
add_message "google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest" do
|
115
|
-
optional :parent, :string, 1
|
116
|
-
optional :dns_authorization_id, :string, 2
|
117
|
-
optional :dns_authorization, :message, 3, "google.cloud.certificatemanager.v1.DnsAuthorization"
|
118
|
-
end
|
119
|
-
add_message "google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest" do
|
120
|
-
optional :dns_authorization, :message, 1, "google.cloud.certificatemanager.v1.DnsAuthorization"
|
121
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
122
|
-
end
|
123
|
-
add_message "google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest" do
|
124
|
-
optional :name, :string, 1
|
125
|
-
end
|
126
|
-
add_message "google.cloud.certificatemanager.v1.OperationMetadata" do
|
127
|
-
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
128
|
-
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
129
|
-
optional :target, :string, 3
|
130
|
-
optional :verb, :string, 4
|
131
|
-
optional :status_message, :string, 5
|
132
|
-
optional :requested_cancellation, :bool, 6
|
133
|
-
optional :api_version, :string, 7
|
134
|
-
end
|
135
|
-
add_message "google.cloud.certificatemanager.v1.Certificate" do
|
136
|
-
optional :name, :string, 1
|
137
|
-
optional :description, :string, 8
|
138
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
139
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
140
|
-
map :labels, :string, :string, 4
|
141
|
-
repeated :san_dnsnames, :string, 6
|
142
|
-
optional :pem_certificate, :string, 9
|
143
|
-
optional :expire_time, :message, 7, "google.protobuf.Timestamp"
|
144
|
-
optional :scope, :enum, 12, "google.cloud.certificatemanager.v1.Certificate.Scope"
|
145
|
-
oneof :type do
|
146
|
-
optional :self_managed, :message, 5, "google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate"
|
147
|
-
optional :managed, :message, 11, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate"
|
148
|
-
end
|
149
|
-
end
|
150
|
-
add_message "google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate" do
|
151
|
-
optional :pem_certificate, :string, 1
|
152
|
-
optional :pem_private_key, :string, 2
|
153
|
-
end
|
154
|
-
add_message "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate" do
|
155
|
-
repeated :domains, :string, 1
|
156
|
-
repeated :dns_authorizations, :string, 2
|
157
|
-
optional :issuance_config, :string, 6
|
158
|
-
optional :state, :enum, 4, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State"
|
159
|
-
optional :provisioning_issue, :message, 3, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue"
|
160
|
-
repeated :authorization_attempt_info, :message, 5, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo"
|
161
|
-
end
|
162
|
-
add_message "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue" do
|
163
|
-
optional :reason, :enum, 1, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason"
|
164
|
-
optional :details, :string, 2
|
165
|
-
end
|
166
|
-
add_enum "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason" do
|
167
|
-
value :REASON_UNSPECIFIED, 0
|
168
|
-
value :AUTHORIZATION_ISSUE, 1
|
169
|
-
value :RATE_LIMITED, 2
|
170
|
-
end
|
171
|
-
add_message "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo" do
|
172
|
-
optional :domain, :string, 1
|
173
|
-
optional :state, :enum, 2, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State"
|
174
|
-
optional :failure_reason, :enum, 3, "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason"
|
175
|
-
optional :details, :string, 4
|
176
|
-
end
|
177
|
-
add_enum "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State" do
|
178
|
-
value :STATE_UNSPECIFIED, 0
|
179
|
-
value :AUTHORIZING, 1
|
180
|
-
value :AUTHORIZED, 6
|
181
|
-
value :FAILED, 7
|
182
|
-
end
|
183
|
-
add_enum "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason" do
|
184
|
-
value :FAILURE_REASON_UNSPECIFIED, 0
|
185
|
-
value :CONFIG, 1
|
186
|
-
value :CAA, 2
|
187
|
-
value :RATE_LIMITED, 3
|
188
|
-
end
|
189
|
-
add_enum "google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State" do
|
190
|
-
value :STATE_UNSPECIFIED, 0
|
191
|
-
value :PROVISIONING, 1
|
192
|
-
value :FAILED, 2
|
193
|
-
value :ACTIVE, 3
|
194
|
-
end
|
195
|
-
add_enum "google.cloud.certificatemanager.v1.Certificate.Scope" do
|
196
|
-
value :DEFAULT, 0
|
197
|
-
value :EDGE_CACHE, 1
|
198
|
-
end
|
199
|
-
add_message "google.cloud.certificatemanager.v1.CertificateMap" do
|
200
|
-
optional :name, :string, 1
|
201
|
-
optional :description, :string, 5
|
202
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
203
|
-
optional :update_time, :message, 6, "google.protobuf.Timestamp"
|
204
|
-
map :labels, :string, :string, 3
|
205
|
-
repeated :gclb_targets, :message, 4, "google.cloud.certificatemanager.v1.CertificateMap.GclbTarget"
|
206
|
-
end
|
207
|
-
add_message "google.cloud.certificatemanager.v1.CertificateMap.GclbTarget" do
|
208
|
-
repeated :ip_configs, :message, 2, "google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig"
|
209
|
-
oneof :target_proxy do
|
210
|
-
optional :target_https_proxy, :string, 1
|
211
|
-
optional :target_ssl_proxy, :string, 3
|
212
|
-
end
|
213
|
-
end
|
214
|
-
add_message "google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig" do
|
215
|
-
optional :ip_address, :string, 1
|
216
|
-
repeated :ports, :uint32, 3
|
217
|
-
end
|
218
|
-
add_message "google.cloud.certificatemanager.v1.CertificateMapEntry" do
|
219
|
-
optional :name, :string, 1
|
220
|
-
optional :description, :string, 9
|
221
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
222
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
223
|
-
map :labels, :string, :string, 4
|
224
|
-
repeated :certificates, :string, 7
|
225
|
-
optional :state, :enum, 8, "google.cloud.certificatemanager.v1.ServingState"
|
226
|
-
oneof :match do
|
227
|
-
optional :hostname, :string, 5
|
228
|
-
optional :matcher, :enum, 10, "google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher"
|
229
|
-
end
|
230
|
-
end
|
231
|
-
add_enum "google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher" do
|
232
|
-
value :MATCHER_UNSPECIFIED, 0
|
233
|
-
value :PRIMARY, 1
|
234
|
-
end
|
235
|
-
add_message "google.cloud.certificatemanager.v1.DnsAuthorization" do
|
236
|
-
optional :name, :string, 1
|
237
|
-
optional :create_time, :message, 2, "google.protobuf.Timestamp"
|
238
|
-
optional :update_time, :message, 3, "google.protobuf.Timestamp"
|
239
|
-
map :labels, :string, :string, 4
|
240
|
-
optional :description, :string, 5
|
241
|
-
optional :domain, :string, 6
|
242
|
-
optional :dns_resource_record, :message, 10, "google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord"
|
243
|
-
end
|
244
|
-
add_message "google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord" do
|
245
|
-
optional :name, :string, 1
|
246
|
-
optional :type, :string, 2
|
247
|
-
optional :data, :string, 3
|
248
|
-
end
|
249
|
-
add_enum "google.cloud.certificatemanager.v1.ServingState" do
|
250
|
-
value :SERVING_STATE_UNSPECIFIED, 0
|
251
|
-
value :ACTIVE, 1
|
252
|
-
value :PENDING, 2
|
17
|
+
|
18
|
+
descriptor_data = "\n<google/cloud/certificatemanager/v1/certificate_manager.proto\x12\"google.cloud.certificatemanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x44google/cloud/certificatemanager/v1/certificate_issuance_config.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9d\x01\n\x17ListCertificatesRequest\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\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x8f\x01\n\x18ListCertificatesResponse\x12\x45\n\x0c\x63\x65rtificates\x18\x01 \x03(\x0b\x32/.google.cloud.certificatemanager.v1.Certificate\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\\\n\x15GetCertificateRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-certificatemanager.googleapis.com/Certificate\"\xbd\x01\n\x18\x43reateCertificateRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1b\n\x0e\x63\x65rtificate_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12I\n\x0b\x63\x65rtificate\x18\x03 \x01(\x0b\x32/.google.cloud.certificatemanager.v1.CertificateB\x03\xe0\x41\x02\"\x9b\x01\n\x18UpdateCertificateRequest\x12I\n\x0b\x63\x65rtificate\x18\x01 \x01(\x0b\x32/.google.cloud.certificatemanager.v1.CertificateB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"_\n\x18\x44\x65leteCertificateRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-certificatemanager.googleapis.com/Certificate\"\xa0\x01\n\x1aListCertificateMapsRequest\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\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x99\x01\n\x1bListCertificateMapsResponse\x12L\n\x10\x63\x65rtificate_maps\x18\x01 \x03(\x0b\x32\x32.google.cloud.certificatemanager.v1.CertificateMap\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"b\n\x18GetCertificateMapRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0certificatemanager.googleapis.com/CertificateMap\"\xcb\x01\n\x1b\x43reateCertificateMapRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x1f\n\x12\x63\x65rtificate_map_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12P\n\x0f\x63\x65rtificate_map\x18\x03 \x01(\x0b\x32\x32.google.cloud.certificatemanager.v1.CertificateMapB\x03\xe0\x41\x02\"\xa5\x01\n\x1bUpdateCertificateMapRequest\x12P\n\x0f\x63\x65rtificate_map\x18\x01 \x01(\x0b\x32\x32.google.cloud.certificatemanager.v1.CertificateMapB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"e\n\x1b\x44\x65leteCertificateMapRequest\x12\x46\n\x04name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0certificatemanager.googleapis.com/CertificateMap\"\xb5\x01\n ListCertificateMapEntriesRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0certificatemanager.googleapis.com/CertificateMap\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\xab\x01\n!ListCertificateMapEntriesResponse\x12X\n\x17\x63\x65rtificate_map_entries\x18\x01 \x03(\x0b\x32\x37.google.cloud.certificatemanager.v1.CertificateMapEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"l\n\x1dGetCertificateMapEntryRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5certificatemanager.googleapis.com/CertificateMapEntry\"\xf0\x01\n CreateCertificateMapEntryRequest\x12H\n\x06parent\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0certificatemanager.googleapis.com/CertificateMap\x12%\n\x18\x63\x65rtificate_map_entry_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12[\n\x15\x63\x65rtificate_map_entry\x18\x03 \x01(\x0b\x32\x37.google.cloud.certificatemanager.v1.CertificateMapEntryB\x03\xe0\x41\x02\"\xb5\x01\n UpdateCertificateMapEntryRequest\x12[\n\x15\x63\x65rtificate_map_entry\x18\x01 \x01(\x0b\x32\x37.google.cloud.certificatemanager.v1.CertificateMapEntryB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"o\n DeleteCertificateMapEntryRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe0\x41\x02\xfa\x41\x37\n5certificatemanager.googleapis.com/CertificateMapEntry\"\xa2\x01\n\x1cListDnsAuthorizationsRequest\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\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x9f\x01\n\x1dListDnsAuthorizationsResponse\x12P\n\x12\x64ns_authorizations\x18\x01 \x03(\x0b\x32\x34.google.cloud.certificatemanager.v1.DnsAuthorization\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"f\n\x1aGetDnsAuthorizationRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2certificatemanager.googleapis.com/DnsAuthorization\"\xd3\x01\n\x1d\x43reateDnsAuthorizationRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12!\n\x14\x64ns_authorization_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x11\x64ns_authorization\x18\x03 \x01(\x0b\x32\x34.google.cloud.certificatemanager.v1.DnsAuthorizationB\x03\xe0\x41\x02\"\xab\x01\n\x1dUpdateDnsAuthorizationRequest\x12T\n\x11\x64ns_authorization\x18\x01 \x01(\x0b\x32\x34.google.cloud.certificatemanager.v1.DnsAuthorizationB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"i\n\x1d\x44\x65leteDnsAuthorizationRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2certificatemanager.googleapis.com/DnsAuthorization\"\xdd\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x16\n\x0estatus_message\x18\x05 \x01(\t\x12\x1e\n\x16requested_cancellation\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t\"\xe1\x11\n\x0b\x43\x65rtificate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12K\n\x06labels\x18\x04 \x03(\x0b\x32;.google.cloud.certificatemanager.v1.Certificate.LabelsEntry\x12^\n\x0cself_managed\x18\x05 \x01(\x0b\x32\x46.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateH\x00\x12U\n\x07managed\x18\x0b \x01(\x0b\x32\x42.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateH\x00\x12\x19\n\x0csan_dnsnames\x18\x06 \x03(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fpem_certificate\x18\t \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12I\n\x05scope\x18\x0c \x01(\x0e\x32\x35.google.cloud.certificatemanager.v1.Certificate.ScopeB\x03\xe0\x41\x05\x1aT\n\x16SelfManagedCertificate\x12\x1c\n\x0fpem_certificate\x18\x01 \x01(\tB\x03\xe0\x41\x04\x12\x1c\n\x0fpem_private_key\x18\x02 \x01(\tB\x03\xe0\x41\x04\x1a\xd9\n\n\x12ManagedCertificate\x12\x14\n\x07\x64omains\x18\x01 \x03(\tB\x03\xe0\x41\x05\x12V\n\x12\x64ns_authorizations\x18\x02 \x03(\tB:\xe0\x41\x05\xfa\x41\x34\n2certificatemanager.googleapis.com/DnsAuthorization\x12\\\n\x0fissuance_config\x18\x06 \x01(\tBC\xe0\x41\x05\xfa\x41=\n;certificatemanager.googleapis.com/CertificateIssuanceConfig\x12\\\n\x05state\x18\x04 \x01(\x0e\x32H.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.StateB\x03\xe0\x41\x03\x12u\n\x12provisioning_issue\x18\x03 \x01(\x0b\x32T.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssueB\x03\xe0\x41\x03\x12\x84\x01\n\x1a\x61uthorization_attempt_info\x18\x05 \x03(\x0b\x32[.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoB\x03\xe0\x41\x03\x1a\xe8\x01\n\x11ProvisioningIssue\x12p\n\x06reason\x18\x01 \x01(\x0e\x32[.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.ReasonB\x03\xe0\x41\x03\x12\x14\n\x07\x64\x65tails\x18\x02 \x01(\tB\x03\xe0\x41\x03\"K\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x17\n\x13\x41UTHORIZATION_ISSUE\x10\x01\x12\x10\n\x0cRATE_LIMITED\x10\x02\x1a\xe5\x03\n\x18\x41uthorizationAttemptInfo\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12u\n\x05state\x18\x02 \x01(\x0e\x32\x61.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.StateB\x03\xe0\x41\x03\x12\x86\x01\n\x0e\x66\x61ilure_reason\x18\x03 \x01(\x0e\x32i.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReasonB\x03\xe0\x41\x03\x12\x14\n\x07\x64\x65tails\x18\x04 \x01(\tB\x03\xe0\x41\x03\"K\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x41UTHORIZING\x10\x01\x12\x0e\n\nAUTHORIZED\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07\"V\n\rFailureReason\x12\x1e\n\x1a\x46\x41ILURE_REASON_UNSPECIFIED\x10\x00\x12\n\n\x06\x43ONFIG\x10\x01\x12\x07\n\x03\x43\x41\x41\x10\x02\x12\x10\n\x0cRATE_LIMITED\x10\x03\"H\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"$\n\x05Scope\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0e\n\nEDGE_CACHE\x10\x01:v\xea\x41s\n-certificatemanager.googleapis.com/Certificate\x12\x42projects/{project}/locations/{location}/certificates/{certificate}B\x06\n\x04type\"\xf8\x05\n\x0e\x43\x65rtificateMap\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12N\n\x06labels\x18\x03 \x03(\x0b\x32>.google.cloud.certificatemanager.v1.CertificateMap.LabelsEntry\x12X\n\x0cgclb_targets\x18\x04 \x03(\x0b\x32=.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetB\x03\xe0\x41\x03\x1a\xfa\x01\n\nGclbTarget\x12!\n\x12target_https_proxy\x18\x01 \x01(\tB\x03\xe0\x41\x03H\x00\x12\x1f\n\x10target_ssl_proxy\x18\x03 \x01(\tB\x03\xe0\x41\x03H\x00\x12_\n\nip_configs\x18\x02 \x03(\x0b\x32\x46.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigB\x03\xe0\x41\x03\x1a\x37\n\x08IpConfig\x12\x17\n\nip_address\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05ports\x18\x03 \x03(\rB\x03\xe0\x41\x03\x42\x0e\n\x0ctarget_proxy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x80\x01\xea\x41}\n0certificatemanager.googleapis.com/CertificateMap\x12Iprojects/{project}/locations/{location}/certificateMaps/{certificate_map}\"\x91\x06\n\x13\x43\x65rtificateMapEntry\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\t \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12S\n\x06labels\x18\x04 \x03(\x0b\x32\x43.google.cloud.certificatemanager.v1.CertificateMapEntry.LabelsEntry\x12\x12\n\x08hostname\x18\x05 \x01(\tH\x00\x12R\n\x07matcher\x18\n \x01(\x0e\x32?.google.cloud.certificatemanager.v1.CertificateMapEntry.MatcherH\x00\x12H\n\x0c\x63\x65rtificates\x18\x07 \x03(\tB2\xfa\x41/\n-certificatemanager.googleapis.com/Certificate\x12\x44\n\x05state\x18\x08 \x01(\x0e\x32\x30.google.cloud.certificatemanager.v1.ServingStateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"/\n\x07Matcher\x12\x17\n\x13MATCHER_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01:\xb4\x01\xea\x41\xb0\x01\n5certificatemanager.googleapis.com/CertificateMapEntry\x12wprojects/{project}/locations/{location}/certificateMaps/{certificate_map}/certificateMapEntries/{certificate_map_entry}B\x07\n\x05match\"\xfc\x04\n\x10\x44nsAuthorization\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12P\n\x06labels\x18\x04 \x03(\x0b\x32@.google.cloud.certificatemanager.v1.DnsAuthorization.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x16\n\x06\x64omain\x18\x06 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12h\n\x13\x64ns_resource_record\x18\n \x01(\x0b\x32\x46.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordB\x03\xe0\x41\x03\x1aL\n\x11\x44nsResourceRecord\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04type\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04\x64\x61ta\x18\x03 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x87\x01\xea\x41\x83\x01\n2certificatemanager.googleapis.com/DnsAuthorization\x12Mprojects/{project}/locations/{location}/dnsAuthorizations/{dns_authorization}*F\n\x0cServingState\x12\x1d\n\x19SERVING_STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x32\xd6\x31\n\x12\x43\x65rtificateManager\x12\xd0\x01\n\x10ListCertificates\x12;.google.cloud.certificatemanager.v1.ListCertificatesRequest\x1a<.google.cloud.certificatemanager.v1.ListCertificatesResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/certificates\xda\x41\x06parent\x12\xbd\x01\n\x0eGetCertificate\x12\x39.google.cloud.certificatemanager.v1.GetCertificateRequest\x1a/.google.cloud.certificatemanager.v1.Certificate\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/certificates/*}\xda\x41\x04name\x12\xff\x01\n\x11\x43reateCertificate\x12<.google.cloud.certificatemanager.v1.CreateCertificateRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/certificates:\x0b\x63\x65rtificate\xda\x41!parent,certificate,certificate_id\xca\x41 \n\x0b\x43\x65rtificate\x12\x11OperationMetadata\x12\x81\x02\n\x11UpdateCertificate\x12<.google.cloud.certificatemanager.v1.UpdateCertificateRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x01\x82\xd3\xe4\x93\x02K2</v1/{certificate.name=projects/*/locations/*/certificates/*}:\x0b\x63\x65rtificate\xda\x41\x17\x63\x65rtificate,update_mask\xca\x41 \n\x0b\x43\x65rtificate\x12\x11OperationMetadata\x12\xde\x01\n\x11\x44\x65leteCertificate\x12<.google.cloud.certificatemanager.v1.DeleteCertificateRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/certificates/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xdc\x01\n\x13ListCertificateMaps\x12>.google.cloud.certificatemanager.v1.ListCertificateMapsRequest\x1a?.google.cloud.certificatemanager.v1.ListCertificateMapsResponse\"D\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/locations/*}/certificateMaps\xda\x41\x06parent\x12\xc9\x01\n\x11GetCertificateMap\x12<.google.cloud.certificatemanager.v1.GetCertificateMapRequest\x1a\x32.google.cloud.certificatemanager.v1.CertificateMap\"B\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{name=projects/*/locations/*/certificateMaps/*}\xda\x41\x04name\x12\x97\x02\n\x14\x43reateCertificateMap\x12?.google.cloud.certificatemanager.v1.CreateCertificateMapRequest\x1a\x1d.google.longrunning.Operation\"\x9e\x01\x82\xd3\xe4\x93\x02\x46\"3/v1/{parent=projects/*/locations/*}/certificateMaps:\x0f\x63\x65rtificate_map\xda\x41)parent,certificate_map,certificate_map_id\xca\x41#\n\x0e\x43\x65rtificateMap\x12\x11OperationMetadata\x12\x99\x02\n\x14UpdateCertificateMap\x12?.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest\x1a\x1d.google.longrunning.Operation\"\xa0\x01\x82\xd3\xe4\x93\x02V2C/v1/{certificate_map.name=projects/*/locations/*/certificateMaps/*}:\x0f\x63\x65rtificate_map\xda\x41\x1b\x63\x65rtificate_map,update_mask\xca\x41#\n\x0e\x43\x65rtificateMap\x12\x11OperationMetadata\x12\xe7\x01\n\x14\x44\x65leteCertificateMap\x12?.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest\x1a\x1d.google.longrunning.Operation\"o\x82\xd3\xe4\x93\x02\x35*3/v1/{name=projects/*/locations/*/certificateMaps/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\x86\x02\n\x19ListCertificateMapEntries\x12\x44.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest\x1a\x45.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse\"\\\x82\xd3\xe4\x93\x02M\x12K/v1/{parent=projects/*/locations/*/certificateMaps/*}/certificateMapEntries\xda\x41\x06parent\x12\xf0\x01\n\x16GetCertificateMapEntry\x12\x41.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest\x1a\x37.google.cloud.certificatemanager.v1.CertificateMapEntry\"Z\x82\xd3\xe4\x93\x02M\x12K/v1/{name=projects/*/locations/*/certificateMaps/*/certificateMapEntries/*}\xda\x41\x04name\x12\xd0\x02\n\x19\x43reateCertificateMapEntry\x12\x44.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest\x1a\x1d.google.longrunning.Operation\"\xcd\x01\x82\xd3\xe4\x93\x02\x64\"K/v1/{parent=projects/*/locations/*/certificateMaps/*}/certificateMapEntries:\x15\x63\x65rtificate_map_entry\xda\x41\x35parent,certificate_map_entry,certificate_map_entry_id\xca\x41(\n\x13\x43\x65rtificateMapEntry\x12\x11OperationMetadata\x12\xd2\x02\n\x19UpdateCertificateMapEntry\x12\x44.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest\x1a\x1d.google.longrunning.Operation\"\xcf\x01\x82\xd3\xe4\x93\x02z2a/v1/{certificate_map_entry.name=projects/*/locations/*/certificateMaps/*/certificateMapEntries/*}:\x15\x63\x65rtificate_map_entry\xda\x41!certificate_map_entry,update_mask\xca\x41(\n\x13\x43\x65rtificateMapEntry\x12\x11OperationMetadata\x12\x8a\x02\n\x19\x44\x65leteCertificateMapEntry\x12\x44.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02M*K/v1/{name=projects/*/locations/*/certificateMaps/*/certificateMapEntries/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe4\x01\n\x15ListDnsAuthorizations\x12@.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest\x1a\x41.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*}/dnsAuthorizations\xda\x41\x06parent\x12\xd1\x01\n\x13GetDnsAuthorization\x12>.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest\x1a\x34.google.cloud.certificatemanager.v1.DnsAuthorization\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/dnsAuthorizations/*}\xda\x41\x04name\x12\xa5\x02\n\x16\x43reateDnsAuthorization\x12\x41.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest\x1a\x1d.google.longrunning.Operation\"\xa8\x01\x82\xd3\xe4\x93\x02J\"5/v1/{parent=projects/*/locations/*}/dnsAuthorizations:\x11\x64ns_authorization\xda\x41-parent,dns_authorization,dns_authorization_id\xca\x41%\n\x10\x44nsAuthorization\x12\x11OperationMetadata\x12\xa7\x02\n\x16UpdateDnsAuthorization\x12\x41.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest\x1a\x1d.google.longrunning.Operation\"\xaa\x01\x82\xd3\xe4\x93\x02\\2G/v1/{dns_authorization.name=projects/*/locations/*/dnsAuthorizations/*}:\x11\x64ns_authorization\xda\x41\x1d\x64ns_authorization,update_mask\xca\x41%\n\x10\x44nsAuthorization\x12\x11OperationMetadata\x12\xed\x01\n\x16\x44\x65leteDnsAuthorization\x12\x41.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest\x1a\x1d.google.longrunning.Operation\"q\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/dnsAuthorizations/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\x88\x02\n\x1eListCertificateIssuanceConfigs\x12I.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest\x1aJ.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse\"O\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*}/certificateIssuanceConfigs\xda\x41\x06parent\x12\xf5\x01\n\x1cGetCertificateIssuanceConfig\x12G.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest\x1a=.google.cloud.certificatemanager.v1.CertificateIssuanceConfig\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/certificateIssuanceConfigs/*}\xda\x41\x04name\x12\xe7\x02\n\x1f\x43reateCertificateIssuanceConfig\x12J.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\x82\xd3\xe4\x93\x02]\">/v1/{parent=projects/*/locations/*}/certificateIssuanceConfigs:\x1b\x63\x65rtificate_issuance_config\xda\x41\x41parent,certificate_issuance_config,certificate_issuance_config_id\xca\x41.\n\x19\x43\x65rtificateIssuanceConfig\x12\x11OperationMetadata\x12\x88\x02\n\x1f\x44\x65leteCertificateIssuanceConfig\x12J.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/certificateIssuanceConfigs/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x1aU\xca\x41!certificatemanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x8d\x02\n&com.google.cloud.certificatemanager.v1B\x17\x43\x65rtificateManagerProtoP\x01ZVcloud.google.com/go/certificatemanager/apiv1/certificatemanagerpb;certificatemanagerpb\xaa\x02\"Google.Cloud.CertificateManager.V1\xca\x02\"Google\\Cloud\\CertificateManager\\V1\xea\x02%Google::Cloud::CertificateManager::V1b\x06proto3"
|
19
|
+
|
20
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
|
+
|
22
|
+
begin
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
24
|
+
rescue TypeError => e
|
25
|
+
# Compatibility code: will be removed in the next major version.
|
26
|
+
require 'google/protobuf/descriptor_pb'
|
27
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
28
|
+
parsed.clear_dependency
|
29
|
+
serialized = parsed.class.encode(parsed)
|
30
|
+
file = pool.add_serialized_file(serialized)
|
31
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
32
|
+
imports = [
|
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}"
|
253
40
|
end
|
254
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."
|
255
44
|
end
|
256
45
|
|
257
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
|
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
|
-
#
|
244
|
-
# - selector:
|
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
|
-
#
|
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
|
-
#
|
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://
|
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-certificate_manager-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
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.
|
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.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|