Class: Google::Apis::PagespeedonlineV5::StackPack

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/pagespeedonline_v5/classes.rb,
lib/google/apis/pagespeedonline_v5/representations.rb,
lib/google/apis/pagespeedonline_v5/representations.rb

Overview

Message containing Stack Pack information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StackPack

Returns a new instance of StackPack.



1095
1096
1097
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 1095

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionsHash<String,String>

The stack pack advice strings. Corresponds to the JSON property descriptions

Returns:

  • (Hash<String,String>)


1078
1079
1080
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 1078

def descriptions
  @descriptions
end

#icon_data_urlString

The stack pack icon data uri. Corresponds to the JSON property iconDataURL

Returns:

  • (String)


1083
1084
1085
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 1083

def icon_data_url
  @icon_data_url
end

#idString

The stack pack id. Corresponds to the JSON property id

Returns:

  • (String)


1088
1089
1090
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 1088

def id
  @id
end

#titleString

The stack pack title. Corresponds to the JSON property title

Returns:

  • (String)


1093
1094
1095
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 1093

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1100
1101
1102
1103
1104
1105
# File 'lib/google/apis/pagespeedonline_v5/classes.rb', line 1100

def update!(**args)
  @descriptions = args[:descriptions] if args.key?(:descriptions)
  @icon_data_url = args[:icon_data_url] if args.key?(:icon_data_url)
  @id = args[:id] if args.key?(:id)
  @title = args[:title] if args.key?(:title)
end