Class OrgunitsResource.GetRequest
Retrieves an organizational unit.
Inheritance
OrgunitsResource.GetRequest
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class OrgunitsResource.GetRequest : DirectoryBaseServiceRequest<OrgUnit>, IClientServiceRequest<OrgUnit>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string customerId, string orgUnitPath)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | customerId | |
string | orgUnitPath |
Properties
CustomerId
The unique ID for the customer's Google Workspace account. As an account administrator, you can also use
the my_customer
alias to represent your account's customerId
. The customerId
is also returned as
part of the Users resource.
Declaration
[RequestParameter("customerId", RequestParameterType.Path)]
public virtual string CustomerId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
OrgUnitPath
The full path of the organizational unit (minus the leading /
) or its unique ID.
Declaration
[RequestParameter("orgUnitPath", RequestParameterType.Path)]
public virtual string OrgUnitPath { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()