GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig.fromJson constructor

GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudEventarcV1PipelineDestinationAuthenticationConfig.fromJson(
  core.Map json_,
) : this(
      googleOidc:
          json_.containsKey('googleOidc')
              ? GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOidcToken.fromJson(
                json_['googleOidc'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      oauthToken:
          json_.containsKey('oauthToken')
              ? GoogleCloudEventarcV1PipelineDestinationAuthenticationConfigOAuthToken.fromJson(
                json_['oauthToken'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );