Skip to content

Commit 5713afd

Browse files
feat(managedidentities): update the api
#### managedidentities:v1 The following keys were added: - resources.projects.resources.locations.resources.global.resources.domains.methods.checkMigrationPermission (Total Keys: 12) - schemas.CheckMigrationPermissionRequest (Total Keys: 2) - schemas.CheckMigrationPermissionResponse (Total Keys: 5) - schemas.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule.properties.canReschedule.deprecated (Total Keys: 1) - schemas.OnPremDomainSIDDetails (Total Keys: 4) #### managedidentities:v1alpha1 The following keys were added: - schemas.EnableMigrationRequest.properties.enableDuration (Total Keys: 2) - schemas.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule.properties.canReschedule.deprecated (Total Keys: 1) #### managedidentities:v1beta1 The following keys were added: - schemas.EnableMigrationRequest.properties.enableDuration (Total Keys: 2) - schemas.GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule.properties.canReschedule.deprecated (Total Keys: 1)
1 parent b5ec330 commit 5713afd

6 files changed

+141
-3
lines changed

docs/dyn/managedidentities_v1.projects.locations.global_.domains.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ <h2>Instance Methods</h2>
8787
<p class="toc_element">
8888
<code><a href="#attachTrust">attachTrust(name, body=None, x__xgafv=None)</a></code></p>
8989
<p class="firstline">Adds an AD trust to a domain.</p>
90+
<p class="toc_element">
91+
<code><a href="#checkMigrationPermission">checkMigrationPermission(domain, body=None, x__xgafv=None)</a></code></p>
92+
<p class="firstline">CheckMigrationPermission API gets the current state of DomainMigration</p>
9093
<p class="toc_element">
9194
<code><a href="#close">close()</a></code></p>
9295
<p class="firstline">Close httplib2 connections.</p>
@@ -207,6 +210,37 @@ <h3>Method Details</h3>
207210
}</pre>
208211
</div>
209212

