Skip to content

Commit eaaaf7a

Browse files
feat(managedidentities): update the api
#### managedidentities:v1 The following keys were added: - resources.projects.resources.locations.resources.global.resources.domains.methods.disableMigration (Total Keys: 12) - resources.projects.resources.locations.resources.global.resources.domains.methods.enableMigration (Total Keys: 12) - schemas.DisableMigrationRequest (Total Keys: 2) - schemas.EnableMigrationRequest (Total Keys: 4) - schemas.OnPremDomainDetails (Total Keys: 4)
1 parent a2276ee commit eaaaf7a

7 files changed

+197
-12
lines changed

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

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,15 @@ <h2>Instance Methods</h2>
9999
<p class="toc_element">
100100
<code><a href="#detachTrust">detachTrust(name, body=None, x__xgafv=None)</a></code></p>
101101
<p class="firstline">Removes an AD trust.</p>
102+
<p class="toc_element">
103+
<code><a href="#disableMigration">disableMigration(domain, body=None, x__xgafv=None)</a></code></p>
104+
<p class="firstline">Disable Domain Migration</p>
102105
<p class="toc_element">
103106
<code><a href="#domainJoinMachine">domainJoinMachine(domain, body=None, x__xgafv=None)</a></code></p>
104107
<p class="firstline">DomainJoinMachine API joins a Compute Engine VM to the domain</p>
108+
<p class="toc_element">
109+
<code><a href="#enableMigration">enableMigration(domain, body=None, x__xgafv=None)</a></code></p>
110+
<p class="firstline">Enable Domain Migration</p>
105111
<p class="toc_element">
106112
<code><a href="#extendSchema">extendSchema(domain, body=None, x__xgafv=None)</a></code></p>
107113
<p class="firstline">Extend Schema for Domain</p>
@@ -374,6 +380,47 @@ <h3>Method Details</h3>
374380
}</pre>
375381
</div>
376382

383+
<div class="method">
384+
<code class="details" id="disableMigration">disableMigration(domain, body=None, x__xgafv=None)</code>
385+
<pre>Disable Domain Migration
386+
387+
Args:
388+
domain: string, Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}` (required)
389+
body: object, The request body.
390+
The object takes the form of:
391+
392+
{ # DisableMigrationRequest is the request message for DisableMigration method.
393+
}
394+
395+
x__xgafv: string, V1 error format.
396+
Allowed values
397+
1 - v1 error format
398+
2 - v2 error format
399+
400+
Returns:
401+
An object of the form:
402+
403+
{ # This resource represents a long-running operation that is the result of a network API call.
404+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
405+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
406+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
407+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
408+
{
409+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
410+
},
411+
],
412+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
413+
},
414+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
415+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
416+
},
417+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
418+
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
419+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
420+
},
421+
}</pre>
422+
</div>
423+
377424
<div class="method">
378425
<code class="details" id="domainJoinMachine">domainJoinMachine(domain, body=None, x__xgafv=None)</code>
379426
<pre>DomainJoinMachine API joins a Compute Engine VM to the domain
@@ -402,6 +449,53 @@ <h3>Method Details</h3>
402449
}</pre>
403450
</div>
404451

452+
<div class="method">
453+
<code class="details" id="enableMigration">enableMigration(domain, body=None, x__xgafv=None)</code>
454+
<pre>Enable Domain Migration
455+
456+
Args:
457+
domain: string, Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}` (required)
458+
body: object, The request body.
459+
The object takes the form of:
460+
461+
{ # EnableMigrationRequest is the request message for EnableMigration method.
462+
&quot;migratingDomains&quot;: [ # Required. List of the on-prem domains to be migrated.
463+
{ # OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.
464+
&quot;disableSidFiltering&quot;: True or False, # Optional. Option to disable SID filtering.
465+
&quot;domainName&quot;: &quot;A String&quot;, # Required. FQDN of the on-prem domain being migrated.
466+
},
467+
],
468+
}
469+
470+
x__xgafv: string, V1 error format.
471+
Allowed values
472+
1 - v1 error format
473+
2 - v2 error format
474+
475+
Returns:
476+
An object of the form:
477+
478+
{ # This resource represents a long-running operation that is the result of a network API call.
479+
&quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
480+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
481+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
482+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
483+
{
484+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
485+
},
486+
],
487+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
488+
},
489+
&quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
490+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
491+
},
492+
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
493+
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
494+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
495+
},
496+
}</pre>
497+
</div>
498+
405499
<div class="method">
406500
<code class="details" id="extendSchema">extendSchema(domain, body=None, x__xgafv=None)</code>
407501
<pre>Extend Schema for Domain

