GetServiceAttachmentComputeBetaResult.fromMap constructor
GetServiceAttachmentComputeBetaResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetServiceAttachmentComputeBetaResult.fromMap(Map<String, dynamic> map) {
return GetServiceAttachmentComputeBetaResult(
connectedEndpoints: pulumi.Input.decodeList<ServiceAttachmentConnectedEndpointResponseComputeBeta>(map['connectedEndpoints']!, (value) => ServiceAttachmentConnectedEndpointResponseComputeBeta.fromMap((value as Map).cast<String, dynamic>())),
connectionPreference: map['connectionPreference'] as String,
consumerAcceptLists: pulumi.Input.decodeList<ServiceAttachmentConsumerProjectLimitResponseComputeBeta>(map['consumerAcceptLists']!, (value) => ServiceAttachmentConsumerProjectLimitResponseComputeBeta.fromMap((value as Map).cast<String, dynamic>())),
consumerRejectLists: (map['consumerRejectLists'] as List).cast<String>(),
creationTimestamp: map['creationTimestamp'] as String,
description: map['description'] as String,
domainNames: (map['domainNames'] as List).cast<String>(),
enableProxyProtocol: map['enableProxyProtocol'] as bool,
fingerprint: map['fingerprint'] as String,
kind: map['kind'] as String,
name: map['name'] as String,
natSubnets: (map['natSubnets'] as List).cast<String>(),
producerForwardingRule: map['producerForwardingRule'] as String,
pscServiceAttachmentId: Uint128ResponseComputeBeta.fromMap((map['pscServiceAttachmentId']! as Map).cast<String, dynamic>()),
reconcileConnections: map['reconcileConnections'] as bool,
region: map['region'] as String,
selfLink: map['selfLink'] as String,
targetService: map['targetService'] as String,
tunnelingConfig: ServiceAttachmentTunnelingConfigResponseComputeBeta.fromMap((map['tunnelingConfig']! as Map).cast<String, dynamic>()),
);
}