213+
<div class="method">
214+
<code class="details" id="checkMigrationPermission">checkMigrationPermission(domain, body=None, x__xgafv=None)</code>
215+
<pre>CheckMigrationPermission API gets the current state of DomainMigration
216+
217+
Args:
218+
domain: string, Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}` (required)
219+
body: object, The request body.
220+
The object takes the form of:
221+
222+
{ # CheckMigrationPermissionRequest is the request message for CheckMigrationPermission method.
223+
}
224+
225+
x__xgafv: string, V1 error format.
226+
Allowed values
227+
1 - v1 error format
228+
2 - v2 error format
229+
230+
Returns:
231+
An object of the form:
232+
233+
{ # CheckMigrationPermissionResponse is the response message for CheckMigrationPermission method.
234+
&quot;onpremDomains&quot;: [ # The state of SID filtering of all the domains which has trust established.
235+
{ # OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.
236+
&quot;name&quot;: &quot;A String&quot;, # FQDN of the on-prem domain being migrated.
237+
&quot;sidFilteringState&quot;: &quot;A String&quot;, # Current SID filtering state.
238+
},
239+
],
240+
&quot;state&quot;: &quot;A String&quot;, # The state of DomainMigration.
241+
}</pre>
242+
</div>
243+
210244
<div class="method">
211245
<code class="details" id="close">close()</code>
212246
<pre>Close httplib2 connections.</pre>

docs/dyn/managedidentities_v1alpha1.projects.locations.global_.domains.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ <h3>Method Details</h3>
493493
The object takes the form of:
494494

495495
{ # EnableMigrationRequest is the request message for EnableMigration method.
496+
&quot;enableDuration&quot;: &quot;A String&quot;, # Optional. Period after which the migration would be auto disabled. If unspecified, a default timeout of 48h is used.
496497
&quot;migratingDomains&quot;: [ # Required. List of the on-prem domains to be migrated.
497498
{ # OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.
498499
&quot;disableSidFiltering&quot;: True or False, # Optional. Option to disable SID filtering.

docs/dyn/managedidentities_v1beta1.projects.locations.global_.domains.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ <h3>Method Details</h3>
493493
The object takes the form of:
494494

495495
{ # EnableMigrationRequest is the request message for EnableMigration method.
496+
&quot;enableDuration&quot;: &quot;A String&quot;, # Optional. Period after which the migration would be auto disabled. If unspecified, a default timeout of 48h is used.
496497
&quot;migratingDomains&quot;: [ # Required. List of the on-prem domains to be migrated.
497498
{ # OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.
498499
&quot;disableSidFiltering&quot;: True or False, # Optional. Option to disable SID filtering.

googleapiclient/discovery_cache/documents/managedidentities.v1.json

Lines changed: 91 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,34 @@
209209
"https://www.googleapis.com/auth/cloud-platform"
210210
]
211211
},
212+
"checkMigrationPermission": {
213+
"description": "CheckMigrationPermission API gets the current state of DomainMigration",
214+
"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:checkMigrationPermission",
215+
"httpMethod": "POST",
216+
"id": "managedidentities.projects.locations.global.domains.checkMigrationPermission",
217+
"parameterOrder": [
218+
"domain"
219+
],
220+
"parameters": {
221+
"domain": {
222+
"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`",
223+
"location": "path",
224+
"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$",
225+
"required": true,
226+
"type": "string"
227+
}
228+
},
229+
"path": "v1/{+domain}:checkMigrationPermission",
230+
"request": {
231+
"$ref": "CheckMigrationPermissionRequest"
232+
},
233+
"response": {
234+
"$ref": "CheckMigrationPermissionResponse"
235+
},
236+
"scopes": [
237+
"https://www.googleapis.com/auth/cloud-platform"
238+
]
239+
},
212240
"create": {
213241
"description": "Creates a Microsoft AD domain.",
214242
"flatPath": "v1/projects/{projectsId}/locations/global/domains",
@@ -1487,7 +1515,7 @@
14871515
}
14881516
}
14891517
},
1490-
"revision": "20230505",
1518+
"revision": "20230705",
14911519
"rootUrl": "https://managedidentities.googleapis.com/",
14921520
"schemas": {
14931521
"AttachTrustRequest": {
@@ -1630,6 +1658,42 @@
16301658
},
16311659
"type": "object"
16321660
},
1661+
"CheckMigrationPermissionRequest": {
1662+
"description": "CheckMigrationPermissionRequest is the request message for CheckMigrationPermission method.",
1663+
"id": "CheckMigrationPermissionRequest",
1664+
"properties": {},
1665+
"type": "object"
1666+
},
1667+
"CheckMigrationPermissionResponse": {
1668+
"description": "CheckMigrationPermissionResponse is the response message for CheckMigrationPermission method.",
1669+
"id": "CheckMigrationPermissionResponse",
1670+
"properties": {
1671+
"onpremDomains": {
1672+
"description": "The state of SID filtering of all the domains which has trust established.",
1673+
"items": {
1674+
"$ref": "OnPremDomainSIDDetails"
1675+
},
1676+
"type": "array"
1677+
},
1678+
"state": {
1679+
"description": "The state of DomainMigration.",
1680+
"enum": [
1681+
"STATE_UNSPECIFIED",
1682+
"DISABLED",
1683+
"ENABLED",
1684+
"NEEDS_MAINTENANCE"
1685+
],
1686+
"enumDescriptions": [
1687+
"DomainMigration is in unspecified state.",
1688+
"Domain Migration is Disabled.",
1689+
"Domain Migration is Enabled.",
1690+
"Domain Migration is not in valid state."
1691+
],
1692+
"type": "string"
1693+
}
1694+
},
1695+
"type": "object"
1696+
},
16331697
"DailyCycle": {
16341698
"description": "Time window specified for daily operations.",
16351699
"id": "DailyCycle",
@@ -2141,6 +2205,7 @@
21412205
"id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule",
21422206
"properties": {
21432207
"canReschedule": {
2208+
"deprecated": true,
21442209
"description": "This field is deprecated, and will be always set to true since reschedule can happen multiple times now. This field should not be removed until all service producers remove this for their customers.",
21452210
"type": "boolean"
21462211
},
@@ -2585,6 +2650,31 @@
25852650
},
25862651
"type": "object"
25872652
},
2653+
"OnPremDomainSIDDetails": {
2654+
"description": "OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.",
2655+
"id": "OnPremDomainSIDDetails",
2656+
"properties": {
2657+
"name": {
2658+
"description": "FQDN of the on-prem domain being migrated.",
2659+
"type": "string"
2660+
},
2661+
"sidFilteringState": {
2662+
"description": "Current SID filtering state.",
2663+
"enum": [
2664+
"SID_FILTERING_STATE_UNSPECIFIED",
2665+
"ENABLED",
2666+
"DISABLED"
2667+
],
2668+
"enumDescriptions": [
2669+
"SID Filtering is in unspecified state.",
2670+
"SID Filtering is Enabled.",
2671+
"SID Filtering is Disabled."
2672+
],
2673+
"type": "string"
2674+
}
2675+
},
2676+
"type": "object"
2677+
},
25882678
"Operation": {
25892679
"description": "This resource represents a long-running operation that is the result of a network API call.",
25902680
"id": "Operation",

googleapiclient/discovery_cache/documents/managedidentities.v1alpha1.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@
15151515
}
15161516
}
15171517
},
1518-
"revision": "20230505",
1518+
"revision": "20230705",
15191519
"rootUrl": "https://managedidentities.googleapis.com/",
15201520
"schemas": {
15211521
"AttachTrustRequest": {
@@ -1905,6 +1905,11 @@
19051905
"description": "EnableMigrationRequest is the request message for EnableMigration method.",
19061906
"id": "EnableMigrationRequest",
19071907
"properties": {
1908+
"enableDuration": {
1909+
"description": "Optional. Period after which the migration would be auto disabled. If unspecified, a default timeout of 48h is used.",
1910+
"format": "google-duration",
1911+
"type": "string"
1912+
},
19081913
"migratingDomains": {
19091914
"description": "Required. List of the on-prem domains to be migrated.",
19101915
"items": {
@@ -2203,6 +2208,7 @@
22032208
"id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule",
22042209
"properties": {
22052210
"canReschedule": {
2211+
"deprecated": true,
22062212
"description": "This field is deprecated, and will be always set to true since reschedule can happen multiple times now. This field should not be removed until all service producers remove this for their customers.",
22072213
"type": "boolean"
22082214
},

googleapiclient/discovery_cache/documents/managedidentities.v1beta1.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@
15151515
}
15161516
}
15171517
},
1518-
"revision": "20230505",
1518+
"revision": "20230705",
15191519
"rootUrl": "https://managedidentities.googleapis.com/",
15201520
"schemas": {
15211521
"AttachTrustRequest": {
@@ -1914,6 +1914,11 @@
19141914
"description": "EnableMigrationRequest is the request message for EnableMigration method.",
19151915
"id": "EnableMigrationRequest",
19161916
"properties": {
1917+
"enableDuration": {
1918+
"description": "Optional. Period after which the migration would be auto disabled. If unspecified, a default timeout of 48h is used.",
1919+
"format": "google-duration",
1920+
"type": "string"
1921+
},
19171922
"migratingDomains": {
19181923
"description": "Required. List of the on-prem domains to be migrated.",
19191924
"items": {
@@ -2212,6 +2217,7 @@
22122217
"id": "GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule",
22132218
"properties": {
22142219
"canReschedule": {
2220+
"deprecated": true,
22152221
"description": "This field is deprecated, and will be always set to true since reschedule can happen multiple times now. This field should not be removed until all service producers remove this for their customers.",
22162222
"type": "boolean"
22172223
},

0 commit comments

Comments
 (0)