Class: Google::Apis::TestingV1::LabInfo
- Inherits:
-
Object
- Object
- Google::Apis::TestingV1::LabInfo
- 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
Lab specific information for a device.
Instance Attribute Summary collapse
-
#name ⇒ String
Lab name where the device is hosted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LabInfo
constructor
A new instance of LabInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LabInfo
Returns a new instance of LabInfo.
1779 1780 1781 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1779 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Lab name where the device is hosted. If empty, the device is hosted in a
Google owned lab.
Corresponds to the JSON property name
1777 1778 1779 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1777 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1784 1785 1786 |
# File 'lib/google/apis/testing_v1/classes.rb', line 1784 def update!(**args) @name = args[:name] if args.key?(:name) end |