PscConnection.fromJson constructor
PscConnection.fromJson(
- Map json_
Implementation
PscConnection.fromJson(core.Map json_)
: this(
consumerAddress: json_.containsKey('consumerAddress')
? json_['consumerAddress'] as core.String
: null,
consumerForwardingRule: json_.containsKey('consumerForwardingRule')
? json_['consumerForwardingRule'] as core.String
: null,
consumerTargetProject: json_.containsKey('consumerTargetProject')
? json_['consumerTargetProject'] as core.String
: null,
error: json_.containsKey('error')
? GoogleRpcStatus.fromJson(
json_['error'] as core.Map<core.String, core.dynamic>)
: null,
errorInfo: json_.containsKey('errorInfo')
? GoogleRpcErrorInfo.fromJson(
json_['errorInfo'] as core.Map<core.String, core.dynamic>)
: null,
errorType: json_.containsKey('errorType')
? json_['errorType'] as core.String
: null,
gceOperation: json_.containsKey('gceOperation')
? json_['gceOperation'] as core.String
: null,
producerInstanceId: json_.containsKey('producerInstanceId')
? json_['producerInstanceId'] as core.String
: null,
pscConnectionId: json_.containsKey('pscConnectionId')
? json_['pscConnectionId'] as core.String
: null,
selectedSubnetwork: json_.containsKey('selectedSubnetwork')
? json_['selectedSubnetwork'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);