google-apis-managedidentities_v1 0.31.0 → 0.33.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 +8 -0
- data/lib/google/apis/managedidentities_v1/classes.rb +95 -29
- data/lib/google/apis/managedidentities_v1/gem_version.rb +2 -2
- data/lib/google/apis/managedidentities_v1/representations.rb +41 -0
- data/lib/google/apis/managedidentities_v1/service.rb +34 -0
- 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: a050d8c343b2b3dfd5ac8440372143f12c6bca0fba3d653faa491ed34ba7fc87
|
4
|
+
data.tar.gz: d0f7c8dcda04eb47d41bf0530c07e18cdbccb4eaf87645a81478777f25049525
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4c5378112d6ddb858bcbdb51f8bb95f78feaf9cdea02fbdc3c707e30a33a532c9dd425fa8d2f3e521eaad3a1aff1468c63fbf3fc0ac695b3f1250c0169dce6b
|
7
|
+
data.tar.gz: 3feaf8d6185089baccc3c121e3eec0ff5650763c03ec32df27f1ec3dee4a8d99a93f32513819f5c234715a7c8a1465173588e13d4e62de83f17507367a430786
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1
|
2
2
|
|
3
|
+
### v0.33.0 (2023-10-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231010
|
6
|
+
|
7
|
+
### v0.32.0 (2023-07-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230705
|
10
|
+
|
3
11
|
### v0.31.0 (2023-05-14)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230505
|
@@ -233,6 +233,46 @@ module Google
|
|
233
233
|
end
|
234
234
|
end
|
235
235
|
|
236
|
+
# CheckMigrationPermissionRequest is the request message for
|
237
|
+
# CheckMigrationPermission method.
|
238
|
+
class CheckMigrationPermissionRequest
|
239
|
+
include Google::Apis::Core::Hashable
|
240
|
+
|
241
|
+
def initialize(**args)
|
242
|
+
update!(**args)
|
243
|
+
end
|
244
|
+
|
245
|
+
# Update properties of this object
|
246
|
+
def update!(**args)
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
# CheckMigrationPermissionResponse is the response message for
|
251
|
+
# CheckMigrationPermission method.
|
252
|
+
class CheckMigrationPermissionResponse
|
253
|
+
include Google::Apis::Core::Hashable
|
254
|
+
|
255
|
+
# The state of SID filtering of all the domains which has trust established.
|
256
|
+
# Corresponds to the JSON property `onpremDomains`
|
257
|
+
# @return [Array<Google::Apis::ManagedidentitiesV1::OnPremDomainSidDetails>]
|
258
|
+
attr_accessor :onprem_domains
|
259
|
+
|
260
|
+
# The state of DomainMigration.
|
261
|
+
# Corresponds to the JSON property `state`
|
262
|
+
# @return [String]
|
263
|
+
attr_accessor :state
|
264
|
+
|
265
|
+
def initialize(**args)
|
266
|
+
update!(**args)
|
267
|
+
end
|
268
|
+
|
269
|
+
# Update properties of this object
|
270
|
+
def update!(**args)
|
271
|
+
@onprem_domains = args[:onprem_domains] if args.key?(:onprem_domains)
|
272
|
+
@state = args[:state] if args.key?(:state)
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
236
276
|
# Time window specified for daily operations.
|
237
277
|
class DailyCycle
|
238
278
|
include Google::Apis::Core::Hashable
|
@@ -1673,6 +1713,32 @@ module Google
|
|
1673
1713
|
end
|
1674
1714
|
end
|
1675
1715
|
|
1716
|
+
# OnPremDomainDetails is the message which contains details of on-prem domain
|
1717
|
+
# which is trusted and needs to be migrated.
|
1718
|
+
class OnPremDomainSidDetails
|
1719
|
+
include Google::Apis::Core::Hashable
|
1720
|
+
|
1721
|
+
# FQDN of the on-prem domain being migrated.
|
1722
|
+
# Corresponds to the JSON property `name`
|
1723
|
+
# @return [String]
|
1724
|
+
attr_accessor :name
|
1725
|
+
|
1726
|
+
# Current SID filtering state.
|
1727
|
+
# Corresponds to the JSON property `sidFilteringState`
|
1728
|
+
# @return [String]
|
1729
|
+
attr_accessor :sid_filtering_state
|
1730
|
+
|
1731
|
+
def initialize(**args)
|
1732
|
+
update!(**args)
|
1733
|
+
end
|
1734
|
+
|
1735
|
+
# Update properties of this object
|
1736
|
+
def update!(**args)
|
1737
|
+
@name = args[:name] if args.key?(:name)
|
1738
|
+
@sid_filtering_state = args[:sid_filtering_state] if args.key?(:sid_filtering_state)
|
1739
|
+
end
|
1740
|
+
end
|
1741
|
+
|
1676
1742
|
# This resource represents a long-running operation that is the result of a
|
1677
1743
|
# network API call.
|
1678
1744
|
class Operation
|
@@ -1710,13 +1776,13 @@ module Google
|
|
1710
1776
|
# @return [String]
|
1711
1777
|
attr_accessor :name
|
1712
1778
|
|
1713
|
-
# The normal response of the operation
|
1714
|
-
#
|
1715
|
-
#
|
1716
|
-
#
|
1717
|
-
#
|
1718
|
-
#
|
1719
|
-
#
|
1779
|
+
# The normal, successful response of the operation. If the original method
|
1780
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
1781
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
1782
|
+
# response should be the resource. For other methods, the response should have
|
1783
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
1784
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
1785
|
+
# `TakeSnapshotResponse`.
|
1720
1786
|
# Corresponds to the JSON property `response`
|
1721
1787
|
# @return [Hash<String,Object>]
|
1722
1788
|
attr_accessor :response
|
@@ -1874,22 +1940,22 @@ module Google
|
|
1874
1940
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
1875
1941
|
# the request, the resource, or both. To learn which resources support
|
1876
1942
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1877
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1943
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
1878
1944
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1879
1945
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1880
1946
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1881
1947
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1882
1948
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1883
1949
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1884
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
1885
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
1886
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
1887
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
1888
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
1889
|
-
# access description: Does not grant access after Sep 2020
|
1890
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
1891
|
-
# a description of IAM and its features, see the
|
1892
|
-
# cloud.google.com/iam/docs/).
|
1950
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
1951
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
1952
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
1953
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
1954
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
1955
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
1956
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
1957
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
1958
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1893
1959
|
class Policy
|
1894
1960
|
include Google::Apis::Core::Hashable
|
1895
1961
|
|
@@ -2078,22 +2144,22 @@ module Google
|
|
2078
2144
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
2079
2145
|
# the request, the resource, or both. To learn which resources support
|
2080
2146
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2081
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
2147
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
2082
2148
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
2083
2149
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
2084
2150
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
2085
2151
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
2086
2152
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
2087
2153
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2088
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
2089
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
2090
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
2091
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
2092
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
2093
|
-
# access description: Does not grant access after Sep 2020
|
2094
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
2095
|
-
# a description of IAM and its features, see the
|
2096
|
-
# cloud.google.com/iam/docs/).
|
2154
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
2155
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
2156
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
2157
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
2158
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
2159
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
2160
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
2161
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
2162
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
2097
2163
|
# Corresponds to the JSON property `policy`
|
2098
2164
|
# @return [Google::Apis::ManagedidentitiesV1::Policy]
|
2099
2165
|
attr_accessor :policy
|
@@ -2372,8 +2438,8 @@ module Google
|
|
2372
2438
|
attr_accessor :channel
|
2373
2439
|
|
2374
2440
|
# Deny Maintenance Period that is applied to resource to indicate when
|
2375
|
-
# maintenance is forbidden.
|
2376
|
-
#
|
2441
|
+
# maintenance is forbidden. The protocol supports zero-to-many such periods, but
|
2442
|
+
# the current SLM Rollout implementation only supports zero-to-one.
|
2377
2443
|
# Corresponds to the JSON property `denyMaintenancePeriods`
|
2378
2444
|
# @return [Array<Google::Apis::ManagedidentitiesV1::DenyMaintenancePeriod>]
|
2379
2445
|
attr_accessor :deny_maintenance_periods
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ManagedidentitiesV1
|
18
18
|
# Version of the google-apis-managedidentities_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.33.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 = "20231010"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,18 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class CheckMigrationPermissionRequest
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class CheckMigrationPermissionResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
55
67
|
class DailyCycle
|
56
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
69
|
|
@@ -262,6 +274,12 @@ module Google
|
|
262
274
|
include Google::Apis::Core::JsonObjectSupport
|
263
275
|
end
|
264
276
|
|
277
|
+
class OnPremDomainSidDetails
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
265
283
|
class Operation
|
266
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
285
|
|
@@ -425,6 +443,21 @@ module Google
|
|
425
443
|
end
|
426
444
|
end
|
427
445
|
|
446
|
+
class CheckMigrationPermissionRequest
|
447
|
+
# @private
|
448
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
class CheckMigrationPermissionResponse
|
453
|
+
# @private
|
454
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
455
|
+
collection :onprem_domains, as: 'onpremDomains', class: Google::Apis::ManagedidentitiesV1::OnPremDomainSidDetails, decorator: Google::Apis::ManagedidentitiesV1::OnPremDomainSidDetails::Representation
|
456
|
+
|
457
|
+
property :state, as: 'state'
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
428
461
|
class DailyCycle
|
429
462
|
# @private
|
430
463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -789,6 +822,14 @@ module Google
|
|
789
822
|
end
|
790
823
|
end
|
791
824
|
|
825
|
+
class OnPremDomainSidDetails
|
826
|
+
# @private
|
827
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
828
|
+
property :name, as: 'name'
|
829
|
+
property :sid_filtering_state, as: 'sidFilteringState'
|
830
|
+
end
|
831
|
+
end
|
832
|
+
|
792
833
|
class Operation
|
793
834
|
# @private
|
794
835
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -157,6 +157,40 @@ module Google
|
|
157
157
|
execute_or_queue_command(command, &block)
|
158
158
|
end
|
159
159
|
|
160
|
+
# CheckMigrationPermission API gets the current state of DomainMigration
|
161
|
+
# @param [String] domain
|
162
|
+
# Required. The domain resource name using the form: `projects/`project_id`/
|
163
|
+
# locations/global/domains/`domain_name``
|
164
|
+
# @param [Google::Apis::ManagedidentitiesV1::CheckMigrationPermissionRequest] check_migration_permission_request_object
|
165
|
+
# @param [String] fields
|
166
|
+
# Selector specifying which fields to include in a partial response.
|
167
|
+
# @param [String] quota_user
|
168
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
169
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
170
|
+
# @param [Google::Apis::RequestOptions] options
|
171
|
+
# Request-specific options
|
172
|
+
#
|
173
|
+
# @yield [result, err] Result & error if block supplied
|
174
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1::CheckMigrationPermissionResponse] parsed result object
|
175
|
+
# @yieldparam err [StandardError] error object if request failed
|
176
|
+
#
|
177
|
+
# @return [Google::Apis::ManagedidentitiesV1::CheckMigrationPermissionResponse]
|
178
|
+
#
|
179
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
180
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
181
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
182
|
+
def check_domain_migration_permission(domain, check_migration_permission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
183
|
+
command = make_simple_command(:post, 'v1/{+domain}:checkMigrationPermission', options)
|
184
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1::CheckMigrationPermissionRequest::Representation
|
185
|
+
command.request_object = check_migration_permission_request_object
|
186
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1::CheckMigrationPermissionResponse::Representation
|
187
|
+
command.response_class = Google::Apis::ManagedidentitiesV1::CheckMigrationPermissionResponse
|
188
|
+
command.params['domain'] = domain unless domain.nil?
|
189
|
+
command.query['fields'] = fields unless fields.nil?
|
190
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
191
|
+
execute_or_queue_command(command, &block)
|
192
|
+
end
|
193
|
+
|
160
194
|
# Creates a Microsoft AD domain.
|
161
195
|
# @param [String] parent
|
162
196
|
# Required. The resource project name and location using the form: `projects/`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-managedidentities_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.33.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-10-22 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-managedidentities_v1/CHANGELOG.md
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.33.0
|
63
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_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 Managed Service for Microsoft Active Directory API
|