class Google::Apis::AdminDirectoryV1::CreatePrinterRequest

Request for adding a new printer.

Attributes

parent[RW]

Required. The name of the customer. Format: customers/`customer_id` Corresponds to the JSON property `parent` @return [String]

printer[RW]

Printer configuration. Corresponds to the JSON property `printer` @return [Google::Apis::AdminDirectoryV1::Printer]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admin_directory_v1/classes.rb, line 1436
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admin_directory_v1/classes.rb, line 1441
def update!(**args)
  @parent = args[:parent] if args.key?(:parent)
  @printer = args[:printer] if args.key?(:printer)
end