google-cloud-metastore-v1beta 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 +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/client.rb +457 -101
- data/lib/google/cloud/metastore/v1beta/dataproc_metastore/operations.rb +149 -37
- data/lib/google/cloud/metastore/v1beta/metastore_pb.rb +2 -2
- data/lib/google/cloud/metastore/v1beta/metastore_services_pb.rb +1 -1
- data/lib/google/cloud/metastore/v1beta/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/type/dayofweek.rb +9 -9
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39c11be195e76ae1788d83c88e959d2e9c6a836bdcc680d817e632e7ca2b4c62
|
4
|
+
data.tar.gz: b5530167c9271a72522f3759d0e5037fa34622b1820af609843bc4cb26c8164b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37b95032e4c645794cedfeffeabc121e3024666bf6f100712eaba6c5aa81b1223d96223d6bb9521ef0056155d5f9fc077f8ce35367291559cbc91f331b2d1243
|
7
|
+
data.tar.gz: 38258306d01969667f185b23fa86f40e98f29341c014486c2a0329da0e37105d1a7b232607915a9361fa02aaa99f411f04d71b12ed1462fd4366c47fd6b19d6f
|
data/AUTHENTICATION.md
CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-metastore-v1beta
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
{::Google::Cloud::Metastore::V1beta::DataprocMetastore::Credentials}):
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
* `METASTORE_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
* `METASTORE_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/metastore/v1beta"
|
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Metastore::V1beta::DataprocMetastore::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/metastore/v1beta"
|
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new do |c
|
|
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/metastore/v1beta"
|
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/metastore/v1beta"
|
34
34
|
|
35
35
|
client = ::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client.new
|
36
|
-
request =
|
36
|
+
request = ::Google::Cloud::Metastore::V1beta::ListServicesRequest.new # (request fields as keyword arguments...)
|
37
37
|
response = client.list_services request
|
38
38
|
```
|
39
39
|
|