GoogleCloudApihubV1AuthConfigTemplate.fromJson constructor
GoogleCloudApihubV1AuthConfigTemplate.fromJson(
- Map json_
Implementation
GoogleCloudApihubV1AuthConfigTemplate.fromJson(core.Map json_)
: this(
serviceAccount: json_.containsKey('serviceAccount')
? GoogleCloudApihubV1GoogleServiceAccountConfig.fromJson(
json_['serviceAccount'] as core.Map<core.String, core.dynamic>,
)
: null,
supportedAuthTypes: (json_['supportedAuthTypes'] as core.List?)
?.map((value) => value as core.String)
.toList(),
);