Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseappdistribution_v1alpha/classes.rb,
lib/google/apis/firebaseappdistribution_v1alpha/representations.rb,
lib/google/apis/firebaseappdistribution_v1alpha/representations.rb
Overview
A device screenshot taken during a test.
Instance Attribute Summary collapse
-
#height ⇒ Fixnum
Output only.
-
#uri ⇒ String
Output only.
-
#width ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaScreenshot
constructor
A new instance of GoogleFirebaseAppdistroV1alphaScreenshot.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaScreenshot
Returns a new instance of GoogleFirebaseAppdistroV1alphaScreenshot.
1243 1244 1245 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1243 def initialize(**args) update!(**args) end |
Instance Attribute Details
#height ⇒ Fixnum
Output only. The height of the screenshot, in pixels.
Corresponds to the JSON property height
1231 1232 1233 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1231 def height @height end |
#uri ⇒ String
Output only. The URI of the screenshot.
Corresponds to the JSON property uri
1236 1237 1238 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1236 def uri @uri end |
#width ⇒ Fixnum
Output only. The width of the screenshot, in pixels.
Corresponds to the JSON property width
1241 1242 1243 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1241 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1248 1249 1250 1251 1252 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1248 def update!(**args) @height = args[:height] if args.key?(:height) @uri = args[:uri] if args.key?(:uri) @width = args[:width] if args.key?(:width) end |