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.
3648 3649 3650 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3648 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alt_text ⇒ String
The accessibility label for the image.
Corresponds to the JSON property altText
3630 3631 3632 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3630 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
3636 3637 3638 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3636 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
3641 3642 3643 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3641 def crop_style @crop_style end |
#image_uri ⇒ String
The image URL.
Corresponds to the JSON property imageUri
3646 3647 3648 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3646 def image_uri @image_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3653 3654 3655 3656 3657 3658 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3653 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 |