Class: Google::Apis::CloudsearchV1::AppsDynamiteStorageCardCardHeader
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteStorageCardCardHeader
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#image_alt_text ⇒ String
The alternative text of this image which is used for accessibility.
-
#image_type ⇒ String
The image's type.
-
#image_url ⇒ String
The URL of the image in the card header.
-
#subtitle ⇒ String
The subtitle of the card header.
-
#title ⇒ String
The title of the card header.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteStorageCardCardHeader
constructor
A new instance of AppsDynamiteStorageCardCardHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteStorageCardCardHeader
Returns a new instance of AppsDynamiteStorageCardCardHeader.
3077 3078 3079 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3077 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image_alt_text ⇒ String
The alternative text of this image which is used for accessibility.
Corresponds to the JSON property imageAltText
3053 3054 3055 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3053 def image_alt_text @image_alt_text end |
#image_type ⇒ String
The image's type.
Corresponds to the JSON property imageType
3058 3059 3060 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3058 def image_type @image_type end |
#image_url ⇒ String
The URL of the image in the card header.
Corresponds to the JSON property imageUrl
3063 3064 3065 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3063 def image_url @image_url end |
#subtitle ⇒ String
The subtitle of the card header.
Corresponds to the JSON property subtitle
3068 3069 3070 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3068 def subtitle @subtitle end |
#title ⇒ String
The title of the card header. The title must be specified. The header has a
fixed height: if both a title and subtitle are specified, each takes up one
line. If only the title is specified, it takes up both lines.
Corresponds to the JSON property title
3075 3076 3077 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3075 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3082 3083 3084 3085 3086 3087 3088 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3082 def update!(**args) @image_alt_text = args[:image_alt_text] if args.key?(:image_alt_text) @image_type = args[:image_type] if args.key?(:image_type) @image_url = args[:image_url] if args.key?(:image_url) @subtitle = args[:subtitle] if args.key?(:subtitle) @title = args[:title] if args.key?(:title) end |