Class: Google::Apis::ChatV1::GoogleAppsCardV1UpdateVisibilityAction

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsCardV1UpdateVisibilityAction

Returns a new instance of GoogleAppsCardV1UpdateVisibilityAction.



4002
4003
4004
# File 'lib/google/apis/chat_v1/classes.rb', line 4002

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#visibilityString

The new visibility. Corresponds to the JSON property visibility

Returns:

  • (String)


4000
4001
4002
# File 'lib/google/apis/chat_v1/classes.rb', line 4000

def visibility
  @visibility
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4007
4008
4009
# File 'lib/google/apis/chat_v1/classes.rb', line 4007

def update!(**args)
  @visibility = args[:visibility] if args.key?(:visibility)
end