Class ProjectsResource.LocationsResource.GlobalResource.DomainsResource
The "domains" collection of methods.
Inherited Members
Namespace: Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1
Assembly: Google.Apis.ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.v1.dll
Syntax
public class ProjectsResource.LocationsResource.GlobalResource.DomainsResource
Constructors
DomainsResource(IClientService)
Constructs a new resource.
Declaration
public DomainsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Backups
Gets the Backups resource.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.BackupsResource Backups { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.BackupsResource |
SqlIntegrations
Gets the SqlIntegrations resource.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.SqlIntegrationsResource SqlIntegrations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.SqlIntegrationsResource |
Methods
AttachTrust(AttachTrustRequest, string)
Adds an AD trust to a domain.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.AttachTrustRequest AttachTrust(AttachTrustRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
AttachTrustRequest | body | The body of the request. |
string | name | Required. The resource domain name, project name and location using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.AttachTrustRequest |
CheckMigrationPermission(CheckMigrationPermissionRequest, string)
CheckMigrationPermission API gets the current state of DomainMigration
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.CheckMigrationPermissionRequest CheckMigrationPermission(CheckMigrationPermissionRequest body, string domain)
Parameters
Type | Name | Description |
---|---|---|
CheckMigrationPermissionRequest | body | The body of the request. |
string | domain | Required. The domain resource name using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.CheckMigrationPermissionRequest |
Create(Domain, string)
Creates a Microsoft AD domain.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.CreateRequest Create(Domain body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Domain | body | The body of the request. |
string | parent | Required. The resource project name and location using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.CreateRequest |
Delete(string)
Deletes a domain.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The domain resource name using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.DeleteRequest |
DetachTrust(DetachTrustRequest, string)
Removes an AD trust.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.DetachTrustRequest DetachTrust(DetachTrustRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
DetachTrustRequest | body | The body of the request. |
string | name | Required. The resource domain name, project name, and location using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.DetachTrustRequest |
DisableMigration(DisableMigrationRequest, string)
Disable Domain Migration
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.DisableMigrationRequest DisableMigration(DisableMigrationRequest body, string domain)
Parameters
Type | Name | Description |
---|---|---|
DisableMigrationRequest | body | The body of the request. |
string | domain | Required. The domain resource name using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.DisableMigrationRequest |
DomainJoinMachine(DomainJoinMachineRequest, string)
DomainJoinMachine API joins a Compute Engine VM to the domain
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.DomainJoinMachineRequest DomainJoinMachine(DomainJoinMachineRequest body, string domain)
Parameters
Type | Name | Description |
---|---|---|
DomainJoinMachineRequest | body | The body of the request. |
string | domain | Required. The domain resource name using the form: projects/{project_id}/locations/global/domains/{domain_name} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.DomainJoinMachineRequest |
EnableMigration(EnableMigrationRequest, string)
Enable Domain Migration
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.EnableMigrationRequest EnableMigration(EnableMigrationRequest body, string domain)
Parameters
Type | Name | Description |
---|---|---|
EnableMigrationRequest | body | The body of the request. |
string | domain | Required. The domain resource name using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.EnableMigrationRequest |
ExtendSchema(ExtendSchemaRequest, string)
Extend Schema for Domain
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.ExtendSchemaRequest ExtendSchema(ExtendSchemaRequest body, string domain)
Parameters
Type | Name | Description |
---|---|---|
ExtendSchemaRequest | body | The body of the request. |
string | domain | Required. The domain resource name using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.ExtendSchemaRequest |
Get(string)
Gets information about a domain.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The domain resource name using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.GetRequest |
GetIamPolicy(string)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type | Name | Description |
---|---|---|
string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.GetIamPolicyRequest |
GetLdapssettings(string)
Gets the domain ldaps settings.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.GetLdapssettingsRequest GetLdapssettings(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The domain resource name using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.GetLdapssettingsRequest |
List(string)
Lists domains in a project.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the domain location using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.ListRequest |
Patch(Domain, string)
Updates the metadata and configuration of a domain.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.PatchRequest Patch(Domain body, string name)
Parameters
Type | Name | Description |
---|---|---|
Domain | body | The body of the request. |
string | name | Required. The unique name of the domain using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.PatchRequest |
ReconfigureTrust(ReconfigureTrustRequest, string)
Updates the DNS conditional forwarder.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.ReconfigureTrustRequest ReconfigureTrust(ReconfigureTrustRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ReconfigureTrustRequest | body | The body of the request. |
string | name | Required. The resource domain name, project name and location using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.ReconfigureTrustRequest |
ResetAdminPassword(ResetAdminPasswordRequest, string)
Resets a domain's administrator password.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.ResetAdminPasswordRequest ResetAdminPassword(ResetAdminPasswordRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ResetAdminPasswordRequest | body | The body of the request. |
string | name | Required. The domain resource name using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.ResetAdminPasswordRequest |
Restore(RestoreDomainRequest, string)
RestoreDomain restores domain backup mentioned in the RestoreDomainRequest
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.RestoreRequest Restore(RestoreDomainRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
RestoreDomainRequest | body | The body of the request. |
string | name | Required. Resource name for the domain to which the backup belongs |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.RestoreRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the access control policy on the specified resource. Replaces any existing policy. Can
return NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
SetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.SetIamPolicyRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
Returns permissions that a caller has on the specified resource. If the resource does not exist,
this will return an empty set of permissions, not a NOT_FOUND
error. Note: This operation is
designed to be used for building permission-aware UIs and command-line tools, not for
authorization checking. This operation may "fail open" without warning.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestIamPermissionsRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.TestIamPermissionsRequest |
UpdateLdapssettings(LDAPSSettings, string)
Patches a single ldaps settings.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.UpdateLdapssettingsRequest UpdateLdapssettings(LDAPSSettings body, string name)
Parameters
Type | Name | Description |
---|---|---|
LDAPSSettings | body | The body of the request. |
string | name | The resource name of the LDAPS settings. Uses the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.UpdateLdapssettingsRequest |
ValidateTrust(ValidateTrustRequest, string)
Validates a trust state, that the target domain is reachable, and that the target domain is able to accept incoming trust requests.
Declaration
public virtual ProjectsResource.LocationsResource.GlobalResource.DomainsResource.ValidateTrustRequest ValidateTrust(ValidateTrustRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ValidateTrustRequest | body | The body of the request. |
string | name | Required. The resource domain name, project name, and location using the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GlobalResource.DomainsResource.ValidateTrustRequest |