Class: Google::Apis::ChatV1::GoogleAppsCardV1UpdateVisibilityAction
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1UpdateVisibilityAction
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Overview
Represents an action that updates the visibility of a widget. Available for Google Workspace add-ons that extend Google Workspace Studio. Unavailable for Google Chat apps.
Instance Attribute Summary collapse
-
#visibility ⇒ String
The new visibility.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1UpdateVisibilityAction
constructor
A new instance of GoogleAppsCardV1UpdateVisibilityAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1UpdateVisibilityAction
Returns a new instance of GoogleAppsCardV1UpdateVisibilityAction.
3929 3930 3931 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3929 def initialize(**args) update!(**args) end |
Instance Attribute Details
#visibility ⇒ String
The new visibility.
Corresponds to the JSON property visibility
3927 3928 3929 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3927 def visibility @visibility end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3934 3935 3936 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3934 def update!(**args) @visibility = args[:visibility] if args.key?(:visibility) end |