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 f7c4c5d

Browse files
committedApr 18, 2023
feat(managedidentities): update the api
#### managedidentities:v1 The following keys were added: - resources.projects.resources.locations.resources.global.resources.domains.methods.domainJoinMachine (Total Keys: 12) - schemas.DomainJoinMachineRequest (Total Keys: 5) - schemas.DomainJoinMachineResponse (Total Keys: 3) #### managedidentities:v1alpha1 The following keys were added: - schemas.DomainJoinMachineRequest.properties.force.type (Total Keys: 1) #### managedidentities:v1beta1 The following keys were added: - schemas.DomainJoinMachineRequest.properties.force.type (Total Keys: 1)
1 parent fe1d844 commit f7c4c5d

9 files changed

+111
-12
lines changed
 

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

+31
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ <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="#domainJoinMachine">domainJoinMachine(domain, body=None, x__xgafv=None)</a></code></p>
104+
<p class="firstline">DomainJoinMachine API joins a Compute Engine VM to the domain</p>
102105
<p class="toc_element">
103106
<code><a href="#extendSchema">extendSchema(domain, body=None, x__xgafv=None)</a></code></p>
104107
<p class="firstline">Extend Schema for Domain</p>
@@ -371,6 +374,34 @@ <h3>Method Details</h3>
371374
}</pre>
372375
</div>
373376

377+
<div class="method">
378+
<code class="details" id="domainJoinMachine">domainJoinMachine(domain, body=None, x__xgafv=None)</code>
379+
<pre>DomainJoinMachine API joins a Compute Engine VM to the domain
380+
381+
Args:
382+
domain: string, Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name} (required)
383+
body: object, The request body.
384+
The object takes the form of:
385+
386+
{ # DomainJoinMachineRequest is the request message for DomainJoinMachine method
387+
&quot;force&quot;: True or False, # Optional. force if True, forces domain join even if the computer account already exists.
388+
&quot;ouName&quot;: &quot;A String&quot;, # Optional. OU name where the VM needs to be domain joined
389+
&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
390+
}
391+
392+
x__xgafv: string, V1 error format.
393+
Allowed values
394+
1 - v1 error format
395+
2 - v2 error format
396+
397+
Returns:
398+
An object of the form:
399+
400+
{ # DomainJoinMachineResponse is the response message for DomainJoinMachine method
401+
&quot;domainJoinBlob&quot;: &quot;A String&quot;, # Offline domain join blob as the response
402+
}</pre>
403+
</div>
404+
374405
<div class="method">
375406
<code class="details" id="extendSchema">extendSchema(domain, body=None, x__xgafv=None)</code>
376407
<pre>Extend Schema for Domain

‎docs/dyn/managedidentities_v1.projects.locations.global_.operations.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h2>Instance Methods</h2>
8888
<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
8989
<p class="toc_element">
9090
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91-
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.</p>
91+
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
9494
<p class="firstline">Retrieves the next page of results.</p>
@@ -177,7 +177,7 @@ <h3>Method Details</h3>
177177

