google-apis-iam_v1 0.48.0 → 0.49.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 +4 -0
- data/lib/google/apis/iam_v1/classes.rb +79 -8
- data/lib/google/apis/iam_v1/gem_version.rb +2 -2
- data/lib/google/apis/iam_v1/representations.rb +20 -0
- data/lib/google/apis/iam_v1/service.rb +0 -31
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cd5e621e083dc212348540b04481cfcd228000340ece55a9d6cbda833fde40a
|
4
|
+
data.tar.gz: 280fd54ed76ab00873456fb14036f64124a8240baab6256c62947a843954eb4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 573823a293360b2ab7de5b923889fe46cd8a086a416beb2a1a0cadf240d1426557cde7b43afb8dff2fc23def76f653728745067baf66d16e8550bf99bf7bc311
|
7
|
+
data.tar.gz: 057c49a4bad2c1414fcd848d5ce982c54011fce87e51569078e751d13e973cb1d3024fbd7136344646e24a5514e638616395717eb4f8edc1eb3ea623cdfdcbb8
|
data/CHANGELOG.md
CHANGED
@@ -581,6 +581,17 @@ module Google
|
|
581
581
|
# @return [String]
|
582
582
|
attr_accessor :issuer_uri
|
583
583
|
|
584
|
+
# OIDC JWKs in JSON String format. For details on the definition of a JWK, see
|
585
|
+
# https://tools.ietf.org/html/rfc7517. If not set, the `jwks_uri` from the
|
586
|
+
# discovery document(fetched from the .well-known path of the `issuer_uri`) will
|
587
|
+
# be used. Currently, RSA and EC asymmetric keys are supported. The JWK must use
|
588
|
+
# following format and include only the following fields: ` "keys": [ ` "kty": "
|
589
|
+
# RSA/EC", "alg": "", "use": "sig", "kid": "", "n": "", "e": "", "x": "", "y": ""
|
590
|
+
# , "crv": "" ` ] `
|
591
|
+
# Corresponds to the JSON property `jwksJson`
|
592
|
+
# @return [String]
|
593
|
+
attr_accessor :jwks_json
|
594
|
+
|
584
595
|
# Configuration for web single sign-on for the OIDC provider.
|
585
596
|
# Corresponds to the JSON property `webSsoConfig`
|
586
597
|
# @return [Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig]
|
@@ -595,6 +606,7 @@ module Google
|
|
595
606
|
@client_id = args[:client_id] if args.key?(:client_id)
|
596
607
|
@client_secret = args[:client_secret] if args.key?(:client_secret)
|
597
608
|
@issuer_uri = args[:issuer_uri] if args.key?(:issuer_uri)
|
609
|
+
@jwks_json = args[:jwks_json] if args.key?(:jwks_json)
|
598
610
|
@web_sso_config = args[:web_sso_config] if args.key?(:web_sso_config)
|
599
611
|
end
|
600
612
|
end
|
@@ -693,7 +705,7 @@ module Google
|
|
693
705
|
# document should satisfy the following constraints: 1) Must contain an Identity
|
694
706
|
# Provider Entity ID. 2) Must contain at least one non-expired signing key
|
695
707
|
# certificate. 3) For each signing key: a) Valid from should be no more than 7
|
696
|
-
# days from now. b) Valid to should be no more than
|
708
|
+
# days from now. b) Valid to should be no more than 15 years in the future. 4)
|
697
709
|
# Up to 3 IdP signing keys are allowed in the metadata xml. When updating the
|
698
710
|
# provider's metadata xml, at least one non-expired signing key must overlap
|
699
711
|
# with the existing metadata. This requirement is skipped if there are no non-
|
@@ -1213,6 +1225,65 @@ module Google
|
|
1213
1225
|
end
|
1214
1226
|
end
|
1215
1227
|
|
1228
|
+
# Represents the metadata of the long-running operation.
|
1229
|
+
class OperationMetadata
|
1230
|
+
include Google::Apis::Core::Hashable
|
1231
|
+
|
1232
|
+
# Output only. API version used to start the operation.
|
1233
|
+
# Corresponds to the JSON property `apiVersion`
|
1234
|
+
# @return [String]
|
1235
|
+
attr_accessor :api_version
|
1236
|
+
|
1237
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1238
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
1239
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1240
|
+
# CANCELLED`.
|
1241
|
+
# Corresponds to the JSON property `cancelRequested`
|
1242
|
+
# @return [Boolean]
|
1243
|
+
attr_accessor :cancel_requested
|
1244
|
+
alias_method :cancel_requested?, :cancel_requested
|
1245
|
+
|
1246
|
+
# Output only. The time the operation was created.
|
1247
|
+
# Corresponds to the JSON property `createTime`
|
1248
|
+
# @return [String]
|
1249
|
+
attr_accessor :create_time
|
1250
|
+
|
1251
|
+
# Output only. The time the operation finished running.
|
1252
|
+
# Corresponds to the JSON property `endTime`
|
1253
|
+
# @return [String]
|
1254
|
+
attr_accessor :end_time
|
1255
|
+
|
1256
|
+
# Output only. Human-readable status of the operation, if any.
|
1257
|
+
# Corresponds to the JSON property `statusDetail`
|
1258
|
+
# @return [String]
|
1259
|
+
attr_accessor :status_detail
|
1260
|
+
|
1261
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1262
|
+
# Corresponds to the JSON property `target`
|
1263
|
+
# @return [String]
|
1264
|
+
attr_accessor :target
|
1265
|
+
|
1266
|
+
# Output only. Name of the verb executed by the operation.
|
1267
|
+
# Corresponds to the JSON property `verb`
|
1268
|
+
# @return [String]
|
1269
|
+
attr_accessor :verb
|
1270
|
+
|
1271
|
+
def initialize(**args)
|
1272
|
+
update!(**args)
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
# Update properties of this object
|
1276
|
+
def update!(**args)
|
1277
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1278
|
+
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
1279
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1280
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1281
|
+
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
1282
|
+
@target = args[:target] if args.key?(:target)
|
1283
|
+
@verb = args[:verb] if args.key?(:verb)
|
1284
|
+
end
|
1285
|
+
end
|
1286
|
+
|
1216
1287
|
# The service account patch request. You can patch only the `display_name` and `
|
1217
1288
|
# description` fields. You must use the `update_mask` field to specify which of
|
1218
1289
|
# these fields you want to patch. Only the fields specified in the request are
|
@@ -1700,7 +1771,7 @@ module Google
|
|
1700
1771
|
# The metadata xml document should satisfy the following constraints: 1) Must
|
1701
1772
|
# contain an Identity Provider Entity ID. 2) Must contain at least one non-
|
1702
1773
|
# expired signing key certificate. 3) For each signing key: a) Valid from should
|
1703
|
-
# be no more than 7 days from now. b) Valid to should be no more than
|
1774
|
+
# be no more than 7 days from now. b) Valid to should be no more than 15 years
|
1704
1775
|
# in the future. 4) Upto 3 IdP signing keys are allowed in the metadata xml.
|
1705
1776
|
# When updating the provider's metadata xml, at lease one non-expired signing
|
1706
1777
|
# key must overlap with the existing metadata. This requirement is skipped if
|
@@ -2564,8 +2635,8 @@ module Google
|
|
2564
2635
|
end
|
2565
2636
|
end
|
2566
2637
|
|
2567
|
-
# Represents a collection of
|
2568
|
-
#
|
2638
|
+
# Represents a collection of workload identities. You can define IAM policies to
|
2639
|
+
# grant these identities access to Google Cloud resources.
|
2569
2640
|
class WorkloadIdentityPool
|
2570
2641
|
include Google::Apis::Core::Hashable
|
2571
2642
|
|
@@ -2651,10 +2722,10 @@ module Google
|
|
2651
2722
|
# @return [String]
|
2652
2723
|
attr_accessor :attribute_condition
|
2653
2724
|
|
2654
|
-
# Maps attributes from authentication credentials issued by an external
|
2655
|
-
# provider to Google Cloud attributes, such as `subject` and `segment`.
|
2656
|
-
# must be a string specifying the Google Cloud IAM attribute to map to.
|
2657
|
-
# following keys are supported: * `google.subject`: The principal IAM is
|
2725
|
+
# Maps attributes from authentication credentials issued by an external
|
2726
|
+
# identity provider to Google Cloud attributes, such as `subject` and `segment`.
|
2727
|
+
# Each key must be a string specifying the Google Cloud IAM attribute to map to.
|
2728
|
+
# The following keys are supported: * `google.subject`: The principal IAM is
|
2658
2729
|
# authenticating. You can reference this value in IAM bindings. This is also the
|
2659
2730
|
# subject that appears in Cloud Logging logs. Cannot exceed 127 bytes. * `google.
|
2660
2731
|
# groups`: Groups the external identity belongs to. You can grant groups access
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module IamV1
|
18
18
|
# Version of the google-apis-iam_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.49.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230914"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -256,6 +256,12 @@ module Google
|
|
256
256
|
include Google::Apis::Core::JsonObjectSupport
|
257
257
|
end
|
258
258
|
|
259
|
+
class OperationMetadata
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
259
265
|
class PatchServiceAccountRequest
|
260
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
267
|
|
@@ -658,6 +664,7 @@ module Google
|
|
658
664
|
property :client_secret, as: 'clientSecret', class: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret, decorator: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcClientSecret::Representation
|
659
665
|
|
660
666
|
property :issuer_uri, as: 'issuerUri'
|
667
|
+
property :jwks_json, as: 'jwksJson'
|
661
668
|
property :web_sso_config, as: 'webSsoConfig', class: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig, decorator: Google::Apis::IamV1::GoogleIamAdminV1WorkforcePoolProviderOidcWebSsoConfig::Representation
|
662
669
|
|
663
670
|
end
|
@@ -836,6 +843,19 @@ module Google
|
|
836
843
|
end
|
837
844
|
end
|
838
845
|
|
846
|
+
class OperationMetadata
|
847
|
+
# @private
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
849
|
+
property :api_version, as: 'apiVersion'
|
850
|
+
property :cancel_requested, as: 'cancelRequested'
|
851
|
+
property :create_time, as: 'createTime'
|
852
|
+
property :end_time, as: 'endTime'
|
853
|
+
property :status_detail, as: 'statusDetail'
|
854
|
+
property :target, as: 'target'
|
855
|
+
property :verb, as: 'verb'
|
856
|
+
end
|
857
|
+
end
|
858
|
+
|
839
859
|
class PatchServiceAccountRequest
|
840
860
|
# @private
|
841
861
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1716,37 +1716,6 @@ module Google
|
|
1716
1716
|
execute_or_queue_command(command, &block)
|
1717
1717
|
end
|
1718
1718
|
|
1719
|
-
# Gets the latest state of a long-running operation. Clients can use this method
|
1720
|
-
# to poll the operation result at intervals as recommended by the API service.
|
1721
|
-
# @param [String] name
|
1722
|
-
# The name of the operation resource.
|
1723
|
-
# @param [String] fields
|
1724
|
-
# Selector specifying which fields to include in a partial response.
|
1725
|
-
# @param [String] quota_user
|
1726
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1727
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1728
|
-
# @param [Google::Apis::RequestOptions] options
|
1729
|
-
# Request-specific options
|
1730
|
-
#
|
1731
|
-
# @yield [result, err] Result & error if block supplied
|
1732
|
-
# @yieldparam result [Google::Apis::IamV1::Operation] parsed result object
|
1733
|
-
# @yieldparam err [StandardError] error object if request failed
|
1734
|
-
#
|
1735
|
-
# @return [Google::Apis::IamV1::Operation]
|
1736
|
-
#
|
1737
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1738
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1739
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1740
|
-
def get_project_location_workload_identity_pool_namespace_workload_source_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1741
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
1742
|
-
command.response_representation = Google::Apis::IamV1::Operation::Representation
|
1743
|
-
command.response_class = Google::Apis::IamV1::Operation
|
1744
|
-
command.params['name'] = name unless name.nil?
|
1745
|
-
command.query['fields'] = fields unless fields.nil?
|
1746
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1747
|
-
execute_or_queue_command(command, &block)
|
1748
|
-
end
|
1749
|
-
|
1750
1719
|
# Gets the latest state of a long-running operation. Clients can use this method
|
1751
1720
|
# to poll the operation result at intervals as recommended by the API service.
|
1752
1721
|
# @param [String] name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-iam_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.49.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: 2023-
|
11
|
+
date: 2023-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -59,7 +59,7 @@ licenses:
|
|
59
59
|
metadata:
|
60
60
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
61
61
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1/CHANGELOG.md
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v1/v0.49.0
|
63
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v1
|
64
64
|
post_install_message:
|
65
65
|
rdoc_options: []
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
rubygems_version: 3.4.
|
79
|
+
rubygems_version: 3.4.19
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Simple REST client for Identity and Access Management (IAM) API V1
|