google-cloud-security-private_ca-v1beta1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +75 -0
- data/lib/google-cloud-security-private_ca-v1beta1.rb +21 -0
- data/lib/google/cloud/security/private_ca/v1beta1.rb +37 -0
- data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service.rb +53 -0
- data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/client.rb +2065 -0
- data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/credentials.rb +53 -0
- data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/operations.rb +572 -0
- data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/paths.rb +132 -0
- data/lib/google/cloud/security/private_ca/v1beta1/version.rb +30 -0
- data/lib/google/cloud/security/privateca/v1beta1/resources_pb.rb +330 -0
- data/lib/google/cloud/security/privateca/v1beta1/service_pb.rb +184 -0
- data/lib/google/cloud/security/privateca/v1beta1/service_services_pb.rb +99 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +283 -0
- data/proto_docs/google/cloud/security/privateca/v1beta1/resources.rb +981 -0
- data/proto_docs/google/cloud/security/privateca/v1beta1/service.rb +633 -0
- data/proto_docs/google/longrunning/operations.rb +150 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +212 -0
@@ -0,0 +1,132 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Security
|
23
|
+
module PrivateCA
|
24
|
+
module V1beta1
|
25
|
+
module CertificateAuthorityService
|
26
|
+
# Path helper methods for the CertificateAuthorityService API.
|
27
|
+
module Paths
|
28
|
+
##
|
29
|
+
# Create a fully-qualified Certificate resource string.
|
30
|
+
#
|
31
|
+
# The resource will be in the following format:
|
32
|
+
#
|
33
|
+
# `projects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}/certificates/{certificate}`
|
34
|
+
#
|
35
|
+
# @param project [String]
|
36
|
+
# @param location [String]
|
37
|
+
# @param certificate_authority [String]
|
38
|
+
# @param certificate [String]
|
39
|
+
#
|
40
|
+
# @return [::String]
|
41
|
+
def certificate_path project:, location:, certificate_authority:, certificate:
|
42
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
43
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
44
|
+
raise ::ArgumentError, "certificate_authority cannot contain /" if certificate_authority.to_s.include? "/"
|
45
|
+
|
46
|
+
"projects/#{project}/locations/#{location}/certificateAuthorities/#{certificate_authority}/certificates/#{certificate}"
|
47
|
+
end
|
48
|
+
|
49
|
+
##
|
50
|
+
# Create a fully-qualified CertificateAuthority resource string.
|
51
|
+
#
|
52
|
+
# The resource will be in the following format:
|
53
|
+
#
|
54
|
+
# `projects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}`
|
55
|
+
#
|
56
|
+
# @param project [String]
|
57
|
+
# @param location [String]
|
58
|
+
# @param certificate_authority [String]
|
59
|
+
#
|
60
|
+
# @return [::String]
|
61
|
+
def certificate_authority_path project:, location:, certificate_authority:
|
62
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
63
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
64
|
+
|
65
|
+
"projects/#{project}/locations/#{location}/certificateAuthorities/#{certificate_authority}"
|
66
|
+
end
|
67
|
+
|
68
|
+
##
|
69
|
+
# Create a fully-qualified CertificateRevocationList resource string.
|
70
|
+
#
|
71
|
+
# The resource will be in the following format:
|
72
|
+
#
|
73
|
+
# `projects/{project}/locations/{location}/certificateAuthorities/{certificate_authority}/certificateRevocationLists/{certificate_revocation_list}`
|
74
|
+
#
|
75
|
+
# @param project [String]
|
76
|
+
# @param location [String]
|
77
|
+
# @param certificate_authority [String]
|
78
|
+
# @param certificate_revocation_list [String]
|
79
|
+
#
|
80
|
+
# @return [::String]
|
81
|
+
def certificate_revocation_list_path project:, location:, certificate_authority:, certificate_revocation_list:
|
82
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
83
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
84
|
+
raise ::ArgumentError, "certificate_authority cannot contain /" if certificate_authority.to_s.include? "/"
|
85
|
+
|
86
|
+
"projects/#{project}/locations/#{location}/certificateAuthorities/#{certificate_authority}/certificateRevocationLists/#{certificate_revocation_list}"
|
87
|
+
end
|
88
|
+
|
89
|
+
##
|
90
|
+
# Create a fully-qualified Location resource string.
|
91
|
+
#
|
92
|
+
# The resource will be in the following format:
|
93
|
+
#
|
94
|
+
# `projects/{project}/locations/{location}`
|
95
|
+
#
|
96
|
+
# @param project [String]
|
97
|
+
# @param location [String]
|
98
|
+
#
|
99
|
+
# @return [::String]
|
100
|
+
def location_path project:, location:
|
101
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
102
|
+
|
103
|
+
"projects/#{project}/locations/#{location}"
|
104
|
+
end
|
105
|
+
|
106
|
+
##
|
107
|
+
# Create a fully-qualified ReusableConfig resource string.
|
108
|
+
#
|
109
|
+
# The resource will be in the following format:
|
110
|
+
#
|
111
|
+
# `projects/{project}/locations/{location}/reusableConfigs/{reusable_config}`
|
112
|
+
#
|
113
|
+
# @param project [String]
|
114
|
+
# @param location [String]
|
115
|
+
# @param reusable_config [String]
|
116
|
+
#
|
117
|
+
# @return [::String]
|
118
|
+
def reusable_config_path project:, location:, reusable_config:
|
119
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
120
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
121
|
+
|
122
|
+
"projects/#{project}/locations/#{location}/reusableConfigs/#{reusable_config}"
|
123
|
+
end
|
124
|
+
|
125
|
+
extend self
|
126
|
+
end
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Security
|
23
|
+
module PrivateCA
|
24
|
+
module V1beta1
|
25
|
+
VERSION = "0.1.0"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,330 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/security/privateca/v1beta1/resources.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
require 'google/protobuf/duration_pb'
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
10
|
+
require 'google/protobuf/wrappers_pb'
|
11
|
+
require 'google/api/annotations_pb'
|
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
|
278
|
+
end
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
282
|
+
module Google
|
283
|
+
module Cloud
|
284
|
+
module Security
|
285
|
+
module PrivateCA
|
286
|
+
module V1beta1
|
287
|
+
CertificateAuthority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateAuthority").msgclass
|
288
|
+
CertificateAuthority::IssuingOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateAuthority.IssuingOptions").msgclass
|
289
|
+
CertificateAuthority::CertificateAuthorityPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy").msgclass
|
290
|
+
CertificateAuthority::CertificateAuthorityPolicy::AllowedConfigList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedConfigList").msgclass
|
291
|
+
CertificateAuthority::CertificateAuthorityPolicy::AllowedSubjectAltNames = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames").msgclass
|
292
|
+
CertificateAuthority::CertificateAuthorityPolicy::IssuanceModes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.IssuanceModes").msgclass
|
293
|
+
CertificateAuthority::AccessUrls = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateAuthority.AccessUrls").msgclass
|
294
|
+
CertificateAuthority::KeyVersionSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateAuthority.KeyVersionSpec").msgclass
|
295
|
+
CertificateAuthority::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateAuthority.Type").enummodule
|
296
|
+
CertificateAuthority::Tier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateAuthority.Tier").enummodule
|
297
|
+
CertificateAuthority::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateAuthority.State").enummodule
|
298
|
+
CertificateAuthority::SignHashAlgorithm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateAuthority.SignHashAlgorithm").enummodule
|
299
|
+
CertificateRevocationList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateRevocationList").msgclass
|
300
|
+
CertificateRevocationList::RevokedCertificate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateRevocationList.RevokedCertificate").msgclass
|
301
|
+
CertificateRevocationList::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateRevocationList.State").enummodule
|
302
|
+
Certificate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.Certificate").msgclass
|
303
|
+
Certificate::RevocationDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.Certificate.RevocationDetails").msgclass
|
304
|
+
ReusableConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.ReusableConfig").msgclass
|
305
|
+
ReusableConfigValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.ReusableConfigValues").msgclass
|
306
|
+
ReusableConfigValues::CaOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions").msgclass
|
307
|
+
ReusableConfigWrapper = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.ReusableConfigWrapper").msgclass
|
308
|
+
SubordinateConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.SubordinateConfig").msgclass
|
309
|
+
SubordinateConfig::SubordinateConfigChain = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.SubordinateConfig.SubordinateConfigChain").msgclass
|
310
|
+
PublicKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.PublicKey").msgclass
|
311
|
+
PublicKey::KeyType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.PublicKey.KeyType").enummodule
|
312
|
+
CertificateConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateConfig").msgclass
|
313
|
+
CertificateConfig::SubjectConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateConfig.SubjectConfig").msgclass
|
314
|
+
CertificateDescription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateDescription").msgclass
|
315
|
+
CertificateDescription::SubjectDescription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateDescription.SubjectDescription").msgclass
|
316
|
+
CertificateDescription::KeyId = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateDescription.KeyId").msgclass
|
317
|
+
CertificateDescription::CertificateFingerprint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.CertificateDescription.CertificateFingerprint").msgclass
|
318
|
+
ObjectId = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.ObjectId").msgclass
|
319
|
+
X509Extension = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.X509Extension").msgclass
|
320
|
+
KeyUsage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.KeyUsage").msgclass
|
321
|
+
KeyUsage::KeyUsageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions").msgclass
|
322
|
+
KeyUsage::ExtendedKeyUsageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions").msgclass
|
323
|
+
Subject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.Subject").msgclass
|
324
|
+
SubjectAltNames = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.SubjectAltNames").msgclass
|
325
|
+
RevocationReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.security.privateca.v1beta1.RevocationReason").enummodule
|
326
|
+
end
|
327
|
+
end
|
328
|
+
end
|
329
|
+
end
|
330
|
+
end
|