Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 167f3d8

Browse files
committedNov 1, 2022
feat(managedidentities): update the api
#### managedidentities:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.global.resources.domains.methods.domainJoinMachine (Total Keys: 12) - schemas.DomainJoinMachineRequest (Total Keys: 4) - schemas.DomainJoinMachineResponse (Total Keys: 3)
1 parent e9280c5 commit 167f3d8

4 files changed

+87
-3
lines changed
 

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

+30
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ <h2>Instance Methods</h2>
105105
<p class="toc_element">
106106
<code><a href="#disableMigration">disableMigration(domain, body=None, x__xgafv=None)</a></code></p>
107107
<p class="firstline">Disable Domain Migration</p>
108+
<p class="toc_element">
109+
<code><a href="#domainJoinMachine">domainJoinMachine(domain, body=None, x__xgafv=None)</a></code></p>
110+
<p class="firstline">DomainJoinMachine API joins a Compute Engine VM to the domain</p>
108111
<p class="toc_element">
109112
<code><a href="#enableMigration">enableMigration(domain, body=None, x__xgafv=None)</a></code></p>
110113
<p class="firstline">Enable Domain Migration</p>
@@ -452,6 +455,33 @@ <h3>Method Details</h3>
452455
}</pre>
453456
</div>
454457

458+
<div class="method">
459+
<code class="details" id="domainJoinMachine">domainJoinMachine(domain, body=None, x__xgafv=None)</code>
460+
<pre>DomainJoinMachine API joins a Compute Engine VM to the domain
461+
462+
Args:
463+
domain: string, Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name} (required)
464+
body: object, The request body.
465+
The object takes the form of:
466+
467+
{ # DomainJoinMachineRequest is the request message for DomainJoinMachine method
468+
&quot;ouName&quot;: &quot;A String&quot;, # Optional. OU name to which the VM needs to be domain joined. If the field is not provided, the VM is joined to the default OU which is created. The default OU for the domain join api is created as GCE Instances under the Cloud OU. Example - OU=GCE Instances,OU=Cloud,DC=ad,DC=test,DC=com If the field is provided, then the custom OU is searched for under GCE Instances OU. Example - if ou_name=test_ou then the VM is domain joined to the following OU: OU=test_ou,OU=GCE Instances,OU=Cloud,DC=ad,DC=test,DC=com if present. If OU is not present under GCE Instances, then error is returned.
469+
&quot;vmIdToken&quot;: &quot;A String&quot;, # Required. Full instance id token of compute engine VM to verify instance identity. More about this: https://cloud.google.com/compute/docs/instances/verifying-instance-identity#request_signature
470+
}
471+
472+
x__xgafv: string, V1 error format.
473+
Allowed values
474+
1 - v1 error format
475+
2 - v2 error format
476+
477+
Returns:
478+
An object of the form:
479+
480+
{ # DomainJoinMachineResponse is the response message for DomainJoinMachine method
481+
&quot;domainJoinBlob&quot;: &quot;A String&quot;, # The response is the offline domain join blob that is returned after running the djoin command. To correctly use the response of the API, please refer to the sample usage.
482+
}</pre>
483+
</div>
484+
455485
<div class="method">
456486
<code class="details" id="enableMigration">enableMigration(domain, body=None, x__xgafv=None)</code>
457487
<pre>Enable Domain Migration

‎googleapiclient/discovery_cache/documents/managedidentities.v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@
14031403
}
14041404
}
14051405
},
1406-
"revision": "20220926",
1406+
"revision": "20221027",
14071407
"rootUrl": "https://managedidentities.googleapis.com/",
14081408
"schemas": {
14091409
"AttachTrustRequest": {

‎googleapiclient/discovery_cache/documents/managedidentities.v1alpha1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@
14871487
}
14881488
}
14891489
},
1490-
"revision": "20220926",
1490+
"revision": "20221027",
14911491
"rootUrl": "https://managedidentities.googleapis.com/",
14921492
"schemas": {
14931493
"AttachTrustRequest": {

‎googleapiclient/discovery_cache/documents/managedidentities.v1beta1.json

+55-1
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,34 @@
351351
"https://www.googleapis.com/auth/cloud-platform"
352352
]
353353
},
354+
"domainJoinMachine": {
355+
"description": "DomainJoinMachine API joins a Compute Engine VM to the domain",
356+
"flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:domainJoinMachine",
357+
"httpMethod": "POST",
358+
"id": "managedidentities.projects.locations.global.domains.domainJoinMachine",
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": "v1beta1/{+domain}:domainJoinMachine",
372+
"request": {
373+
"$ref": "DomainJoinMachineRequest"
374+
},
375+
"response": {
376+
"$ref": "DomainJoinMachineResponse"
377+
},
378+
"scopes": [
379+
"https://www.googleapis.com/auth/cloud-platform"
380+
]
381+
},
354382
"enableMigration": {
355383
"description": "Enable Domain Migration",
356384
"flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:enableMigration",
@@ -1487,7 +1515,7 @@
14871515
}
14881516
}
14891517
},
1490-
"revision": "20220926",
1518+
"revision": "20221027",
14911519
"rootUrl": "https://managedidentities.googleapis.com/",
14921520
"schemas": {
14931521
"AttachTrustRequest": {
@@ -1846,6 +1874,32 @@
18461874
},
18471875
"type": "object"
18481876
},
1877+
"DomainJoinMachineRequest": {
1878+
"description": "DomainJoinMachineRequest is the request message for DomainJoinMachine method",
1879+
"id": "DomainJoinMachineRequest",
1880+
"properties": {
1881+
"ouName": {
1882+
"description": "Optional. OU name to which the VM needs to be domain joined. If the field is not provided, the VM is joined to the default OU which is created. The default OU for the domain join api is created as GCE Instances under the Cloud OU. Example - OU=GCE Instances,OU=Cloud,DC=ad,DC=test,DC=com If the field is provided, then the custom OU is searched for under GCE Instances OU. Example - if ou_name=test_ou then the VM is domain joined to the following OU: OU=test_ou,OU=GCE Instances,OU=Cloud,DC=ad,DC=test,DC=com if present. If OU is not present under GCE Instances, then error is returned.",
1883+
"type": "string"
1884+
},
1885+
"vmIdToken": {
1886+
"description": "Required. Full instance id token of compute engine VM to verify instance identity. More about this: https://cloud.google.com/compute/docs/instances/verifying-instance-identity#request_signature",
1887+
"type": "string"
1888+
}
1889+
},
1890+
"type": "object"
1891+
},
1892+
"DomainJoinMachineResponse": {
1893+
"description": "DomainJoinMachineResponse is the response message for DomainJoinMachine method",
1894+
"id": "DomainJoinMachineResponse",
1895+
"properties": {
1896+
"domainJoinBlob": {
1897+
"description": "The response is the offline domain join blob that is returned after running the djoin command. To correctly use the response of the API, please refer to the sample usage.",
1898+
"type": "string"
1899+
}
1900+
},
1901+
"type": "object"
1902+
},
18491903
"Empty": {
18501904
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
18511905
"id": "Empty",

0 commit comments

Comments
 (0)
Please sign in to comment.