google-cloud-domains-v1beta1 0.2.1 → 0.3.1
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/domains/v1beta1/domains/client.rb +654 -110
- data/lib/google/cloud/domains/v1beta1/domains/operations.rb +149 -37
- data/lib/google/cloud/domains/v1beta1/domains_pb.rb +36 -2
- data/lib/google/cloud/domains/v1beta1/domains_services_pb.rb +52 -15
- data/lib/google/cloud/domains/v1beta1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/cloud/domains/v1beta1/domains.rb +132 -19
- data/proto_docs/google/type/money.rb +1 -1
- 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: dcbb84a03d806904a9e817d507de75549e0ccef40d4d1215e08cc6c4a29dff75
|
4
|
+
data.tar.gz: d785be2e1373ecdd6e06516e748bc2cd92b01cf2ede7bb22d829829c793bd75d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e96ad6f545c325d42cf9d2fbef3721b0383b02e4c57d1cbb52897b3c5d493da144285100bc4fa30a9208317589ec6782285b19d9643d7218909d3ca23a1e15a1
|
7
|
+
data.tar.gz: d28150ddf0d1de59e312fd262ac1276e362c9e8d2a35d33135e5994dcd9500a3648c89d97fa86873c66df86c1daa68c1f75ada811cc91cb48f5a193cebb22b21
|
data/AUTHENTICATION.md
CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-domains-v1beta1
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
{::Google::Cloud::Domains::V1beta1::Domains::Credentials}):
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
* `DOMAINS_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
* `DOMAINS_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/domains/v1beta1"
|
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Domains::V1beta1::Domains::Client.new
|
|
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/domains/v1beta1"
|
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Domains::V1beta1::Domains::Client.new do |config|
|
|
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/domains/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/domains/v1beta1"
|
34
34
|
|
35
35
|
client = ::Google::Cloud::Domains::V1beta1::Domains::Client.new
|
36
|
-
request =
|
36
|
+
request = ::Google::Cloud::Domains::V1beta1::SearchDomainsRequest.new # (request fields as keyword arguments...)
|
37
37
|
response = client.search_domains request
|
38
38
|
```
|
39
39
|
|