Class: Google::Apis::AndroidmanagementV1::WebAppIcon
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidmanagementV1::WebAppIcon
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb 
Overview
An icon for a web app. Supported formats are: png, jpg and webp.
Instance Attribute Summary collapse
- 
  
    
      #image_data  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The actual bytes of the image in a base64url encoded string (c.f. RFC4648, section 5 "Base 64 Encoding with URL and Filename Safe Alphabet").
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ WebAppIcon 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of WebAppIcon.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ WebAppIcon
Returns a new instance of WebAppIcon.
      6375 6376 6377  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6375 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#image_data ⇒ String
The actual bytes of the image in a base64url encoded string (c.f. RFC4648,
section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). - The image
type can be png or jpg. - The image should ideally be square. - The image
should ideally have a size of 512x512.
Corresponds to the JSON property imageData
      6373 6374 6375  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6373 def image_data @image_data end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      6380 6381 6382  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6380 def update!(**args) @image_data = args[:image_data] if args.key?(:image_data) end  |