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.
1572 1573 1574 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1572 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
1560 1561 1562 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1560 def height @height end |
#uri ⇒ String
Output only. The URI of the screenshot.
Corresponds to the JSON property uri
1565 1566 1567 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1565 def uri @uri end |
#width ⇒ Fixnum
Output only. The width of the screenshot, in pixels.
Corresponds to the JSON property width
1570 1571 1572 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1570 def width @width end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1577 1578 1579 1580 1581 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1577 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 |