google-apis-iam_v2 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/iam_v2/classes.rb +108 -27
- data/lib/google/apis/iam_v2/gem_version.rb +3 -3
- data/lib/google/apis/iam_v2/representations.rb +19 -0
- data/lib/google/apis/iam_v2/service.rb +3 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ceddaa5534c20e643541a3e21e702c25f7e6a6f52e30e59c892353241478017b
|
4
|
+
data.tar.gz: e592ab59fcc82f54a40aa0ea35bfb29b3d107937904c4071e91f0b19dc52001d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69a4c684c569071dc1a210429b19269126acf810c1c5e55f13f8fcb2608beb3b326af888941b8233cfaa99c11af6fbc60b614c0246dcbaec38b7e79285a76aa7
|
7
|
+
data.tar.gz: 515b7385a639fd676fc66d01105d1e72287a9ef3c20a58ced7bf39e326af890767dfe7831ec34fb4386f714807ff4a116b7905ea6e47f4ada381a9a581de932e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-iam_v2
|
2
2
|
|
3
|
+
### v0.6.0 (2024-01-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240108
|
6
|
+
* Regenerated using generator version 0.13.0
|
7
|
+
|
8
|
+
### v0.5.0 (2023-09-24)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20230914
|
11
|
+
|
3
12
|
### v0.4.0 (2023-08-13)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20230803
|
@@ -22,6 +22,65 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IamV2
|
24
24
|
|
25
|
+
# Represents the metadata of the long-running operation.
|
26
|
+
class GoogleCloudCommonOperationMetadata
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Output only. API version used to start the operation.
|
30
|
+
# Corresponds to the JSON property `apiVersion`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :api_version
|
33
|
+
|
34
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
35
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
36
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
37
|
+
# CANCELLED`.
|
38
|
+
# Corresponds to the JSON property `cancelRequested`
|
39
|
+
# @return [Boolean]
|
40
|
+
attr_accessor :cancel_requested
|
41
|
+
alias_method :cancel_requested?, :cancel_requested
|
42
|
+
|
43
|
+
# Output only. The time the operation was created.
|
44
|
+
# Corresponds to the JSON property `createTime`
|
45
|
+
# @return [String]
|
46
|
+
attr_accessor :create_time
|
47
|
+
|
48
|
+
# Output only. The time the operation finished running.
|
49
|
+
# Corresponds to the JSON property `endTime`
|
50
|
+
# @return [String]
|
51
|
+
attr_accessor :end_time
|
52
|
+
|
53
|
+
# Output only. Human-readable status of the operation, if any.
|
54
|
+
# Corresponds to the JSON property `statusDetail`
|
55
|
+
# @return [String]
|
56
|
+
attr_accessor :status_detail
|
57
|
+
|
58
|
+
# Output only. Server-defined resource path for the target of the operation.
|
59
|
+
# Corresponds to the JSON property `target`
|
60
|
+
# @return [String]
|
61
|
+
attr_accessor :target
|
62
|
+
|
63
|
+
# Output only. Name of the verb executed by the operation.
|
64
|
+
# Corresponds to the JSON property `verb`
|
65
|
+
# @return [String]
|
66
|
+
attr_accessor :verb
|
67
|
+
|
68
|
+
def initialize(**args)
|
69
|
+
update!(**args)
|
70
|
+
end
|
71
|
+
|
72
|
+
# Update properties of this object
|
73
|
+
def update!(**args)
|
74
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
75
|
+
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
76
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
77
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
78
|
+
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
79
|
+
@target = args[:target] if args.key?(:target)
|
80
|
+
@verb = args[:verb] if args.key?(:verb)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
25
84
|
# Audit log information specific to Cloud IAM admin APIs. This message is
|
26
85
|
# serialized as an `Any` type in the `ServiceData` message of an `AuditLog`
|
27
86
|
# message.
|
@@ -208,33 +267,55 @@ module Google
|
|
208
267
|
attr_accessor :denied_permissions
|
209
268
|
|
210
269
|
# The identities that are prevented from using one or more permissions on Google
|
211
|
-
# Cloud resources. This field can contain the following values: * `
|
212
|
-
#
|
213
|
-
#
|
214
|
-
#
|
215
|
-
#
|
216
|
-
# example, `principal://
|
217
|
-
# goog/
|
218
|
-
#
|
219
|
-
#
|
220
|
-
# the
|
221
|
-
#
|
222
|
-
#
|
223
|
-
#
|
224
|
-
#
|
225
|
-
#
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
229
|
-
#
|
230
|
-
#
|
231
|
-
#
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
# principalSet://
|
270
|
+
# Cloud resources. This field can contain the following values: * `principal://
|
271
|
+
# goog/subject/`email_id``: A specific Google Account. Includes Gmail, Cloud
|
272
|
+
# Identity, and Google Workspace user accounts. For example, `principal://goog/
|
273
|
+
# subject/alice@example.com`. * `principal://iam.googleapis.com/projects/-/
|
274
|
+
# serviceAccounts/`service_account_id``: A Google Cloud service account. For
|
275
|
+
# example, `principal://iam.googleapis.com/projects/-/serviceAccounts/my-service-
|
276
|
+
# account@iam.gserviceaccount.com`. * `principalSet://goog/group/`group_id``: A
|
277
|
+
# Google group. For example, `principalSet://goog/group/admins@example.com`. * `
|
278
|
+
# principalSet://goog/public:all`: A special identifier that represents any
|
279
|
+
# principal that is on the internet, even if they do not have a Google Account
|
280
|
+
# or are not logged in. * `principalSet://goog/cloudIdentityCustomerId/`
|
281
|
+
# customer_id``: All of the principals associated with the specified Google
|
282
|
+
# Workspace or Cloud Identity customer ID. For example, `principalSet://goog/
|
283
|
+
# cloudIdentityCustomerId/C01Abc35`. * `principal://iam.googleapis.com/locations/
|
284
|
+
# global/workforcePools/`pool_id`/subject/`subject_attribute_value``: A single
|
285
|
+
# identity in a workforce identity pool. * `principalSet://iam.googleapis.com/
|
286
|
+
# locations/global/workforcePools/`pool_id`/group/`group_id``: All workforce
|
287
|
+
# identities in a group. * `principalSet://iam.googleapis.com/locations/global/
|
288
|
+
# workforcePools/`pool_id`/attribute.`attribute_name`/`attribute_value``: All
|
289
|
+
# workforce identities with a specific attribute value. * `principalSet://iam.
|
290
|
+
# googleapis.com/locations/global/workforcePools/`pool_id`/*`: All identities in
|
291
|
+
# a workforce identity pool. * `principal://iam.googleapis.com/projects/`
|
292
|
+
# project_number`/locations/global/workloadIdentityPools/`pool_id`/subject/`
|
293
|
+
# subject_attribute_value``: A single identity in a workload identity pool. * `
|
294
|
+
# principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
|
295
|
+
# workloadIdentityPools/`pool_id`/group/`group_id``: A workload identity pool
|
296
|
+
# group. * `principalSet://iam.googleapis.com/projects/`project_number`/
|
297
|
+
# locations/global/workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`
|
298
|
+
# attribute_value``: All identities in a workload identity pool with a certain
|
299
|
+
# attribute. * `principalSet://iam.googleapis.com/projects/`project_number`/
|
300
|
+
# locations/global/workloadIdentityPools/`pool_id`/*`: All identities in a
|
301
|
+
# workload identity pool. * `deleted:principal://goog/subject/`email_id`?uid=`
|
302
|
+
# uid``: A specific Google Account that was deleted recently. For example, `
|
303
|
+
# deleted:principal://goog/subject/alice@example.com?uid=1234567890`. If the
|
304
|
+
# Google Account is recovered, this identifier reverts to the standard
|
305
|
+
# identifier for a Google Account. * `deleted:principalSet://goog/group/`
|
306
|
+
# group_id`?uid=`uid``: A Google group that was deleted recently. For example, `
|
307
|
+
# deleted:principalSet://goog/group/admins@example.com?uid=1234567890`. If the
|
308
|
+
# Google group is restored, this identifier reverts to the standard identifier
|
309
|
+
# for a Google group. * `deleted:principal://iam.googleapis.com/projects/-/
|
310
|
+
# serviceAccounts/`service_account_id`?uid=`uid``: A Google Cloud service
|
311
|
+
# account that was deleted recently. For example, `deleted:principal://iam.
|
312
|
+
# googleapis.com/projects/-/serviceAccounts/my-service-account@iam.
|
313
|
+
# gserviceaccount.com?uid=1234567890`. If the service account is undeleted, this
|
314
|
+
# identifier reverts to the standard identifier for a service account. * `
|
315
|
+
# deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
|
316
|
+
# pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
|
317
|
+
# workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
|
318
|
+
# locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
|
238
319
|
# Corresponds to the JSON property `deniedPrincipals`
|
239
320
|
# @return [Array<String>]
|
240
321
|
attr_accessor :denied_principals
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module IamV2
|
18
18
|
# Version of the google-apis-iam_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240108"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IamV2
|
24
24
|
|
25
|
+
class GoogleCloudCommonOperationMetadata
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class GoogleIamAdminV1AuditData
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -106,6 +112,19 @@ module Google
|
|
106
112
|
include Google::Apis::Core::JsonObjectSupport
|
107
113
|
end
|
108
114
|
|
115
|
+
class GoogleCloudCommonOperationMetadata
|
116
|
+
# @private
|
117
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
118
|
+
property :api_version, as: 'apiVersion'
|
119
|
+
property :cancel_requested, as: 'cancelRequested'
|
120
|
+
property :create_time, as: 'createTime'
|
121
|
+
property :end_time, as: 'endTime'
|
122
|
+
property :status_detail, as: 'statusDetail'
|
123
|
+
property :target, as: 'target'
|
124
|
+
property :verb, as: 'verb'
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
109
128
|
class GoogleIamAdminV1AuditData
|
110
129
|
# @private
|
111
130
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -34,6 +34,8 @@ module Google
|
|
34
34
|
#
|
35
35
|
# @see https://cloud.google.com/iam/
|
36
36
|
class IamService < Google::Apis::Core::BaseService
|
37
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://iam.$UNIVERSE_DOMAIN$/"
|
38
|
+
|
37
39
|
# @return [String]
|
38
40
|
# API key. Your API key identifies your project and provides you with API access,
|
39
41
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -45,7 +47,7 @@ module Google
|
|
45
47
|
attr_accessor :quota_user
|
46
48
|
|
47
49
|
def initialize
|
48
|
-
super(
|
50
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
49
51
|
client_name: 'google-apis-iam_v2',
|
50
52
|
client_version: Google::Apis::IamV2::GEM_VERSION)
|
51
53
|
@batch_path = 'batch'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-iam_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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:
|
11
|
+
date: 2024-01-23 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: 0.
|
19
|
+
version: 0.12.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: 0.
|
29
|
+
version: 0.12.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v2/CHANGELOG.md
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v2/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v2/v0.6.0
|
63
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v2
|
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.
|
79
|
+
rubygems_version: 3.5.3
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Simple REST client for Identity and Access Management (IAM) API V2
|