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.



3929
3930
3931
# File 'lib/google/apis/chat_v1/classes.rb', line 3929

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

Instance Attribute Details

#visibilityString

The new visibility. Corresponds to the JSON property visibility

Returns:

  • (String)


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