Class: Google::Apis::AdminDirectoryV1::CreatePrintServerRequest

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

Request for adding a new print server.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreatePrintServerRequest

Returns a new instance of CreatePrintServerRequest.



1891
1892
1893
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1891

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

Instance Attribute Details

#parentString

Required. The unique ID of the customer's Google Workspace account. Format: customers/id` Corresponds to the JSON propertyparent`

Returns:

  • (String)


1884
1885
1886
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1884

def parent
  @parent
end

Configuration for a print server. Corresponds to the JSON property printServer



1889
1890
1891
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1889

def print_server
  @print_server
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1896
1897
1898
1899
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1896

def update!(**args)
  @parent = args[:parent] if args.key?(:parent)
  @print_server = args[:print_server] if args.key?(:print_server)
end