Class: Google::Apis::AdminDirectoryV1::CreatePrintServerRequest
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::CreatePrintServerRequest
- 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
Request for adding a new print server.
Instance Attribute Summary collapse
-
#parent ⇒ String
Required.
-
#print_server ⇒ Google::Apis::AdminDirectoryV1::PrintServer
Configuration for a print server.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreatePrintServerRequest
constructor
A new instance of CreatePrintServerRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreatePrintServerRequest
Returns a new instance of CreatePrintServerRequest.
1860 1861 1862 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1860 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parent ⇒ String
Required. The unique ID of the customer's Google Workspace account.
Format: customers/
id`
Corresponds to the JSON property
parent`
1853 1854 1855 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1853 def parent @parent end |
#print_server ⇒ Google::Apis::AdminDirectoryV1::PrintServer
Configuration for a print server.
Corresponds to the JSON property printServer
1858 1859 1860 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1858 def print_server @print_server end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1865 1866 1867 1868 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1865 def update!(**args) @parent = args[:parent] if args.key?(:parent) @print_server = args[:print_server] if args.key?(:print_server) end |