Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedImageComponent
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedImageComponent
- 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::AppsDynamiteSharedBorderStyle
Represents the complete border style applied to widgets.
-
#crop_style ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedImageCropStyle
Represents the crop style applied to an image.
-
#image_uri ⇒ String
The image URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedImageComponent
constructor
A new instance of AppsDynamiteSharedImageComponent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedImageComponent
Returns a new instance of AppsDynamiteSharedImageComponent.
2564 2565 2566 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2564 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alt_text ⇒ String
The accessibility label for the image.
Corresponds to the JSON property altText
2547 2548 2549 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2547 def alt_text @alt_text end |
#border_style ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedBorderStyle
Represents the complete border style applied to widgets.
Corresponds to the JSON property borderStyle
2552 2553 2554 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2552 def border_style @border_style end |
#crop_style ⇒ Google::Apis::CloudsearchV1::AppsDynamiteSharedImageCropStyle
Represents the crop style applied to an image.
Corresponds to the JSON property cropStyle
2557 2558 2559 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2557 def crop_style @crop_style end |
#image_uri ⇒ String
The image URL.
Corresponds to the JSON property imageUri
2562 2563 2564 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2562 def image_uri @image_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2569 2570 2571 2572 2573 2574 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2569 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 |