Skip to content

Commit

Permalink
feat(managedidentities): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent a2276ee commit eaaaf7a
Show file tree
Hide file tree
Showing 7 changed files with 197 additions and 12 deletions.
Expand Up @@ -99,9 +99,15 @@ <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 an AD trust.</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="#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>
<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 @@ -374,6 +380,47 @@ <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="domainJoinMachine">domainJoinMachine(domain, body=None, x__xgafv=None)</code>
<pre>DomainJoinMachine API joins a Compute Engine VM to the domain
Expand Down Expand Up @@ -402,6 +449,53 @@ <h3>Method Details</h3>
}</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
4 changes: 2 additions & 2 deletions docs/dyn/managedidentities_v1.projects.locations.html
Expand Up @@ -111,7 +111,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

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

{ # The response message for Locations.ListLocations.
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
{ # A resource that represents Google Cloud Platform location.
{ # A resource that represents a Google Cloud location.
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down
4 changes: 2 additions & 2 deletions docs/dyn/managedidentities_v1alpha1.projects.locations.html
Expand Up @@ -111,7 +111,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

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

{ # The response message for Locations.ListLocations.
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
{ # A resource that represents Google Cloud Platform location.
{ # A resource that represents a Google Cloud location.
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down
4 changes: 2 additions & 2 deletions docs/dyn/managedidentities_v1beta1.projects.locations.html
Expand Up @@ -111,7 +111,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

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

{ # The response message for Locations.ListLocations.
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
{ # A resource that represents Google Cloud Platform location.
{ # A resource that represents a Google Cloud location.
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
&quot;a_key&quot;: &quot;A String&quot;,
Expand Down
Expand Up @@ -295,6 +295,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"disableMigration": {
"description": "Disable Domain Migration",
"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:disableMigration",
"httpMethod": "POST",
"id": "managedidentities.projects.locations.global.domains.disableMigration",
"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": "v1/{+domain}:disableMigration",
"request": {
"$ref": "DisableMigrationRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"domainJoinMachine": {
"description": "DomainJoinMachine API joins a Compute Engine VM to the domain",
"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:domainJoinMachine",
Expand Down Expand Up @@ -323,6 +351,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"enableMigration": {
"description": "Enable Domain Migration",
"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:enableMigration",
"httpMethod": "POST",
"id": "managedidentities.projects.locations.global.domains.enableMigration",
"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": "v1/{+domain}:enableMigration",
"request": {
"$ref": "EnableMigrationRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"extendSchema": {
"description": "Extend Schema for Domain",
"flatPath": "v1/projects/{projectsId}/locations/global/domains/{domainsId}:extendSchema",
Expand Down Expand Up @@ -1431,7 +1487,7 @@
}
}
},
"revision": "20230323",
"revision": "20230505",
"rootUrl": "https://managedidentities.googleapis.com/",
"schemas": {
"AttachTrustRequest": {
Expand Down Expand Up @@ -1642,6 +1698,12 @@
},
"type": "object"
},
"DisableMigrationRequest": {
"description": "DisableMigrationRequest is the request message for DisableMigration method.",
"id": "DisableMigrationRequest",
"properties": {},
"type": "object"
},
"Domain": {
"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.",
"id": "Domain",
Expand Down Expand Up @@ -1777,6 +1839,20 @@
"properties": {},
"type": "object"
},
"EnableMigrationRequest": {
"description": "EnableMigrationRequest is the request message for EnableMigration method.",
"id": "EnableMigrationRequest",
"properties": {
"migratingDomains": {
"description": "Required. List of the on-prem domains to be migrated.",
"items": {
"$ref": "OnPremDomainDetails"
},
"type": "array"
}
},
"type": "object"
},
"Expr": {
"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.",
"id": "Expr",
Expand Down Expand Up @@ -2396,7 +2472,7 @@
"type": "object"
},
"Location": {
"description": "A resource that represents Google Cloud Platform location.",
"description": "A resource that represents a Google Cloud location.",
"id": "Location",
"properties": {
"displayName": {
Expand Down Expand Up @@ -2494,6 +2570,21 @@
},
"type": "object"
},
"OnPremDomainDetails": {
"description": "OnPremDomainDetails is the message which contains details of on-prem domain which is trusted and needs to be migrated.",
"id": "OnPremDomainDetails",
"properties": {
"disableSidFiltering": {
"description": "Optional. Option to disable SID filtering.",
"type": "boolean"
},
"domainName": {
"description": "Required. FQDN of the on-prem domain being migrated.",
"type": "string"
}
},
"type": "object"
},
"Operation": {
"description": "This resource represents a long-running operation that is the result of a network API call.",
"id": "Operation",
Expand Down
Expand Up @@ -1515,7 +1515,7 @@
}
}
},
"revision": "20230323",
"revision": "20230505",
"rootUrl": "https://managedidentities.googleapis.com/",
"schemas": {
"AttachTrustRequest": {
Expand Down Expand Up @@ -2533,7 +2533,7 @@
"type": "object"
},
"Location": {
"description": "A resource that represents Google Cloud Platform location.",
"description": "A resource that represents a Google Cloud location.",
"id": "Location",
"properties": {
"displayName": {
Expand Down

0 comments on commit eaaaf7a

Please sign in to comment.