docs/dyn/managedidentities_v1.projects.locations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h3>Method Details</h3>
111111
Returns:
112112
An object of the form:
113113

114-
{ # A resource that represents Google Cloud Platform location.
114+
{ # A resource that represents a Google Cloud location.
115115
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
116116
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
117117
&quot;a_key&quot;: &quot;A String&quot;,
@@ -143,7 +143,7 @@ <h3>Method Details</h3>
143143

144144
{ # The response message for Locations.ListLocations.
145145
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
146-
{ # A resource that represents Google Cloud Platform location.
146+
{ # A resource that represents a Google Cloud location.
147147
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
148148
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
149149
&quot;a_key&quot;: &quot;A String&quot;,

docs/dyn/managedidentities_v1alpha1.projects.locations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h3>Method Details</h3>
111111
Returns:
112112
An object of the form:
113113

114-
{ # A resource that represents Google Cloud Platform location.
114+
{ # A resource that represents a Google Cloud location.
115115
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
116116
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
117117
&quot;a_key&quot;: &quot;A String&quot;,
@@ -143,7 +143,7 @@ <h3>Method Details</h3>
143143

144144
{ # The response message for Locations.ListLocations.
145145
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
146-
{ # A resource that represents Google Cloud Platform location.
146+
{ # A resource that represents a Google Cloud location.
147147
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
148148
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
149149
&quot;a_key&quot;: &quot;A String&quot;,

docs/dyn/managedidentities_v1beta1.projects.locations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h3>Method Details</h3>
111111
Returns:
112112
An object of the form:
113113

114-
{ # A resource that represents Google Cloud Platform location.
114+
{ # A resource that represents a Google Cloud location.
115115
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
116116
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
117117
&quot;a_key&quot;: &quot;A String&quot;,
@@ -143,7 +143,7 @@ <h3>Method Details</h3>
143143

144144
{ # The response message for Locations.ListLocations.
145145
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
146-
{ # A resource that represents Google Cloud Platform location.
146+
{ # A resource that represents a Google Cloud location.
147147
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
148148
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
149149
&quot;a_key&quot;: &quot;A String&quot;,

googleapiclient/discovery_cache/documents/managedidentities.v1.json

Lines changed: 93 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,34 @@
295295
"https://www.googleapis.com/auth/cloud-platform"
296296
]
297297
},
298+
"disableMigration": {
299+
"description": "Disable Domain Migration",
300+
"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:disableMigration",
301+
"httpMethod": "POST",
302+
"id": "managedidentities.projects.locations.global.domains.disableMigration",
303+
"parameterOrder": [
304+
"domain"
305+
],
306+
"parameters": {
307+
"domain": {
308+
"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`",
309+
"location": "path",
310+
"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$",
311+
"required": true,
312+
"type": "string"
313+
}
314+
},
315+
"path": "v1/{+domain}:disableMigration",
316+
"request": {
317+
"$ref": "DisableMigrationRequest"
318+
},
319+
"response": {
320+
"$ref": "Operation"
321+
},
322+
"scopes": [
323+
"https://www.googleapis.com/auth/cloud-platform"
324+
]
325+
},
298326
"domainJoinMachine": {
299327
"description": "DomainJoinMachine API joins a Compute Engine VM to the domain",
300328
"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:domainJoinMachine",
@@ -323,6 +351,34 @@
323351
"https://www.googleapis.com/auth/cloud-platform"
324352
]
325353
},
354+
"enableMigration": {
355+
"description": "Enable Domain Migration",
356+
"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:enableMigration",
357+
"httpMethod": "POST",
358+
"id": "managedidentities.projects.locations.global.domains.enableMigration",
359+
"parameterOrder": [
360+
"domain"
361+
],
362+
"parameters": {
363+
"domain": {
364+
"description": "Required. The domain resource name using the form: `projects/{project_id}/locations/global/domains/{domain_name}`",
365+
"location": "path",
366+
"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$",
367+
"required": true,
368+
"type": "string"
369+
}
370+
},
371+
"path": "v1/{+domain}:enableMigration",
372+
"request": {
373+
"$ref": "EnableMigrationRequest"
374+
},
375+
"response": {
376+
"$ref": "Operation"
377+
},
378+
"scopes": [
379+
"https://www.googleapis.com/auth/cloud-platform"
380+
]
381+
},
326382
"extendSchema": {
327383
"description": "Extend Schema for Domain",
328384
"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:extendSchema",
@@ -1431,7 +1487,7 @@
14311487
}
14321488
}
14331489
},
1434-
"revision": "20230323",
1490+
"revision": "20230505",
14351491
"rootUrl": "https://managedidentities.googleapis.com/",
14361492
"schemas": {
14371493
"AttachTrustRequest": {
@@ -1642,6 +1698,12 @@
16421698
},
16431699
"type": "object"
16441700
},
1701+
"DisableMigrationRequest": {
1702+
"description": "DisableMigrationRequest is the request message for DisableMigration method.",
1703+
"id": "DisableMigrationRequest",
1704+
"properties": {},
1705+
"type": "object"
1706+
},
16451707
"Domain": {
16461708
"description": "Represents a managed Microsoft Active Directory domain. If the domain is being changed, it will be placed into the UPDATING state, which indicates that the resource is being reconciled. At this point, Get will reflect an intermediate state.",
16471709
"id": "Domain",
@@ -1777,6 +1839,20 @@
17771839
"properties": {},
17781840
"type": "object"
17791841
},
1842+
"EnableMigrationRequest": {
1843+
"description": "EnableMigrationRequest is the request message for EnableMigration method.",
1844+
"id": "EnableMigrationRequest",
1845+
"properties": {
1846+
"migratingDomains": {
1847+
"description": "Required. List of the on-prem domains to be migrated.",
1848+
"items": {
1849+
"$ref": "OnPremDomainDetails"
1850+
},
1851+
"type": "array"
1852+
}
1853+
},
1854+
"type": "object"
1855+
},
17801856
"Expr": {
17811857
"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
17821858
"id": "Expr",
@@ -2396,7 +2472,7 @@
23962472
"type": "object"
23972473
},
23982474
"Location": {
2399-
"description": "A resource that represents Google Cloud Platform location.",
2475+
"description": "A resource that represents a Google Cloud location.",
24002476
"id": "Location",
24012477
"properties": {
24022478
"displayName": {
@@ -2494,6 +2570,21 @@
24942570
},
24952571
"type": "object"
24962572
},
2573+
"OnPremDomainDetails": {
2574+
"description": "OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.",
2575+
"id": "OnPremDomainDetails",
2576+
"properties": {
2577+
"disableSidFiltering": {
2578+
"description": "Optional. Option to disable SID filtering.",
2579+
"type": "boolean"
2580+
},
2581+
"domainName": {
2582+
"description": "Required. FQDN of the on-prem domain being migrated.",
2583+
"type": "string"
2584+
}
2585+
},
2586+
"type": "object"
2587+
},
24972588
"Operation": {
24982589
"description": "This resource represents a long-running operation that is the result of a network API call.",
24992590
"id": "Operation",

googleapiclient/discovery_cache/documents/managedidentities.v1alpha1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@
15151515
}
15161516
}
15171517
},
1518-
"revision": "20230323",
1518+
"revision": "20230505",
15191519
"rootUrl": "https://managedidentities.googleapis.com/",
15201520
"schemas": {
15211521
"AttachTrustRequest": {
@@ -2533,7 +2533,7 @@
25332533
"type": "object"
25342534
},
25352535
"Location": {
2536-
"description": "A resource that represents Google Cloud Platform location.",
2536+
"description": "A resource that represents a Google Cloud location.",
25372537
"id": "Location",
25382538
"properties": {
25392539
"displayName": {

0 commit comments

Comments
 (0)