google-cloud-security-private_ca-v1beta1 0.3.1 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/client.rb +571 -121
- data/lib/google/cloud/security/private_ca/v1beta1/certificate_authority_service/operations.rb +149 -37
- data/lib/google/cloud/security/private_ca/v1beta1/version.rb +1 -1
- data/lib/google/cloud/security/privateca/v1beta1/resources_pb.rb +2 -2
- data/lib/google/cloud/security/privateca/v1beta1/service_pb.rb +2 -2
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/cloud/security/privateca/v1beta1/resources.rb +5 -5
- 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: 8cf11d831783f052ae1b0365e5bd03142baee9ddf99e5ee7539c98dd053d7c36
|
4
|
+
data.tar.gz: c085727037fbab3cd9fddf3d196f28b88abd659990c34afa50436dd703881c32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b524a3590cb5a844bcaf5cf63f8f01519842e377364285c94c9c7cb965b8a8daf245972cd5178c9523fc0f343e4afc535a6ff4666f3ef72578647e043bcd7c16
|
7
|
+
data.tar.gz: 5780b7ca6aeabf3a45a753ffb4295ce5ee417e6cae0c25070c04ffe4a0be0e7124590b992af7903443abb73e7b05b3dea7e09c3407b672c5cb1ecb86c49cf0b5
|
data/AUTHENTICATION.md
CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-security-private_ca-v1beta1
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
{::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Credentials}):
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
* `PRIVATE_CA_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
* `PRIVATE_CA_KEYFILE` - Path to JSON file, or JSON contents
|
71
|
+
* `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
72
|
+
* `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
73
|
+
* `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
74
74
|
|
75
75
|
```ruby
|
76
76
|
require "google/cloud/security/private_ca/v1beta1"
|
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityServ
|
|
82
82
|
|
83
83
|
### Configuration
|
84
84
|
|
85
|
-
The **Credentials JSON** can be configured instead of
|
86
|
-
environment
|
85
|
+
The path to the **Credentials JSON** file can be configured instead of storing
|
86
|
+
it in an environment variable. Either on an individual client initialization:
|
87
87
|
|
88
88
|
```ruby
|
89
89
|
require "google/cloud/security/private_ca/v1beta1"
|
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityServ
|
|
93
93
|
end
|
94
94
|
```
|
95
95
|
|
96
|
-
Or
|
96
|
+
Or globally for all clients:
|
97
97
|
|
98
98
|
```ruby
|
99
99
|
require "google/cloud/security/private_ca/v1beta1"
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
|
|
33
33
|
require "google/cloud/security/private_ca/v1beta1"
|
34
34
|
|
35
35
|
client = ::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthorityService::Client.new
|
36
|
-
request =
|
36
|
+
request = ::Google::Cloud::Security::PrivateCA::V1beta1::CreateCertificateRequest.new # (request fields as keyword arguments...)
|
37
37
|
response = client.create_certificate request
|
38
38
|
```
|
39
39
|
|