google-cloud-phishing_protection 0.2.2 → 0.3.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: 70c2dca7892d316df308806a3fb321f312384cdfd3c162e0fb6e181805fe1ae2
4
- data.tar.gz: 92dce865143ae5f361fef1a11a2b74f89a0790c9b1e0522b4c88930641d1afff
3
+ metadata.gz: 3481f98cc1f417845e98bc2f3b5eb907fa3db91fb2612a05f80978dba8a6c9ab
4
+ data.tar.gz: e66e61443457c6d777fe2e77eb7d2842f44e09eeeb0f926cbe88a202481325f5
5
5
  SHA512:
6
- metadata.gz: '057496db32bcbe0ea8572efebeb718c66192d75bb79d787273c890d25e8371253eb772a3713e6d3052267622f2ab35631172bf1ce0130ecf4059787817ad4579'
7
- data.tar.gz: 000d2fbd20e70109ce331d60233ab44458e291b91588350d6d67beeb4a0ca5259a53f2cbbcdfce3ccc52b8441c408ea04659a4093b077b59f8fa0f13f0f18f0e
6
+ metadata.gz: cda9eaca8b39bb2a2da12356bb25d832c7ed85941caaa502e5ac3c3edf4a973306c4ff9c47a0987d1554c9e26562539f27004510e769e03b799f7a5b710238d0
7
+ data.tar.gz: 37b06a94f6abb420d9a185d4e983701993b125b951a57c8d55fcdc8572b0c79a1fbd5fa3c203ebf1e1a12cac4eb978cf5b399726e738721a8e7f6837698c3723
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 GCE project ID
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 GCE credentials
54
+ 6. Discover GCP credentials
55
55
 
56
56
  ### Google Cloud Platform environments
57
57
 
58
- While running on Google Cloud Platform environments such as Google Compute
59
- Engine, Google App Engine and Google Kubernetes Engine, no extra work is needed.
60
- The **Project ID** and **Credentials** and are discovered automatically. Code
61
- should be written as if already authenticated. Just be sure when you [set up the
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/README.md CHANGED
@@ -58,11 +58,11 @@ end
58
58
 
59
59
  ## Supported Ruby Versions
60
60
 
61
- This library is supported on Ruby 2.3+.
61
+ This library is supported on Ruby 2.4+.
62
62
 
63
63
  Google provides official support for Ruby versions that are actively supported
64
64
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
65
- in security maintenance, and not end of life. Currently, this means Ruby 2.3
65
+ in security maintenance, and not end of life. Currently, this means Ruby 2.4
66
66
  and later. Older versions of Ruby _may_ still work, but are unsupported and not
67
67
  recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
68
68
  about the Ruby support schedule.
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module PhishingProtection
19
- VERSION = "0.2.2".freeze
19
+ VERSION = "0.3.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-phishing_protection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
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-10-02 00:00:00.000000000 Z
11
+ date: 2019-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.7'
19
+ version: '1.8'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.7'
26
+ version: '1.8'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: googleapis-common-protos
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -87,19 +87,19 @@ dependencies:
87
87
  - !ruby/object:Gem::Version
88
88
  version: '3.0'
89
89
  - !ruby/object:Gem::Dependency
90
- name: rubocop
90
+ name: google-style
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: 0.64.0
95
+ version: 1.24.0
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: 0.64.0
102
+ version: 1.24.0
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: simplecov
105
105
  requirement: !ruby/object:Gem::Requirement
@@ -161,14 +161,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
161
  requirements:
162
162
  - - ">="
163
163
  - !ruby/object:Gem::Version
164
- version: 2.0.0
164
+ version: '2.4'
165
165
  required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  requirements:
167
167
  - - ">="
168
168
  - !ruby/object:Gem::Version
169
169
  version: '0'
170
170
  requirements: []
171
- rubygems_version: 3.0.4
171
+ rubygems_version: 3.0.6
172
172
  signing_key:
173
173
  specification_version: 4
174
174
  summary: API Client library for Phishing Protection API