grafeas 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -28
- data/lib/grafeas/version.rb +1 -1
- metadata +42 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf078d19b5abb46085c1f282826329a38222189dae4db4dd6ca021ef5374245f
|
|
4
|
+
data.tar.gz: 91a5bf5b5bcc209704179c058020f827a66606656834200b6188b3b90d45d6b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a91b90e2b90c28357aede2ab29f6059516384462c4fcb5a8d53f903c9a1adcfbb56c7237a967c9669181b3dfb98ae9b6d823c8b4354d89fdaf1c3868f77dc23a
|
|
7
|
+
data.tar.gz: f3488b8143b2b6043a5ac8bf56a004f33893874b469f1ca9bceb39b275957dabfca9b4eea18a249713116c6ce0a23068222a80e8953861c1b63b03bb55dca959
|
data/AUTHENTICATION.md
CHANGED
|
@@ -41,7 +41,7 @@ code.
|
|
|
41
41
|
1. Specify project ID in method arguments
|
|
42
42
|
2. Specify project ID in configuration
|
|
43
43
|
3. Discover project ID in environment variables
|
|
44
|
-
4. Discover
|
|
44
|
+
4. Discover GCP project ID
|
|
45
45
|
5. Discover project ID in credentials JSON
|
|
46
46
|
|
|
47
47
|
**Credentials** are discovered in the following order:
|
|
@@ -51,36 +51,14 @@ code.
|
|
|
51
51
|
3. Discover credentials path in environment variables
|
|
52
52
|
4. Discover credentials JSON in environment variables
|
|
53
53
|
5. Discover credentials file in the Cloud SDK's path
|
|
54
|
-
6. Discover
|
|
54
|
+
6. Discover GCP credentials
|
|
55
55
|
|
|
56
56
|
### Google Cloud Platform environments
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
should be written as if already authenticated.
|
|
62
|
-
GCE instance][gce-how-to], you add the correct scopes for the APIs you want to
|
|
63
|
-
access. For example:
|
|
64
|
-
|
|
65
|
-
* **All APIs**
|
|
66
|
-
* `https://www.googleapis.com/auth/cloud-platform`
|
|
67
|
-
* `https://www.googleapis.com/auth/cloud-platform.read-only`
|
|
68
|
-
* **BigQuery**
|
|
69
|
-
* `https://www.googleapis.com/auth/bigquery`
|
|
70
|
-
* `https://www.googleapis.com/auth/bigquery.insertdata`
|
|
71
|
-
* **Compute Engine**
|
|
72
|
-
* `https://www.googleapis.com/auth/compute`
|
|
73
|
-
* **Datastore**
|
|
74
|
-
* `https://www.googleapis.com/auth/datastore`
|
|
75
|
-
* `https://www.googleapis.com/auth/userinfo.email`
|
|
76
|
-
* **DNS**
|
|
77
|
-
* `https://www.googleapis.com/auth/ndev.clouddns.readwrite`
|
|
78
|
-
* **Pub/Sub**
|
|
79
|
-
* `https://www.googleapis.com/auth/pubsub`
|
|
80
|
-
* **Storage**
|
|
81
|
-
* `https://www.googleapis.com/auth/devstorage.full_control`
|
|
82
|
-
* `https://www.googleapis.com/auth/devstorage.read_only`
|
|
83
|
-
* `https://www.googleapis.com/auth/devstorage.read_write`
|
|
58
|
+
When running on Google Cloud Platform (GCP), including Google Compute Engine (GCE),
|
|
59
|
+
Google Kubernetes Engine (GKE), Google App Engine (GAE), Google Cloud Functions
|
|
60
|
+
(GCF) and Cloud Run, the **Project ID** and **Credentials** and are discovered
|
|
61
|
+
automatically. Code should be written as if already authenticated.
|
|
84
62
|
|
|
85
63
|
### Environment Variables
|
|
86
64
|
|
data/lib/grafeas/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: grafeas
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-gax
|
|
@@ -24,6 +24,46 @@ dependencies:
|
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.8'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: googleapis-common-protos
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 1.3.9
|
|
34
|
+
- - "<"
|
|
35
|
+
- !ruby/object:Gem::Version
|
|
36
|
+
version: '2.0'
|
|
37
|
+
type: :runtime
|
|
38
|
+
prerelease: false
|
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: 1.3.9
|
|
44
|
+
- - "<"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '2.0'
|
|
47
|
+
- !ruby/object:Gem::Dependency
|
|
48
|
+
name: googleapis-common-protos-types
|
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: 1.0.4
|
|
54
|
+
- - "<"
|
|
55
|
+
- !ruby/object:Gem::Version
|
|
56
|
+
version: '2.0'
|
|
57
|
+
type: :runtime
|
|
58
|
+
prerelease: false
|
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
60
|
+
requirements:
|
|
61
|
+
- - ">="
|
|
62
|
+
- !ruby/object:Gem::Version
|
|
63
|
+
version: 1.0.4
|
|
64
|
+
- - "<"
|
|
65
|
+
- !ruby/object:Gem::Version
|
|
66
|
+
version: '2.0'
|
|
27
67
|
- !ruby/object:Gem::Dependency
|
|
28
68
|
name: grpc-google-iam-v1
|
|
29
69
|
requirement: !ruby/object:Gem::Requirement
|