Table of Contents

Class OrgunitsResource.PatchRequest

Namespace
Google.Apis.Admin.Directory.directory_v1
Assembly
Google.Apis.Admin.Directory.directory_v1.dll

Updates an organizational unit. This method supports patch semantics

public class OrgunitsResource.PatchRequest : DirectoryBaseServiceRequest<OrgUnit>
Inheritance
OrgunitsResource.PatchRequest
Inherited Members

Constructors

PatchRequest(IClientService, OrgUnit, string, string)

Constructs a new Patch request.

public PatchRequest(IClientService service, OrgUnit body, string customerId, string orgUnitPath)

Parameters

service IClientService
body OrgUnit
customerId string
orgUnitPath string

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.

public virtual string CustomerId { get; }

Property Value

string

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

OrgUnitPath

The full path of the organizational unit or its unique ID.

public virtual string OrgUnitPath { get; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes Patch parameter list.

protected override void InitParameters()