178178
<div class="method">
179179
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
180-
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `&quot;/v1/{name=users/*}/operations&quot;` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
180+
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`.
181181

182182
Args:
183183
name: string, The name of the operation&#x27;s parent resource. (required)

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

+1
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ <h3>Method Details</h3>
465465
The object takes the form of:
466466

467467
{ # DomainJoinMachineRequest is the request message for DomainJoinMachine method
468+
&quot;force&quot;: True or False, # Optional. force if True, forces domain join even if the computer account already exists.
468469
&quot;ouName&quot;: &quot;A String&quot;, # Optional. OU name where the VM needs to be domain joined
469470
&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
470471
}

‎docs/dyn/managedidentities_v1alpha1.projects.locations.global_.operations.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h2>Instance Methods</h2>
8888
<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
8989
<p class="toc_element">
9090
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91-
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.</p>
91+
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
9494
<p class="firstline">Retrieves the next page of results.</p>
@@ -177,7 +177,7 @@ <h3>Method Details</h3>
177177

178178
<div class="method">
179179
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
180-
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `&quot;/v1/{name=users/*}/operations&quot;` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
180+
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`.
181181

182182
Args:
183183
name: string, The name of the operation&#x27;s parent resource. (required)

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

+1
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ <h3>Method Details</h3>
465465
The object takes the form of:
466466

467467
{ # DomainJoinMachineRequest is the request message for DomainJoinMachine method
468+
&quot;force&quot;: True or False, # Optional. force if True, forces domain join even if the computer account already exists.
468469
&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.
469470
&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
470471
}

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h2>Instance Methods</h2>
8888
<p class="firstline">Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.</p>
8989
<p class="toc_element">
9090
<code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91-
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.</p>
91+
<p class="firstline">Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
9494
<p class="firstline">Retrieves the next page of results.</p>
@@ -177,7 +177,7 @@ <h3>Method Details</h3>
177177

178178
<div class="method">
179179
<code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
180-
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `&quot;/v1/{name=users/*}/operations&quot;` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
180+
<pre>Lists operations that match the specified filter in the request. If the server doesn&#x27;t support this method, it returns `UNIMPLEMENTED`.
181181

182182
Args:
183183
name: string, The name of the operation&#x27;s parent resource. (required)

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

+60-2
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,34 @@
295295
"https://www.googleapis.com/auth/cloud-platform"
296296
]
297297
},
298+
"domainJoinMachine": {
299+
"description": "DomainJoinMachine API joins a Compute Engine VM to the domain",
300+
"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:domainJoinMachine",
301+
"httpMethod": "POST",
302+
"id": "managedidentities.projects.locations.global.domains.domainJoinMachine",
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}:domainJoinMachine",
316+
"request": {
317+
"$ref": "DomainJoinMachineRequest"
318+
},
319+
"response": {
320+
"$ref": "DomainJoinMachineResponse"
321+
},
322+
"scopes": [
323+
"https://www.googleapis.com/auth/cloud-platform"
324+
]
325+
},
298326
"extendSchema": {
299327
"description": "Extend Schema for Domain",
300328
"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:extendSchema",
@@ -1100,7 +1128,7 @@
11001128
]
11011129
},
11021130
"list": {
1103-
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
1131+
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
11041132
"flatPath": "v1/projects/{projectsId}/locations/global/operations",
11051133
"httpMethod": "GET",
11061134
"id": "managedidentities.projects.locations.global.operations.list",
@@ -1403,7 +1431,7 @@
14031431
}
14041432
}
14051433
},
1406-
"revision": "20230227",
1434+
"revision": "20230323",
14071435
"rootUrl": "https://managedidentities.googleapis.com/",
14081436
"schemas": {
14091437
"AttachTrustRequest": {
@@ -1713,6 +1741,36 @@
17131741
},
17141742
"type": "object"
17151743
},
1744+
"DomainJoinMachineRequest": {
1745+
"description": "DomainJoinMachineRequest is the request message for DomainJoinMachine method",
1746+
"id": "DomainJoinMachineRequest",
1747+
"properties": {
1748+
"force": {
1749+
"description": "Optional. force if True, forces domain join even if the computer account already exists.",
1750+
"type": "boolean"
1751+
},
1752+
"ouName": {
1753+
"description": "Optional. OU name where the VM needs to be domain joined",
1754+
"type": "string"
1755+
},
1756+
"vmIdToken": {
1757+
"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",
1758+
"type": "string"
1759+
}
1760+
},
1761+
"type": "object"
1762+
},
1763+
"DomainJoinMachineResponse": {
1764+
"description": "DomainJoinMachineResponse is the response message for DomainJoinMachine method",
1765+
"id": "DomainJoinMachineResponse",
1766+
"properties": {
1767+
"domainJoinBlob": {
1768+
"description": "Offline domain join blob as the response",
1769+
"type": "string"
1770+
}
1771+
},
1772+
"type": "object"
1773+
},
17161774
"Empty": {
17171775
"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); }",
17181776
"id": "Empty",

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@
12121212
]
12131213
},
12141214
"list": {
1215-
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
1215+
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
12161216
"flatPath": "v1alpha1/projects/{projectsId}/locations/global/operations",
12171217
"httpMethod": "GET",
12181218
"id": "managedidentities.projects.locations.global.operations.list",
@@ -1515,7 +1515,7 @@
15151515
}
15161516
}
15171517
},
1518-
"revision": "20230227",
1518+
"revision": "20230323",
15191519
"rootUrl": "https://managedidentities.googleapis.com/",
15201520
"schemas": {
15211521
"AttachTrustRequest": {
@@ -1869,6 +1869,10 @@
18691869
"description": "DomainJoinMachineRequest is the request message for DomainJoinMachine method",
18701870
"id": "DomainJoinMachineRequest",
18711871
"properties": {
1872+
"force": {
1873+
"description": "Optional. force if True, forces domain join even if the computer account already exists.",
1874+
"type": "boolean"
1875+
},
18721876
"ouName": {
18731877
"description": "Optional. OU name where the VM needs to be domain joined",
18741878
"type": "string"

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@
12121212
]
12131213
},
12141214
"list": {
1215-
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
1215+
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
12161216
"flatPath": "v1beta1/projects/{projectsId}/locations/global/operations",
12171217
"httpMethod": "GET",
12181218
"id": "managedidentities.projects.locations.global.operations.list",
@@ -1515,7 +1515,7 @@
15151515
}
15161516
}
15171517
},
1518-
"revision": "20230227",
1518+
"revision": "20230323",
15191519
"rootUrl": "https://managedidentities.googleapis.com/",
15201520
"schemas": {
15211521
"AttachTrustRequest": {
@@ -1878,6 +1878,10 @@
18781878
"description": "DomainJoinMachineRequest is the request message for DomainJoinMachine method",
18791879
"id": "DomainJoinMachineRequest",
18801880
"properties": {
1881+
"force": {
1882+
"description": "Optional. force if True, forces domain join even if the computer account already exists.",
1883+
"type": "boolean"
1884+
},
18811885
"ouName": {
18821886
"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.",
18831887
"type": "string"

0 commit comments

Comments
 (0)
Please sign in to comment.