Class: Google::Apis::TestingV1::ListDeviceSessionsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/testing_v1/classes.rb,
lib/google/apis/testing_v1/representations.rb,
lib/google/apis/testing_v1/representations.rb

Overview

A list of device sessions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDeviceSessionsResponse

Returns a new instance of ListDeviceSessionsResponse.



1817
1818
1819
# File 'lib/google/apis/testing_v1/classes.rb', line 1817

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

Instance Attribute Details

#device_sessionsArray<Google::Apis::TestingV1::DeviceSession>

The sessions matching the specified filter in the given cloud project. Corresponds to the JSON property deviceSessions



1809
1810
1811
# File 'lib/google/apis/testing_v1/classes.rb', line 1809

def device_sessions
  @device_sessions
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1815
1816
1817
# File 'lib/google/apis/testing_v1/classes.rb', line 1815

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1822
1823
1824
1825
# File 'lib/google/apis/testing_v1/classes.rb', line 1822

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