google-cloud-data_labeling-v1beta1 0.3.0 → 0.3.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: f3422be0a92f4da6290c3a3583171ff029138a78df2055af9e93e0c11f153e4a
4
- data.tar.gz: 5858e2eca5d57b87a07c57b3cee0ee3221bc7502a37cdf987c40b7a26c23d596
3
+ metadata.gz: 28d30bb9545a33a0f4ed3dca7b5119723af65256a03e253c0fa1aa37797943d7
4
+ data.tar.gz: 268ca4506e5d51f958cdc346e7cfe30a234002fab5dee5c2851534892260c6af
5
5
  SHA512:
6
- metadata.gz: 4886d0a47b6a7e4a1c6e46d700cc743e4ea1fc7f9ef3474646e999e7c5a1e0ed99e7bccc191664a93c4a81b5bd4e9f1f8c5cda542f78910a0e8c7397b15f8bdf
7
- data.tar.gz: f220be9ba57183b66392acaafa425fa4e15208bfe4b208d2e1f9b3e6a98ee71f2923f318199115069edf89e7242b7be8264683b51750022d026fd5ed3cee0db2
6
+ metadata.gz: 4ffeb8da25ea11af174ca807bdeea69c9597d0523e8b716697307a486a9fb78aaa521cb276ffb4c0aa2a5f817f3a92116737b7fac9af04e649ff8e06ad6cb50a
7
+ data.tar.gz: 564be242944ba760b5f5a0c5715f0f6fbb6d3fc97eca62714dbe022bc7814f9e86a30397af172fab6be1b4dd0f64640560395b1f8785d7d8d8aee5e646080a17
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-data_labeling-v1beta1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Credentials}):
68
68
 
69
- 1. `DATA_LABELING_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `DATA_LABELING_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
+ * `DATA_LABELING_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `DATA_LABELING_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/data_labeling/v1beta1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.new
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/data_labeling/v1beta1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.new
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/data_labeling/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/data_labeling/v1beta1"
34
34
 
35
35
  client = ::Google::Cloud::DataLabeling::V1beta1::DataLabelingService::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::DataLabeling::V1beta1::CreateDatasetRequest.new # (request fields as keyword arguments...)
37
37
  response = client.create_dataset request
38
38
  ```
39
39