Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrintJob
- Inherits:
-
Object
- Object
- Google::Apis::ChromemanagementV1::GoogleChromeManagementV1PrintJob
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromemanagement_v1/classes.rb,
lib/google/apis/chromemanagement_v1/representations.rb,
lib/google/apis/chromemanagement_v1/representations.rb
Overview
Represents a request to print a document that has been submitted to a printer.
Instance Attribute Summary collapse
-
#color_mode ⇒ String
Color mode.
-
#complete_time ⇒ String
Print job completion timestamp.
-
#copy_count ⇒ Fixnum
Number of copies.
-
#create_time ⇒ String
Print job creation timestamp.
-
#document_page_count ⇒ Fixnum
Number of pages in the document.
-
#duplex_mode ⇒ String
Duplex mode.
-
#id ⇒ String
Unique ID of the print job.
-
#printer ⇒ String
Name of the printer used for printing.
-
#printer_id ⇒ String
API ID of the printer used for printing.
-
#state ⇒ String
The final state of the job.
-
#title ⇒ String
The title of the document.
-
#user_email ⇒ String
The primary e-mail address of the user who submitted the print job.
-
#user_id ⇒ String
The unique Directory API ID of the user who submitted the print job.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromeManagementV1PrintJob
constructor
A new instance of GoogleChromeManagementV1PrintJob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromeManagementV1PrintJob
Returns a new instance of GoogleChromeManagementV1PrintJob.
2693 2694 2695 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2693 def initialize(**args) update!(**args) end |
Instance Attribute Details
#color_mode ⇒ String
Color mode.
Corresponds to the JSON property colorMode
2631 2632 2633 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2631 def color_mode @color_mode end |
#complete_time ⇒ String
Print job completion timestamp.
Corresponds to the JSON property completeTime
2636 2637 2638 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2636 def complete_time @complete_time end |
#copy_count ⇒ Fixnum
Number of copies.
Corresponds to the JSON property copyCount
2641 2642 2643 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2641 def copy_count @copy_count end |
#create_time ⇒ String
Print job creation timestamp.
Corresponds to the JSON property createTime
2646 2647 2648 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2646 def create_time @create_time end |
#document_page_count ⇒ Fixnum
Number of pages in the document.
Corresponds to the JSON property documentPageCount
2651 2652 2653 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2651 def document_page_count @document_page_count end |
#duplex_mode ⇒ String
Duplex mode.
Corresponds to the JSON property duplexMode
2656 2657 2658 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2656 def duplex_mode @duplex_mode end |
#id ⇒ String
Unique ID of the print job.
Corresponds to the JSON property id
2661 2662 2663 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2661 def id @id end |
#printer ⇒ String
Name of the printer used for printing.
Corresponds to the JSON property printer
2666 2667 2668 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2666 def printer @printer end |
#printer_id ⇒ String
API ID of the printer used for printing.
Corresponds to the JSON property printerId
2671 2672 2673 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2671 def printer_id @printer_id end |
#state ⇒ String
The final state of the job.
Corresponds to the JSON property state
2676 2677 2678 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2676 def state @state end |
#title ⇒ String
The title of the document.
Corresponds to the JSON property title
2681 2682 2683 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2681 def title @title end |
#user_email ⇒ String
The primary e-mail address of the user who submitted the print job.
Corresponds to the JSON property userEmail
2686 2687 2688 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2686 def user_email @user_email end |
#user_id ⇒ String
The unique Directory API ID of the user who submitted the print job.
Corresponds to the JSON property userId
2691 2692 2693 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2691 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 |
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 2698 def update!(**args) @color_mode = args[:color_mode] if args.key?(:color_mode) @complete_time = args[:complete_time] if args.key?(:complete_time) @copy_count = args[:copy_count] if args.key?(:copy_count) @create_time = args[:create_time] if args.key?(:create_time) @document_page_count = args[:document_page_count] if args.key?(:document_page_count) @duplex_mode = args[:duplex_mode] if args.key?(:duplex_mode) @id = args[:id] if args.key?(:id) @printer = args[:printer] if args.key?(:printer) @printer_id = args[:printer_id] if args.key?(:printer_id) @state = args[:state] if args.key?(:state) @title = args[:title] if args.key?(:title) @user_email = args[:user_email] if args.key?(:user_email) @user_id = args[:user_id] if args.key?(:user_id) end |