GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig.fromJson constructor

GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig.fromJson(
  core.Map json_,
) : this(
      clientId: json_['clientId'] as core.String?,
      clientSecret: json_['clientSecret'] as core.String?,
      scopes:
          (json_['scopes'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      secretVersionForClientSecret:
          json_['secretVersionForClientSecret'] as core.String?,
      tokenEndpoint: json_['tokenEndpoint'] as core.String?,
    );