Class: Google::Apis::CloudsearchV1::AppsDynamiteStorageImageComponent
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteStorageImageComponent
- 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
-
#alt_text ⇒ String
The accessibility label for the image.
-
#border_style ⇒ Google::Apis::CloudsearchV1::AppsDynamiteStorageBorderStyle
The style options for the border of a card or widget, including the border type and color.
-
#crop_style ⇒ Google::Apis::CloudsearchV1::AppsDynamiteStorageImageCropStyle
Represents the crop style applied to an image.
-
#image_uri ⇒ String
The image URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteStorageImageComponent
constructor
A new instance of AppsDynamiteStorageImageComponent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteStorageImageComponent
Returns a new instance of AppsDynamiteStorageImageComponent.
3590 3591 3592 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3590 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alt_text ⇒ String
The accessibility label for the image.
Corresponds to the JSON property altText
3572 3573 3574 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3572 def alt_text @alt_text end |
#border_style ⇒ Google::Apis::CloudsearchV1::AppsDynamiteStorageBorderStyle
The style options for the border of a card or widget, including the border
type and color.
Corresponds to the JSON property borderStyle
3578 3579 3580 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3578 def border_style @border_style end |
#crop_style ⇒ Google::Apis::CloudsearchV1::AppsDynamiteStorageImageCropStyle
Represents the crop style applied to an image.
Corresponds to the JSON property cropStyle
3583 3584 3585 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3583 def crop_style @crop_style end |
#image_uri ⇒ String
The image URL.
Corresponds to the JSON property imageUri
3588 3589 3590 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3588 def image_uri @image_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3595 3596 3597 3598 3599 3600 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3595 def update!(**args) @alt_text = args[:alt_text] if args.key?(:alt_text) @border_style = args[:border_style] if args.key?(:border_style) @crop_style = args[:crop_style] if args.key?(:crop_style) @image_uri = args[:image_uri] if args.key?(:image_uri) end |