Skip to content

GCMChannelRequest

Source code in docs_src/capo_pinpoint/types/gcm_channel_request.py
class GCMChannelRequest(TypedDict, closed=True):
    api_key: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The Web API Key, also referred to as an <i>API_KEY</i> or <i>server key</i>, that you received from Google to communicate with Google services.</p>"""
    default_authentication_method: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".</p>"""
    enabled: NotRequired["capo_pinpoint.types.__boolean.__boolean"]
    """<p>Specifies whether to enable the GCM channel for the application.</p>"""
    service_json: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The contents of the JSON file provided by Google during registration in order to generate an access token for authentication. For more information see <a href="https://firebase.google.com/docs/cloud-messaging/migrate-v1">Migrate from legacy FCM APIs to HTTP v1</a>.</p>"""

api_key instance-attribute

api_key: NotRequired[__string]

The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.

default_authentication_method instance-attribute

default_authentication_method: NotRequired[__string]

The default authentication method used for GCM. Values are either "TOKEN" or "KEY". Defaults to "KEY".

enabled instance-attribute

enabled: NotRequired[__boolean]

Specifies whether to enable the GCM channel for the application.

service_json instance-attribute

service_json: NotRequired[__string]

The contents of the JSON file provided by Google during registration in order to generate an access token for authentication. For more information see Migrate from legacy FCM APIs to HTTP v1.