Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#heightFixnum

Output only. The height of the screenshot, in pixels. Corresponds to the JSON property height

Returns:

  • (Fixnum)


1560
1561
1562
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1560

def height
  @height
end

#uriString

Output only. The URI of the screenshot. Corresponds to the JSON property uri

Returns:

  • (String)


1565
1566
1567
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1565

def uri
  @uri
end

#widthFixnum

Output only. The width of the screenshot, in pixels. Corresponds to the JSON property width

Returns:

  • (Fixnum)


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