google-cloud-security-private_ca-v1 0.1.0 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7661b2f2aa10576ac7270f9cbe35bc1a2d12246b63f5916a9e287e1aa6700904
4
- data.tar.gz: c07315b880fe8b9764c1d7346b5fc0a2d88dabe2e3e4ec7bc095f80a100e3edd
3
+ metadata.gz: 3ca8a75b33a81964bad5ae40a8ef19e2c690234c525b8de74c9f68c4bfa94c33
4
+ data.tar.gz: 60d2e0ae53ebc5809df57631f48febc1b643ede110bf464a54d0c882eced4e7f
5
5
  SHA512:
6
- metadata.gz: 49deb3d536d00b28cb575573cd0afc60d22089e73699d7a7374fb11ddffeb1a97d6411b1c21027f907cde0a12e0fa5fb6cdc4155b64849962e0d055ad1ff4944
7
- data.tar.gz: cf5de27963782e8e0e51f9c0a7e7820971418701e85bf43084185b75371d4c9a0a6891c09f3f7e2784a9084fee0473c5a96ea1ec0ba2554061fec024c2ca8b84
6
+ metadata.gz: 985680a515c1cd8fb9c198f53ca2ad0b4edf6d0f216a0b641bcb4f24a074e27e3d1ff4b69c950ade5c9bf0bd4b4fec63234a25bd5d97ecea94ccb4ac5e98f70e
7
+ data.tar.gz: 0a996bac0bc46fc6e6beb1765f3922e639afc7630cef94792c230815c0f8d32b76c5feae677961bf45567e1ef10428b88b425514e67e0bdc088a465e558f7168
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-security-private_ca-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Credentials}):
68
68
 
69
- 1. `PRIVATE_CA_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `PRIVATE_CA_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
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/v1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
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/v1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/security/private_ca/v1"
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/v1"
34
34
 
35
35
  client = ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthorityService::Client.new
36
- request = my_create_request
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