ArmNotificationHubsModelFactory.NotificationHubGcmCredential Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.NotificationHubs.Models.NotificationHubGcmCredential NotificationHubGcmCredential(Uri gcmEndpoint = default, string gcmApiKey = default);
static member NotificationHubGcmCredential : Uri * string -> Azure.ResourceManager.NotificationHubs.Models.NotificationHubGcmCredential
Public Shared Function NotificationHubGcmCredential (Optional gcmEndpoint As Uri = Nothing, Optional gcmApiKey As String = Nothing) As NotificationHubGcmCredential
Parameters
- gcmEndpoint
- Uri
Gets or sets the GCM endpoint.
- gcmApiKey
- String
Gets or sets the Google API key.
Returns
A new NotificationHubGcmCredential instance for mocking.
Exceptions
gcmApiKey is null.