Reference documentation and code samples for the Managed Service for Microsoft Active Directory API V1 API module Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Managed Service for Microsoft Active Directory API V1 API - Module Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-managed_identities-v1/latest/Google-Cloud-ManagedIdentities-V1-ManagedIdentitiesService)\n- [1.2.1](/ruby/docs/reference/google-cloud-managed_identities-v1/1.2.1/Google-Cloud-ManagedIdentities-V1-ManagedIdentitiesService)\n- [1.1.0](/ruby/docs/reference/google-cloud-managed_identities-v1/1.1.0/Google-Cloud-ManagedIdentities-V1-ManagedIdentitiesService)\n- [1.0.1](/ruby/docs/reference/google-cloud-managed_identities-v1/1.0.1/Google-Cloud-ManagedIdentities-V1-ManagedIdentitiesService)\n- [0.8.0](/ruby/docs/reference/google-cloud-managed_identities-v1/0.8.0/Google-Cloud-ManagedIdentities-V1-ManagedIdentitiesService)\n- [0.7.2](/ruby/docs/reference/google-cloud-managed_identities-v1/0.7.2/Google-Cloud-ManagedIdentities-V1-ManagedIdentitiesService)\n- [0.6.0](/ruby/docs/reference/google-cloud-managed_identities-v1/0.6.0/Google-Cloud-ManagedIdentities-V1-ManagedIdentitiesService)\n- [0.5.1](/ruby/docs/reference/google-cloud-managed_identities-v1/0.5.1/Google-Cloud-ManagedIdentities-V1-ManagedIdentitiesService)\n- [0.4.0](/ruby/docs/reference/google-cloud-managed_identities-v1/0.4.0/Google-Cloud-ManagedIdentities-V1-ManagedIdentitiesService)\n- [0.3.5](/ruby/docs/reference/google-cloud-managed_identities-v1/0.3.5/Google-Cloud-ManagedIdentities-V1-ManagedIdentitiesService) \nReference documentation and code samples for the Managed Service for Microsoft Active Directory API V1 API module Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService.\n\nAPI Overview\n\nThe `managedidentites.googleapis.com` service implements the Google Cloud\nManaged Identites API for identity services\n(e.g. Microsoft Active Directory).\n\nThe Managed Identities service provides methods to manage\n(create/read/update/delete) domains, reset managed identities admin password,\nadd/remove domain controllers in GCP regions and add/remove VPC peering.\n\nData Model\n\nThe Managed Identities service exposes the following resources:\n\n- Locations as global, named as follows:\n `projects/{project_id}/locations/global`.\n\n- Domains, named as follows:\n `/projects/{project_id}/locations/global/domain/{domain_name}`.\n\nThe `{domain_name}` refers to fully qualified domain name in the customer\nproject e.g. mydomain.myorganization.com, with the following restrictions:\n\n- Must contain only lowercase letters, numbers, periods and hyphens.\n- Must start with a letter.\n- Must contain between 2-64 characters.\n- Must end with a number or a letter.\n- Must not start with period.\n- First segement length (mydomain form example above) shouldn't exceed 15 chars.\n- The last segment cannot be fully numeric.\n- Must be unique within the customer project.\n\nExample\n-------\n\nLoad this service and instantiate a gRPC client \n\n```ruby\nrequire \"google/cloud/managed_identities/v1/managed_identities_service\"\nclient = ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.new\n```"]]