Skip to content

Commit

Permalink
feat(managedidentities): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Nov 1, 2022
1 parent e9280c5 commit 167f3d8
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 3 deletions.
Expand Up @@ -105,6 +105,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#disableMigration">disableMigration(domain, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Disable Domain Migration</p>
<p class="toc_element">
<code><a href="#domainJoinMachine">domainJoinMachine(domain, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">DomainJoinMachine API joins a Compute Engine VM to the domain</p>
<p class="toc_element">
<code><a href="#enableMigration">enableMigration(domain, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Enable Domain Migration</p>
Expand Down Expand Up @@ -452,6 +455,33 @@ <h3>Method Details</h3>
}</pre>
</div>

<div class="method">
<code class="details" id="domainJoinMachine">domainJoinMachine(domain, body=None, x__xgafv=None)</code>
<pre>DomainJoinMachine API joins a Compute Engine VM to the domain

Args:
domain: string, Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name} (required)
body: object, The request body.
The object takes the form of:

{ # DomainJoinMachineRequest is the request message for DomainJoinMachine method
&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.
&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
}

x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # DomainJoinMachineResponse is the response message for DomainJoinMachine method
&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.
}</pre>
</div>

<div class="method">
<code class="details" id="enableMigration">enableMigration(domain, body=None, x__xgafv=None)</code>
<pre>Enable Domain Migration
Expand Down
Expand Up @@ -1403,7 +1403,7 @@
}
}
},
"revision": "20220926",
"revision": "20221027",
"rootUrl": "https://managedidentities.googleapis.com/",
"schemas": {
"AttachTrustRequest": {
Expand Down
Expand Up @@ -1487,7 +1487,7 @@
}
}
},
"revision": "20220926",
"revision": "20221027",
"rootUrl": "https://managedidentities.googleapis.com/",
"schemas": {
"AttachTrustRequest": {
Expand Down
Expand Up @@ -351,6 +351,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"domainJoinMachine": {
"description": "DomainJoinMachine API joins a Compute Engine VM to the domain",
"flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:domainJoinMachine",
"httpMethod": "POST",
"id": "managedidentities.projects.locations.global.domains.domainJoinMachine",
"parameterOrder": [
"domain"
],
"parameters": {
"domain": {
"description": "Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name}",
"location": "path",
"pattern": "^projects/[^/]+/locations/global/domains/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+domain}:domainJoinMachine",
"request": {
"$ref": "DomainJoinMachineRequest"
},
"response": {
"$ref": "DomainJoinMachineResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"enableMigration": {
"description": "Enable Domain Migration",
"flatPath": "v1beta1/projects/{projectsId}/locations/global/domains/{domainsId}:enableMigration",
Expand Down Expand Up @@ -1487,7 +1515,7 @@
}
}
},
"revision": "20220926",
"revision": "20221027",
"rootUrl": "https://managedidentities.googleapis.com/",
"schemas": {
"AttachTrustRequest": {
Expand Down Expand Up @@ -1846,6 +1874,32 @@
},
"type": "object"
},
"DomainJoinMachineRequest": {
"description": "DomainJoinMachineRequest is the request message for DomainJoinMachine method",
"id": "DomainJoinMachineRequest",
"properties": {
"ouName": {
"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.",
"type": "string"
},
"vmIdToken": {
"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",
"type": "string"
}
},
"type": "object"
},
"DomainJoinMachineResponse": {
"description": "DomainJoinMachineResponse is the response message for DomainJoinMachine method",
"id": "DomainJoinMachineResponse",
"properties": {
"domainJoinBlob": {
"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.",
"type": "string"
}
},
"type": "object"
},
"Empty": {
"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); }",
"id": "Empty",
Expand Down

0 comments on commit 167f3d8

Please sign in to comment.