Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementV1EnumeratePrintJobsResponse

Inherits:
Object
  • Object
show all
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

Response containing a list of print jobs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementV1EnumeratePrintJobsResponse

Returns a new instance of GoogleChromeManagementV1EnumeratePrintJobsResponse.



1686
1687
1688
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1686

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

Instance Attribute Details

#next_page_tokenString

A token, which can be used in a subsequent request to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1674
1675
1676
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1674

def next_page_token
  @next_page_token
end

List of requested print jobs. Corresponds to the JSON property printJobs



1679
1680
1681
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1679

def print_jobs
  @print_jobs
end

#total_sizeFixnum

Total number of print jobs matching request. Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


1684
1685
1686
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1684

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1691
1692
1693
1694
1695
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 1691

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @print_jobs = args[:print_jobs] if args.key?(:print_jobs)
  @total_size = args[:total_size] if args.key?(:total_size)
end