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.



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

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

Instance Attribute Details

#visibilityString

The new visibility. Corresponds to the JSON property visibility

Returns:

  • (String)


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

def visibility
  @visibility
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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