Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
feat(managedidentities): update the api
#### managedidentities:v1alpha1

The following keys were added:
- resources.projects.resources.locations.resources.global.resources.domains.methods.checkMigrationPermission (Total Keys: 12)
- 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.CheckMigrationPermissionRequest (Total Keys: 2)
- schemas.CheckMigrationPermissionResponse (Total Keys: 5)
- schemas.DisableMigrationRequest (Total Keys: 2)
- schemas.EnableMigrationRequest (Total Keys: 4)
- schemas.OnPremDomainDetails (Total Keys: 4)
- schemas.OnPremDomainSIDDetails (Total Keys: 4)
  • Loading branch information
yoshi-automation committed Oct 25, 2022
1 parent 4a93526 commit aa5c6a2
Show file tree
Hide file tree
Showing 4 changed files with 311 additions and 3 deletions.
Expand Up @@ -87,6 +87,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#attachTrust">attachTrust(name, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Adds AD trust in a given domain. Operation</p>
<p class="toc_element">
<code><a href="#checkMigrationPermission">checkMigrationPermission(domain, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">AuditMigration API gets the current state of DomainMigration</p>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
Expand All @@ -99,6 +102,12 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#detachTrust">detachTrust(name, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Removes identified trust. Operation</p>
<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="#enableMigration">enableMigration(domain, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Enable Domain Migration</p>
<p class="toc_element">
<code><a href="#extendSchema">extendSchema(domain, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Extend Schema for Domain</p>
Expand Down Expand Up @@ -198,6 +207,37 @@ <h3>Method Details</h3>
}</pre>
</div>

<div class="method">
<code class="details" id="checkMigrationPermission">checkMigrationPermission(domain, body=None, x__xgafv=None)</code>
<pre>AuditMigration API gets the current state of DomainMigration

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:

{ # CheckMigrationPermissionRequest is the request message for CheckMigrationPermission method.
}

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

Returns:
An object of the form:

{ # CheckMigrationPermissionResponse is the response message for CheckMigrationPermission method.
&quot;onpremDomains&quot;: [ # The state of SID filtering of all the domains which has trust established.
{ # OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.
&quot;name&quot;: &quot;A String&quot;, # FQDN of the on-prem domain being migrated.
&quot;sidFilteringState&quot;: &quot;A String&quot;, # Current SID filtering state.
},
],
&quot;state&quot;: &quot;A String&quot;, # The state of DomainMigration.
}</pre>
</div>

<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
Expand Down Expand Up @@ -371,6 +411,94 @@ <h3>Method Details</h3>
}</pre>
</div>

<div class="method">
<code class="details" id="disableMigration">disableMigration(domain, body=None, x__xgafv=None)</code>
<pre>Disable Domain Migration

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:

{ # DisableMigrationRequest is the request message for DisableMigration method.
}

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

Returns:
An object of the form:

{ # This resource represents a long-running operation that is the result of a network API call.
&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.
&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.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&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.
},
&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.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
&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}`.
&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`.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
}</pre>
</div>

<div class="method">
<code class="details" id="enableMigration">enableMigration(domain, body=None, x__xgafv=None)</code>
<pre>Enable Domain Migration

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:

{ # EnableMigrationRequest is the request message for EnableMigration method.
&quot;migratingDomains&quot;: [ # Required. List of the on-prem domains to be migrated.
{ # OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.
&quot;disableSidFiltering&quot;: True or False, # Optional. Option to disable SID filtering.
&quot;domainName&quot;: &quot;A String&quot;, # Required. FQDN of the on-prem domain being migrated.
},
],
}

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

Returns:
An object of the form:

{ # This resource represents a long-running operation that is the result of a network API call.
&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.
&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.
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
{
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
],
&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.
},
&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.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
&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}`.
&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`.
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
},
}</pre>
</div>

<div class="method">
<code class="details" id="extendSchema">extendSchema(domain, body=None, x__xgafv=None)</code>
<pre>Extend Schema for Domain
Expand Down
Expand Up @@ -1403,7 +1403,7 @@
}
}
},
"revision": "20220826",
"revision": "20220926",
"rootUrl": "https://managedidentities.googleapis.com/",
"schemas": {
"AttachTrustRequest": {
Expand Down

0 comments on commit aa5c6a2

Please sign in to comment.