# Package Classes (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.2 1.11.0 1.10.1 1.9.5 1.8.0 1.7.2 1.6.0 1.5.4 1.4.2 1.3.1 1.2.0 1.1.3 1.0.0 0.2.2 0.1.0 Summary of entries of Classes for managedidentities.

## Classes

### [ManagedIdentitiesServiceAsyncClient](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.services.managed_identities_service.ManagedIdentitiesServiceAsyncClient)

API Overview

The `managedidentites.googleapis.com` service implements the
Google Cloud Managed Identites API for identity services (e.g.
Microsoft Active Directory).

The Managed Identities service provides methods to manage
(create/read/update/delete) domains, reset managed identities admin
password, add/remove domain controllers in GCP regions and
add/remove VPC peering.

Data Model

The Managed Identities service exposes the following resources:

- Locations as global, named as follows:
  `projects/{project_id}/locations/global`.

- Domains, named as follows:
  `/projects/{project_id}/locations/global/domain/{domain_name}`.

The `{domain_name}` refers to fully qualified domain name in the
customer project e.g. mydomain.myorganization.com, with the
following restrictions:

- Must contain only lowercase letters, numbers, periods and hyphens.
- Must start with a letter.
- Must contain between 2-64 characters.
- Must end with a number or a letter.
- Must not start with period.
- First segement length (mydomain form example above) shouldn't exceed 15 chars.
- The last segment cannot be fully numeric.
- Must be unique within the customer project.

### [ManagedIdentitiesServiceClient](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.services.managed_identities_service.ManagedIdentitiesServiceClient)

API Overview

The `managedidentites.googleapis.com` service implements the
Google Cloud Managed Identites API for identity services (e.g.
Microsoft Active Directory).

The Managed Identities service provides methods to manage
(create/read/update/delete) domains, reset managed identities admin
password, add/remove domain controllers in GCP regions and
add/remove VPC peering.

Data Model

The Managed Identities service exposes the following resources:

- Locations as global, named as follows:
  `projects/{project_id}/locations/global`.

- Domains, named as follows:
  `/projects/{project_id}/locations/global/domain/{domain_name}`.

The `{domain_name}` refers to fully qualified domain name in the
customer project e.g. mydomain.myorganization.com, with the
following restrictions:

- Must contain only lowercase letters, numbers, periods and hyphens.
- Must start with a letter.
- Must contain between 2-64 characters.
- Must end with a number or a letter.
- Must not start with period.
- First segement length (mydomain form example above) shouldn't exceed 15 chars.
- The last segment cannot be fully numeric.
- Must be unique within the customer project.

### [ListDomainsAsyncPager](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.services.managed_identities_service.pagers.ListDomainsAsyncPager)

A pager for iterating through `list_domains` requests.

This class thinly wraps an initial
[ListDomainsResponse](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.ListDomainsResponse) object, and
provides an `__aiter__` method to iterate through its
`domains` field.

If there are more pages, the `__aiter__` method will make additional
`ListDomains` requests and continue to iterate
through the `domains` field on the
corresponding responses.

All the usual [ListDomainsResponse](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.ListDomainsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListDomainsPager](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.services.managed_identities_service.pagers.ListDomainsPager)

A pager for iterating through `list_domains` requests.

This class thinly wraps an initial
[ListDomainsResponse](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.ListDomainsResponse) object, and
provides an `__iter__` method to iterate through its
`domains` field.

If there are more pages, the `__iter__` method will make additional
`ListDomains` requests and continue to iterate
through the `domains` field on the
corresponding responses.

All the usual [ListDomainsResponse](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.ListDomainsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [AttachTrustRequest](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.AttachTrustRequest)

Request message for
AttachTrust

### [CreateMicrosoftAdDomainRequest](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.CreateMicrosoftAdDomainRequest)

Request message for
CreateMicrosoftAdDomain

### [DeleteDomainRequest](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.DeleteDomainRequest)

Request message for
DeleteDomain

### [DetachTrustRequest](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.DetachTrustRequest)

Request message for
DetachTrust

### [Domain](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.Domain)

Represents a managed Microsoft Active Directory domain.

### [LabelsEntry](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.Domain.LabelsEntry)

The abstract base class for a message.

### [State](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.Domain.State)

Represents the different states of a managed domain.

### [GetDomainRequest](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.GetDomainRequest)

Request message for
GetDomain

### [ListDomainsRequest](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.ListDomainsRequest)

Request message for
ListDomains

### [ListDomainsResponse](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.ListDomainsResponse)

Response message for
ListDomains

### [OpMetadata](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.OpMetadata)

Represents the metadata of the long-running operation.

### [ReconfigureTrustRequest](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.ReconfigureTrustRequest)

Request message for
ReconfigureTrust

### [ResetAdminPasswordRequest](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.ResetAdminPasswordRequest)

Request message for
ResetAdminPassword

### [ResetAdminPasswordResponse](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.ResetAdminPasswordResponse)

Response message for
ResetAdminPassword

### [Trust](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.Trust)

Represents a relationship between two domains. This allows a
controller in one domain to authenticate a user in another
domain.

### [State](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.Trust.State)

Represents the different states of a domain trust.

### [TrustDirection](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.Trust.TrustDirection)

Represents the direction of trust. See
`System.DirectoryServices.ActiveDirectory.TrustDirection <https://docs.microsoft.com/en-us/dotnet/api/system.directoryservices.activedirectory.trustdirection?view=netframework-4.7.2>`__
for more information.

### [TrustType](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.Trust.TrustType)

Represents the different inter-forest trust types.

### [UpdateDomainRequest](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.UpdateDomainRequest)

Request message for
UpdateDomain

### [ValidateTrustRequest](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.ValidateTrustRequest)

Request message for
ValidateTrust

## Modules

### [pagers](https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.services.managed_identities_service.pagers)

API documentation for `managedidentities_v1.services.managed_identities_service.pagers` module.