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.



1243
1244
1245
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1243

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)


1231
1232
1233
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1231

def height
  @height
end

#uriString

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

Returns:

  • (String)


1236
1237
1238
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1236

def uri
  @uri
end

#widthFixnum

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

Returns:

  • (Fixnum)


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