google-cloud-functions-v1 0.3.1 → 0.5.0

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: bc65883dd70e87783e3a6453f8cbe80f514e0c794806add0155faab697c9256e
4
- data.tar.gz: be0eb2c16817e3920abf1eb8d777cfcac653ebcb0db5de744dab648ffc44b6fc
3
+ metadata.gz: 4d6e2dd300e2a69aacd17e83e836edabd70ac59e121760509941cc6eb96bd91e
4
+ data.tar.gz: b0af785d3a9c0a03b2011a63cf6fe7690d1bd859a49a80ab2b67329b97380c32
5
5
  SHA512:
6
- metadata.gz: deb6fdfbd83c7dca7d3cf1402f183b948cc80326de8fc6d8365a08711aba48aac87e8ee1b609bf08d2179ebbbca3dc23205af5bb687cdaaa5a976a978f99e679
7
- data.tar.gz: 354793ff82d1b0aee74753a4701044a1096f6eda0683df661effedff36eda75011ef32056a117602c7f1cacf336b7aba16cff9a490a220ddd4e1eb987e8c1c3c
6
+ metadata.gz: dd5f9fdcb00aff9dd799ecd0891b5d412aa952b5319bc7092636c0d2fb46622f2cad93689d521243eaf23a516e9b2add9fd97869335e66378fb618c90171be91
7
+ data.tar.gz: d96488272340992dd1bc2d3471fb5bf788f89278817405f656a3666d28ef83c971a899d533d73514a2ba8c68f4ca0a38011655a09db228ba1cbde1c5c1527234
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-functions-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::Functions::V1::CloudFunctionsService::Credentials}):
68
68
 
69
- 1. `FUNCTIONS_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `FUNCTIONS_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
+ * `FUNCTIONS_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `FUNCTIONS_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/functions/v1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Functions::V1::CloudFunctionsService::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/functions/v1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Functions::V1::CloudFunctionsService::Client.new do |c
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/functions/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/functions/v1"
34
34
 
35
35
  client = ::Google::Cloud::Functions::V1::CloudFunctionsService::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::Functions::V1::ListFunctionsRequest.new # (request fields as keyword arguments...)
37
37
  response = client.list_functions request
38
38
  ```
39
39