GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials.fromJson constructor

GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaOAuth2ClientCredentials.fromJson(core.Map json_)
    : this(
        accessToken: json_.containsKey('accessToken')
            ? GoogleCloudIntegrationsV1alphaAccessToken.fromJson(
                json_['accessToken'] as core.Map<core.String, core.dynamic>)
            : null,
        clientId: json_['clientId'] as core.String?,
        clientSecret: json_['clientSecret'] as core.String?,
        requestType: json_['requestType'] as core.String?,
        scope: json_['scope'] as core.String?,
        tokenEndpoint: json_['tokenEndpoint'] as core.String?,
        tokenParams: json_.containsKey('tokenParams')
            ? GoogleCloudIntegrationsV1alphaParameterMap.fromJson(
                json_['tokenParams'] as core.Map<core.String, core.dynamic>)
            : null,
      );