google-cloud-talent 0.6.1 → 0.7.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: d0c16adcb9fd20968336162fa88e6527a80f2bc7f0768f9b2cb9fb770734e98e
4
- data.tar.gz: 4d82440905e909aa3fda68acb5e4874dca9b42278e0ad597b2d67a5fa455e1a4
3
+ metadata.gz: ac67c607d642ecc1197747585e433a843eb1985908f233de8bad02ef3997928b
4
+ data.tar.gz: b7abec4757f24dc833920a0b47875c64d459b1dd968e174b759a04ea6c1f7664
5
5
  SHA512:
6
- metadata.gz: 53a1d49f7f1e9d316914dc2c54b352a74d6b2e9f59cf942945e56c721a3162e201de135c29a966c1ff3acc35ebc53c3c49a7f74d751cfc7e664fb4470c76fe0f
7
- data.tar.gz: d10822e5c8a081ff2da11419b9afeee2325b1d5c6a362f49509e805ff30c87f851fed8db4495add522866793cf461eb618edf65163b6fbdddb2bcc49ffff9a13
6
+ metadata.gz: 6f18b786873701e5a7542ca7186922fd600f2777415083a4e4eac99d66b43904f03b7a6202f30bda9fbd3114fd27a91dcdf53b010b56cd0e99d42a8ffc8c5c82
7
+ data.tar.gz: 20e001164326b08800448ab1d92b7b5dd11d54b51e69f021eb2065b20cfcf224376b6ab6c1561c8cad8fdc7a73062ffad8d31c879509699af1323bc0f7e972b8
@@ -26,7 +26,7 @@ export TALENT_CREDENTIALS=/path/to/json`
26
26
  ```ruby
27
27
  require "google/cloud/talent"
28
28
 
29
- client = Google::Cloud::Talent.new
29
+ client = Google::Cloud::Talent::ApplicationService.new
30
30
  ```
31
31
 
32
32
  ## Project and Credential Lookup
@@ -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
 
@@ -112,7 +90,7 @@ require "google/cloud/talent"
112
90
  ENV["TALENT_PROJECT"] = "my-project-id"
113
91
  ENV["TALENT_CREDENTIALS"] = "path/to/keyfile.json"
114
92
 
115
- client = Google::Cloud::Talent.new
93
+ client = Google::Cloud::Talent::ApplicationService.new
116
94
  ```
117
95
 
118
96
  ### Configuration
@@ -127,7 +105,7 @@ Google::Cloud::Talent.configure do |config|
127
105
  config.credentials = "path/to/keyfile.json"
128
106
  end
129
107
 
130
- client = Google::Cloud::Talent.new
108
+ client = Google::Cloud::Talent::ApplicationService.new
131
109
  ```
132
110
 
133
111
  ### Cloud SDK
data/README.md CHANGED
@@ -59,11 +59,11 @@ end
59
59
 
60
60
  ## Supported Ruby Versions
61
61
 
62
- This library is supported on Ruby 2.3+.
62
+ This library is supported on Ruby 2.4+.
63
63
 
64
64
  Google provides official support for Ruby versions that are actively supported
65
65
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
66
- in security maintenance, and not end of life. Currently, this means Ruby 2.3
66
+ in security maintenance, and not end of life. Currently, this means Ruby 2.4
67
67
  and later. Older versions of Ruby _may_ still work, but are unsupported and not
68
68
  recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
69
69
  about the Ruby support schedule.
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Talent
19
- VERSION = "0.6.1".freeze
19
+ VERSION = "0.7.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-talent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.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-15 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
@@ -73,19 +73,19 @@ dependencies:
73
73
  - !ruby/object:Gem::Version
74
74
  version: '3.0'
75
75
  - !ruby/object:Gem::Dependency
76
- name: rubocop
76
+ name: google-style
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: 0.64.0
81
+ version: 1.24.0
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: 0.64.0
88
+ version: 1.24.0
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: simplecov
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -209,7 +209,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
209
  requirements:
210
210
  - - ">="
211
211
  - !ruby/object:Gem::Version
212
- version: 2.0.0
212
+ version: '2.4'
213
213
  required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  requirements:
215
215
  - - ">="