Table of Contents

Class CustomersResource.ChromeResource.PrintersResource.CreateRequest

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

Creates a printer under given Organization Unit.

public class CustomersResource.ChromeResource.PrintersResource.CreateRequest : DirectoryBaseServiceRequest<Printer>
Inheritance
CustomersResource.ChromeResource.PrintersResource.CreateRequest
Inherited Members

Constructors

CreateRequest(IClientService, Printer, string)

Constructs a new Create request.

public CreateRequest(IClientService service, Printer body, string parent)

Parameters

service IClientService
body Printer
parent string

Properties

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

Parent

Required. The name of the customer. Format: customers/{customer_id}

public virtual string Parent { 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 Create parameter list.

protected override void InitParameters()