google-apis-sts_v1 0.23.0 → 0.24.0
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/CHANGELOG.md +5 -0
- data/lib/google/apis/sts_v1/classes.rb +30 -22
- data/lib/google/apis/sts_v1/gem_version.rb +3 -3
- data/lib/google/apis/sts_v1/service.rb +5 -4
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c26262bf9f498de00ffd81c80f9a3aa843771615d43531ff1e1fe0c33735c7b6
|
|
4
|
+
data.tar.gz: be24c02ca1f42fca2ec9a6470981b77d4b85ab9845d34b39263d5c6a49301cc8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49049c1b6bec51dcaf8a70e94783e118874add546db44be5b913499935b51c90ea1329b0d5f3f3123a20660a51fdb33e8c9f851c42a95400235b820b672f175e
|
|
7
|
+
data.tar.gz: 2040b3162ca4b4ae4c2f48787e4a55cc9b9c9ad9a151e249596600790f3cc2f11f1da532143bbdea7fc8351b25b4c1145eb624ed115cd5f7186b0705bf3dea89
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-sts_v1
|
|
2
2
|
|
|
3
|
+
### v0.24.0 (2022-09-28)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20220916
|
|
6
|
+
* Regenerated using generator version 0.10.0
|
|
7
|
+
|
|
3
8
|
### v0.23.0 (2022-09-02)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20220826
|
|
@@ -179,8 +179,10 @@ module Google
|
|
|
179
179
|
include Google::Apis::Core::Hashable
|
|
180
180
|
|
|
181
181
|
# The full resource name of the identity provider; for example: `//iam.
|
|
182
|
-
# googleapis.com/projects//locations/global/workloadIdentityPools//providers
|
|
183
|
-
#
|
|
182
|
+
# googleapis.com/projects//locations/global/workloadIdentityPools//providers/`
|
|
183
|
+
# for workload identity pool providers, or `//iam.googleapis.com/locations/
|
|
184
|
+
# global/workforcePools//providers/` for workforce pool providers. Required when
|
|
185
|
+
# exchanging an external credential for a Google access token.
|
|
184
186
|
# Corresponds to the JSON property `audience`
|
|
185
187
|
# @return [String]
|
|
186
188
|
attr_accessor :audience
|
|
@@ -234,25 +236,28 @@ module Google
|
|
|
234
236
|
# allowed audiences for the workload identity pool provider, or one of the
|
|
235
237
|
# audiences allowed by default if no audiences were specified. See https://cloud.
|
|
236
238
|
# google.com/iam/docs/reference/rest/v1/projects.locations.workloadIdentityPools.
|
|
237
|
-
# providers#oidc
|
|
238
|
-
#
|
|
239
|
-
#
|
|
240
|
-
#
|
|
241
|
-
#
|
|
242
|
-
#
|
|
243
|
-
#
|
|
244
|
-
#
|
|
245
|
-
#
|
|
246
|
-
#
|
|
247
|
-
#
|
|
248
|
-
#
|
|
249
|
-
#
|
|
250
|
-
#
|
|
251
|
-
#
|
|
252
|
-
#
|
|
253
|
-
#
|
|
254
|
-
# -
|
|
255
|
-
#
|
|
239
|
+
# providers#oidc. For workforce pools, this must match the client ID specified
|
|
240
|
+
# in the provider configuration. See https://cloud.google.com/iam/docs/reference/
|
|
241
|
+
# rest/v1/locations.workforcePools.providers#oidc. Example header: ``` ` "alg": "
|
|
242
|
+
# RS256", "kid": "us-east-11" ` ``` Example payload: ``` ` "iss": "https://
|
|
243
|
+
# accounts.google.com", "iat": 1517963104, "exp": 1517966704, "aud": "//iam.
|
|
244
|
+
# googleapis.com/projects/1234567890123/locations/global/workloadIdentityPools/
|
|
245
|
+
# my-pool/providers/my-provider", "sub": "113475438248934895348", "my_claims": `
|
|
246
|
+
# "additional_claim": "value" ` ` ``` If `subject_token` is for AWS, it must be
|
|
247
|
+
# a serialized `GetCallerIdentity` token. This token contains the same
|
|
248
|
+
# information as a request to the AWS [`GetCallerIdentity()`](https://docs.aws.
|
|
249
|
+
# amazon.com/STS/latest/APIReference/API_GetCallerIdentity) method, as well as
|
|
250
|
+
# the AWS [signature](https://docs.aws.amazon.com/general/latest/gr/
|
|
251
|
+
# signing_aws_api_requests.html) for the request information. Use Signature
|
|
252
|
+
# Version 4. Format the request as URL-encoded JSON, and set the `
|
|
253
|
+
# subject_token_type` parameter to `urn:ietf:params:aws:token-type:aws4_request`.
|
|
254
|
+
# The following parameters are required: - `url`: The URL of the AWS STS
|
|
255
|
+
# endpoint for `GetCallerIdentity()`, such as `https://sts.amazonaws.com?Action=
|
|
256
|
+
# GetCallerIdentity&Version=2011-06-15`. Regional endpoints are also supported. -
|
|
257
|
+
# `method`: The HTTP request method: `POST`. - `headers`: The HTTP request
|
|
258
|
+
# headers, which must include: - `Authorization`: The request signature. - `x-
|
|
259
|
+
# amz-date`: The time you will send the request, formatted as an [ISO8601 Basic](
|
|
260
|
+
# https://docs.aws.amazon.com/general/latest/gr/sigv4_elements.html#
|
|
256
261
|
# sigv4_elements_date) string. This value is typically set to the current time
|
|
257
262
|
# and is used to help prevent replay attacks. - `host`: The hostname of the `url`
|
|
258
263
|
# field; for example, `sts.amazonaws.com`. - `x-goog-cloud-target-resource`:
|
|
@@ -434,7 +439,10 @@ module Google
|
|
|
434
439
|
# The human-readable identifier for the token principal subject. For example, if
|
|
435
440
|
# the provided token is associated with a workload identity pool, this field
|
|
436
441
|
# contains a value in the following format: `principal://iam.googleapis.com/
|
|
437
|
-
# projects//locations/global/workloadIdentityPools//subject
|
|
442
|
+
# projects//locations/global/workloadIdentityPools//subject/`. If the provided
|
|
443
|
+
# token is associated with a workforce pool, this field contains a value in the
|
|
444
|
+
# following format: `principal://iam.googleapis.com/locations/global/
|
|
445
|
+
# workforcePools//subject/`.
|
|
438
446
|
# Corresponds to the JSON property `username`
|
|
439
447
|
# @return [String]
|
|
440
448
|
attr_accessor :username
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module StsV1
|
|
18
18
|
# Version of the google-apis-sts_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.24.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.10.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20220916"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -84,10 +84,11 @@ module Google
|
|
|
84
84
|
|
|
85
85
|
# Exchanges a credential for a Google OAuth 2.0 access token. The token asserts
|
|
86
86
|
# an external identity within an identity pool, or it applies a Credential
|
|
87
|
-
# Access Boundary to a Google access token.
|
|
88
|
-
#
|
|
89
|
-
#
|
|
90
|
-
#
|
|
87
|
+
# Access Boundary to a Google access token. Note that workforce pools do not
|
|
88
|
+
# support Credential Access Boundary at the moment. When you call this method,
|
|
89
|
+
# do not send the `Authorization` HTTP header in the request. This method does
|
|
90
|
+
# not require the `Authorization` header, and using the header can cause the
|
|
91
|
+
# request to fail.
|
|
91
92
|
# @param [Google::Apis::StsV1::GoogleIdentityStsV1ExchangeTokenRequest] google_identity_sts_v1_exchange_token_request_object
|
|
92
93
|
# @param [String] fields
|
|
93
94
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-sts_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.24.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: 2022-
|
|
11
|
+
date: 2022-10-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 0.9.0
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: 2.a
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version:
|
|
29
|
+
version: 0.9.0
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 2.a
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sts_v1/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sts_v1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sts_v1/v0.24.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sts_v1
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|