google-iam-credentials 1.5.1 → 1.5.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af76790edf0558d8ec7bbad76ec9e66e70a1e49c7228639f2574957684a5c1cb
4
- data.tar.gz: f1d3984a0d817cba1922dde2c47bb92ccea2fa1ccbf834db434b65132be44c51
3
+ metadata.gz: 6569af4721a73d60b3de16781c8a1781f8bb1de0417583b42956d0677620f676
4
+ data.tar.gz: 0a0f6a3fd4f965e87c412d962c1252b48f7bb98064df10503afc5d56fd9c3958
5
5
  SHA512:
6
- metadata.gz: c087ef8d4d28b4575f94a1ed53ab70370abab14522e63ea3dc2a203c90e570375cf74658b9ab43491f4f7e70282b8c966fe3035107ed9cb8f05cedc883443358
7
- data.tar.gz: e5715bef42da857f7e1a70f7a9cb9a5661dbc72d82d88d5debba0aee8b6604628a50e09d0bfbeca0e84a186a9b631175e22f01cb1c7bdc202547842184b3e336
6
+ metadata.gz: 8b89b6563a5f387acb109f1f205c0de2c50026cb092bae4286052021f42377a617ffb2cec475ba4032203b458739d71d4ca2ac9e4b616d735b60081a9661adc6
7
+ data.tar.gz: cd8e30d9820a3c347c1e71da01ee04dce1627faf77828dc80300ba78011146cdfe61581db843cf9a4a2982f83a5f032794ec0f3cb3ba2f0a2616a0212eaaa1cd
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/iamcredentials.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/iam/credentials"
39
+
40
+ client = Google::Iam::Credentials.iam_credentials
41
+ request = ::Google::Iam::Credentials::V1::GenerateAccessTokenRequest.new # (request fields as keyword arguments...)
42
+ response = client.generate_access_token request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Iam
22
22
  module Credentials
23
- VERSION = "1.5.1"
23
+ VERSION = "1.5.2"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-iam-credentials
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  requirements: []
80
- rubygems_version: 3.6.8
80
+ rubygems_version: 3.6.9
81
81
  specification_version: 4
82
82
  summary: API Client library for the IAM Service Account Credentials API
83
83
  test_files: []