google-cloud-security-private_ca-v1 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/client.rb +6 -5
- data/lib/google/cloud/security/private_ca/v1/version.rb +1 -1
- data/lib/google/cloud/security/privateca/v1/resources_pb.rb +1 -1
- data/lib/google-cloud-security-private_ca-v1.rb +2 -0
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/security/privateca/v1/resources.rb +13 -12
- data/proto_docs/google/cloud/security/privateca/v1/service.rb +5 -5
- metadata +43 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a927f76d68f9c11e665df9dc39473d2cd42ab9f09d488071e1e8c9d130b6569
|
4
|
+
data.tar.gz: d2fb2cb1c5efb4982c90868151449cba11c6d88cba8e2f20c12109ab11832873
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c67ff9cef1c365dc5cda47e3e7e612a0b8403f5fe95850c9565d14f45600f8103b23124697724ee7e3b6d3f5095721e3f86cbf6fac267f350f89584a71c7b7e
|
7
|
+
data.tar.gz: '018e813d467a2d7a37a6f84c30aeb4bcd9239d5c8aa96b19462331ea90bc397c400ec56460ce84018aed6faaadc300166c983ac6e58d71bf6fbcda25698c3156'
|
data/README.md
CHANGED
@@ -30,14 +30,14 @@ In order to use this library, you first need to go through the following steps:
|
|
30
30
|
## Quick Start
|
31
31
|
|
32
32
|
```ruby
|
33
|
-
require "google/cloud/
|
33
|
+
require "google/cloud/location"
|
34
34
|
|
35
35
|
client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.new
|
36
36
|
request = ::Google::Cloud::Security::PrivateCA::V1::CreateCertificateRequest.new # (request fields as keyword arguments...)
|
37
37
|
response = client.create_certificate request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/certificate-authority-service/)
|
@@ -142,6 +142,7 @@ module Google
|
|
142
142
|
|
143
143
|
@operations_client = Operations.new do |config|
|
144
144
|
config.credentials = credentials
|
145
|
+
config.quota_project = @quota_project_id
|
145
146
|
config.endpoint = @config.endpoint
|
146
147
|
end
|
147
148
|
|
@@ -198,11 +199,11 @@ module Google
|
|
198
199
|
# already been completed. The server will guarantee that for at least 60
|
199
200
|
# minutes since the first request.
|
200
201
|
#
|
201
|
-
# For example, consider a situation where you make an initial request and
|
202
|
-
#
|
203
|
-
#
|
204
|
-
#
|
205
|
-
#
|
202
|
+
# For example, consider a situation where you make an initial request and the
|
203
|
+
# request times out. If you make the request again with the same request ID,
|
204
|
+
# the server can check if original operation with the same request ID was
|
205
|
+
# received, and if so, will ignore the second request. This prevents clients
|
206
|
+
# from accidentally creating duplicate commitments.
|
206
207
|
#
|
207
208
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
208
209
|
# not supported (00000000-0000-0000-0000-000000000000).
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/security/privateca/v1/resources.proto
|
3
3
|
|
4
|
+
require 'google/api/annotations_pb'
|
4
5
|
require 'google/api/field_behavior_pb'
|
5
6
|
require 'google/api/resource_pb'
|
6
7
|
require 'google/protobuf/duration_pb'
|
7
8
|
require 'google/protobuf/timestamp_pb'
|
8
9
|
require 'google/type/expr_pb'
|
9
|
-
require 'google/api/annotations_pb'
|
10
10
|
require 'google/protobuf'
|
11
11
|
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -33,11 +33,7 @@ module Google
|
|
33
33
|
# // For Kubernetes resources, the format is {api group}/{kind}.
|
34
34
|
# option (google.api.resource) = {
|
35
35
|
# type: "pubsub.googleapis.com/Topic"
|
36
|
-
#
|
37
|
-
# pattern: "projects/{project}/topics/{topic}"
|
38
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
39
|
-
# parent_name_extractor: "projects/{project}"
|
40
|
-
# }
|
36
|
+
# pattern: "projects/{project}/topics/{topic}"
|
41
37
|
# };
|
42
38
|
# }
|
43
39
|
#
|
@@ -45,10 +41,7 @@ module Google
|
|
45
41
|
#
|
46
42
|
# resources:
|
47
43
|
# - type: "pubsub.googleapis.com/Topic"
|
48
|
-
#
|
49
|
-
# - pattern: "projects/{project}/topics/{topic}"
|
50
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
51
|
-
# parent_name_extractor: "projects/{project}"
|
44
|
+
# pattern: "projects/{project}/topics/{topic}"
|
52
45
|
#
|
53
46
|
# Sometimes, resources have multiple patterns, typically because they can
|
54
47
|
# live under multiple parents.
|
@@ -58,26 +51,10 @@ module Google
|
|
58
51
|
# message LogEntry {
|
59
52
|
# option (google.api.resource) = {
|
60
53
|
# type: "logging.googleapis.com/LogEntry"
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# }
|
66
|
-
# name_descriptor: {
|
67
|
-
# pattern: "folders/{folder}/logs/{log}"
|
68
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
69
|
-
# parent_name_extractor: "folders/{folder}"
|
70
|
-
# }
|
71
|
-
# name_descriptor: {
|
72
|
-
# pattern: "organizations/{organization}/logs/{log}"
|
73
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
74
|
-
# parent_name_extractor: "organizations/{organization}"
|
75
|
-
# }
|
76
|
-
# name_descriptor: {
|
77
|
-
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
78
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
79
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
80
|
-
# }
|
54
|
+
# pattern: "projects/{project}/logs/{log}"
|
55
|
+
# pattern: "folders/{folder}/logs/{log}"
|
56
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
57
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
81
58
|
# };
|
82
59
|
# }
|
83
60
|
#
|
@@ -85,48 +62,10 @@ module Google
|
|
85
62
|
#
|
86
63
|
# resources:
|
87
64
|
# - type: 'logging.googleapis.com/LogEntry'
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# - pattern: "folders/{folder}/logs/{log}"
|
93
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
94
|
-
# parent_name_extractor: "folders/{folder}"
|
95
|
-
# - pattern: "organizations/{organization}/logs/{log}"
|
96
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Organization"
|
97
|
-
# parent_name_extractor: "organizations/{organization}"
|
98
|
-
# - pattern: "billingAccounts/{billing_account}/logs/{log}"
|
99
|
-
# parent_type: "billing.googleapis.com/BillingAccount"
|
100
|
-
# parent_name_extractor: "billingAccounts/{billing_account}"
|
101
|
-
#
|
102
|
-
# For flexible resources, the resource name doesn't contain parent names, but
|
103
|
-
# the resource itself has parents for policy evaluation.
|
104
|
-
#
|
105
|
-
# Example:
|
106
|
-
#
|
107
|
-
# message Shelf {
|
108
|
-
# option (google.api.resource) = {
|
109
|
-
# type: "library.googleapis.com/Shelf"
|
110
|
-
# name_descriptor: {
|
111
|
-
# pattern: "shelves/{shelf}"
|
112
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
113
|
-
# }
|
114
|
-
# name_descriptor: {
|
115
|
-
# pattern: "shelves/{shelf}"
|
116
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
117
|
-
# }
|
118
|
-
# };
|
119
|
-
# }
|
120
|
-
#
|
121
|
-
# The ResourceDescriptor Yaml config will look like:
|
122
|
-
#
|
123
|
-
# resources:
|
124
|
-
# - type: 'library.googleapis.com/Shelf'
|
125
|
-
# name_descriptor:
|
126
|
-
# - pattern: "shelves/{shelf}"
|
127
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Project"
|
128
|
-
# - pattern: "shelves/{shelf}"
|
129
|
-
# parent_type: "cloudresourcemanager.googleapis.com/Folder"
|
65
|
+
# pattern: "projects/{project}/logs/{log}"
|
66
|
+
# pattern: "folders/{folder}/logs/{log}"
|
67
|
+
# pattern: "organizations/{organization}/logs/{log}"
|
68
|
+
# pattern: "billingAccounts/{billing_account}/logs/{log}"
|
130
69
|
# @!attribute [rw] type
|
131
70
|
# @return [::String]
|
132
71
|
# The resource type. It must be in the format of
|
@@ -36,7 +36,7 @@ module Google
|
|
36
36
|
# Required. Immutable. The config used to create a self-signed X.509 certificate or CSR.
|
37
37
|
# @!attribute [rw] lifetime
|
38
38
|
# @return [::Google::Protobuf::Duration]
|
39
|
-
# Required. The desired lifetime of the CA certificate. Used to create the
|
39
|
+
# Required. Immutable. The desired lifetime of the CA certificate. Used to create the
|
40
40
|
# "not_before_time" and "not_after_time" fields inside an X.509
|
41
41
|
# certificate.
|
42
42
|
# @!attribute [rw] key_spec
|
@@ -195,7 +195,7 @@ module Google
|
|
195
195
|
# [CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
|
196
196
|
# values. For RSA signing algorithms, the PSS algorithms should be preferred,
|
197
197
|
# use PKCS1 algorithms if required for compatibility. For further
|
198
|
-
#
|
198
|
+
# recommendations, see
|
199
199
|
# https://cloud.google.com/kms/docs/algorithms#algorithm_recommendations.
|
200
200
|
module SignHashAlgorithm
|
201
201
|
# Not specified.
|
@@ -346,14 +346,14 @@ module Google
|
|
346
346
|
# a {::Google::Cloud::Security::PrivateCA::V1::CaPool CaPool}.
|
347
347
|
# @!attribute [rw] min_modulus_size
|
348
348
|
# @return [::Integer]
|
349
|
-
# Optional. The minimum allowed RSA modulus size, in bits. If this is
|
350
|
-
# or if set to zero, the service-level min RSA modulus size
|
351
|
-
# continue to apply.
|
349
|
+
# Optional. The minimum allowed RSA modulus size (inclusive), in bits. If this is
|
350
|
+
# not set, or if set to zero, the service-level min RSA modulus size
|
351
|
+
# will continue to apply.
|
352
352
|
# @!attribute [rw] max_modulus_size
|
353
353
|
# @return [::Integer]
|
354
|
-
# Optional. The maximum allowed RSA modulus size, in bits. If this is
|
355
|
-
# or if set to zero, the service will not enforce an explicit
|
356
|
-
# bound on RSA modulus sizes.
|
354
|
+
# Optional. The maximum allowed RSA modulus size (inclusive), in bits. If this is
|
355
|
+
# not set, or if set to zero, the service will not enforce an explicit
|
356
|
+
# upper bound on RSA modulus sizes.
|
357
357
|
class RsaKeyType
|
358
358
|
include ::Google::Protobuf::MessageExts
|
359
359
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -701,10 +701,9 @@ module Google
|
|
701
701
|
# known issuing {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority}, or a PEM issuer certificate chain.
|
702
702
|
# @!attribute [rw] certificate_authority
|
703
703
|
# @return [::String]
|
704
|
-
# Required. This can refer to a {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority}
|
705
|
-
#
|
706
|
-
#
|
707
|
-
# is in the format
|
704
|
+
# Required. This can refer to a {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority} that was used to create a
|
705
|
+
# subordinate {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority}. This field is used for information
|
706
|
+
# and usability purposes only. The resource name is in the format
|
708
707
|
# `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
|
709
708
|
# @!attribute [rw] pem_issuer_chain
|
710
709
|
# @return [::Google::Cloud::Security::PrivateCA::V1::SubordinateConfig::SubordinateConfigChain]
|
@@ -1041,6 +1040,8 @@ module Google
|
|
1041
1040
|
# @!attribute [rw] custom_sans
|
1042
1041
|
# @return [::Array<::Google::Cloud::Security::PrivateCA::V1::X509Extension>]
|
1043
1042
|
# Contains additional subject alternative name values.
|
1043
|
+
# For each custom_san, the `value` field must contain an ASN.1 encoded
|
1044
|
+
# UTF8String.
|
1044
1045
|
class SubjectAltNames
|
1045
1046
|
include ::Google::Protobuf::MessageExts
|
1046
1047
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -43,11 +43,11 @@ module Google
|
|
43
43
|
# already been completed. The server will guarantee that for at least 60
|
44
44
|
# minutes since the first request.
|
45
45
|
#
|
46
|
-
# For example, consider a situation where you make an initial request and
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
46
|
+
# For example, consider a situation where you make an initial request and the
|
47
|
+
# request times out. If you make the request again with the same request ID,
|
48
|
+
# the server can check if original operation with the same request ID was
|
49
|
+
# received, and if so, will ignore the second request. This prevents clients
|
50
|
+
# from accidentally creating duplicate commitments.
|
51
51
|
#
|
52
52
|
# The request ID must be a valid UUID with the exception that zero UUID is
|
53
53
|
# not supported (00000000-0000-0000-0000-000000000000).
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-security-private_ca-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,6 +44,46 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.0'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: grpc-google-iam-v1
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 0.6.10
|
74
|
+
- - "<"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.a
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 0.6.10
|
84
|
+
- - "<"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 2.a
|
47
87
|
- !ruby/object:Gem::Dependency
|
48
88
|
name: google-style
|
49
89
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
254
|
- !ruby/object:Gem::Version
|
215
255
|
version: '0'
|
216
256
|
requirements: []
|
217
|
-
rubygems_version: 3.3.
|
257
|
+
rubygems_version: 3.3.5
|
218
258
|
signing_key:
|
219
259
|
specification_version: 4
|
220
260
|
summary: API Client library for the Ceritificate Authority Service V1 API
|