Class: Google::Apps::Card::V1::BorderStyle

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/apps/card/v1/card.rb

Overview

The style options for the border of a card or widget, including the border type and color.

Google Workspace Add-ons and Chat apps:

Defined Under Namespace

Modules: BorderType

Instance Attribute Summary collapse

Instance Attribute Details

#corner_radius::Integer

Returns The corner radius for the border.

Returns:

  • (::Integer)

    The corner radius for the border.



1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'proto_docs/google/apps/card/v1/card.rb', line 1591

class BorderStyle
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the border types applied to widgets.
  #
  # [Google Workspace Add-ons
  # and Chat apps](https://developers.google.com/workspace/extend):
  module BorderType
    # Don't use. Unspecified.
    BORDER_TYPE_UNSPECIFIED = 0

    # Default value. No border.
    NO_BORDER = 1

    # Outline.
    STROKE = 2
  end
end

#stroke_color::Google::Type::Color

Returns The colors to use when the type is BORDER_TYPE_STROKE.

Returns:



1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'proto_docs/google/apps/card/v1/card.rb', line 1591

class BorderStyle
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the border types applied to widgets.
  #
  # [Google Workspace Add-ons
  # and Chat apps](https://developers.google.com/workspace/extend):
  module BorderType
    # Don't use. Unspecified.
    BORDER_TYPE_UNSPECIFIED = 0

    # Default value. No border.
    NO_BORDER = 1

    # Outline.
    STROKE = 2
  end
end

#type::Google::Apps::Card::V1::BorderStyle::BorderType

Returns The border type.

Returns:



1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'proto_docs/google/apps/card/v1/card.rb', line 1591

class BorderStyle
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the border types applied to widgets.
  #
  # [Google Workspace Add-ons
  # and Chat apps](https://developers.google.com/workspace/extend):
  module BorderType
    # Don't use. Unspecified.
    BORDER_TYPE_UNSPECIFIED = 0

    # Default value. No border.
    NO_BORDER = 1

    # Outline.
    STROKE = 2
  end
end