Class: Google::Apis::AdminDirectoryV1::PrintServer
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::PrintServer
- 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
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Editable.
-
#display_name ⇒ String
Editable.
-
#id ⇒ String
Immutable.
-
#name ⇒ String
Immutable.
-
#org_unit_id ⇒ String
ID of the organization unit (OU) that owns this print server.
-
#uri ⇒ String
Editable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrintServer
constructor
A new instance of PrintServer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrintServer
Returns a new instance of PrintServer.
3563 3564 3565 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Time when the print server was created.
Corresponds to the JSON property createTime
3526 3527 3528 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3526 def create_time @create_time end |
#description ⇒ String
Editable. Description of the print server (as shown in the Admin console).
Corresponds to the JSON property description
3531 3532 3533 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3531 def description @description end |
#display_name ⇒ String
Editable. Display name of the print server (as shown in the Admin console).
Corresponds to the JSON property displayName
3536 3537 3538 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3536 def display_name @display_name end |
#id ⇒ String
Immutable. ID of the print server. Leave empty when creating.
Corresponds to the JSON property id
3541 3542 3543 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3541 def id @id end |
#name ⇒ String
Immutable. Resource name of the print server. Leave empty when creating.
Format: customers/
customer.id/printServers/
print_server.id`
Corresponds to the JSON property
name`
3547 3548 3549 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3547 def name @name end |
#org_unit_id ⇒ String
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
3556 3557 3558 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3556 def org_unit_id @org_unit_id end |
#uri ⇒ String
Editable. Print server URI.
Corresponds to the JSON property uri
3561 3562 3563 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3561 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3568 3569 3570 3571 3572 3573 3574 3575 3576 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 3568 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 |