google-apis-iam_v2beta 0.11.0 → 0.13.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: c0facfb50174a76024c8ff2005706ada33dd15e45c585964bbe8d6579fba1f46
4
- data.tar.gz: 7948bbbdaca17b08836e19c67675aa790c8ea1e994cf10530f2ad14c37399c0b
3
+ metadata.gz: 29fbaae0fa63ca0a1e3b40c641398382ee95777eee92522663d465d96ae164b2
4
+ data.tar.gz: fb264d5c5abc301e62de656ec4c04c0526d97f3c435987db11530dd0daa0633e
5
5
  SHA512:
6
- metadata.gz: 5f11d9131107ce8aab0d18e6daae14df92912153746e2090d44fc57d9542fee53a7bfe0c73592ecedf1992ad404ab74d1d324bc8d8b8c606462665cc30b2ce8a
7
- data.tar.gz: 7ffc539c517b1086b8df51a814db1ac28848f4348fa7a143e7231b62d012fa878d7ca1e71eab32a0e9964d704b1a282d727ac4ff6b45e8b6575b19c3e6440ad4
6
+ metadata.gz: fc928265cdab7e02cf68d60678e55f29c770990bd9802e3c557a51e47ef3ad22d5c667e40e0250a2cf393fe7d2688adc7e4c5474a822fada128446a46e16991a
7
+ data.tar.gz: ce66977287b4bc64211e12e78d132ee470afd13539f1a6c02481c493a0afd4553703cf119bed4d55b059be11b2f6fe9cc3c049a6fdfe4c4c126bdf00a145a5eb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-iam_v2beta
2
2
 
3
+ ### v0.13.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240108
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.12.0 (2023-09-24)
9
+
10
+ * Regenerated from discovery document revision 20230914
11
+
3
12
  ### v0.11.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 IamV2beta
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: * `principalSet:/
212
- # /goog/public:all`: A special identifier that represents any principal that is
213
- # on the internet, even if they do not have a Google Account or are not logged
214
- # in. * `principal://goog/subject/`email_id``: A specific Google Account.
215
- # Includes Gmail, Cloud Identity, and Google Workspace user accounts. For
216
- # example, `principal://goog/subject/alice@example.com`. * `deleted:principal://
217
- # goog/subject/`email_id`?uid=`uid``: A specific Google Account that was deleted
218
- # recently. For example, `deleted:principal://goog/subject/alice@example.com?uid=
219
- # 1234567890`. If the Google Account is recovered, this identifier reverts to
220
- # the standard identifier for a Google Account. * `principalSet://goog/group/`
221
- # group_id``: A Google group. For example, `principalSet://goog/group/admins@
222
- # example.com`. * `deleted:principalSet://goog/group/`group_id`?uid=`uid``: A
223
- # Google group that was deleted recently. For example, `deleted:principalSet://
224
- # goog/group/admins@example.com?uid=1234567890`. If the Google group is restored,
225
- # this identifier reverts to the standard identifier for a Google group. * `
226
- # principal://iam.googleapis.com/projects/-/serviceAccounts/`service_account_id``
227
- # : A Google Cloud service account. For example, `principal://iam.googleapis.com/
228
- # projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com`. * `
229
- # deleted:principal://iam.googleapis.com/projects/-/serviceAccounts/`
230
- # service_account_id`?uid=`uid``: A Google Cloud service account that was
231
- # deleted recently. For example, `deleted:principal://iam.googleapis.com/
232
- # projects/-/serviceAccounts/my-service-account@iam.gserviceaccount.com?uid=
233
- # 1234567890`. If the service account is undeleted, this identifier reverts to
234
- # the standard identifier for a service account. * `principalSet://goog/
235
- # cloudIdentityCustomerId/`customer_id``: All of the principals associated with
236
- # the specified Google Workspace or Cloud Identity customer ID. For example, `
237
- # principalSet://goog/cloudIdentityCustomerId/C01Abc35`.
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 IamV2beta
18
18
  # Version of the google-apis-iam_v2beta gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230803"
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 IamV2beta
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('https://iam.googleapis.com/', '',
50
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
49
51
  client_name: 'google-apis-iam_v2beta',
50
52
  client_version: Google::Apis::IamV2beta::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_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.13.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-08-20 00:00:00.000000000 Z
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.11.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.11.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_v2beta/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v2beta/v0.11.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v2beta/v0.13.0
63
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v2beta
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.2
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 V2beta