GoogleCloudConnectorsV1AuthConfig.fromJson constructor
GoogleCloudConnectorsV1AuthConfig.fromJson(
- Map json_
Implementation
GoogleCloudConnectorsV1AuthConfig.fromJson(core.Map json_)
: this(
additionalVariables: json_.containsKey('additionalVariables')
? (json_['additionalVariables'] as core.List)
.map((value) =>
GoogleCloudConnectorsV1ConfigVariable.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
authKey: json_.containsKey('authKey')
? json_['authKey'] as core.String
: null,
authType: json_.containsKey('authType')
? json_['authType'] as core.String
: null,
oauth2AuthCodeFlow: json_.containsKey('oauth2AuthCodeFlow')
? GoogleCloudConnectorsV1AuthConfigOauth2AuthCodeFlow.fromJson(
json_['oauth2AuthCodeFlow']
as core.Map<core.String, core.dynamic>)
: null,
oauth2ClientCredentials: json_.containsKey('oauth2ClientCredentials')
? GoogleCloudConnectorsV1AuthConfigOauth2ClientCredentials
.fromJson(json_['oauth2ClientCredentials']
as core.Map<core.String, core.dynamic>)
: null,
oauth2JwtBearer: json_.containsKey('oauth2JwtBearer')
? GoogleCloudConnectorsV1AuthConfigOauth2JwtBearer.fromJson(
json_['oauth2JwtBearer']
as core.Map<core.String, core.dynamic>)
: null,
sshPublicKey: json_.containsKey('sshPublicKey')
? GoogleCloudConnectorsV1AuthConfigSshPublicKey.fromJson(
json_['sshPublicKey'] as core.Map<core.String, core.dynamic>)
: null,
userPassword: json_.containsKey('userPassword')
? GoogleCloudConnectorsV1AuthConfigUserPassword.fromJson(
json_['userPassword'] as core.Map<core.String, core.dynamic>)
: null,
);