Struct googapis::google::apps::script::type::CommonAddOnManifest [−][src]
pub struct CommonAddOnManifest {
pub name: String,
pub logo_url: String,
pub layout_properties: Option<LayoutProperties>,
pub add_on_widget_set: Option<AddOnWidgetSet>,
pub use_locale_from_app: bool,
pub homepage_trigger: Option<HomepageExtensionPoint>,
pub universal_actions: Vec<UniversalActionExtensionPoint>,
pub open_link_url_prefixes: Option<ListValue>,
}
Expand description
Add-on configuration that is shared across all add-on host applications.
Fields
name: String
Required. The display name of the add-on.
logo_url: String
Required. The URL for the logo image shown in the add-on toolbar.
layout_properties: Option<LayoutProperties>
Common layout properties for the add-on cards.
add_on_widget_set: Option<AddOnWidgetSet>
The widgets used in the add-on. If this field is not specified, it indicates that default set is used.
use_locale_from_app: bool
Whether to pass locale information from host app.
homepage_trigger: Option<HomepageExtensionPoint>
Defines an endpoint that will be executed in any context, in any host. Any cards generated by this function will always be available to the user, but may be eclipsed by contextual content when this add-on declares more targeted triggers.
universal_actions: Vec<UniversalActionExtensionPoint>
Defines a list of extension points in the universal action menu which serves as a setting menu for the add-on. The extension point can be link URL to open or an endpoint to execute as a form submission.
open_link_url_prefixes: Option<ListValue>
An OpenLink action can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, the URL must also [match](/gmail/add-ons/concepts/manifests#whitelisting_urls) one of the prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS is assumed. Notice that HTTP links are automatically rewritten to HTTPS links.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CommonAddOnManifest
impl Send for CommonAddOnManifest
impl Sync for CommonAddOnManifest
impl Unpin for CommonAddOnManifest
impl UnwindSafe for CommonAddOnManifest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more