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.



1799
1800
1801
# File 'lib/google/apis/testing_v1/classes.rb', line 1799

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



1791
1792
1793
# File 'lib/google/apis/testing_v1/classes.rb', line 1791

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)


1797
1798
1799
# File 'lib/google/apis/testing_v1/classes.rb', line 1797

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1804
1805
1806
1807
# File 'lib/google/apis/testing_v1/classes.rb', line 1804

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