GetServiceAttachmentComputeV1Result.fromMap constructor
GetServiceAttachmentComputeV1Result.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetServiceAttachmentComputeV1Result.fromMap(Map<String, dynamic> map) {
return GetServiceAttachmentComputeV1Result(
connectedEndpoints: pulumi.Input.decodeList<ServiceAttachmentConnectedEndpointResponseComputeV1>(map['connectedEndpoints']!, (value) => ServiceAttachmentConnectedEndpointResponseComputeV1.fromMap((value as Map).cast<String, dynamic>())),
connectionPreference: map['connectionPreference'] as String,
consumerAcceptLists: pulumi.Input.decodeList<ServiceAttachmentConsumerProjectLimitResponseComputeV1>(map['consumerAcceptLists']!, (value) => ServiceAttachmentConsumerProjectLimitResponseComputeV1.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: Uint128ResponseComputeV1.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,
);
}