Class: Google::Apis::AdminDirectoryV1::PrintServer

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb

Overview

Configuration for a print server.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PrintServer

Returns a new instance of PrintServer.



3597
3598
3599
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3597

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#create_timeString

Output only. Time when the print server was created. Corresponds to the JSON property createTime

Returns:

  • (String)


3560
3561
3562
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3560

def create_time
  @create_time
end

#descriptionString

Editable. Description of the print server (as shown in the Admin console). Corresponds to the JSON property description

Returns:

  • (String)


3565
3566
3567
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3565

def description
  @description
end

#display_nameString

Editable. Display name of the print server (as shown in the Admin console). Corresponds to the JSON property displayName

Returns:

  • (String)


3570
3571
3572
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3570

def display_name
  @display_name
end

#idString

Immutable. ID of the print server. Leave empty when creating. Corresponds to the JSON property id

Returns:

  • (String)


3575
3576
3577
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3575

def id
  @id
end

#nameString

Immutable. Resource name of the print server. Leave empty when creating. Format: customers/customer.id/printServers/print_server.id` Corresponds to the JSON propertyname`

Returns:

  • (String)


3581
3582
3583
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3581

def name
  @name
end

#org_unit_idString

ID of the organization unit (OU) that owns this print server. This value can only be set when the print server is initially created. If it's not populated, the print server is placed under the root OU. The org_unit_id can be retrieved using the Directory API. Corresponds to the JSON property orgUnitId

Returns:

  • (String)


3590
3591
3592
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3590

def org_unit_id
  @org_unit_id
end

#uriString

Editable. Print server URI. Corresponds to the JSON property uri

Returns:

  • (String)


3595
3596
3597
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3595

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3602
3603
3604
3605
3606
3607
3608
3609
3610
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3602

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
  @org_unit_id = args[:org_unit_id] if args.key?(:org_unit_id)
  @uri = args[:uri] if args.key?(:uri)
end