toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'apiConfigId': apiConfigId,
    'apiId': apiId,
    'displayName': ?displayName,
    'gatewayServiceAccount': ?gatewayServiceAccount,
    'grpcServices': ?pulumi.Input.mapOptionalInputValue<List<ApigatewayApiConfigGrpcServiceDefinition>, List<Map<String, dynamic>>>(grpcServices, (value) => pulumi.Input.encodeList<ApigatewayApiConfigGrpcServiceDefinition, Map<String, dynamic>>(value, (value) => value.toMap())),
    'labels': ?labels,
    'location': ?location,
    'managedServiceConfigs': ?pulumi.Input.mapOptionalInputValue<List<ApigatewayApiConfigFile>, List<Map<String, dynamic>>>(managedServiceConfigs, (value) => pulumi.Input.encodeList<ApigatewayApiConfigFile, Map<String, dynamic>>(value, (value) => value.toMap())),
    'openapiDocuments': ?pulumi.Input.mapOptionalInputValue<List<ApigatewayApiConfigOpenApiDocument>, List<Map<String, dynamic>>>(openapiDocuments, (value) => pulumi.Input.encodeList<ApigatewayApiConfigOpenApiDocument, Map<String, dynamic>>(value, (value) => value.toMap())),
    'project': ?project,
  };
}